"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; export type LnbMenu = { label: string; href: string; }; type Props = { menus?: LnbMenu[]; className?: string; }; const defaultMenus: LnbMenu[] = [ { label: "수요처", href: "/apply/dmdco" }, { label: "수요정보등록", href: "/apply/dmdinfo" }, { label: "수요신청현황", href: "/apply/status" }, ]; export default function Lnb({ menus, className = "" }: Props) { const pathname = usePathname(); const navMenus = menus ?? defaultMenus; return ( ); }