diff --git a/site/source/App.tsx b/site/source/App.tsx
index d6206d6a5..07e4cc7e5 100644
--- a/site/source/App.tsx
+++ b/site/source/App.tsx
@@ -3,7 +3,7 @@ import { FallbackRender } from '@sentry/react/types/errorboundary'
import rules from 'modele-social'
import { ComponentProps, useMemo } from 'react'
import { useTranslation } from 'react-i18next'
-import { Route, Routes } from 'react-router-dom'
+import { Navigate, Route, Routes, redirect } from 'react-router-dom'
import styled, { css } from 'styled-components'
import Route404 from '@/components/Route404'
@@ -82,11 +82,24 @@ const Router = () => {
return (
} />
+
} />
} />
)
}
+const Redirections = () => {
+ const { relativeSitePaths } = useSitePaths()
+
+ return (
+ <>
+ }
+ />
+ >
+ )
+}
const CatchOffline = ({ error }: ComponentProps) => {
if (error.message.includes('dynamically imported module')) {
@@ -156,7 +169,7 @@ const App = () => {
path={relativeSitePaths.nouveautés + '/*'}
element={}
/>
- } />
+ } />
} />