Create VolunteerProfilePage

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2025-12-17 14:32:04 +01:00
parent 7fa9b74bd8
commit 9f681d6345
3 changed files with 18 additions and 0 deletions
+5
View File
@@ -8,6 +8,7 @@ import VolunteersPage from "./pages/Volunteers/VolunteersPage";
import ProfilePage from "./pages/Profile/ProfilePage";
import EventsPage from "./pages/Events/EventsPage.jsx";
import ValidationErrorPage from "./pages/waitValidationPage/ValidationErrorPage.jsx";
import VolunteerProfilePage from "./pages/VolunteerProfile/VolunteerProfilePage.jsx";
const router = createBrowserRouter([
{
@@ -45,6 +46,10 @@ const router = createBrowserRouter([
{
path: "/volunteers",
Component: VolunteersPage,
},
{
path: "/profile/:id",
Component: VolunteerProfilePage,
}
]
}