feat: mePage

This commit is contained in:
2024-07-18 21:40:36 +02:00
parent 8ba3f45215
commit a58dcdd08e
17 changed files with 333 additions and 38 deletions

View File

@@ -12,6 +12,7 @@ import './App.css'
import 'react-toastify/dist/ReactToastify.css';
import {ClubRoot, getClubChildren} from "./pages/club/ClubRoot.jsx";
import {DemandeAff, DemandeAffOk} from "./pages/DemandeAff.jsx";
import {MePage} from "./pages/MePage.jsx";
const router = createBrowserRouter([
{
@@ -45,6 +46,10 @@ const router = createBrowserRouter([
element: <DemandeAffOk/>
}
]
},
{
path: 'me',
element: <MePage/>
}
]
},
@@ -82,7 +87,7 @@ function Root() {
<div className="container my-4">
<Outlet/>
<ToastContainer
position="top-right"
position="top-center"
autoClose={5000}
hideProgressBar={false}
newestOnTop={false}