import type { Metadata, Viewport } from 'next'; import { Newsreader, Inter, IBM_Plex_Mono } from 'next/font/google'; import './globals.css'; import { SiteHeader } from '@/components/layout/site-header'; import { SiteFooter } from '@/components/layout/site-footer'; import { SITE_URL, SITE_NAME, TAGLINE } from '@/lib/site'; const display = Newsreader({ variable: '--font-display', subsets: ['latin'], display: 'swap', weight: ['400', '500', '600'], style: ['normal', 'italic'] }); const ui = Inter({ variable: '--font-ui', subsets: ['latin'], display: 'swap' }); const code = IBM_Plex_Mono({ variable: '--font-code', subsets: ['latin'], display: 'swap', weight: ['400', '500'] }); export const metadata: Metadata = { metadataBase: new URL(SITE_URL), title: { default: `${SITE_NAME} — ${TAGLINE}`, template: `%s · ${SITE_NAME}` }, description: 'A provenance-first index of every recognized cancer entity: taxonomy, epidemiology, genomics, variants, therapies, clinical trials, literature and transparent rankings.', applicationName: SITE_NAME, robots: { index: true, follow: true }, openGraph: { type: 'website', siteName: SITE_NAME, url: SITE_URL, title: `${SITE_NAME} — ${TAGLINE}`, description: 'Provenance-first oncology intelligence: every number linked to its source.' }, twitter: { card: 'summary', title: SITE_NAME, description: TAGLINE }, }; export const viewport: Viewport = { width: 'device-width', initialScale: 1, themeColor: '#fafaf7', }; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( Skip to content
{children}
); }