fix: supprimer meta refresh de team.tsx qui causait la boucle

La page team.tsx avait un meta refresh vers /team.html
Le reverse proxy redirige /team.html vers /team = boucle infinie

Solution: team.tsx retourne null, le contenu est géré par
team-block-script.js via iframe avec data URL
This commit is contained in:
syoul
2025-12-09 16:15:27 +01:00
parent 59acaf46cb
commit 16a346e8fe

View File

@@ -1,33 +1,5 @@
// @ts-nocheck
import Head from 'next/head';
// Page vide - le contenu est injecté par team-block-script.js via iframe
export default function TeamPage() {
return (
<>
<Head>
<meta httpEquiv="refresh" content="0;url=/team.html" />
<script dangerouslySetInnerHTML={{
__html: `window.location.replace('/team.html');`
}} />
</Head>
<div
style={{
width: '100vw',
height: '100vh',
background: '#1a4d3a',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
position: 'fixed',
top: 0,
left: 0,
zIndex: 9999,
}}
>
<div style={{ color: 'white', fontSize: '18px' }}>
Redirection vers les visualisations équipe...
</div>
</div>
</>
);
return null;
}