update label

This commit is contained in:
2025-12-12 13:18:11 -03:00
parent 319016a361
commit 3147ec2317
13 changed files with 71 additions and 31 deletions

View File

@@ -6,6 +6,7 @@ import {
FileBadgeIcon,
GraduationCap,
LayoutDashboardIcon,
ReceiptTextIcon,
ShieldUserIcon,
ShoppingCartIcon,
UploadIcon,
@@ -27,10 +28,17 @@ const data = {
title: 'Visão geral',
url: '/main',
icon: LayoutDashboardIcon
}
],
navPayment: [
{
title: 'Resumo de cobranças',
url: '/billing',
icon: ReceiptTextIcon
},
{
title: 'Histórico de compras',
url: '/orders',
title: 'Histórico de pagamentos',
url: '/payments',
icon: ShoppingCartIcon
}
],
@@ -44,12 +52,12 @@ const data = {
title: 'Gestores',
url: '/admins',
icon: ShieldUserIcon
},
{
title: 'Importações',
url: '/batch',
icon: UploadIcon
}
// {
// title: 'Importações',
// url: '/batch',
// icon: UploadIcon
// }
],
navEnrollment: [
{
@@ -57,11 +65,11 @@ const data = {
url: '/enrollments',
icon: GraduationCap
},
{
title: 'Certificações',
url: '/certs',
icon: FileBadgeIcon
},
// {
// title: 'Certificações',
// url: '/certs',
// icon: FileBadgeIcon
// },
{
title: 'Agendamentos',
url: '/scheduled',

View File

@@ -25,6 +25,7 @@ export function NavMain({
}: {
data: {
navMain: NavItem[]
navPayment: NavItem[]
navUser: NavItem[]
navEnrollment: NavItem[]
}
@@ -41,6 +42,17 @@ export function NavMain({
</SidebarGroupContent>
</SidebarGroup>
<SidebarGroup>
<SidebarGroupContent>
<SidebarMenu>
<SidebarGroupLabel>Financeiro</SidebarGroupLabel>
{data.navPayment.map((props, idx) => (
<SidebarMenuItemLink key={idx} {...props} />
))}
</SidebarMenu>
</SidebarGroupContent>
</SidebarGroup>
<SidebarGroup>
<SidebarGroupContent>
<SidebarMenu>