--- // Header.astro // Primary navigation component with premium design elements // Get current path to highlight active nav item const pathname = new URL(Astro.request.url).pathname; const currentPath = pathname.split('/')[1]; // Get the first path segment // Define navigation items const navItems = [ { name: 'Home', path: '/' }, { name: 'Blog', path: '/blog/' }, { name: 'Projects', path: '/projects/' }, { name: 'Home Lab', path: '/homelab/' }, { name: 'Resources', path: '/resources/' }, { name: 'About', path: '/about/' }, { name: 'Contact', path: '/contact/' } ]; ---