'use client'

import { BookOpen, ClipboardList, GitCompare, Home } from 'lucide-react'
import { RoleNav, type NavItem, type RoleNavUser } from '@/components/layouts/role-nav'

const navigation: NavItem[] = [
  {
    name: 'Dashboard',
    href: '/jury',
    icon: Home,
  },
  {
    name: 'My Assignments',
    href: '/jury/assignments',
    icon: ClipboardList,
  },
  {
    name: 'Compare',
    href: '/jury/compare',
    icon: GitCompare,
  },
  {
    name: 'Learning Hub',
    href: '/jury/learning',
    icon: BookOpen,
  },
]

interface JuryNavProps {
  user: RoleNavUser
}

export function JuryNav({ user }: JuryNavProps) {
  return (
    <RoleNav
      navigation={navigation}
      roleName="Jury"
      user={user}
      basePath="/jury"
    />
  )
}
