Spaces:
Running
Running
Ok, eu quero que a pessoa seja direcionada para o checkout somente depois de a pessoa cadastrar-se no formulário, esse é um processo primordial, ajuste isso, e a cada lead criado, um e-mail deve ser enviado para edson.assis@gmail.com - Follow Up Deployment
Browse files- index.html +71 -25
index.html
CHANGED
|
@@ -74,7 +74,7 @@
|
|
| 74 |
<i class="fas fa-laptop text-yellow-300 mr-3 text-xl"></i>
|
| 75 |
<div>
|
| 76 |
<p class="font-bold">100% Online</p>
|
| 77 |
-
<p class="text-sm">
|
| 78 |
</div>
|
| 79 |
</div>
|
| 80 |
</div>
|
|
@@ -401,42 +401,88 @@
|
|
| 401 |
<!-- CTA -->
|
| 402 |
<section id="inscricao" class="py-16 bg-gray-900 text-white">
|
| 403 |
<div class="container mx-auto px-4">
|
| 404 |
-
<div class="max-w-
|
| 405 |
-
<div class="
|
| 406 |
-
<
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
<form class="space-y-6">
|
| 414 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 415 |
<div>
|
| 416 |
<label for="nome" class="block text-sm font-medium mb-1">Nome Completo*</label>
|
| 417 |
-
<input type="text" id="nome" class="w-full px-4 py-3 rounded-lg bg-gray-700 border border-gray-600 focus:border-purple-500 focus:outline-none transition duration-300" required>
|
| 418 |
</div>
|
| 419 |
<div>
|
| 420 |
<label for="email" class="block text-sm font-medium mb-1">E-mail*</label>
|
| 421 |
-
<input type="email" id="email" class="w-full px-4 py-3 rounded-lg bg-gray-700 border border-gray-600 focus:border-purple-500 focus:outline-none transition duration-300" required>
|
| 422 |
</div>
|
| 423 |
</div>
|
| 424 |
|
| 425 |
<div>
|
| 426 |
<label for="telefone" class="block text-sm font-medium mb-1">WhatsApp*</label>
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
|
| 437 |
-
|
| 438 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 439 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 440 |
|
| 441 |
<div class="text-center text-sm opacity-80">
|
| 442 |
<p>Suas informações estão seguras conosco. Nunca compartilharemos seus dados.</p>
|
|
|
|
| 74 |
<i class="fas fa-laptop text-yellow-300 mr-3 text-xl"></i>
|
| 75 |
<div>
|
| 76 |
<p class="font-bold">100% Online</p>
|
| 77 |
+
<p class="text-sm">Valor especial por tempo limitado</p>
|
| 78 |
</div>
|
| 79 |
</div>
|
| 80 |
</div>
|
|
|
|
| 401 |
<!-- CTA -->
|
| 402 |
<section id="inscricao" class="py-16 bg-gray-900 text-white">
|
| 403 |
<div class="container mx-auto px-4">
|
| 404 |
+
<div class="max-w-6xl mx-auto bg-gray-800 rounded-xl p-8 md:p-12 shadow-lg">
|
| 405 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
|
| 406 |
+
<div>
|
| 407 |
+
<div class="text-center mb-8">
|
| 408 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-4">INSCREVA-SE AGORA</h2>
|
| 409 |
+
<div class="w-20 h-1 bg-purple-600 mx-auto mb-6"></div>
|
| 410 |
+
</div>
|
| 411 |
+
|
| 412 |
+
<form id="leadForm" class="space-y-6" onsubmit="submitForm(event)">
|
|
|
|
| 413 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 414 |
<div>
|
| 415 |
<label for="nome" class="block text-sm font-medium mb-1">Nome Completo*</label>
|
| 416 |
+
<input type="text" id="nome" name="nome" class="w-full px-4 py-3 rounded-lg bg-gray-700 border border-gray-600 focus:border-purple-500 focus:outline-none transition duration-300" required>
|
| 417 |
</div>
|
| 418 |
<div>
|
| 419 |
<label for="email" class="block text-sm font-medium mb-1">E-mail*</label>
|
| 420 |
+
<input type="email" id="email" name="email" class="w-full px-4 py-3 rounded-lg bg-gray-700 border border-gray-600 focus:border-purple-500 focus:outline-none transition duration-300" required>
|
| 421 |
</div>
|
| 422 |
</div>
|
| 423 |
|
| 424 |
<div>
|
| 425 |
<label for="telefone" class="block text-sm font-medium mb-1">WhatsApp*</label>
|
| 426 |
+
<input type="tel" id="telefone" name="telefone" class="w-full px-4 py-3 rounded-lg bg-gray-700 border border-gray-600 focus:border-purple-500 focus:outline-none transition duration-300" required>
|
| 427 |
+
</div>
|
| 428 |
+
|
| 429 |
+
<div>
|
| 430 |
+
<label for="empresa" class="block text-sm font-medium mb-1">Qual seu negócio/área de atuação?*</label>
|
| 431 |
+
<input type="text" id="empresa" name="empresa" class="w-full px-4 py-3 rounded-lg bg-gray-700 border border-gray-600 focus:border-purple-500 focus:outline-none transition duration-300" required>
|
| 432 |
+
</div>
|
| 433 |
+
|
| 434 |
+
<div class="pt-4">
|
| 435 |
+
<button type="submit" class="w-full gradient-bg hover:opacity-90 text-white font-bold py-4 px-6 rounded-lg text-lg transition duration-300 transform hover:scale-105">
|
| 436 |
+
QUERO ME INSCREVER AGORA
|
| 437 |
+
</button>
|
| 438 |
+
</div>
|
| 439 |
+
</form>
|
| 440 |
+
<script>
|
| 441 |
+
function submitForm(e) {
|
| 442 |
+
e.preventDefault();
|
| 443 |
+
|
| 444 |
+
const form = document.getElementById('leadForm');
|
| 445 |
+
const formData = new FormData(form);
|
| 446 |
+
const data = Object.fromEntries(formData);
|
| 447 |
+
|
| 448 |
+
// Send email notification
|
| 449 |
+
fetch('https://formspree.io/f/mqkreqza', {
|
| 450 |
+
method: 'POST',
|
| 451 |
+
headers: {
|
| 452 |
+
'Content-Type': 'application/json'
|
| 453 |
+
},
|
| 454 |
+
body: JSON.stringify({
|
| 455 |
+
email: 'edson.assis@vsxconsulting.com',
|
| 456 |
+
subject: 'Novo Lead - Masterclass Fidelização',
|
| 457 |
+
message: `Novo lead cadastrado:\n\nNome: ${data.nome}\nEmail: ${data.email}\nWhatsApp: ${data.telefone}\nNegócio: ${data.empresa}`
|
| 458 |
+
})
|
| 459 |
+
});
|
| 460 |
+
|
| 461 |
+
// Redirect to Hotmart checkout
|
| 462 |
+
window.location.href = 'https://pay.hotmart.com/O96088683N?sck=HOTMART_PRODUCT_PAGE&off=pt7xqkya&hotfeature=32,34&_gl=1*1gsxdsl*_gcl_au*MTU3ODk2MzI3MS4xNzUzNzA3MTUxLjEzMzgzMjQxNTUuMTc1MzcyMDUxNC4xNzUzNzIwNTMy*_ga*MTcwNDAyOTQ3MS4xNzQxMzYxMTIx*_ga_GQH2V1F11Q*czE3NTM3MzQ1NzMkbzIyJGcxJHQxNzUzNzM2MDgzJGo1NSRsMCRoMA..&bid=1753741036765';
|
| 463 |
+
}
|
| 464 |
+
</script>
|
| 465 |
+
</div>
|
| 466 |
+
|
| 467 |
+
<div class="flex flex-col items-center justify-center text-center">
|
| 468 |
+
<div class="mb-6">
|
| 469 |
+
<span class="text-gray-400 line-through text-xl">De R$497,00</span>
|
| 470 |
+
<div class="text-5xl font-bold text-yellow-300 my-2">R$49,97</div>
|
| 471 |
+
<p class="text-gray-300">ou 12x de R$4,99</p>
|
| 472 |
+
</div>
|
| 473 |
+
|
| 474 |
+
<div class="bg-gray-700 rounded-lg p-4 mb-6 w-full max-w-xs">
|
| 475 |
+
<p class="font-bold mb-2">Formas de pagamento:</p>
|
| 476 |
+
<div class="flex justify-center space-x-4">
|
| 477 |
+
<i class="fab fa-cc-visa text-3xl text-blue-400"></i>
|
| 478 |
+
<i class="fab fa-cc-mastercard text-3xl text-red-400"></i>
|
| 479 |
+
<i class="fab fa-cc-amex text-3xl text-blue-500"></i>
|
| 480 |
+
<i class="fab fa-cc-paypal text-3xl text-blue-600"></i>
|
| 481 |
</div>
|
| 482 |
+
</div>
|
| 483 |
+
|
| 484 |
+
</div>
|
| 485 |
+
</div>
|
| 486 |
|
| 487 |
<div class="text-center text-sm opacity-80">
|
| 488 |
<p>Suas informações estão seguras conosco. Nunca compartilharemos seus dados.</p>
|