"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { LayoutDashboard, Calendar, FileBarChart, Upload, Download, Settings, Plus, ExternalLink } from "lucide-react" import { cn } from "@/lib/utils" const navItems = [ { href: "/dashboard", label: "Overview", icon: LayoutDashboard }, { href: "/dashboard/events", label: "Events", icon: Calendar }, { href: "/dashboard/pledges", label: "Pledges", icon: FileBarChart }, { href: "/dashboard/reconcile", label: "Reconcile", icon: Upload }, { href: "/dashboard/exports", label: "Exports", icon: Download }, { href: "/dashboard/settings", label: "Settings", icon: Settings }, ] export default function DashboardLayout({ children }: { children: React.ReactNode }) { const pathname = usePathname() return (