From eb8b6555830b829db0788534c646e85573fa1d56 Mon Sep 17 00:00:00 2001 From: Erik Date: Wed, 26 Nov 2025 14:19:35 -0300 Subject: [PATCH] =?UTF-8?q?Fix=20TypeScript=20errors=20-=20adicionar=20tip?= =?UTF-8?q?os=20expl=C3=ADcitos=20aos=20arrays?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/app/(public)/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/(public)/page.tsx b/frontend/src/app/(public)/page.tsx index d533872..54f3b5f 100644 --- a/frontend/src/app/(public)/page.tsx +++ b/frontend/src/app/(public)/page.tsx @@ -22,7 +22,7 @@ export default function Home() { { icon: 'ri-shield-star-line', title: t('home.features.1.title'), description: t('home.features.1.desc') }, { icon: 'ri-settings-4-line', title: t('home.features.2.title'), description: t('home.features.2.desc') }, { icon: 'ri-truck-line', title: t('home.features.3.title'), description: t('home.features.3.desc') } - ] + ] as Array<{ icon: string; title: string; description: string }> }; const services = content?.services || { @@ -33,7 +33,7 @@ export default function Home() { { icon: 'ri-file-paper-2-line', title: t('home.services.2.title'), description: t('home.services.2.desc') }, { icon: 'ri-alert-line', title: t('home.services.3.title'), description: t('home.services.3.desc') }, { icon: 'ri-truck-fill', title: t('home.services.4.title'), description: t('home.services.4.desc') } - ] + ] as Array<{ icon: string; title: string; description: string }> }; const about = content?.about || { @@ -44,7 +44,7 @@ export default function Home() { t('home.about.list.1'), t('home.about.list.2'), t('home.about.list.3') - ] + ] as string[] }; const testimonials = content?.testimonials || { @@ -54,7 +54,7 @@ export default function Home() { { name: 'Ricardo Mendes', role: t('home.testimonials.1.role'), text: t('home.testimonials.1.text') }, { name: 'Fernanda Costa', role: t('home.testimonials.2.role'), text: t('home.testimonials.2.text') }, { name: 'Paulo Oliveira', role: t('home.testimonials.3.role'), text: t('home.testimonials.3.text') } - ] + ] as Array<{ name: string; role: string; text: string }> }; const stats = content?.stats || {