From 4922b279759214b8c264bf6091c32270e9fa8bec Mon Sep 17 00:00:00 2001 From: Giovanni-Josserand Date: Thu, 12 Mar 2026 15:01:54 +0100 Subject: [PATCH] Rename RGPD page component files --- src/pages/RGPD/{RGPD.jsx => RGPDPage.jsx} | 4 ++-- src/pages/RGPD/{RGPD.module.css => RGPDPage.module.css} | 0 src/router.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/pages/RGPD/{RGPD.jsx => RGPDPage.jsx} (98%) rename src/pages/RGPD/{RGPD.module.css => RGPDPage.module.css} (100%) 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, }, ] }