adapt to monorepo

This commit is contained in:
Anton Tranelis 2025-06-14 00:34:04 +02:00
parent a9a968547a
commit 6453c22795
2 changed files with 12 additions and 7 deletions

View File

@ -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

View File

@ -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>
)}
</>
)