"use client"; import { cn } from "@/lib/utils"; import { BarChart2, Home, Settings, User, Wallet } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { MenuItem } from "../types"; const MENU_ITEMS: MenuItem[] = [ { title: "대시보드", href: "/", icon: Home, variant: "default", matchExact: true, }, { title: "자동매매", href: "/trade", icon: BarChart2, variant: "ghost", }, { title: "자산현황", href: "/assets", icon: Wallet, variant: "ghost", }, { title: "프로필", href: "/profile", icon: User, variant: "ghost", }, { title: "설정", href: "/settings", icon: Settings, variant: "ghost", }, ]; export function Sidebar() { const pathname = usePathname(); return ( ); }