fix: simplification page team.tsx pour éviter erreur build

- Suppression de styled-jsx (style jsx global)
- Utilisation de dangerouslySetInnerHTML pour les styles
- Suppression de getLayout qui n'est pas supporté
- Styles inline uniquement pour éviter les dépendances

Cela devrait corriger l'erreur de build npm run build
This commit is contained in:
syoul
2025-12-09 12:26:43 +01:00
parent e9f16769a9
commit 0147a86fac

View File

@@ -106,21 +106,21 @@ const TeamPage = () => {
<>
<Head>
<title>Équipe & Technologies - Laplank</title>
<style jsx global>{`
<style dangerouslySetInnerHTML={{__html: `
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
height: 100% !important;
overflow: hidden !important;
}
#__next {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
width: 100% !important;
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
`}</style>
`}} />
</Head>
<div style={{
width: '100vw',
@@ -151,11 +151,6 @@ const TeamPage = () => {
);
};
// Désactiver le layout par défaut pour cette page
TeamPage.getLayout = function getLayout(page) {
return page;
};
export default TeamPage;
EOF
RUN echo "✅ Page team.tsx créée (redirige vers /team.html)"