diff --git a/src/components/layout/footer/footer.tsx b/src/components/layout/footer/footer.tsx index 0f50e2e28..f17d062f2 100644 --- a/src/components/layout/footer/footer.tsx +++ b/src/components/layout/footer/footer.tsx @@ -3,6 +3,10 @@ import { OnRuntimeWordMark } from "@/logos/components"; import Link from "next/link"; import React from "react"; +/** + * Configuration de la navigation du footer + * Organisée par catégories pour une meilleure maintenabilité + */ const navigation = { Navigation: [ { name: "Nos services", href: Routes.services }, @@ -11,15 +15,15 @@ const navigation = { { name: "Carrières", href: Routes.unknown }, { name: "Blog", href: Routes.unknown }, ], - ["Ressources"]: [ + Ressources: [ { name: "Glossaire", href: Routes.glossary }, { name: "Communauté", href: Routes.unknown }, { name: "Status", href: Routes.unknown }, ], - ["Autres"]: [ + Autres: [ { name: "Contact", href: Routes.contact }, { name: "Conditions générales", href: Routes.legals.terms }, - { name: "Politique de confidentialité", href: Routes.legals.privacy }, + { name: "Politique de confidentialité", href: Routes.legals.privacy }, { name: "Détails de l'entreprise", href: Routes.legals.company }, ], ["Réseaux sociaux"]: [ @@ -31,16 +35,73 @@ const navigation = { ], }; +/** + * Composant StatusIndicator - Indicateur visuel de statut + */ +const StatusIndicator = () => ( + + + + +); + +/** + * Composant NavigationSection - Affiche une section de navigation + */ +const NavigationSection = ({ + title, + links, +}: { + title: string; + links: { name: string; href: string }[]; +}) => ( +
+

{title}

+ +
+); + +/** + * Composant Footer - Pied de page principal + */ const Footer: React.FC = () => { const currentYear = new Date().getFullYear(); return ( -