layout and settings page

This commit is contained in:
Oliver Bryan
2026-01-07 15:18:45 +00:00
parent e6bc4cc65a
commit 57978f511a
5 changed files with 54 additions and 15 deletions

View File

@@ -1,11 +1,28 @@
import { BrowserRouter, Route, Routes } from "react-router-dom";
import Index from "@/Index";
import Settings from "./Settings";
import Layout from "./Layout";
function App() {
return (
<BrowserRouter>
<Routes>
<Route path="/" element={<Index />} />
<Route
path="/"
element={
<Layout>
<Index />
</Layout>
}
/>
<Route
path="/settings"
element={
<Layout>
<Settings />
</Layout>
}
/>
</Routes>
</BrowserRouter>
);