43 lines
775 B
TypeScript
43 lines
775 B
TypeScript
|
|
'use client'
|
||
|
|
|
||
|
|
import { Home, Users, FileText, MessageSquare } from 'lucide-react'
|
||
|
|
import { RoleNav, type NavItem, type RoleNavUser } from '@/components/layouts/role-nav'
|
||
|
|
|
||
|
|
const navigation: NavItem[] = [
|
||
|
|
{
|
||
|
|
name: 'Dashboard',
|
||
|
|
href: '/applicant',
|
||
|
|
icon: Home,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: 'Team',
|
||
|
|
href: '/applicant/team',
|
||
|
|
icon: Users,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: 'Documents',
|
||
|
|
href: '/applicant/documents',
|
||
|
|
icon: FileText,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: 'Mentor',
|
||
|
|
href: '/applicant/mentor',
|
||
|
|
icon: MessageSquare,
|
||
|
|
},
|
||
|
|
]
|
||
|
|
|
||
|
|
interface ApplicantNavProps {
|
||
|
|
user: RoleNavUser
|
||
|
|
}
|
||
|
|
|
||
|
|
export function ApplicantNav({ user }: ApplicantNavProps) {
|
||
|
|
return (
|
||
|
|
<RoleNav
|
||
|
|
navigation={navigation}
|
||
|
|
roleName="Applicant"
|
||
|
|
user={user}
|
||
|
|
basePath="/applicant"
|
||
|
|
/>
|
||
|
|
)
|
||
|
|
}
|