feat: add new route and icon for clock functionality in dashboard

- Introduced 'clock' as a new route in the dashboard, enhancing navigation options.
- Added corresponding SVG icon for the clock feature to improve visual representation.
- Updated type definitions to include new routes and palette keys for better type safety.
This commit is contained in:
2025-11-19 11:58:53 -03:00
parent 3cbe02fd1e
commit c7fd824138

View File

@@ -11,7 +11,8 @@
| 'monitor' | 'monitor'
| 'document' | 'document'
| 'teams' | 'teams'
| 'userPlus'; | 'userPlus'
| 'clock';
type PaletteKey = 'primary' | 'success' | 'secondary' | 'accent' | 'info' | 'error' | 'warning'; type PaletteKey = 'primary' | 'success' | 'secondary' | 'accent' | 'info' | 'error' | 'warning';
type TiRouteId = type TiRouteId =
@@ -25,7 +26,9 @@
| '/(dashboard)/ti/solicitacoes-acesso' | '/(dashboard)/ti/solicitacoes-acesso'
| '/(dashboard)/ti/times' | '/(dashboard)/ti/times'
| '/(dashboard)/ti/notificacoes' | '/(dashboard)/ti/notificacoes'
| '/(dashboard)/ti/monitoramento'; | '/(dashboard)/ti/monitoramento'
| '/(dashboard)/ti/configuracoes-ponto'
| '/(dashboard)/ti/configuracoes-relogio';
type FeatureCard = { type FeatureCard = {
title: string; title: string;
@@ -192,6 +195,13 @@
strokeLinecap: 'round', strokeLinecap: 'round',
strokeLinejoin: 'round' strokeLinejoin: 'round'
} }
],
clock: [
{
d: 'M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z',
strokeLinecap: 'round',
strokeLinejoin: 'round'
}
] ]
}; };
@@ -231,15 +241,6 @@
{ label: 'Alertas', variant: 'outline' } { label: 'Alertas', variant: 'outline' }
] ]
}, },
{
title: 'Suporte Técnico',
description:
'Central de atendimento para resolução de problemas técnicos e dúvidas sobre o sistema.',
ctaLabel: 'Em breve',
palette: 'info',
icon: 'support',
disabled: true
},
{ {
title: 'Gerenciar Permissões', title: 'Gerenciar Permissões',
description: description: