From baaa885092f7a1a55d9dd0889fefaad18c5e37f4 Mon Sep 17 00:00:00 2001 From: AI Studio Assistant Date: Sat, 9 May 2026 15:48:13 +0000 Subject: [PATCH] fix(footer): atualiza cnpj, remove links extras e altera numero do whatsapp --- scripts/push-footer-updates.ts | 23 +++++++++++++++++++++++ src/components/FloatingWhatsApp.tsx | 2 +- src/components/Footer.tsx | 7 +------ 3 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 scripts/push-footer-updates.ts diff --git a/scripts/push-footer-updates.ts b/scripts/push-footer-updates.ts new file mode 100644 index 0000000..90dc48f --- /dev/null +++ b/scripts/push-footer-updates.ts @@ -0,0 +1,23 @@ +import { execSync } from 'child_process'; + +async function pushUpdates() { + try { + console.log('\nAdicionando arquivos para atualizar o Footer e WhatsApp...'); + execSync('git add src/components/Footer.tsx src/components/FloatingWhatsApp.tsx scripts/push-footer-updates.ts', { stdio: 'inherit' }); + + try { + execSync('git commit -m "fix(footer): atualiza cnpj, remove links extras e altera numero do whatsapp"', { stdio: 'inherit' }); + } catch (e) { + console.log('Nada para commitar.'); + } + + console.log('\nFazendo push do código...'); + execSync('git push origin main', { stdio: 'inherit' }); + + console.log(`\n🎉 Push concluído com sucesso!`); + } catch (error: any) { + console.error('\n❌ Ocorreu um erro:', error.message); + } +} + +pushUpdates(); diff --git a/src/components/FloatingWhatsApp.tsx b/src/components/FloatingWhatsApp.tsx index e153041..18d8f7c 100644 --- a/src/components/FloatingWhatsApp.tsx +++ b/src/components/FloatingWhatsApp.tsx @@ -3,7 +3,7 @@ import { motion } from 'framer-motion'; export default function FloatingWhatsApp() { // Coloque aqui o número do seu WhatsApp com DDI (Ex: 5511999999999) - const whatsappNumber = "5511999999999"; + const whatsappNumber = "447944441041"; const defaultMessage = "Olá! Tenho uma dúvida sobre o kit Festa Mágica IA."; const url = `https://wa.me/${whatsappNumber}?text=${encodeURIComponent(defaultMessage)}`; diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 8f9edf5..17bc97b 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -2,17 +2,12 @@ export default function Footer() { return (