mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
adapt to monorepo
This commit is contained in:
parent
a9a968547a
commit
6453c22795
@ -152,9 +152,6 @@ function App() {
|
||||
adminRole='8ed0b24e-3320-48cd-8444-bc152304e580'
|
||||
></Permissions>
|
||||
{tagsApi && <Tags api={tagsApi}></Tags>}
|
||||
<Modal>
|
||||
<ModalContent map={map} />
|
||||
</Modal>
|
||||
<SideBar routes={[...routes, ...layerPageRoutes]} bottomRoutes={bottomRoutes} />
|
||||
<Content>
|
||||
<Quests />
|
||||
@ -191,6 +188,14 @@ function App() {
|
||||
</Suspense>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path='info'
|
||||
element={
|
||||
<Modal>
|
||||
<ModalContent map={map} />
|
||||
</Modal>
|
||||
}
|
||||
/>
|
||||
<Route path='landingpage' element={<Landingpage />} />
|
||||
<Route path='market' element={<MarketView />} />
|
||||
<Route path='select-user' element={<SelectUser />} />
|
||||
@ -247,4 +252,4 @@ function App() {
|
||||
)
|
||||
}
|
||||
|
||||
export default App
|
||||
export default App
|
||||
@ -18,8 +18,8 @@ export function Welcome1({ clickAction1, map }: ChapterProps) {
|
||||
<TextView rawText={map.custom_text}></TextView>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<h3 className='tw:font-bold tw:text-lg'>Welcome to {map?.name || 'Utopia Map'}</h3>
|
||||
<div className='tw:relative'>
|
||||
<h3 className='tw:text-xl tw:font-bold'>Welcome to {map?.name || 'Utopia Map'}</h3>
|
||||
<img
|
||||
className='tw:float-right tw:w-32 tw:m-2'
|
||||
src={'https://api.utopia-lab.org/assets/' + map.logo}
|
||||
@ -39,7 +39,7 @@ export function Welcome1({ clickAction1, map }: ChapterProps) {
|
||||
Close
|
||||
</label>
|
||||
</div>
|
||||
</>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user