|
1 | 1 | --- |
2 | 2 | import { getCollection } from 'astro:content'; |
3 | 3 | import { Icon } from 'astro-icon/components'; |
4 | | -import FormattedDate from '@/components/FormattedDate.astro'; |
5 | 4 | import DocumentCard from '@/components/transparency/DocumentCard.astro'; |
6 | 5 | import CallToAction from '@/components/ui/CallToAction.astro'; |
7 | 6 | import HeroSection from '@/components/ui/HeroSection.astro'; |
8 | 7 | import IconCard from '@/components/ui/IconCard.astro'; |
9 | 8 | import SectionHeader from '@/components/ui/SectionHeader.astro'; |
10 | | -import { BOARD_MEMBERS, CNPJ, CONTACT_EMAIL, METRICS } from '@/data/transparency'; |
| 9 | +import { BOARD_MEMBERS, CONTACT_EMAIL, METRICS } from '@/data/transparency'; |
11 | 10 | import { useTranslations } from '@/i18n/utils'; |
12 | 11 | import Layout from '@/layouts/Layout.astro'; |
13 | 12 |
|
@@ -174,25 +173,10 @@ const formattedLastUpdated = lastUpdated?.toLocaleDateString('pt-br', { |
174 | 173 | <CallToAction icon="lucide:message-circle" title={t('transparency.contact.title')} description={t('transparency.contact.text')}> |
175 | 174 | <a |
176 | 175 | href={`mailto:${CONTACT_EMAIL}`} |
177 | | - class="inline-flex items-center gap-3 px-8 py-4 bg-primary text-primary-content rounded-xl font-semibold hover:bg-primary/90 hover:shadow-lg hover:shadow-primary/20 transition-all duration-300" |
| 176 | + class="btn btn-primary btn-xl gap-2 text-sm" |
178 | 177 | > |
179 | 178 | <Icon name="lucide:mail" class="w-5 h-5" /> |
180 | 179 | {CONTACT_EMAIL} |
181 | 180 | </a> |
182 | | - |
183 | | - <div slot="footer" class="mt-12 pt-8 border-t border-base-300/50"> |
184 | | - <div class="flex flex-col sm:flex-row items-center justify-center gap-4 text-sm text-base-content/60"> |
185 | | - <span class="flex items-center gap-2"> |
186 | | - <Icon name="lucide:building" class="w-4 h-4" /> |
187 | | - {t('transparency.cnpj')}: {CNPJ} |
188 | | - </span> |
189 | | - {lastUpdated && ( |
190 | | - <span class="flex items-center gap-2"> |
191 | | - <Icon name="lucide:refresh-cw" class="w-4 h-4" /> |
192 | | - {t('transparency.lastUpdated')}: <FormattedDate date={lastUpdated} /> |
193 | | - </span> |
194 | | - )} |
195 | | - </div> |
196 | | - </div> |
197 | 181 | </CallToAction> |
198 | 182 | </Layout> |
0 commit comments