fix: ajout logs debug pour lien Équipe

This commit is contained in:
syoul
2025-12-06 22:07:44 +01:00
parent 19e85089ab
commit 7986bc70b1

View File

@@ -922,8 +922,15 @@ Interface de pilotage pour les responsables sécurité des PME.
teamLink.style.cssText = 'color: #2ecc71; text-decoration: none; font-weight: bold; cursor: pointer; font-size: 14px; padding: 5px 8px; border-radius: 4px; transition: background 0.2s;';
teamLink.addEventListener('mouseenter', () => teamLink.style.background = 'rgba(46, 204, 113, 0.1)');
teamLink.addEventListener('mouseleave', () => teamLink.style.background = 'transparent');
// Insérer au début du conteneur
// Insérer au début du conteneur (ou à la fin si firstChild est null)
if (container.firstChild) {
container.insertBefore(teamLink, container.firstChild);
} else {
container.appendChild(teamLink);
}
console.log('✅ Lien Équipe ajouté au header');
} else {
console.log(' Lien Équipe existe déjà');
}
// Ajouter les liens des pages de stratégie