try to get it working

This commit is contained in:
2025-07-02 17:09:59 +02:00
parent 75da3cceb9
commit 2331a79884

View File

@@ -1,6 +1,26 @@
import './App.css'
import Navbar from "./components/Navbar.tsx";
import {BrowserRouter} from "react-router-dom";
import {BrowserRouter, Route, Routes} from "react-router-dom";
function Home() {
return null;
}
function Feed() {
return null;
}
function Record() {
return null;
}
function Archive() {
return null;
}
function Profile() {
return null;
}
function App() {
@@ -9,6 +29,13 @@ function App() {
<div>
<Navbar/>
</div>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/feed" element={<Feed />} />
<Route path="/record" element={<Record />} />
<Route path="/archive" element={<Archive />} />
<Route path="/profile" element={<Profile />} />
</Routes>
</BrowserRouter>
)
}