"use client"; import React from "react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { LayoutDashboard, Building2, Users, ClipboardList, ShieldCheck, ArrowLeft, Activity } from "lucide-react"; export default function AdminLayout({ children }: { children: React.ReactNode }) { const pathname = usePathname(); const menuItems = [ { icon: LayoutDashboard, label: "Dashboard", href: "/admin" }, { icon: Building2, label: "Organizations", href: "/admin/organizations" }, { icon: Users, label: "Users", href: "/admin/users" }, { icon: ClipboardList, label: "Audit Logs", href: "/admin/audit" }, { icon: Activity, label: "System Tasks", href: "/admin/tasks" }, ]; return (