'use client' import Link from 'next/link' import { usePathname } from 'next/navigation' import { Flag, Clock, User, ShieldCheck } from 'lucide-react' import { cn } from '@/lib/utils' const navItems = [ { href: '/dashboard', label: 'Rounds', icon: Flag }, { href: '/history', label: 'History', icon: Clock }, { href: '/profile', label: 'Profile', icon: User }, ] export function BottomNav({ isAdmin = false }: { isAdmin?: boolean }) { const pathname = usePathname() const items = isAdmin ? [...navItems, { href: '/admin', label: 'Admin', icon: ShieldCheck }] : navItems return ( ) }