More frontend and I lost track

This commit is contained in:
2022-09-29 23:58:41 +02:00
parent 7255e22315
commit 11f84b9755
21 changed files with 405 additions and 128 deletions

View File

@@ -1,5 +1,6 @@
import { Routes, Route } from "react-router-dom";
import BrowseLayout from "./components/BrowseLayout";
import CategoryPage from "./pages/CategoryPage";
import ChannelPage from "./pages/ChannelPage";
function App() {
@@ -7,6 +8,7 @@ function App() {
<Routes>
<Route element={<BrowseLayout />}>
<Route path="/:channel" element={<ChannelPage />} />
<Route path="/category/:category" element={<CategoryPage />} />
<Route path="/" element={<h1>Hi</h1>} />
</Route>
</Routes>