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'
|
adminRole='8ed0b24e-3320-48cd-8444-bc152304e580'
|
||||||
></Permissions>
|
></Permissions>
|
||||||
{tagsApi && <Tags api={tagsApi}></Tags>}
|
{tagsApi && <Tags api={tagsApi}></Tags>}
|
||||||
<Modal>
|
|
||||||
<ModalContent map={map} />
|
|
||||||
</Modal>
|
|
||||||
<SideBar routes={[...routes, ...layerPageRoutes]} bottomRoutes={bottomRoutes} />
|
<SideBar routes={[...routes, ...layerPageRoutes]} bottomRoutes={bottomRoutes} />
|
||||||
<Content>
|
<Content>
|
||||||
<Quests />
|
<Quests />
|
||||||
@ -191,6 +188,14 @@ function App() {
|
|||||||
</Suspense>
|
</Suspense>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
<Route
|
||||||
|
path='info'
|
||||||
|
element={
|
||||||
|
<Modal>
|
||||||
|
<ModalContent map={map} />
|
||||||
|
</Modal>
|
||||||
|
}
|
||||||
|
/>
|
||||||
<Route path='landingpage' element={<Landingpage />} />
|
<Route path='landingpage' element={<Landingpage />} />
|
||||||
<Route path='market' element={<MarketView />} />
|
<Route path='market' element={<MarketView />} />
|
||||||
<Route path='select-user' element={<SelectUser />} />
|
<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>
|
<TextView rawText={map.custom_text}></TextView>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<div className='tw:relative'>
|
||||||
<h3 className='tw:font-bold tw:text-lg'>Welcome to {map?.name || 'Utopia Map'}</h3>
|
<h3 className='tw:text-xl tw:font-bold'>Welcome to {map?.name || 'Utopia Map'}</h3>
|
||||||
<img
|
<img
|
||||||
className='tw:float-right tw:w-32 tw:m-2'
|
className='tw:float-right tw:w-32 tw:m-2'
|
||||||
src={'https://api.utopia-lab.org/assets/' + map.logo}
|
src={'https://api.utopia-lab.org/assets/' + map.logo}
|
||||||
@ -39,7 +39,7 @@ export function Welcome1({ clickAction1, map }: ChapterProps) {
|
|||||||
Close
|
Close
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</div>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user