import type { Metadata } from "next";
import { AtlasPageView } from "@/components/clinical/AtlasPageView";
import { getDataSourcesPage } from "@/lib/clinical/atlas-pages";

export const metadata: Metadata = {
  title: "Data sources",
  description:
    "Primary data sources, collection and processing notes, quality assurance, and the limitations behind the OrthoGlobe Global Orthopaedic Atlas.",
  openGraph: {
    title: "Data sources · OrthoGlobe Atlas",
    description:
      "WHO Global Health Workforce Statistics, national registries, academic literature, society data, and the OrthoGlobe collaborative network.",
  },
};

export default function DataSourcesPage() {
  const page = getDataSourcesPage();

  return (
    <AtlasPageView
      page={page}
      eyebrow="Clinical · Atlas data sources"
      lede="Every country, training programme, and density figure in the Atlas is traceable to one or more of these primary sources."
      related={[
        { href: "/clinical", label: "Clinical overview" },
        { href: "/clinical/methodology", label: "Methodology" },
        { href: "/products/atlas", label: "Orthopaedic Atlas" },
      ]}
    />
  );
}
