Create PageNotFound.jsx

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2025-12-17 15:05:29 +01:00
parent 1ee31e6fd8
commit fa9298a334
3 changed files with 15 additions and 0 deletions
+5
View File
@@ -9,6 +9,7 @@ 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";
import PageNotFound from "./pages/PageNotFound/PageNotFound.jsx";
const router = createBrowserRouter([
{
@@ -23,6 +24,10 @@ const router = createBrowserRouter([
path: "/error/validation",
Component: ValidationErrorPage
},
{
path: "/*",
Component: PageNotFound,
},
{
path: "/",
Component: Layout,