Promote version 967374d to main
Browse filesPromoted commit 967374dec7c43756b08401fbd2a7f96576121979 to main branch
- index.html +5 -14
index.html
CHANGED
|
@@ -363,7 +363,8 @@ document.getElementById('heroScrollBtn').addEventListener('click', function() {
|
|
| 363 |
<br>
|
| 364 |
<div class="text-gray-500 text-xs text-center">* - средняя цена за один зуб, не является офертой</div>
|
| 365 |
</section>
|
| 366 |
-
|
|
|
|
| 367 |
<section class="py-16 bg-gray-50">
|
| 368 |
<div class="container mx-auto px-4">
|
| 369 |
<div class="text-center mb-12">
|
|
@@ -519,20 +520,10 @@ document.getElementById('heroScrollBtn').addEventListener('click', function() {
|
|
| 519 |
<label for="name" class="block text-left text-gray-700 mb-2">Ваше имя</label>
|
| 520 |
<input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary" required>
|
| 521 |
</div>
|
| 522 |
-
|
| 523 |
-
<div>
|
| 524 |
-
<label for="service" class="block text-left text-gray-700 mb-2">Услуга</label>
|
| 525 |
-
<select id="service" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary" required>
|
| 526 |
-
<option value="" disabled selected>Выберите услугу</option>
|
| 527 |
-
<option value="ortopediya">Ортопедическая стоматология</option>
|
| 528 |
-
<option value="hirurgiya">Хирургическая стоматология</option>
|
| 529 |
-
<option value="estetika">Эстетическая стоматология</option>
|
| 530 |
-
</select>
|
| 531 |
-
</div>
|
| 532 |
|
| 533 |
<div>
|
| 534 |
<label for="phone" class="block text-left text-gray-700 mb-2">Телефон</label>
|
| 535 |
-
<input type="tel" id="phone" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary" placeholder="+7 (___) ___-__-__" required>
|
| 536 |
</div>
|
| 537 |
|
| 538 |
<div class="flex items-start">
|
|
@@ -557,11 +548,11 @@ document.getElementById('heroScrollBtn').addEventListener('click', function() {
|
|
| 557 |
const mainForm = document.getElementById('mainForm');
|
| 558 |
mainForm.addEventListener('submit', function(e) {
|
| 559 |
e.preventDefault();
|
|
|
|
| 560 |
const formData = {
|
| 561 |
name: document.getElementById('name').value,
|
| 562 |
-
service: document.getElementById('service').value,
|
| 563 |
phone: document.getElementById('phone').value,
|
| 564 |
-
agree: document.getElementById('agree').checked
|
| 565 |
};
|
| 566 |
|
| 567 |
console.log('Main form submitted:', formData);
|
|
|
|
| 363 |
<br>
|
| 364 |
<div class="text-gray-500 text-xs text-center">* - средняя цена за один зуб, не является офертой</div>
|
| 365 |
</section>
|
| 366 |
+
|
| 367 |
+
<!-- Why Russia Section -->
|
| 368 |
<section class="py-16 bg-gray-50">
|
| 369 |
<div class="container mx-auto px-4">
|
| 370 |
<div class="text-center mb-12">
|
|
|
|
| 520 |
<label for="name" class="block text-left text-gray-700 mb-2">Ваше имя</label>
|
| 521 |
<input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary" required>
|
| 522 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 523 |
|
| 524 |
<div>
|
| 525 |
<label for="phone" class="block text-left text-gray-700 mb-2">Телефон</label>
|
| 526 |
+
<input type="tel" id="phone" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary" placeholder="+7 (___) ___-__-__" required>
|
| 527 |
</div>
|
| 528 |
|
| 529 |
<div class="flex items-start">
|
|
|
|
| 548 |
const mainForm = document.getElementById('mainForm');
|
| 549 |
mainForm.addEventListener('submit', function(e) {
|
| 550 |
e.preventDefault();
|
| 551 |
+
|
| 552 |
const formData = {
|
| 553 |
name: document.getElementById('name').value,
|
|
|
|
| 554 |
phone: document.getElementById('phone').value,
|
| 555 |
+
agree: document.getElementById('agree').checked
|
| 556 |
};
|
| 557 |
|
| 558 |
console.log('Main form submitted:', formData);
|