Repository Public
1/**2 * =============================================================================3 * SP BOUCHER | SOFTWARE & RESEARCH4 * ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project : agentilab-web8 * File : components/layout/Footer.tsx9 * Module : User Interface10 * Repository : https://git.spboucher.ai/agentilab-web11 * Project Website : Not specified12 * Created : 2026-12-0513 * Last Modified : 2026-12-0514 *15 * Author : Simon-Pierre Boucher16 * Position : Professor of Finance17 * Institution : Université du Québec en Outaouais (UQO)18 * Organization : SP Boucher19 * Website : https://spboucher.ai20 * Git : https://git.spboucher.ai21 *22 * Preferred Contact: contact@spboucher.ai23 * Development : dev@spboucher.ai24 * Support : support@spboucher.ai25 * Security/Admin : admin@spboucher.ai26 *27 * Copyright (c) 202628 * Simon-Pierre Boucher29 * All rights reserved where applicable. This file is governed by the30 * applicable project license, copyright notices and relevant law.31 * Existing third-party rights and notices remain unaffected.32 *33 * License : Proprietary34 *35 * Do not embed credentials, private keys, access tokens,36 * certificates or confidential personal information.37 *38 * =============================================================================39 * END OF SP BOUCHER SOURCE HEADER40 * =============================================================================41 */4243import Link from 'next/link';44import type { Locale } from '@/lib/i18n/config';45import { getCopy } from '@/lib/i18n/copy';46import { href } from '@/lib/i18n/routes';47import { legalIdentity } from '@/content/public/legal';48import { brands } from '@/lib/catalog';49import { LogoMark } from '@/components/ui/Logo';50import { BRAND_NAME } from '@/lib/site';51import { ExternalLink } from '@/components/ui/primitives';5253export function Footer({ locale }: { locale: Locale }) {54 const copy = getCopy(locale);55 // Année dynamique : évaluée au rendu de la page (au build pour les pages statiques, donc à chaque déploiement).56 const year = new Date().getFullYear();57 return (58 <footer className="footer" data-tone="dark">59 <div className="container">60 <div className="footer__grid">61 <div className="footer__identity">62 <span className="logo">63 <LogoMark />64 <span>{BRAND_NAME}</span>65 </span>66 <p>67 <strong lang="fr-CA">{legalIdentity.legalName}</strong>68 <br />69 {copy.footer.neq} {legalIdentity.neq}70 <br />71 {legalIdentity.location[locale]}72 </p>73 </div>74 <div className="footer__cols">75 <nav aria-labelledby="footer-site">76 <h2 id="footer-site">{copy.footer.navHeading}</h2>77 <ul>78 {(['company', 'ecosystem', 'technologies', 'contact'] as const).map((id) => (79 <li key={id}>80 <Link href={href(id, locale)}>{copy.nav[id]}</Link>81 </li>82 ))}83 </ul>84 </nav>85 <nav aria-labelledby="footer-brands">86 <h2 id="footer-brands">{copy.footer.brandsHeading}</h2>87 <ul>88 {brands.map((brand) => (89 <li key={brand.id}>90 <ExternalLink href={brand.officialUrl[locale]} externalLabel={copy.labels.external} className="">91 {brand.name}92 </ExternalLink>93 </li>94 ))}95 </ul>96 </nav>97 <nav aria-labelledby="footer-legal">98 <h2 id="footer-legal">{copy.footer.legalLinksHeading}</h2>99 <ul>100 <li>101 <Link href={href('privacy', locale)}>{copy.footer.privacy}</Link>102 </li>103 <li>104 <Link href={href('legal', locale)}>{copy.footer.legal}</Link>105 </li>106 </ul>107 </nav>108 </div>109 </div>110 <div className="footer__base">111 <span>112 © {year} <span lang="fr-CA">{legalIdentity.legalName}</span> {copy.footer.rights}113 </span>114 <span>{legalIdentity.location[locale]}</span>115 </div>116 </div>117 </footer>118 );119}120