Spaces:
Running
Running
File size: 13,829 Bytes
34f5b2c ee1fa3b 34f5b2c ee1fa3b 34f5b2c ee1fa3b 34f5b2c ee1fa3b 34f5b2c ee1fa3b 34f5b2c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 | <!DOCTYPE html>
<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> |