'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; export function Navbar() { const pathname = usePathname(); const isActive = (path: string) => pathname?.startsWith(path); return ( ); }