feat(frontend): start edit page
This commit is contained in:
parent
2ee1087eec
commit
8b31519952
15 changed files with 556 additions and 44 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Routes, Route } from "react-router-dom";
|
||||
import { Routes, Route, useParams } from "react-router-dom";
|
||||
import "./App.css";
|
||||
import Container from "./lib/Container";
|
||||
import Navigation from "./lib/Navigation";
|
||||
|
|
@ -15,8 +15,10 @@ function App() {
|
|||
<Container>
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/u/:username" element={<User />} />
|
||||
<Route path="/@:username" element={<User />} />
|
||||
<Route path="/@:username/:member" element={<User />} />
|
||||
<Route path="/edit" element={<EditMe />} />
|
||||
<Route path="/edit/:member" element={<EditMe />} />
|
||||
<Route path="/login" element={<Login />} />
|
||||
<Route path="/login/discord" element={<Discord />} />
|
||||
</Routes>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue