--- import type { HeaderProps } from './header'; import { DEFAULT_LOCALE, getCommonCopy, getLandingUiCopy, isLandingLocale, localizedHref, } from '../i18n'; interface Props { counts: HeaderProps['counts']; locale?: string; } const { counts, locale: rawLocale = DEFAULT_LOCALE } = Astro.props as Props; const locale = isLandingLocale(rawLocale) ? rawLocale : DEFAULT_LOCALE; const copy = getCommonCopy(locale).header; const ui = getLandingUiCopy(locale); const href = (path: string) => localizedHref(path, locale); const REPO = 'https://github.com/nexu-io/open-design'; const DISCORD = 'https://discord.gg/9ptkbbqRu'; const X_TWITTER = 'https://x.com/nexudotio'; ---