wip add button and feed stuff
This commit is contained in:
parent
38d09a582c
commit
1c2d6d60a6
11 changed files with 211 additions and 46 deletions
|
@ -1,10 +1,12 @@
|
|||
import { AuthorPage } from './pages/AuthorPage.tsx'
|
||||
import { BrowserRouter, Route, Routes } from 'react-router'
|
||||
import HomePage from './pages/HomePage.tsx'
|
||||
import AuthorPage from './pages/AuthorPage.tsx'
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path={'/'} element={<HomePage />} />
|
||||
<Route path="/u/:username" element={<AuthorPage />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue