feat: start affiliation system

This commit is contained in:
2024-02-05 21:42:50 +01:00
parent 2a59c22db6
commit 40427b8cfb
9 changed files with 403 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import {ToastContainer} from "react-toastify";
import './App.css'
import 'react-toastify/dist/ReactToastify.css';
import {ClubRoot, getClubChildren} from "./pages/club/ClubRoot.jsx";
import {DemandeAff, DemandeAffOk} from "./pages/DemandeAff.jsx";
const router = createBrowserRouter([
{
@@ -31,6 +32,19 @@ const router = createBrowserRouter([
path: 'club',
element: <ClubRoot/>,
children: getClubChildren()
},
{
path: 'affiliation',
children: [
{
path: '',
element: <DemandeAff/>
},
{
path: 'ok',
element: <DemandeAffOk/>
}
]
}
]
},