'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import type { EventName } from '@/lib/events'; const dispatchInteraction = (eventName: EventName, metadata?: Record) => { const e = new CustomEvent('definedInteraction', { detail: { eventName, metadata }, }); document.dispatchEvent(e); }; const NavLink = ({ href, children }: { href: string; children: React.ReactNode }) => { const path = usePathname(); const isActive = path === href; return ( {children} ); }; export default function Navigation() { return ( ); }