'use client'

import { Home, Users, FileText, MessageSquare, Layers } from 'lucide-react'
import { RoleNav, type NavItem, type RoleNavUser } from '@/components/layouts/role-nav'

interface ApplicantNavProps {
  user: RoleNavUser
}

export function ApplicantNav({ user }: ApplicantNavProps) {
  const navigation: NavItem[] = [
    {
      name: 'Dashboard',
      href: '/applicant',
      icon: Home,
    },
    {
      name: 'Team',
      href: '/applicant/team',
      icon: Users,
    },
    {
      name: 'Competitions',
      href: '/applicant/competitions',
      icon: Layers,
    },
    {
      name: 'Documents',
      href: '/applicant/documents',
      icon: FileText,
    },
    {
      name: 'Mentoring',
      href: '/applicant/mentor',
      icon: MessageSquare,
    },
  ]

  return (
    <RoleNav
      navigation={navigation}
      roleName="Applicant"
      user={user}
      basePath="/applicant"
    />
  )
}
