"use client" import { LayoutDashboard, List, PanelLeft, Plus } from "lucide-react" import Link from "next/link" import { usePathname } from "next/navigation" import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuItem, useSidebar } from "@/components/ui/sidebar" import { SidebarUserDropdown } from "./sidebar-user-dropdown" const items = [ { title: "Dashboard", url: "/dashboard", icon: LayoutDashboard }, { title: "List", url: "/dashboard/list", icon: List }, { title: "Create", url: "/dashboard/create", icon: Plus } ] export function DashboardSidebar() { const pathname = usePathname() const { toggleSidebar } = useSidebar() return ( Toggle Sidebar Navigation {items.map((item) => ( {item.title} ))} ) }