Files
TechradarDev/docker/team-page.tsx
syoul 2dd08c0d46 fix: simplifier team-page.tsx pour éviter erreurs modules
- Page team.tsx redirige maintenant vers team.html
- Évite les imports cytoscape/echarts qui causent MODULE_NOT_FOUND
- team.html contient les vraies visualisations avec chargement CDN

Corrige l'erreur npm run build dans Docker
2025-12-09 15:00:54 +01:00

40 lines
878 B
TypeScript

// @ts-nocheck
import { useEffect, useState } from 'react';
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 (
<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' }}>
Chargement des visualisations équipe...
</div>
</div>
);
}
return null;
}