import { Link, useLocation } from "react-router-dom"; import { cn } from "@/utils/cn"; import { useUiStore } from "@/store/uiStore"; import { LayoutDashboard, CreditCard, ArrowLeftRight, PiggyBank, TrendingUp, BarChart3, Sparkles, Settings, ChevronLeft, ChevronRight, Coins, Repeat, Receipt, ShieldCheck, } from "lucide-react"; const navItems = [ { href: "/", icon: LayoutDashboard, label: "Dashboard" }, { href: "/accounts", icon: CreditCard, label: "Accounts" }, { href: "/transactions", icon: ArrowLeftRight, label: "Transactions" }, { href: "/subscriptions", icon: Repeat, label: "Subscriptions" }, { href: "/budgets", icon: PiggyBank, label: "Budgets" }, { href: "/investments", icon: TrendingUp, label: "Investments" }, { href: "/reports", icon: BarChart3, label: "Reports" }, { href: "/tax", icon: Receipt, label: "Tax" }, { href: "/pensions", icon: ShieldCheck, label: "Pensions" }, { href: "/predictions", icon: Sparkles, label: "Predictions" }, { href: "/settings", icon: Settings, label: "Settings" }, ]; export default function Sidebar() { const location = useLocation(); const { sidebarOpen, setSidebarOpen } = useUiStore(); return ( ); }