--- //Import relevant dependencies import ThemeIcon from '@components/ThemeIcon.astro'; import NavLink from '@components/ui/links/NavLink.astro'; import Authentication from '../misc/Authentication.astro'; import BrandLogo from '@components/BrandLogo.astro'; import LanguagePicker from '@components/ui/LanguagePicker.astro'; import { getLocaleFromPath, localizeHref } from '@/i18n'; import { siteCopy } from '@data/site-copy'; const locale = getLocaleFromPath(Astro.url.pathname); const strings = siteCopy[locale]; const homeUrl = localizeHref('/', locale); type NavItem = { name: string; url: string; }; --- {/* Main header component */}
{/* Navigation container */}
{/* Theme Appearance script to manage light/dark modes */}