From 7b236f677098c8149c41b5b027e36666c0c951be Mon Sep 17 00:00:00 2001 From: syoul Date: Tue, 9 Dec 2025 15:18:10 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20redirection=20imm=C3=A9diate=20vers=20te?= =?UTF-8?q?am.html=20via=20meta=20refresh=20et=20script=20inline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Utilise meta http-equiv=refresh pour rediriger même sans JS - Ajoute script inline dans Head pour redirection JS immédiate - Fonctionne avec l'export statique Next.js --- docker/team-page.tsx | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/docker/team-page.tsx b/docker/team-page.tsx index 1058ce9..b3fdf54 100644 --- a/docker/team-page.tsx +++ b/docker/team-page.tsx @@ -1,19 +1,15 @@ // @ts-nocheck -import { useEffect, useState } from 'react'; +import Head from 'next/head'; export default function TeamPage() { - const [mounted, setMounted] = useState(false); - - useEffect(() => { - setMounted(true); - // Rediriger vers team.html qui contient les vraies visualisations - if (typeof window !== 'undefined') { - window.location.href = '/team.html'; - } - }, []); - - if (!mounted) { - return ( + return ( + <> + + +