feat: update system branding and improve user interface consistency

- Changed all instances of "Sistema de Gerenciamento da Secretaria de Esportes" to "Sistema de Gerenciamento de Secretaria" for a more concise branding.
- Enhanced the PrintModal component with a user-friendly interface for selecting sections to include in PDF generation.
- Improved error handling and user feedback during PDF generation processes.
- Updated various components and routes to reflect the new branding, ensuring consistency across the application.
This commit is contained in:
2025-11-18 03:10:10 -03:00
parent 7c8be8a818
commit 71550874ce
20 changed files with 1697 additions and 1432 deletions

View File

@@ -136,7 +136,7 @@
</h1>
<p class="text-base text-base-content/70 sm:text-lg">
Registre reclamações, sugestões, elogios ou chamados técnicos. Toda interação gera
notificações automáticas via e-mail e chat com a assinatura do SGSE.
notificações automáticas via e-mail e chat com a assinatura do SGSE - Sistema de Gerenciamento de Secretaria.
</p>
<div class="flex flex-wrap gap-3 text-sm text-base-content/70">
<span class="badge badge-success badge-sm">Resposta ágil</span>
@@ -164,11 +164,31 @@
<div class="grid gap-8 lg:grid-cols-3">
<div class="lg:col-span-2">
<div class="rounded-3xl border border-base-200 bg-base-100/90 p-6 shadow-xl">
<h2 class="text-xl font-semibold text-base-content">Formulário</h2>
<p class="text-base-content/60 text-sm">
Informe os detalhes para que nossa equipe possa priorizar o atendimento.
</p>
<div class="rounded-3xl border-2 border-primary/20 bg-gradient-to-br from-base-100 via-base-100/95 to-primary/5 p-8 shadow-xl">
<div class="mb-6 flex items-center gap-3">
<div class="rounded-xl bg-primary/10 p-2">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6 text-primary"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
/>
</svg>
</div>
<div>
<h2 class="text-2xl font-bold text-base-content">Formulário</h2>
<p class="text-sm text-base-content/60">
Informe os detalhes para que nossa equipe possa priorizar o atendimento.
</p>
</div>
</div>
<div class="mt-6">
{#if resetSignal % 2 === 0}
<TicketForm loading={submitLoading} on:submit={handleSubmit} />
@@ -180,13 +200,37 @@
</div>
<aside class="space-y-6">
<div class="rounded-3xl border border-base-200 bg-base-100/90 p-6 shadow-lg">
<h3 class="font-semibold text-base-content">Como funciona a timeline</h3>
<p class="text-sm text-base-content/60 mb-4">
Todas as etapas do ticket são monitoradas automaticamente. Os prazos mudam de cor conforme
o SLA.
</p>
<TicketTimeline timeline={exemploTimeline} />
<div class="rounded-3xl border-2 border-info/20 bg-gradient-to-br from-base-100 via-base-100/95 to-info/5 p-6 shadow-lg">
<div class="mb-4 flex items-center gap-3">
<div class="rounded-xl bg-info/10 p-2">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-5 w-5 text-info"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
</div>
<h3 class="text-lg font-bold text-base-content">Como funciona a timeline</h3>
</div>
<div class="mb-4 space-y-2 rounded-xl bg-base-200/50 p-4">
<p class="text-sm font-medium text-base-content/80">
Todas as etapas do ticket são monitoradas automaticamente.
</p>
<p class="text-xs text-base-content/60">
Os prazos mudam de cor conforme o SLA: <span class="text-success">dentro do prazo</span>, <span class="text-warning">próximo ao vencimento</span> ou <span class="text-error">vencido</span>.
</p>
</div>
<div class="rounded-xl border border-base-300 bg-base-100/80 p-4">
<TicketTimeline timeline={exemploTimeline} />
</div>
</div>
</aside>
</div>