diff --git a/src/app/services/metrics/metrics-by-portal.ts b/src/app/services/metrics/metrics-by-portal.ts index dcd0441..a795a12 100644 --- a/src/app/services/metrics/metrics-by-portal.ts +++ b/src/app/services/metrics/metrics-by-portal.ts @@ -4,6 +4,7 @@ type MetricsByPortalProps = { nomeSistema: string; totalAcessos: number; horasLogadas: number; + nomeUsuario: string; }; type GetMetricsByPortalParams = { diff --git a/src/styles/index.css b/src/styles/index.css index e4241d5..adaf478 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -117,7 +117,7 @@ --popover-foreground: oklch(0.145 0 0); --primary: #0e233d; --primary-foreground: oklch(0.985 0 0); - --secondary: oklch(0.97 0 0); + --secondary: #febb01; --secondary-foreground: oklch(0.205 0 0); --muted: oklch(0.97 0 0); --muted-foreground: oklch(0.556 0 0); diff --git a/src/views/components/retrospective-slides.tsx b/src/views/components/retrospective-slides.tsx index 54abbe9..208d7d5 100644 --- a/src/views/components/retrospective-slides.tsx +++ b/src/views/components/retrospective-slides.tsx @@ -124,16 +124,28 @@ export function RetrospectiveSlides() { /> - - Sua Retrospectiva -
- Ágape {year} -
+ {metricsPortal && metricsPortal[0]?.nomeUsuario ? ( + <> + Olá,{' '} + + {metricsPortal[0].nomeUsuario.split(' ')[0]} + + ! +
+ Bem-vindo à sua Retrospectiva Ágape {year} + + ) : ( + <> + Retrospectiva Ágape {year} + + )} +