google search index
All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 57s
All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 57s
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
import { Navigate, Route, Routes } from 'react-router-dom';
|
||||
import { Route, Routes } from 'react-router-dom';
|
||||
import { SeoHead } from './components/SeoHead';
|
||||
import { SiteHeader } from './components/SiteHeader';
|
||||
import { SiteFooter } from './components/SiteFooter';
|
||||
import { HomePage } from './pages/HomePage';
|
||||
import { DocsPage } from './pages/DocsPage';
|
||||
import { ContributePage } from './pages/ContributePage';
|
||||
import { CommunityPage } from './pages/CommunityPage';
|
||||
import { NotFoundPage } from './pages/NotFoundPage';
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
<div className="shell">
|
||||
<SeoHead />
|
||||
<SiteHeader />
|
||||
<main>
|
||||
<Routes>
|
||||
@@ -16,7 +19,7 @@ export default function App() {
|
||||
<Route path="/docs" element={<DocsPage />} />
|
||||
<Route path="/contribute" element={<ContributePage />} />
|
||||
<Route path="/community" element={<CommunityPage />} />
|
||||
<Route path="*" element={<Navigate to="/" replace />} />
|
||||
<Route path="*" element={<NotFoundPage />} />
|
||||
</Routes>
|
||||
</main>
|
||||
<SiteFooter />
|
||||
|
||||
Reference in New Issue
Block a user