"use client" import { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/components/ui/sidebar" import { AlertTriangle, BarChart3, Home, Package, ShoppingCart, Users } from "lucide-react" import Link from "next/link" import { usePathname } from "next/navigation" import type React from "react" import { NavMain } from "./nav-main" import { NavUser } from "./nav-user" const data = { documents: [ { title: "Overview", href: "/dashboard", icon: Home }, { title: "Orders", href: "/dashboard/orders", icon: ShoppingCart }, { title: "Sold Out Products", href: "/dashboard/sold-out", icon: AlertTriangle, }, { title: "Products", href: "/dashboard/products", icon: Package }, { title: "Customers", href: "/dashboard/customers", icon: Users }, { title: "Analytics", href: "/dashboard/analytics", icon: BarChart3 }, ], user: { name: "shadcn", email: "m@example.com", avatar: "/avatars/shadcn.jpg", }, } export default function DashboardSidebar({ ...props }: React.ComponentProps) { const pathname = usePathname() return ( Acme Inc. ) }