--- import "../styles/global.css"; import { LANGUAGES, DEFAULT_LANG } from "../i18n/config"; import { TRANSLATIONS, t } from "../i18n/helpers"; import { u } from "../lib/url"; import Header from "../components/Header.astro"; import Footer from "../components/Footer.astro"; interface Props { title?: string; description?: string; /** which page is currently shown — used to highlight the active nav entry */ currentPath?: string; } const { title = t("meta.site_name", DEFAULT_LANG), description = t("hero.subheading", DEFAULT_LANG), currentPath = Astro.url.pathname, } = Astro.props; // Inline the whole translation table for instant client-side switching. const translationsJSON = JSON.stringify(TRANSLATIONS); const languagesJSON = JSON.stringify(LANGUAGES); --- {title} · Santamaria Cuttings