Spaces:
Running
Running
Download request.html from Prosto123132/undefined: direct link, hf CLI and curl.
- Browser
- Download file 13.8 kB
-
https://huggingface.co/spaces/Prosto123132/undefined/resolve/main/request.html
- Command line
-
hf download hf://spaces/Prosto123132/undefined/request.html
-
curl -L -o request.html https://huggingface.co/spaces/Prosto123132/undefined/resolve/main/request.html
13.8 kB
| <html lang="ru"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Оставить заявку | Маркетинговый Вихрь</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#3B82F6', | |
| secondary: '#10B981' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <div id="vanta-background" class="fixed inset-0 -z-10 opacity-30"></div> | |
| <!-- Шапка --> | |
| <header class="bg-white shadow-sm"> | |
| <div class="container mx-auto px-4 py-6 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i data-feather="wind" class="text-primary w-8 h-8"></i> | |
| <a href="index.html" class="text-2xl font-bold text-gray-800">Маркетинговый Вихрь</a> | |
| </div> | |
| <nav class="hidden md:flex space-x-8"> | |
| <a href="services.html" class="text-gray-600 hover:text-primary font-medium">Услуги</a> | |
| <a href="#" class="text-gray-600 hover:text-primary font-medium">Кейсы</a> | |
| <a href="#" class="text-gray-600 hover:text-primary font-medium">О нас</a> | |
| <a href="#" class="text-gray-600 hover:text-primary font-medium">Блог</a> | |
| <a href="#" class="text-gray-600 hover:text-primary font-medium">Контакты</a> | |
| </nav> | |
| <button class="md:hidden"> | |
| <i data-feather="menu" class="w-6 h-6 text-gray-600"></i> | |
| </button> | |
| </div> | |
| </header> | |
| <!-- Основной контент --> | |
| <main class="py-16"> | |
| <div class="container mx-auto px-4 max-w-4xl"> | |
| <div class="text-center mb-12"> | |
| <h1 class="text-4xl font-bold text-gray-800 mb-4">Оставить заявку</h1> | |
| <p class="text-xl text-gray-600">Заполните форму ниже, и наш менеджер свяжется с вами в ближайшее время</p> | |
| </div> | |
| <div class="bg-white p-8 md:p-12 rounded-xl shadow-md"> | |
| <form id="requestForm" class="space-y-6" action="https://formspree.io/f/xjvqnkne" method="POST"> | |
| <div class="grid md:grid-cols-2 gap-6"> | |
| <div> | |
| <label for="name" class="block text-gray-700 font-medium mb-2">Ваше имя*</label> | |
| <input type="text" id="name" name="name" required class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent"> | |
| </div> | |
| <div> | |
| <label for="company" class="block text-gray-700 font-medium mb-2">Компания</label> | |
| <input type="text" id="company" name="company" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent"> | |
| </div> | |
| </div> | |
| <div class="grid md:grid-cols-2 gap-6"> | |
| <div> | |
| <label for="phone" class="block text-gray-700 font-medium mb-2">Телефон*</label> | |
| <input type="tel" id="phone" name="phone" required class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent"> | |
| </div> | |
| <div> | |
| <label for="email" class="block text-gray-700 font-medium mb-2">Email*</label> | |
| <input type="email" id="email" name="email" required class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent"> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 font-medium mb-2">Выберите услуги*</label> | |
| <div class="space-y-3"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="service1" name="services" value="Таргетированная реклама" class="h-5 w-5 text-primary rounded focus:ring-primary"> | |
| <label for="service1" class="ml-3 text-gray-700">Таргетированная реклама</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="service2" name="services" value="SEO продвижение" class="h-5 w-5 text-primary rounded focus:ring-primary"> | |
| <label for="service2" class="ml-3 text-gray-700">SEO продвижение</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="service3" name="services" value="Контент-маркетинг" class="h-5 w-5 text-primary rounded focus:ring-primary"> | |
| <label for="service3" class="ml-3 text-gray-700">Контент-маркетинг</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="service4" name="services" value="SMM продвижение" class="h-5 w-5 text-primary rounded focus:ring-primary"> | |
| <label for="service4" class="ml-3 text-gray-700">SMM продвижение</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="service5" name="services" value="Email-маркетинг" class="h-5 w-5 text-primary rounded focus:ring-primary"> | |
| <label for="service5" class="ml-3 text-gray-700">Email-маркетинг</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="service6" name="services" value="Аналитика" class="h-5 w-5 text-primary rounded focus:ring-primary"> | |
| <label for="service6" class="ml-3 text-gray-700">Аналитика</label> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <label for="message" class="block text-gray-700 font-medium mb-2">Дополнительная информация</label> | |
| <textarea id="message" name="message" rows="4" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent"></textarea> | |
| </div> | |
| <div class="pt-4"> | |
| <button type="submit" class="w-full bg-primary hover:bg-primary-dark text-white px-6 py-4 rounded-lg font-medium transition duration-300"> | |
| Отправить заявку | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Подвал --> | |
| <footer class="bg-gray-900 text-white py-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-6"> | |
| <i data-feather="wind" class="text-primary w-8 h-8"></i> | |
| <h3 class="text-xl font-bold">Маркетинговый Вихрь</h3> | |
| </div> | |
| <p class="text-gray-400 mb-6">Комплексные маркетинговые решения для роста вашего бизнеса.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white"><i data-feather="facebook"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i data-feather="instagram"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i data-feather="linkedin"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i data-feather="twitter"></i></a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-6">Услуги</h3> | |
| <ul class="space-y-3"> | |
| <li><a href="services.html" class="text-gray-400 hover:text-white">Таргетированная реклама</a></li> | |
| <li><a href="services.html" class="text-gray-400 hover:text-white">SEO продвижение</a></li> | |
| <li><a href="services.html" class="text-gray-400 hover:text-white">Контент-маркетинг</a></li> | |
| <li><a href="services.html" class="text-gray-400 hover:text-white">SMM продвижение</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-6">Компания</h3> | |
| <ul class="space-y-3"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">О нас</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Кейсы</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Команда</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Вакансии</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-6">Контакты</h3> | |
| <ul class="space-y-3"> | |
| <li class="flex items-start"> | |
| <i data-feather="map-pin" class="mr-3 w-5 h-5 text-gray-400"></i> | |
| <span class="text-gray-400">г. Москва, ул. Маркетинговая, 42</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i data-feather="phone" class="mr-3 w-5 h-5 text-gray-400"></i> | |
| <span class="text-gray-400">+7 (123) 456-78-90</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i data-feather="mail" class="mr-3 w-5 h-5 text-gray-400"></i> | |
| <span class="text-gray-400">info@marketing-vihr.ru</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500"> | |
| <p>© 2023 Маркетинговый Вихрь. Все права защищены.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| VANTA.NET({ | |
| el: "#vanta-background", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x3b82f6, | |
| backgroundColor: 0xf8fafc, | |
| points: 12.00, | |
| maxDistance: 22.00, | |
| spacing: 16.00 | |
| }); | |
| document.getElementById('requestForm').addEventListener('submit', async function(e) { | |
| e.preventDefault(); | |
| const formData = new FormData(this); | |
| const data = {}; | |
| formData.forEach((value, key) => { | |
| if (key === 'services') { | |
| if (!data[key]) data[key] = []; | |
| data[key].push(value); | |
| } else { | |
| data[key] = value; | |
| } | |
| }); | |
| try { | |
| const response = await fetch('https://formspree.io/f/xjvqnkne', { | |
| method: 'POST', | |
| headers: { | |
| 'Content-Type': 'application/json', | |
| }, | |
| body: JSON.stringify(data), | |
| }); | |
| if (response.ok) { | |
| alert('Спасибо! Ваша заявка отправлена. Мы свяжемся с вами в ближайшее время.'); | |
| this.reset(); | |
| } else { | |
| throw new Error('Ошибка отправки формы'); | |
| } | |
| } catch (error) { | |
| console.error('Error:', error); | |
| alert('Произошла ошибка при отправке формы. Пожалуйста, попробуйте еще раз.'); | |
| } | |
| }); | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |