--- import Navigation from "../components/Navigation.astro"; import Wordmark from "../components/Wordmark.astro"; import "../styles/global.css"; import "@fontsource-variable/jetbrains-mono"; import "@fontsource/instrument-serif/400.css"; import "@fontsource/instrument-serif/400-italic.css"; import "@fontsource/newsreader/400.css"; import "@fontsource/newsreader/500.css"; import "@fontsource/newsreader/400-italic.css"; type NavVariant = "home" | "pds"; type PdsPage = "home" | "about" | "migrate"; interface Props { title?: string; description?: string; navVariant?: NavVariant; /** Which PDS subsite page is active, for nav link highlighting. Ignored outside navVariant="pds". */ pdsPage?: PdsPage; } const { title = "dummy.cafe", description = "building cool things on the Atmosphere — a hosting provider for your Atmosphere account - realms, a chatroom you truly own - open-source tools for a more open internet", navVariant = "home", pdsPage = "home", } = Astro.props; const canonicalURL = new URL(Astro.url.pathname, "https://dummy.cafe"); --- {title}
{navVariant === "pds" && ( )}