From 1292785b083e61f3b99b48fd53e90e85969846c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Wed, 21 Jun 2023 18:37:50 +0200 Subject: [PATCH] Redirect /simulateur/* to 404 --- site/source/pages/404.tsx | 3 ++- site/source/pages/simulateurs/index.tsx | 7 +------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/site/source/pages/404.tsx b/site/source/pages/404.tsx index c849c63bb..a50a064fb 100644 --- a/site/source/pages/404.tsx +++ b/site/source/pages/404.tsx @@ -5,7 +5,7 @@ import image from '@/assets/images/road-sign.svg' import PageHeader from '@/components/PageHeader' import Meta from '@/components/utils/Meta' import { Button } from '@/design-system/buttons' -import { Container } from '@/design-system/layout' +import { Container, Spacing } from '@/design-system/layout' export default function Page404() { const { t } = useTranslation() @@ -35,6 +35,7 @@ export default function Page404() { Revenir en lieu sûr + ) } diff --git a/site/source/pages/simulateurs/index.tsx b/site/source/pages/simulateurs/index.tsx index 56a840414..6ac590a8b 100644 --- a/site/source/pages/simulateurs/index.tsx +++ b/site/source/pages/simulateurs/index.tsx @@ -81,13 +81,8 @@ export default function Simulateurs() { ) ) : null)} - - } - /> {simulatorRoutes} + } /> )