import type { SourceRef } from "@dci/core"; import { ExternalLink } from "lucide-react"; import Link from "next/link"; import { SOURCE_KIND_LABEL } from "@/lib/labels"; import { routes } from "@/lib/routes"; /** Attribution footer listing the sources behind the figures on the page (from the API envelope `sources`). */ export function SourcesFooter({ sources, updatedAt, note }: { sources: SourceRef[] | undefined | null; updatedAt?: string | null; note?: string }) { const list = sources ?? []; return ( ); }