"use client"; import { BarChart3, Bot, CreditCard, Flag, Home, PieChart, ReceiptText, WalletCards } from "lucide-react"; import { Logo } from "@/components/ui/Logo"; export const navItems = [ ["overview", "Overview", Home], ["transactions", "Transactions", ReceiptText], ["budget", "Budget", PieChart], ["goals", "Goals", Flag], ["networth", "Net Worth", BarChart3], ["credit", "Credit & Rewards", CreditCard], ["insights", "AI Insights", Bot] ] as const; export type ViewKey = (typeof navItems)[number][0]; export function Sidebar({ active, onChange }: { active: ViewKey; onChange: (view: ViewKey) => void }) { return ( ); }