SPB Git

Repository Public

FooterNav.tsx 3.5 KB 96 lines tsx

1/**2 * =============================================================================3 *                  SP BOUCHER | SOFTWARE & RESEARCH4 *             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project          : Vrai-Prix8 * File             : src/components/FooterNav.tsx9 * Module           : components10 * Repository       : https://git.spboucher.ai/vrai-prix11 * Created          : 2026-08-0912 * Last Modified    : 2026-10-2013 *14 * Author           : Simon-Pierre Boucher15 * Position         : Professor of Finance16 * Institution      : Université du Québec en Outaouais (UQO)17 * Organization     : SP Boucher18 * Website          : https://spboucher.ai19 * Git              : https://git.spboucher.ai20 *21 * Preferred Contact: contact@spboucher.ai22 * Development      : dev@spboucher.ai23 * Support          : support@spboucher.ai24 * Security/Admin   : admin@spboucher.ai25 *26 * Copyright (c) 202627 * Simon-Pierre Boucher28 * All rights reserved where applicable. This file is governed by the29 * applicable project license, copyright notices and relevant law.30 * Existing third-party rights and notices remain unaffected.31 *32 * License          : None specified (no license file in this repository)33 *34 * Do not embed credentials, private keys, access tokens,35 * certificates or confidential personal information.36 *37 * =============================================================================38 * END OF SP BOUCHER SOURCE HEADER39 * =============================================================================40 */4142"use client";43import Link from "next/link";44import { useLang } from "./LangContext";45import { openCookiePrefs } from "./CookieConsent";4647export default function FooterNav() {48  const { lang } = useLang();49  const fr = lang === "fr";50  const cls =51    "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";52  return (53    <nav className="mt-5 flex flex-wrap items-center gap-x-6 gap-y-2">54      <Link href="/a-vendre" className={cls}>55        {fr ? "À vendre" : "For sale"}56      </Link>57      <Link href="/ventes" className={cls}>58        {fr ? "Ventes récentes" : "Recent sales"}59      </Link>60      <Link href="/cout" className={cls}>61        {fr ? "Méthode du coût" : "Cost approach"}62      </Link>63      <Link href="/carte" className={cls}>64        {fr ? "Carte" : "Map"}65      </Link>66      <Link href="/favoris" className={cls}>67        {fr ? "Favoris" : "Favourites"}68      </Link>69      <Link href="/parc" className={cls}>70        {fr ? "Parc immobilier" : "Portfolio"}71      </Link>72      <Link href="/stats" className={cls}>73        {fr ? "Statistiques" : "Statistics"}74      </Link>75      <Link href="/municipalites" className={cls}>76        {fr ? "Municipalités" : "Municipalities"}77      </Link>78      <Link href="/methodologie" className={cls}>79        {fr ? "Méthodologie" : "Methodology"}80      </Link>81      <Link href="/conditions" className={cls}>82        {fr ? "Conditions d'utilisation" : "Terms of service"}83      </Link>84      <Link href="/confidentialite" className={cls}>85        {fr ? "Politique de confidentialité" : "Privacy policy"}86      </Link>87      <Link href="/contact" className={cls}>88        Contact89      </Link>90      <button onClick={openCookiePrefs} className={`${cls} cursor-pointer`}>91        🍪 {fr ? "Préférences de témoins" : "Cookie preferences"}92      </button>93    </nav>94  );95}96
Files main
Menu

Theme