'use client'

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

interface MentorNavProps {
  user: RoleNavUser
}

export function MentorNav({ user }: MentorNavProps) {
  const navigation: NavItem[] = [
    {
      name: 'Dashboard',
      href: '/mentor',
      icon: Home,
    },
    {
      name: 'My Projects',
      href: '/mentor/projects',
      icon: Users,
    },
    {
      name: 'Learning Hub',
      href: '/mentor/resources',
      icon: BookOpen,
    },
  ]

  return (
    <RoleNav
      navigation={navigation}
      roleName="Mentor"
      user={user}
      basePath="/mentor"
    />
  )
}
