"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; /** A link in the navigation bar, marked when it's the current page. */ export function NavLink({ href, children }: { href: string; children: React.ReactNode }) { const here = usePathname() === href; return ( {children} ); }