signup page
This commit is contained in:
parent
82361fdf63
commit
2f330a3b40
4 changed files with 105 additions and 4 deletions
|
@ -3,6 +3,7 @@ import HomePage from './pages/HomePage.tsx'
|
|||
import { PostsService } from './model/posts/postsService.ts'
|
||||
import AuthorPage from './pages/AuthorPage.tsx'
|
||||
import { MediaService } from './model/mediaService.ts'
|
||||
import SignupPage from './pages/SignupPage.tsx'
|
||||
|
||||
function App() {
|
||||
const postService = new PostsService()
|
||||
|
@ -15,6 +16,7 @@ function App() {
|
|||
element={<HomePage postsService={postService} mediaService={mediaService} />}
|
||||
/>
|
||||
<Route path="/u/:username" element={<AuthorPage postsService={postService} />} />
|
||||
<Route path="/signup" element={<SignupPage />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue