Adding routing and stub about page

This commit is contained in:
April Eaton 2026-01-11 19:51:08 +01:00
parent 61b1b3372b
commit c78c61ac49
Signed by: AprilEaton
GPG key ID: 0BCF829D48AE5C9D
11 changed files with 3331 additions and 3183 deletions

View file

@ -1,10 +1,15 @@
import './App.css';
import "/src/App.css";
import { About } from "./pages/about";
import { Root } from "./pages/root";
import { BrowserRouter, Route, Routes } from "react-router";
export function App() {
return (
<>
<h1>Parcel React App</h1>
<p>Edit <code>src/App.tsx</code> to get started!</p>
</>
<BrowserRouter>
<Routes>
<Route path="/" element={<Root />} />
<Route path="/about" element={<About />} />
</Routes>
</BrowserRouter>
);
}