p5/8 done

This commit is contained in:
2026-04-14 23:08:44 +10:00
parent 5b921cbbbb
commit d7c5eedee5
6 changed files with 75 additions and 9 deletions

View File

@@ -6,7 +6,9 @@ import {
RouterProvider,
} from "react-router-dom";
import List from "./list/List";
import Main from "./main/Main";
import Building from "./building/Building";
const router = createBrowserRouter([
{
@@ -17,11 +19,13 @@ const router = createBrowserRouter([
path: "/list",
element: <List />,
},
{
path: "/building/:id",
element: <Building />,
},
]);
import List from "./list/List";
import Main from "./main/Main";
import './styles/index.css'
createRoot(document.getElementById('root')!).render(