diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-07-20 00:31:36 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-07-20 00:31:36 +0300 |
| commit | 887ec4af81dd56b798e360194299eea6b81d99ac (patch) | |
| tree | 38c241ed4ad696636447e704a599ce35536d204e /frontend/src/App.js | |
| parent | quick link fix (diff) | |
| download | lphub-887ec4af81dd56b798e360194299eea6b81d99ac.tar.gz lphub-887ec4af81dd56b798e360194299eea6b81d99ac.tar.bz2 lphub-887ec4af81dd56b798e360194299eea6b81d99ac.zip | |
feat: about page
Former-commit-id: 103850ab3128cf9042565a59b216cd2dac553682
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/App.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/App.js b/frontend/src/App.js index c1745a7..d75636f 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js | |||
| @@ -6,6 +6,7 @@ import Main from "./components/main.js" | |||
| 6 | import "./App.css"; | 6 | import "./App.css"; |
| 7 | 7 | ||
| 8 | import Summary from "./components/pages/summary.js" | 8 | import Summary from "./components/pages/summary.js" |
| 9 | import About from './components/pages/about.js'; | ||
| 9 | 10 | ||
| 10 | 11 | ||
| 11 | export default function App() { | 12 | export default function App() { |
| @@ -31,7 +32,7 @@ export default function App() { | |||
| 31 | <Route path="/scorelog" element={<Main text="Score logs"/>}></Route> | 32 | <Route path="/scorelog" element={<Main text="Score logs"/>}></Route> |
| 32 | <Route path="/profile" element={<Main text="Profile"/>}></Route> | 33 | <Route path="/profile" element={<Main text="Profile"/>}></Route> |
| 33 | <Route path="/rules" element={<Main text="Rules"/>}></Route> | 34 | <Route path="/rules" element={<Main text="Rules"/>}></Route> |
| 34 | <Route path="/about" element={<Main text="About"/>}></Route> | 35 | <Route path="/about" element={<About/>}></Route> |
| 35 | <Route path="/maps/*" element={<Summary token={token} mod={mod}/>}></Route> | 36 | <Route path="/maps/*" element={<Summary token={token} mod={mod}/>}></Route> |
| 36 | <Route path="*" element={<Main text="404 Page not found"/>}></Route> | 37 | <Route path="*" element={<Main text="404 Page not found"/>}></Route> |
| 37 | </Routes> | 38 | </Routes> |