SPB Git

spb/cancerindex

Public
1.6 KB · 35 lines tsx
1import Link from 'next/link';2import { DISCLAIMER, FOOTER_NAV, CONTACT_EMAIL } from '@/lib/site';34export function SiteFooter() {5  return (6    <footer className="mt-16 border-t border-rule-strong bg-paper-2">7      <div className="mx-auto max-w-[1400px] px-4 py-8 sm:px-6">8        <div className="grid gap-6 md:grid-cols-[1.4fr_1fr]">9          <div>10            <p className="font-display text-lg">CancerIndex</p>11            <p className="mt-2 max-w-2xl text-[13px] leading-relaxed text-ink-2">{DISCLAIMER}</p>12            <p className="mt-2 max-w-2xl text-[12.5px] leading-relaxed text-ink-3">13              Every number links to its source and retrieval date. Derived metrics carry a formula version. AI-generated synthesis is not enabled in this phase; all content is database-grounded.14            </p>15          </div>16          <nav aria-label="Footer" className="grid grid-cols-2 gap-x-6 gap-y-1.5 text-[13px]">17            {FOOTER_NAV.map((n) => (18              <Link key={n.href} href={n.href} className="text-ink-2 no-underline hover:text-accent">19                {n.label}20              </Link>21            ))}22            <a href={`mailto:${CONTACT_EMAIL}`} className="text-ink-2 no-underline hover:text-accent">23              Report a correction24            </a>25            <Link href="/healthz" className="text-ink-2 no-underline hover:text-accent">26              Status27            </Link>28          </nav>29        </div>30        <p className="mt-6 text-[11.5px] text-ink-3">© {new Date().getUTCFullYear()} CancerIndex. Source data remains under the license of each provider — see /sources.</p>31      </div>32    </footer>33  );34}35
Files · 62fc60aa4e1575ebe6a0d752121ad91fa3ee22be
Menu

Theme