From ab25fb0e5ae16be3179a536cc99897a0693028f4 Mon Sep 17 00:00:00 2001 From: AI Studio Assistant Date: Sat, 9 May 2026 15:58:12 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20remove=20bot=C3=A3o=20de=20whatsapp?= =?UTF-8?q?=20flutuante?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/push-remove-whatsapp.ts | 24 ++++++++++++++++++++++++ src/App.tsx | 2 -- src/components/FloatingWhatsApp.tsx | 29 ----------------------------- 3 files changed, 24 insertions(+), 31 deletions(-) create mode 100644 scripts/push-remove-whatsapp.ts delete mode 100644 src/components/FloatingWhatsApp.tsx diff --git a/scripts/push-remove-whatsapp.ts b/scripts/push-remove-whatsapp.ts new file mode 100644 index 0000000..b8d770f --- /dev/null +++ b/scripts/push-remove-whatsapp.ts @@ -0,0 +1,24 @@ +import { execSync } from 'child_process'; + +async function pushUpdates() { + try { + console.log('\nAdicionando arquivos para remover botão de WhatsApp...'); + execSync('git add src/App.tsx scripts/push-remove-whatsapp.ts', { stdio: 'inherit' }); + execSync('git rm src/components/FloatingWhatsApp.tsx', { stdio: 'inherit' }); + + try { + execSync('git commit -m "refactor: remove botão de whatsapp flutuante"', { 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/App.tsx b/src/App.tsx index aad7ef0..e44807b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -10,7 +10,6 @@ import FAQ from './components/FAQ'; import CTA from './components/CTA'; import Footer from './components/Footer'; import Results from './components/Results'; -import FloatingWhatsApp from './components/FloatingWhatsApp'; import StickyMobileCTA from './components/StickyMobileCTA'; import { useUTMForwarder } from './hooks/useUTMForwarder'; @@ -44,7 +43,6 @@ export default function App() {