From c31184ad4b427db298b9742333d002fd398e9ade Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 27 Nov 2025 20:08:24 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20n=C3=BAmero=20WhatsApp=20correto=2055359?= =?UTF-8?q?8829445?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/app/api/contact-info/route.ts | 6 +++--- frontend/src/components/Header.tsx | 2 +- frontend/src/components/WhatsAppButton.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/api/contact-info/route.ts b/frontend/src/app/api/contact-info/route.ts index 23044d5..f73db02 100644 --- a/frontend/src/app/api/contact-info/route.ts +++ b/frontend/src/app/api/contact-info/route.ts @@ -27,7 +27,7 @@ export async function GET() { // Retorna valores padrão return NextResponse.json({ whatsapp: '(35) 9882-9445', - whatsappLink: 'https://wa.me/5535988229445' + whatsappLink: 'https://wa.me/553598829445' }); } @@ -48,7 +48,7 @@ export async function GET() { const result = { whatsapp: whatsappItem?.linkText || '(35) 9882-9445', - whatsappLink: whatsappItem?.link || 'https://wa.me/5535988229445' + whatsappLink: whatsappItem?.link || 'https://wa.me/553598829445' }; // Atualiza cache @@ -62,7 +62,7 @@ export async function GET() { // Retorna valores padrão em caso de erro return NextResponse.json({ whatsapp: '(35) 9882-9445', - whatsappLink: 'https://wa.me/5535988229445' + whatsappLink: 'https://wa.me/553598829445' }); } } diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index 5caaf79..3ab115a 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -12,7 +12,7 @@ export default function Header() { const { theme, setTheme } = useTheme(); const { locale, setLocale, t } = useLocale(); const [mounted, setMounted] = useState(false); - const [whatsappLink, setWhatsappLink] = useState('https://wa.me/5535988229445'); + const [whatsappLink, setWhatsappLink] = useState('https://wa.me/553598829445'); // Prefixo para links baseado no locale const prefix = locale === 'pt' ? '' : `/${locale}`; diff --git a/frontend/src/components/WhatsAppButton.tsx b/frontend/src/components/WhatsAppButton.tsx index d418bcb..9f918ed 100644 --- a/frontend/src/components/WhatsAppButton.tsx +++ b/frontend/src/components/WhatsAppButton.tsx @@ -6,7 +6,7 @@ import { useState, useEffect } from 'react'; export default function WhatsAppButton() { const { t } = useLanguage(); - const [whatsappLink, setWhatsappLink] = useState('https://wa.me/5535988229445'); + const [whatsappLink, setWhatsappLink] = useState('https://wa.me/553598829445'); useEffect(() => { // Busca o número do WhatsApp do CMS