--- import "../styles/global.css"; type Props = { title: string; description?: string; ogImage?: string; lang?: string; }; const { title, description, ogImage, lang = "en" } = Astro.props; const canonical = new URL(Astro.url.pathname, Astro.site ?? Astro.url).toString(); const og = ogImage ?? "https://infrafabric.io/assets/iftrace-og.svg"; const langSwitch = lang === "fr" ? { href: "/", label: "EN" } : { href: "/fr/", label: "FR" }; ---