Spaces:
Running
Running
Нужен современный стильный дизайн
Browse filesToptera — digital‑команда, которая строит контент-машины под трафик
Растим сайты в нишах с потенциалом, продвигаем в Google, масштабируем результат
HeroМоментально передаёт суть: «контент-машина» + яркий CTAПроблемаПоказывает боли, с которыми клиент уже столкнулсяПроцессДемонстрирует систему (доверие + предсказуемость)КейсыСоциальное доказательство с цифрамиCTA + формаНизкий порог входа — бесплатный аудит
- README.md +8 -5
- components/navbar.js +32 -0
- index.html +246 -19
- script.js +34 -0
- style.css +30 -19
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: Content Machine Mavericks
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Content Machine Mavericks 🚀
|
| 3 |
+
colorFrom: blue
|
| 4 |
+
colorTo: pink
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
components/navbar.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.navbar {
|
| 7 |
+
transition: all 0.3s ease;
|
| 8 |
+
}
|
| 9 |
+
.navbar.scrolled {
|
| 10 |
+
background-color: white;
|
| 11 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
| 12 |
+
}
|
| 13 |
+
.mobile-menu {
|
| 14 |
+
max-height: 0;
|
| 15 |
+
overflow: hidden;
|
| 16 |
+
transition: max-height 0.3s ease-out;
|
| 17 |
+
}
|
| 18 |
+
.mobile-menu.open {
|
| 19 |
+
max-height: 500px;
|
| 20 |
+
}
|
| 21 |
+
@media (min-width: 768px) {
|
| 22 |
+
.mobile-menu {
|
| 23 |
+
max-height: none !important;
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
</style>
|
| 27 |
+
<nav class="navbar fixed w-full z-50 py-4 px-6 bg-white md:bg-transparent">
|
| 28 |
+
<div class="container mx-auto flex justify-between items-center">
|
| 29 |
+
<a href="/" class="text-2xl font-bold text-primary">Toptera</a>
|
| 30 |
+
|
| 31 |
+
<div class="hidden md:flex space-x-8">
|
| 32 |
+
<a href="#problem" class="text-zinc-700 hover:text-primary transition duration-300">
|
index.html
CHANGED
|
@@ -1,19 +1,246 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="ru">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Toptera - Контент-машины для роста трафика</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
theme: {
|
| 14 |
+
extend: {
|
| 15 |
+
colors: {
|
| 16 |
+
primary: '#ef4444',
|
| 17 |
+
secondary: '#71717a'
|
| 18 |
+
}
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
</script>
|
| 23 |
+
</head>
|
| 24 |
+
<body class="bg-white text-zinc-900 font-sans">
|
| 25 |
+
<custom-navbar></custom-navbar>
|
| 26 |
+
|
| 27 |
+
<!-- Hero Section -->
|
| 28 |
+
<section class="relative py-20 md:py-32 bg-gradient-to-br from-zinc-50 to-zinc-100 overflow-hidden">
|
| 29 |
+
<div class="container mx-auto px-6">
|
| 30 |
+
<div class="flex flex-col md:flex-row items-center">
|
| 31 |
+
<div class="md:w-1/2 mb-12 md:mb-0">
|
| 32 |
+
<h1 class="text-4xl md:text-5xl lg:text-6xl font-bold leading-tight mb-6">
|
| 33 |
+
<span class="text-primary">Контент-машины</span> для роста трафика
|
| 34 |
+
</h1>
|
| 35 |
+
<p class="text-xl md:text-2xl text-secondary mb-8">
|
| 36 |
+
Растим сайты в нишах с потенциалом, продвигаем в Google, масштабируем результат
|
| 37 |
+
</p>
|
| 38 |
+
<div class="flex flex-col sm:flex-row gap-4">
|
| 39 |
+
<a href="#audit" class="bg-primary hover:bg-red-600 text-white font-bold py-4 px-8 rounded-lg transition duration-300 text-center">
|
| 40 |
+
Бесплатный аудит
|
| 41 |
+
</a>
|
| 42 |
+
<a href="#cases" class="border-2 border-primary text-primary hover:bg-red-50 font-bold py-4 px-8 rounded-lg transition duration-300 text-center">
|
| 43 |
+
Наши кейсы
|
| 44 |
+
</a>
|
| 45 |
+
</div>
|
| 46 |
+
</div>
|
| 47 |
+
<div class="md:w-1/2">
|
| 48 |
+
<img src="http://static.photos/technology/1200x630/42" alt="Content machine" class="rounded-xl shadow-2xl transform hover:scale-105 transition duration-500">
|
| 49 |
+
</div>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
</section>
|
| 53 |
+
|
| 54 |
+
<!-- Problem Section -->
|
| 55 |
+
<section id="problem" class="py-20 bg-white">
|
| 56 |
+
<div class="container mx-auto px-6">
|
| 57 |
+
<div class="text-center mb-16">
|
| 58 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-4">Эти проблемы вам знакомы?</h2>
|
| 59 |
+
<div class="w-24 h-1 bg-primary mx-auto"></div>
|
| 60 |
+
</div>
|
| 61 |
+
|
| 62 |
+
<div class="grid md:grid-cols-3 gap-8">
|
| 63 |
+
<div class="bg-zinc-50 p-8 rounded-xl hover:shadow-lg transition duration-300">
|
| 64 |
+
<div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mb-4">
|
| 65 |
+
<i data-feather="trending-down" class="text-primary"></i>
|
| 66 |
+
</div>
|
| 67 |
+
<h3 class="text-xl font-bold mb-3">Трафик не растёт</h3>
|
| 68 |
+
<p class="text-secondary">Несмотря на вложения в контент и SEO, посещаемость стоит на месте</p>
|
| 69 |
+
</div>
|
| 70 |
+
|
| 71 |
+
<div class="bg-zinc-50 p-8 rounded-xl hover:shadow-lg transition duration-300">
|
| 72 |
+
<div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mb-4">
|
| 73 |
+
<i data-feather="clock" class="text-primary"></i>
|
| 74 |
+
</div>
|
| 75 |
+
<h3 class="text-xl font-bold mb-3">Результаты долго ждать</h3>
|
| 76 |
+
<p class="text-secondary">Месяцы ожидания первых результатов от SEO-специалистов</p>
|
| 77 |
+
</div>
|
| 78 |
+
|
| 79 |
+
<div class="bg-zinc-50 p-8 rounded-xl hover:shadow-lg transition duration-300">
|
| 80 |
+
<div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mb-4">
|
| 81 |
+
<i data-feather="dollar-sign" class="text-primary"></i>
|
| 82 |
+
</div>
|
| 83 |
+
<h3 class="text-xl font-bold mb-3">Неясная окупаемость</h3>
|
| 84 |
+
<p class="text-secondary">Сложно предсказать, когда вложения начнут приносить прибыль</p>
|
| 85 |
+
</div>
|
| 86 |
+
</div>
|
| 87 |
+
</div>
|
| 88 |
+
</section>
|
| 89 |
+
|
| 90 |
+
<!-- Process Section -->
|
| 91 |
+
<section id="process" class="py-20 bg-zinc-50">
|
| 92 |
+
<div class="container mx-auto px-6">
|
| 93 |
+
<div class="text-center mb-16">
|
| 94 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-4">Как мы создаём контент-машины</h2>
|
| 95 |
+
<p class="text-xl text-secondary max-w-3xl mx-auto">Прозрачная система с предсказуемыми результатами</p>
|
| 96 |
+
<div class="w-24 h-1 bg-primary mx-auto mt-4"></div>
|
| 97 |
+
</div>
|
| 98 |
+
|
| 99 |
+
<div class="relative">
|
| 100 |
+
<div class="hidden md:block absolute top-0 bottom-0 left-1/2 transform -translate-x-1/2 w-1 bg-primary"></div>
|
| 101 |
+
|
| 102 |
+
<div class="grid md:grid-cols-2 gap-8">
|
| 103 |
+
<!-- Step 1 -->
|
| 104 |
+
<div class="md:pr-16">
|
| 105 |
+
<div class="flex items-center mb-4">
|
| 106 |
+
<div class="flex-shrink-0 w-12 h-12 bg-primary rounded-full flex items-center justify-center text-white font-bold text-xl mr-4">1</div>
|
| 107 |
+
<h3 class="text-xl font-bold">Анализ ниши</h3>
|
| 108 |
+
</div>
|
| 109 |
+
<p class="text-secondary pl-16">Выбираем ниши с высоким потенциалом трафика и монетизации. Анализируем конкурентов и определяем точки роста.</p>
|
| 110 |
+
</div>
|
| 111 |
+
|
| 112 |
+
<!-- Step 2 -->
|
| 113 |
+
<div class="md:pl-16 md:mt-16">
|
| 114 |
+
<div class="flex items-center mb-4">
|
| 115 |
+
<div class="flex-shrink-0 w-12 h-12 bg-primary rounded-full flex items-center justify-center text-white font-bold text-xl mr-4">2</div>
|
| 116 |
+
<h3 class="text-xl font-bold">Стратегия контента</h3>
|
| 117 |
+
</div>
|
| 118 |
+
<p class="text-secondary pl-16">Разрабатываем контент-план, который закрывает все запросы аудитории и выводит сайт в топ по ключевым запросам.</p>
|
| 119 |
+
</div>
|
| 120 |
+
|
| 121 |
+
<!-- Step 3 -->
|
| 122 |
+
<div class="md:pr-16 md:mt-16">
|
| 123 |
+
<div class="flex items-center mb-4">
|
| 124 |
+
<div class="flex-shrink-0 w-12 h-12 bg-primary rounded-full flex items-center justify-center text-white font-bold text-xl mr-4">3</div>
|
| 125 |
+
<h3 class="text-xl font-bold">Техническая подготовка</h3>
|
| 126 |
+
</div>
|
| 127 |
+
<p class="text-secondary pl-16">Оптимизируем сайт для поисковых систем: скорость загрузки, структура, микроразметка и другие технические параметры.</p>
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<!-- Step 4 -->
|
| 131 |
+
<div class="md:pl-16 md:mt-16">
|
| 132 |
+
<div class="flex items-center mb-4">
|
| 133 |
+
<div class="flex-shrink-0 w-12 h-12 bg-primary rounded-full flex items-center justify-center text-white font-bold text-xl mr-4">4</div>
|
| 134 |
+
<h3 class="text-xl font-bold">Масштабирование</h3>
|
| 135 |
+
</div>
|
| 136 |
+
<p class="text-secondary pl-16">Систематически увеличиваем охват, добавляя новые тематические кластеры и расширяя семантическое ядро.</p>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
</div>
|
| 141 |
+
</section>
|
| 142 |
+
|
| 143 |
+
<!-- Cases Section -->
|
| 144 |
+
<section id="cases" class="py-20 bg-white">
|
| 145 |
+
<div class="container mx-auto px-6">
|
| 146 |
+
<div class="text-center mb-16">
|
| 147 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-4">Наши кейсы</h2>
|
| 148 |
+
<p class="text-xl text-secondary max-w-3xl mx-auto">Реальные проекты с измеримыми результатами</p>
|
| 149 |
+
<div class="w-24 h-1 bg-primary mx-auto mt-4"></div>
|
| 150 |
+
</div>
|
| 151 |
+
|
| 152 |
+
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 153 |
+
<!-- Case 1 -->
|
| 154 |
+
<div class="bg-zinc-50 rounded-xl overflow-hidden hover:shadow-xl transition duration-300">
|
| 155 |
+
<img src="http://static.photos/finance/640x360/1" alt="Finance case" class="w-full h-48 object-cover">
|
| 156 |
+
<div class="p-6">
|
| 157 |
+
<h3 class="text-xl font-bold mb-2">Финансовый портал</h3>
|
| 158 |
+
<p class="text-secondary mb-4">Сайт о личных финансах и инвестициях</p>
|
| 159 |
+
<div class="flex justify-between items-center">
|
| 160 |
+
<div>
|
| 161 |
+
<p class="text-sm text-secondary">Рост трафика</p>
|
| 162 |
+
<p class="text-primary font-bold text-xl">+420%</p>
|
| 163 |
+
</div>
|
| 164 |
+
<div>
|
| 165 |
+
<p class="text-sm text-secondary">За 6 месяцев</p>
|
| 166 |
+
<p class="text-primary font-bold text-xl">25K → 130K</p>
|
| 167 |
+
</div>
|
| 168 |
+
</div>
|
| 169 |
+
</div>
|
| 170 |
+
</div>
|
| 171 |
+
|
| 172 |
+
<!-- Case 2 -->
|
| 173 |
+
<div class="bg-zinc-50 rounded-xl overflow-hidden hover:shadow-xl transition duration-300">
|
| 174 |
+
<img src="http://static.photos/medical/640x360/2" alt="Medical case" class="w-full h-48 object-cover">
|
| 175 |
+
<div class="p-6">
|
| 176 |
+
<h3 class="text-xl font-bold mb-2">Медицинский блог</h3>
|
| 177 |
+
<p class="text-secondary mb-4">Сайт о здоровье и профилактике</p>
|
| 178 |
+
<div class="flex justify-between items-center">
|
| 179 |
+
<div>
|
| 180 |
+
<p class="text-sm text-secondary">Рост трафика</p>
|
| 181 |
+
<p class="text-primary font-bold text-xl">+380%</p>
|
| 182 |
+
</div>
|
| 183 |
+
<div>
|
| 184 |
+
<p class="text-sm text-secondary">За 8 месяцев</p>
|
| 185 |
+
<p class="text-primary font-bold text-xl">8K → 38K</p>
|
| 186 |
+
</div>
|
| 187 |
+
</div>
|
| 188 |
+
</div>
|
| 189 |
+
</div>
|
| 190 |
+
|
| 191 |
+
<!-- Case 3 -->
|
| 192 |
+
<div class="bg-zinc-50 rounded-xl overflow-hidden hover:shadow-xl transition duration-300">
|
| 193 |
+
<img src="http://static.photos/technology/640x360/3" alt="Tech case" class="w-full h-48 object-cover">
|
| 194 |
+
<div class="p-6">
|
| 195 |
+
<h3 class="text-xl font-bold mb-2">Технологический ресурс</h3>
|
| 196 |
+
<p class="text-secondary mb-4">Обзоры гаджетов и софта</p>
|
| 197 |
+
<div class="flex justify-between items-center">
|
| 198 |
+
<div>
|
| 199 |
+
<p class="text-sm text-secondary">Рост трафика</p>
|
| 200 |
+
<p class="text-primary font-bold text-xl">+540%</p>
|
| 201 |
+
</div>
|
| 202 |
+
<div>
|
| 203 |
+
<p class="text-sm text-secondary">За 5 месяцев</p>
|
| 204 |
+
<p class="text-primary font-bold text-xl">12K → 77K</p>
|
| 205 |
+
</div>
|
| 206 |
+
</div>
|
| 207 |
+
</div>
|
| 208 |
+
</div>
|
| 209 |
+
</div>
|
| 210 |
+
</div>
|
| 211 |
+
</section>
|
| 212 |
+
|
| 213 |
+
<!-- CTA Section -->
|
| 214 |
+
<section id="audit" class="py-20 bg-gradient-to-br from-zinc-800 to-zinc-900 text-white">
|
| 215 |
+
<div class="container mx-auto px-6">
|
| 216 |
+
<div class="max-w-4xl mx-auto text-center">
|
| 217 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-6">Готовы превратить ваш сайт в контент-машину?</h2>
|
| 218 |
+
<p class="text-xl text-zinc-300 mb-8">Получите бесплатный аудит вашего проекта с рекомендациями по росту трафика</p>
|
| 219 |
+
|
| 220 |
+
<form class="max-w-md mx-auto">
|
| 221 |
+
<div class="mb-4">
|
| 222 |
+
<input type="text" placeholder="Ваше имя" class="w-full px-4 py-3 rounded-lg bg-zinc-700 border border-zinc-600 focus:outline-none focus:ring-2 focus:ring-primary">
|
| 223 |
+
</div>
|
| 224 |
+
<div class="mb-4">
|
| 225 |
+
<input type="email" placeholder="Email" class="w-full px-4 py-3 rounded-lg bg-zinc-700 border border-zinc-600 focus:outline-none focus:ring-2 focus:ring-primary">
|
| 226 |
+
</div>
|
| 227 |
+
<div class="mb-4">
|
| 228 |
+
<input type="url" placeholder="Ссылка на сайт" class="w-full px-4 py-3 rounded-lg bg-zinc-700 border border-zinc-600 focus:outline-none focus:ring-2 focus:ring-primary">
|
| 229 |
+
</div>
|
| 230 |
+
<button type="submit" class="w-full bg-primary hover:bg-red-600 text-white font-bold py-4 px-8 rounded-lg transition duration-300">
|
| 231 |
+
Получить аудит
|
| 232 |
+
</button>
|
| 233 |
+
</form>
|
| 234 |
+
</div>
|
| 235 |
+
</div>
|
| 236 |
+
</section>
|
| 237 |
+
|
| 238 |
+
<custom-footer></custom-footer>
|
| 239 |
+
|
| 240 |
+
<script src="components/navbar.js"></script>
|
| 241 |
+
<script src="components/footer.js"></script>
|
| 242 |
+
<script src="script.js"></script>
|
| 243 |
+
<script>feather.replace();</script>
|
| 244 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 245 |
+
</body>
|
| 246 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 2 |
+
// Animate elements on scroll
|
| 3 |
+
const animateOnScroll = function() {
|
| 4 |
+
const elements = document.querySelectorAll('.animate-on-scroll');
|
| 5 |
+
|
| 6 |
+
elements.forEach(element => {
|
| 7 |
+
const elementPosition = element.getBoundingClientRect().top;
|
| 8 |
+
const screenPosition = window.innerHeight / 1.3;
|
| 9 |
+
|
| 10 |
+
if (elementPosition < screenPosition) {
|
| 11 |
+
element.classList.add('animate-fade-in');
|
| 12 |
+
}
|
| 13 |
+
});
|
| 14 |
+
};
|
| 15 |
+
|
| 16 |
+
// Run once on load
|
| 17 |
+
animateOnScroll();
|
| 18 |
+
|
| 19 |
+
// Run on scroll
|
| 20 |
+
window.addEventListener('scroll', animateOnScroll);
|
| 21 |
+
|
| 22 |
+
// Mobile menu toggle (handled in navbar component)
|
| 23 |
+
|
| 24 |
+
// Form submission
|
| 25 |
+
const form = document.querySelector('form');
|
| 26 |
+
if (form) {
|
| 27 |
+
form.addEventListener('submit', function(e) {
|
| 28 |
+
e.preventDefault();
|
| 29 |
+
// Here you would typically send the form data to your server
|
| 30 |
+
alert('Спасибо! Мы свяжемся с вами в ближайшее время.');
|
| 31 |
+
form.reset();
|
| 32 |
+
});
|
| 33 |
+
}
|
| 34 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,39 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Custom animations */
|
| 2 |
+
@keyframes fadeIn {
|
| 3 |
+
from { opacity: 0; transform: translateY(20px); }
|
| 4 |
+
to { opacity: 1; transform: translateY(0); }
|
| 5 |
}
|
| 6 |
|
| 7 |
+
.animate-fade-in {
|
| 8 |
+
animation: fadeIn 0.8s ease-out forwards;
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
+
/* Custom scroll behavior */
|
| 12 |
+
html {
|
| 13 |
+
scroll-behavior: smooth;
|
|
|
|
|
|
|
| 14 |
}
|
| 15 |
|
| 16 |
+
/* Custom hover effects */
|
| 17 |
+
.hover-scale {
|
| 18 |
+
transition: transform 0.3s ease;
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
+
.hover-scale:hover {
|
| 22 |
+
transform: scale(1.03);
|
| 23 |
}
|
| 24 |
+
|
| 25 |
+
/* Section spacing */
|
| 26 |
+
section {
|
| 27 |
+
scroll-margin-top: 100px;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
/* Form input styling */
|
| 31 |
+
input::placeholder {
|
| 32 |
+
color: #a1a1aa;
|
| 33 |
+
opacity: 1;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
/* Custom shadow for cards */
|
| 37 |
+
.custom-shadow {
|
| 38 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 39 |
+
}
|