--- import { ClientRouter } from 'astro:transitions'; import { getLocale } from '../lib/i18n'; import { localeByPath, DEFAULT_LOCALE } from '../config/locales'; import Head from '../components/Head.astro'; import Header from '../components/Header.astro'; import Footer from '../components/Footer.astro'; import '../styles/tokens.css'; import '../styles/fonts.css'; import '../styles/global.css'; // Preload the above-the-fold display fonts so the wordmark and headings render // in the correct font on first paint (no fallback-font flash / FOUT). import greatVibesWoff2 from '@fontsource/great-vibes/files/great-vibes-latin-400-normal.woff2?url'; import frauncesWoff2 from '@fontsource-variable/fraunces/files/fraunces-latin-wght-normal.woff2?url'; interface Props { title: string; description: string; image?: string; noindex?: boolean; } const { title, description, image, noindex } = Astro.props; const lang = getLocale(Astro); const loc = localeByPath(lang) ?? localeByPath(DEFAULT_LOCALE)!; ---
Skip to content