--- import { Icon } from 'astro-icon/components'; import { site } from '../lib/data'; import Container from './Container.astro'; import ThemeToggle from './ThemeToggle.astro'; const path = Astro.url.pathname; const isActive = (href: string) => (href === '/' ? path === '/' : path.startsWith(href)); ---
{site.name}