[FEATURE] Initial Packaging For Resume Display (#7)
Co-authored-by: dunemask <dunemask@gmail.com> Co-authored-by: Dunemask <dunemask@gmail.com> Reviewed-on: https://gitea.dunemask.net/elysium/nile/pulls/7
This commit is contained in:
parent
10d4b5c0a3
commit
565c8f225c
39 changed files with 261 additions and 101 deletions
|
@ -1,7 +1,7 @@
|
|||
import { Routes, Route, Navigate } from "react-router-dom";
|
||||
import Toolbar from "@mui/material/Toolbar";
|
||||
import Delta from "./pages/delta/Delta.jsx";
|
||||
// import NotFound from "./pages/handlers/NotFound.jsx";
|
||||
import References from "./pages/references/References.jsx";
|
||||
import { useScrollToLocation } from "./hooks.jsx";
|
||||
export default function Routing() {
|
||||
useScrollToLocation();
|
||||
|
@ -10,8 +10,9 @@ export default function Routing() {
|
|||
<Toolbar disableGutters />
|
||||
<Routes>
|
||||
<Route path="/" element={<Delta />} />
|
||||
{/*<Route path="/404" element={<NotFound />} /> */}
|
||||
{/*<Route path="/references" element={<References />} />*/}
|
||||
<Route path="*" element={<Navigate to="/" replace />} />
|
||||
<Route path="/*" element={<Navigate to="/" replace />} />
|
||||
</Routes>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue