"use client"; import { type ReactElement } from "react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { Home, Users, BarChart3, User, Brain } from "lucide-react"; import { SignedIn, UserButton } from "@clerk/nextjs"; import { cn } from "@/lib/utils"; import { Button } from "@/components/ui/button"; interface NavItem { href: string; label: string; icon: React.ElementType; } const navItems: NavItem[] = [ { href: "/", label: "Dashboard", icon: Home, }, { href: "/users", label: "Clients", icon: Users, }, { href: "/recommendations", label: "AI Recommendations", icon: Brain, }, { href: "/analytics", label: "Analytics", icon: BarChart3, }, { href: "/profile", label: "Profile", icon: User, }, ]; export function Navigation(): ReactElement { const pathname = usePathname(); return (
); }