"use client" import { useRouter, usePathname } from "next/navigation" import { Home, LayoutDashboard, User } from "lucide-react" interface NavItem { title: string href: string icon: React.ElementType gradient: string disabled?: boolean } const navItems: NavItem[] = [ { title: "Home", href: "/", icon: Home, gradient: "from-emerald-400 to-teal-500" }, { title: "Dashboard", href: "/dashboard", icon: LayoutDashboard, gradient: "from-blue-400 to-indigo-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) } return ( ) }