import { FONT_CATALOG, fontStack } from '@dorfteich/shared'; import { useTranslation } from 'react-i18next'; import { useDocumentTitle } from '../lib/use-document-title'; /** * Font catalog attribution page (issue #66, ADR 0016): lists every self-hosted * family with its license, rendered in the font itself. The self-hosting is the * GDPR guarantee — this page is the human-readable attribution surface. */ export function FontCatalogPage(): React.JSX.Element { const { t } = useTranslation('font'); useDocumentTitle(t('catalog.title')); return (

{t('catalog.title')}

{t('catalog.intro')}

{FONT_CATALOG.map((font) => ( ))}
{t('catalog.family')} {t('catalog.category')} {t('catalog.weights')} {t('catalog.license')}
{font.family} {t(`category.${font.category}`)} {font.weights.join(', ')} {font.license}
); }