mdarlen commited on
Commit
1e5d9ea
·
verified ·
1 Parent(s): 0c6d80c

implemente a tela de contato - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +121 -1
index.html CHANGED
@@ -423,8 +423,100 @@
423
  </div>
424
  </section>
425
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
426
  <!-- Footer -->
427
- <footer id="contact" class="bg-gray-900 text-white py-12">
428
  <div class="container mx-auto px-4">
429
  <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
430
  <div>
@@ -945,6 +1037,12 @@
945
  </div>
946
 
947
  <script>
 
 
 
 
 
 
948
  // Mobile Menu Toggle
949
  const mobileMenuBtn = document.getElementById('mobileMenuBtn');
950
  const mobileMenu = document.getElementById('mobileMenu');
@@ -1131,6 +1229,28 @@
1131
  }
1132
  }
1133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1134
  // Subscription function
1135
  function subscribeToEvent() {
1136
  const eventTitle = document.getElementById('eventDetailsTitle').textContent;
 
423
  </div>
424
  </section>
425
 
426
+ <!-- Contact Section -->
427
+ <section id="contact" class="py-16 bg-white">
428
+ <div class="container mx-auto px-4">
429
+ <div class="text-center mb-12">
430
+ <h2 class="text-3xl font-bold text-gray-800 mb-4">Entre em Contato</h2>
431
+ <p class="text-gray-600 max-w-2xl mx-auto">Tem dúvidas ou sugestões? Envie-nos uma mensagem!</p>
432
+ </div>
433
+
434
+ <div class="max-w-4xl mx-auto bg-gray-50 rounded-xl shadow-sm overflow-hidden">
435
+ <div class="md:flex">
436
+ <div class="md:w-1/2 bg-gradient-to-br from-purple-600 to-blue-500 p-8 text-white">
437
+ <h3 class="text-xl font-bold mb-6">Informações de Contato</h3>
438
+
439
+ <div class="space-y-6">
440
+ <div class="flex items-start">
441
+ <div class="bg-white bg-opacity-20 p-3 rounded-full mr-4">
442
+ <i class="fas fa-map-marker-alt"></i>
443
+ </div>
444
+ <div>
445
+ <h4 class="font-bold">Endereço</h4>
446
+ <p>Av. Paulista, 1000<br>São Paulo, SP</p>
447
+ </div>
448
+ </div>
449
+
450
+ <div class="flex items-start">
451
+ <div class="bg-white bg-opacity-20 p-3 rounded-full mr-4">
452
+ <i class="fas fa-phone-alt"></i>
453
+ </div>
454
+ <div>
455
+ <h4 class="font-bold">Telefone</h4>
456
+ <p>(11) 1234-5678</p>
457
+ </div>
458
+ </div>
459
+
460
+ <div class="flex items-start">
461
+ <div class="bg-white bg-opacity-20 p-3 rounded-full mr-4">
462
+ <i class="fas fa-envelope"></i>
463
+ </div>
464
+ <div>
465
+ <h4 class="font-bold">Email</h4>
466
+ <p>contato@runtrack.com</p>
467
+ </div>
468
+ </div>
469
+
470
+ <div class="flex items-start">
471
+ <div class="bg-white bg-opacity-20 p-3 rounded-full mr-4">
472
+ <i class="fas fa-clock"></i>
473
+ </div>
474
+ <div>
475
+ <h4 class="font-bold">Horário</h4>
476
+ <p>Seg-Sex: 9h às 18h<br>Sáb: 9h às 12h</p>
477
+ </div>
478
+ </div>
479
+ </div>
480
+ </div>
481
+
482
+ <div class="md:w-1/2 p-8">
483
+ <form id="contactForm" class="space-y-6">
484
+ <div>
485
+ <label for="name" class="block text-sm font-medium text-gray-700 mb-1">Nome</label>
486
+ <input type="text" id="name" name="name" required
487
+ class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-600 focus:border-transparent">
488
+ </div>
489
+
490
+ <div>
491
+ <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label>
492
+ <input type="email" id="email" name="email" required
493
+ class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-600 focus:border-transparent">
494
+ </div>
495
+
496
+ <div>
497
+ <label for="subject" class="block text-sm font-medium text-gray-700 mb-1">Assunto</label>
498
+ <input type="text" id="subject" name="subject" required
499
+ class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-600 focus:border-transparent">
500
+ </div>
501
+
502
+ <div>
503
+ <label for="message" class="block text-sm font-medium text-gray-700 mb-1">Mensagem</label>
504
+ <textarea id="message" name="message" rows="4" required
505
+ class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-600 focus:border-transparent"></textarea>
506
+ </div>
507
+
508
+ <button type="submit" class="w-full bg-purple-600 text-white py-3 px-4 rounded-lg font-bold hover:bg-purple-700 transition">
509
+ <i class="fas fa-paper-plane mr-2"></i> Enviar Mensagem
510
+ </button>
511
+ </form>
512
+ </div>
513
+ </div>
514
+ </div>
515
+ </div>
516
+ </section>
517
+
518
  <!-- Footer -->
519
+ <footer class="bg-gray-900 text-white py-12">
520
  <div class="container mx-auto px-4">
521
  <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
522
  <div>
 
1037
  </div>
1038
 
1039
  <script>
1040
+ // Smooth scroll to contact section
1041
+ function scrollToContact() {
1042
+ const contactSection = document.getElementById('contact');
1043
+ contactSection.scrollIntoView({ behavior: 'smooth' });
1044
+ }
1045
+
1046
  // Mobile Menu Toggle
1047
  const mobileMenuBtn = document.getElementById('mobileMenuBtn');
1048
  const mobileMenu = document.getElementById('mobileMenu');
 
1229
  }
1230
  }
1231
 
1232
+ // Contact Form Submission
1233
+ const contactForm = document.getElementById('contactForm');
1234
+
1235
+ contactForm.addEventListener('submit', (e) => {
1236
+ e.preventDefault();
1237
+
1238
+ // Get form values
1239
+ const name = document.getElementById('name').value;
1240
+ const email = document.getElementById('email').value;
1241
+ const subject = document.getElementById('subject').value;
1242
+ const message = document.getElementById('message').value;
1243
+
1244
+ // In a real app, you would send this data to your backend here
1245
+ console.log('Contact form submitted:', { name, email, subject, message });
1246
+
1247
+ // Show success message
1248
+ alert(`Obrigado, ${name}! Sua mensagem foi enviada com sucesso. Entraremos em contato em breve.`);
1249
+
1250
+ // Reset form
1251
+ contactForm.reset();
1252
+ });
1253
+
1254
  // Subscription function
1255
  function subscribeToEvent() {
1256
  const eventTitle = document.getElementById('eventDetailsTitle').textContent;