--- import Wordmark from './Wordmark.astro'; import { localePath, t, type Lang } from '../i18n/ui'; interface Props { lang: Lang } const { lang } = Astro.props; const ui = t(lang); const home = localePath(lang, '/'); const items = [ { href: `${home}#capabilities`, label: ui.nav.capabilities }, { href: localePath(lang, '/cipherverifier'), label: ui.nav.product }, { href: `${home}#sectors`, label: ui.nav.sectors }, { href: localePath(lang, '/insights'), label: ui.nav.insights }, { href: localePath(lang, '/team'), label: ui.nav.team }, ]; const contactHref = `${home}#contact`; const path = Astro.url.pathname.replace(/\/$/, '') || '/'; const isCurrent = (href: string) => href.split('#')[0] === path && !href.includes('#'); ---
{ui.nav.contact}