From c7fd8241381ac9e0404444183ee3382a29768e40 Mon Sep 17 00:00:00 2001 From: killer-cf Date: Wed, 19 Nov 2025 11:58:53 -0300 Subject: [PATCH] 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. --- .../src/routes/(dashboard)/ti/+page.svelte | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/apps/web/src/routes/(dashboard)/ti/+page.svelte b/apps/web/src/routes/(dashboard)/ti/+page.svelte index 4a2935d..73ee7c7 100644 --- a/apps/web/src/routes/(dashboard)/ti/+page.svelte +++ b/apps/web/src/routes/(dashboard)/ti/+page.svelte @@ -11,7 +11,8 @@ | 'monitor' | 'document' | 'teams' - | 'userPlus'; + | 'userPlus' + | 'clock'; type PaletteKey = 'primary' | 'success' | 'secondary' | 'accent' | 'info' | 'error' | 'warning'; type TiRouteId = @@ -25,7 +26,9 @@ | '/(dashboard)/ti/solicitacoes-acesso' | '/(dashboard)/ti/times' | '/(dashboard)/ti/notificacoes' - | '/(dashboard)/ti/monitoramento'; + | '/(dashboard)/ti/monitoramento' + | '/(dashboard)/ti/configuracoes-ponto' + | '/(dashboard)/ti/configuracoes-relogio'; type FeatureCard = { title: string; @@ -192,6 +195,13 @@ strokeLinecap: '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' } ] }, - { - 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', description: