diff --git a/src/pages/RGPD/RGPD.jsx b/src/pages/RGPD/RGPDPage.jsx similarity index 98% rename from src/pages/RGPD/RGPD.jsx rename to src/pages/RGPD/RGPDPage.jsx index 6f5acc7..2769d54 100644 --- a/src/pages/RGPD/RGPD.jsx +++ b/src/pages/RGPD/RGPDPage.jsx @@ -1,7 +1,7 @@ -import styles from "./RGPD.module.css"; +import styles from "./RGPDPage.module.css"; import {Link} from "react-router"; -export default function RGPD() { +export default function RGPDPage() { return (

Fiche d'informatino RGPD

diff --git a/src/pages/RGPD/RGPD.module.css b/src/pages/RGPD/RGPDPage.module.css similarity index 100% rename from src/pages/RGPD/RGPD.module.css rename to src/pages/RGPD/RGPDPage.module.css diff --git a/src/router.js b/src/router.js index cd993f3..60a3563 100644 --- a/src/router.js +++ b/src/router.js @@ -11,7 +11,7 @@ import ValidationErrorPage from "./pages/waitValidationPage/ValidationErrorPage. import PageNotFoundPage from "./pages/PageNotFound/PageNotFoundPage.jsx"; import eventDetail from "./pages/EventDetail/EventDetailPage.jsx"; import legalNotices from "./pages/LegalNotices/LegalNoticesPage.jsx"; -import RGPD from "./pages/RGPD/RGPD.jsx"; +import RGPDPage from "./pages/RGPD/RGPDPage.jsx"; const router = createBrowserRouter([ { @@ -72,7 +72,7 @@ const router = createBrowserRouter([ }, { path: "/rgpd", - Component: RGPD, + Component: RGPDPage, }, ] }