"use client" import { useRouter, usePathname } from "next/navigation" import { LayoutDashboard, Plus, User, FolderPlus, Package, MapPin } from "lucide-react" interface NavItem { title: string href: string icon: React.ElementType gradient: string disabled?: boolean } const navItems: NavItem[] = [ { title: "Dashboard", href: "/dashboard", icon: LayoutDashboard, gradient: "from-blue-400 to-indigo-500" }, { title: "Create Project", href: "/create-project", icon: FolderPlus, gradient: "from-blue-400 to-blue-600" }, { title: "Create Package", href: "/create-package", icon: Package, gradient: "from-violet-400 to-purple-500" }, { title: "Create Location", href: "/create-location", icon: MapPin, gradient: "from-amber-400 to-orange-500" }, { title: "Account", href: "/account", icon: User, gradient: "from-purple-400 to-pink-500", disabled: true } ] export function SidebarNavigation() { const router = useRouter() const pathname = usePathname() const handleNavigation = (item: NavItem) => { if (item.disabled) return router.push(item.href) } const isNewAnalysisActive = pathname === "/new-analysis" return ( ) }