SPB Git

Repository Public

Footer.tsx 4.2 KB 89 lines tsx

1/**2 * =============================================================================3 *                  SP BOUCHER | SOFTWARE & RESEARCH4 *             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project          : ORIX App Universe8 * File             : src/components/layout/Footer.tsx9 * Module           : components10 * Repository       : https://git.spboucher.ai/orix-spboucher-ai11 * Project Website  : https://www.orixlab.dev12 * Created          : 2026-11-2113 * Last Modified    : 2026-11-2114 *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: support@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          : None specified (no license file in this repository)34 *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 { dict, href, type Locale } from "@/lib/i18n";45import { Logo } from "./Logo";4647export function Footer({ locale, apps }: { locale: Locale; apps: { slug: string; name: string }[] }) {48  const t = dict(locale);49  return (50    <footer className="rule mt-24 bg-bg2">51      <div className="wrap wrap-wide grid gap-12 py-16 md:grid-cols-[1.4fr_1fr_1fr_1fr]">52        <div>53          <Logo />54          <p className="mt-4 max-w-xs text-[0.95rem] text-ink2">{t.brand.tagline}</p>55        </div>56        <nav aria-label={t.nav.apps}>57          <h2 className="eyebrow">{t.nav.apps}</h2>58          <ul className="mt-4 grid gap-2.5 text-[0.95rem]">59            {apps.map((a) => <li key={a.slug}><Link className="text-ink2 hover:text-ink" href={href(locale, `/apps/${a.slug}`)}>{a.name}</Link></li>)}60          </ul>61        </nav>62        <nav aria-label="ORIX">63          <h2 className="eyebrow">ORIX</h2>64          <ul className="mt-4 grid gap-2.5 text-[0.95rem]">65            {([["/apps", t.catalog.title], ["/models", t.nav.models], ["/maps", t.nav.maps], ["/downloads", t.nav.downloads], ["/ecosystem", t.nav.ecosystem], ["/whats-new", t.nav.whatsNew], ["/compare", t.nav.compare], ["/support", t.nav.support], ["/privacy", t.footer.privacy], ["/terms", t.footer.terms]] as const).map(([h, l]) => (66              <li key={h}><Link className="text-ink2 hover:text-ink" href={href(locale, h)}>{l}</Link></li>67            ))}68          </ul>69        </nav>70        <div>71          <h2 className="eyebrow">{t.footer.contact}</h2>72          <ul className="mt-4 grid gap-2.5 text-[0.95rem]">73            {["contact", "info", "support", "dev", "admin"].map((u) => <li key={u}><a className="text-ink2 hover:text-ink" href={`mailto:${u}@spboucher.ai`}>{u}@spboucher.ai</a></li>)}74            <li><a className="text-ink2 hover:text-ink" href="https://git.spboucher.ai" rel="noopener">{t.footer.source}</a></li>75            <li><a className="text-ink2 hover:text-ink" href="https://www.spboucher.ai" rel="noopener">spboucher.ai</a></li>76          </ul>77        </div>78      </div>79      <div className="rule">80        <div className="wrap wrap-wide grid gap-2 py-8 text-[0.8rem] leading-relaxed text-ink3">81          <p>© {new Date().getFullYear()} Simon-Pierre Boucher. {t.footer.made}</p>82          <p className="max-w-3xl">{t.footer.rights}</p>83          <p className="flex flex-wrap gap-x-5 gap-y-1"><Link className="link" href={href(locale, "/privacy")}>{t.footer.privacy}</Link><Link className="link" href={href(locale, "/terms")}>{t.footer.terms}</Link></p>84        </div>85      </div>86    </footer>87  );88}89
Files main
Menu

Theme