--- import { DEFAULT_LOCALE, LOCALE_HTML_LANG, LOCALE_LABELS, LOCALES, isLocale, localeHomePath, type Locale, } from "../i18n/locales"; import { CHANGELOG_URL, DOCS_URL, GITHUB_URL, INBOX_ZERO_URL } from "../site"; import Logo from "./Logo.astro"; type Props = { locale?: Locale; languagesLabel?: string; navLabel?: string; homeHref?: string; homeLabel?: string; linkLabels?: { docs: string; changelog: string; about: string; support: string; privacy: string; }; }; const currentLocale: Locale = isLocale(Astro.currentLocale) ? Astro.currentLocale : (Astro.props.locale ?? DEFAULT_LOCALE); const { languagesLabel = "Language", navLabel = "Footer", homeHref = localeHomePath(currentLocale), homeLabel = "evOo home", linkLabels = { docs: "Docs", changelog: "Changelog", about: "About", support: "Support", privacy: "Privacy", }, } = Astro.props; ---