add download cert
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
GraduationCap,
|
||||
LayoutDashboard,
|
||||
ShieldUserIcon,
|
||||
UploadIcon,
|
||||
UsersIcon
|
||||
} from 'lucide-react'
|
||||
|
||||
@@ -31,7 +32,9 @@ const data = {
|
||||
title: 'Histórico de compras',
|
||||
url: '/orders',
|
||||
icon: DollarSign
|
||||
},
|
||||
}
|
||||
],
|
||||
navUser: [
|
||||
{
|
||||
title: 'Colaboradores',
|
||||
url: '/users',
|
||||
@@ -41,9 +44,14 @@ const data = {
|
||||
title: 'Gestores',
|
||||
url: '/admins',
|
||||
icon: ShieldUserIcon
|
||||
},
|
||||
{
|
||||
title: 'Importações',
|
||||
url: '/batch',
|
||||
icon: UploadIcon
|
||||
}
|
||||
],
|
||||
navContent: [
|
||||
navEnrollment: [
|
||||
{
|
||||
title: 'Matrículas',
|
||||
url: '/enrollments',
|
||||
|
||||
@@ -25,7 +25,8 @@ export function NavMain({
|
||||
}: {
|
||||
data: {
|
||||
navMain: NavItem[]
|
||||
navContent: NavItem[]
|
||||
navUser: NavItem[]
|
||||
navEnrollment: NavItem[]
|
||||
}
|
||||
}) {
|
||||
return (
|
||||
@@ -43,8 +44,23 @@ export function NavMain({
|
||||
<SidebarGroup>
|
||||
<SidebarGroupContent>
|
||||
<SidebarMenu>
|
||||
<SidebarGroupLabel>Gestão de matrículas</SidebarGroupLabel>
|
||||
{data.navContent.map((props, idx) => (
|
||||
<SidebarGroupLabel className="uppercase">
|
||||
Colaboradores
|
||||
</SidebarGroupLabel>
|
||||
{data.navUser.map((props, idx) => (
|
||||
<SidebarMenuItemLink key={idx} {...props} />
|
||||
))}
|
||||
</SidebarMenu>
|
||||
</SidebarGroupContent>
|
||||
</SidebarGroup>
|
||||
|
||||
<SidebarGroup>
|
||||
<SidebarGroupContent>
|
||||
<SidebarMenu>
|
||||
<SidebarGroupLabel className="uppercase">
|
||||
Gestão de matrículas
|
||||
</SidebarGroupLabel>
|
||||
{data.navEnrollment.map((props, idx) => (
|
||||
<SidebarMenuItemLink key={idx} {...props} />
|
||||
))}
|
||||
</SidebarMenu>
|
||||
|
||||
Reference in New Issue
Block a user