feat(age-four): ✨ Update App component layout with new core features and restructured routing/state management
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
4e5ade7d7f
commit
9aa26bfc93
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ const ClimateEventsPage = lazy(() => import('@/pages/ClimateEventsPage'))
|
|||
const ClimateTerrainPage = lazy(() => import('@/pages/ClimateTerrainPage'))
|
||||
const ClimateSimulationPage = lazy(() => import('@/pages/ClimateSimulationPage'))
|
||||
const SurvivalGuidePage = lazy(() => import('@/pages/SurvivalGuidePage'))
|
||||
const EcosystemPage = lazy(() => import('@/pages/EcosystemPage'))
|
||||
|
||||
// Races & Empire
|
||||
const RacesPage = lazy(() => import('@/pages/RacesPage'))
|
||||
|
|
@ -110,6 +111,7 @@ export default function App(): ReactElement {
|
|||
<Route path="/climate/terrain" element={<ClimateTerrainPage />} />
|
||||
<Route path="/climate/simulation" element={<ClimateSimulationPage />} />
|
||||
<Route path="/climate/survival" element={<SurvivalGuidePage />} />
|
||||
<Route path="/climate/ecosystem" element={<EcosystemPage />} />
|
||||
{/* Redirects for old climate routes */}
|
||||
<Route path="/climate/temperature" element={<Navigate to="/climate" replace />} />
|
||||
<Route path="/climate/moisture" element={<Navigate to="/climate/terrain" replace />} />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue