Prepared Nile v1

This commit is contained in:
Dunemask 2022-12-24 20:49:01 -05:00
parent ca9280f324
commit 0b19036190
145 changed files with 5541 additions and 1285 deletions

19
src/Routing.jsx Normal file
View file

@ -0,0 +1,19 @@
import { Routes, Route, Navigate } from "react-router-dom";
import AppBar from "@mui/material/AppBar";
import Toolbar from "@mui/material/Toolbar";
import Delta from "./pages/delta/Delta.jsx";
import NotFound from "./pages/handlers/NotFound.jsx";
import { useScrollToLocation } from "./hooks.jsx";
export default function Routing() {
useScrollToLocation();
return (
<div className="view">
<Toolbar disableGutters />
<Routes>
<Route path="/" element={<Delta />} />
<Route path="/404" element={<NotFound />} />
<Route path="*" element={<Navigate to="/404" replace />} />
</Routes>
</div>
);
}