add: boilerplate w/ navbar, tailwindcss

This commit is contained in:
Jordan Edgington
2024-05-17 21:58:07 -04:00
parent 2fd5a4583c
commit efce89bd16
13 changed files with 1224 additions and 141 deletions

29
frontend/src/router.jsx Normal file
View File

@@ -0,0 +1,29 @@
// router.jsx
import { createBrowserRouter } from "react-router-dom";
import App from "./App";
import Main from "./pages/main";
import Scenario from "./pages/scenario";
import About from "./pages/about";
const router = createBrowserRouter([
{
path: "/",
element: <App />,
children: [
{
index: true,
element: <Main />,
},
{
path: 'scenario/',
element: <Scenario />
},
{
path: 'about/',
element: <About />
}
],
},
]);
export default router;