From 475979a09a0b24d2a44c61f9859635fc75800c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Henrique?= Date: Tue, 3 Jun 2025 18:25:24 -0300 Subject: [PATCH] more UI improvements --- src/components/FeaturesSection.tsx | 12 +++++++++--- src/components/StatisticsSection.tsx | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/FeaturesSection.tsx b/src/components/FeaturesSection.tsx index d54caa7..451c2ae 100644 --- a/src/components/FeaturesSection.tsx +++ b/src/components/FeaturesSection.tsx @@ -1,9 +1,9 @@ import React from 'react'; -import { ChartBarIcon, DocumentTextIcon, LightBulbIcon } from '@heroicons/react/24/outline'; +import { ArrowDownOnSquareStackIcon, BookOpenIcon, ChartBarIcon, DocumentTextIcon, LightBulbIcon } from '@heroicons/react/24/outline'; const FeatureCard: React.FC<{ icon: React.ElementType, title: string, children: React.ReactNode }> = ({ icon: Icon, title, children }) => { return ( -
+

{title}

{children}

@@ -18,7 +18,7 @@ const FeaturesSection: React.FC = () => {

Por que OpenCand?

-
+
Navegue facilmente por dados complexos do TSE com uma interface limpa e amigável. @@ -28,6 +28,12 @@ const FeaturesSection: React.FC = () => { Obtenha informações relevantes sobre candidatos, partidos e financiamento de campanhas. + + Contribua para um projeto aberto e transparente, ajudando a melhorar a plataforma para todos. + + + Os dados são acessíveis através do TSE e também disponibilizados em nosso repositório GitHub, garantindo transparência e confiabilidade. +
diff --git a/src/components/StatisticsSection.tsx b/src/components/StatisticsSection.tsx index 052f770..4f8b960 100644 --- a/src/components/StatisticsSection.tsx +++ b/src/components/StatisticsSection.tsx @@ -10,7 +10,7 @@ interface StatCardProps { const StatCard: React.FC = ({ title, value, description, isLoading = false }) => { return ( -
+

{title}

{isLoading ? (