All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 57s
29 lines
971 B
TypeScript
29 lines
971 B
TypeScript
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>
|
|
<Route path="/" element={<HomePage />} />
|
|
<Route path="/docs" element={<DocsPage />} />
|
|
<Route path="/contribute" element={<ContributePage />} />
|
|
<Route path="/community" element={<CommunityPage />} />
|
|
<Route path="*" element={<NotFoundPage />} />
|
|
</Routes>
|
|
</main>
|
|
<SiteFooter />
|
|
</div>
|
|
);
|
|
}
|