Repository Public
1// Auteur : Simon-Pierre Boucher — contact@spboucher.ai2"use client";3import Link from "next/link";4import { useLang } from "./LangContext";5import { openCookiePrefs } from "./CookieConsent";67export default function FooterNav() {8 const { lang } = useLang();9 const fr = lang === "fr";10 // rangée locale sur fond papier (le bloc encre final est le KaFooter commun)11 const cls =12 "vp-mono text-[11px] uppercase tracking-[0.08em] text-ink-2 border-b border-transparent hover:text-green-deep hover:border-green-deep transition-colors";13 return (14 <nav className="mt-5 flex flex-wrap items-center gap-x-6 gap-y-2">15 <Link href="/ka" className={cls}>16 {fr ? "Ka · agent IA" : "Ka · AI agent"}17 </Link>18 <Link href="/parc" className={cls}>19 {fr ? "Parc immobilier" : "Portfolio"}20 </Link>21 <Link href="/stats" className={cls}>22 {fr ? "Statistiques" : "Statistics"}23 </Link>24 <Link href="/municipalites" className={cls}>25 {fr ? "Municipalités" : "Municipalities"}26 </Link>27 <Link href="/methodologie" className={cls}>28 {fr ? "Méthodologie" : "Methodology"}29 </Link>30 <Link href="/conditions" className={cls}>31 {fr ? "Conditions d'utilisation" : "Terms of service"}32 </Link>33 <Link href="/confidentialite" className={cls}>34 {fr ? "Politique de confidentialité" : "Privacy policy"}35 </Link>36 <Link href="/contact" className={cls}>37 Contact38 </Link>39 <a href="/doc/index.html" className={cls}>40 Documentation41 </a>42 <button onClick={openCookiePrefs} className={`${cls} cursor-pointer`}>43 🍪 {fr ? "Préférences de témoins" : "Cookie preferences"}44 </button>45 </nav>46 );47}48