"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { Button } from "@/components/ui/button"; import { ThemeToggle } from "@/components/layout/theme-toggle"; import { BarChart3, User, Settings } from "lucide-react"; interface NavigationProps { userInfo?: { firstName: string; lastName: string; teamName: string; }; } export function Navigation({ userInfo }: NavigationProps = {}) { const pathname = usePathname(); const navItems = [ { href: "/", label: "Tableau de bord", icon: BarChart3, }, { href: "/evaluation", label: "Évaluation", icon: User, }, ]; return (
PeakSkills
{userInfo && (

{userInfo.firstName} {userInfo.lastName}

{userInfo.teamName}

)}
); }