Spaces:
Running
Running
делай дизайн более сжатым и боле насыщенным
Browse files- README.md +9 -5
- index.html +288 -18
README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: YouthPulse Hub ⚡
|
| 3 |
+
colorFrom: green
|
| 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://deepsite.hf.co).
|
| 14 |
+
|
index.html
CHANGED
|
@@ -1,19 +1,289 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 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>Молодёжный Инфо Хаб</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
|
| 12 |
+
<style>
|
| 13 |
+
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');
|
| 14 |
+
body {
|
| 15 |
+
font-family: 'Rubik', sans-serif;
|
| 16 |
+
line-height: 1.4;
|
| 17 |
+
}
|
| 18 |
+
.gradient-bg {
|
| 19 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 20 |
+
}
|
| 21 |
+
.card-hover {
|
| 22 |
+
transition: all 0.2s ease;
|
| 23 |
+
}
|
| 24 |
+
.card-hover:hover {
|
| 25 |
+
transform: translateY(-3px);
|
| 26 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
| 27 |
+
}
|
| 28 |
+
.news-card {
|
| 29 |
+
height: 100%;
|
| 30 |
+
display: flex;
|
| 31 |
+
flex-direction: column;
|
| 32 |
+
}
|
| 33 |
+
.news-content {
|
| 34 |
+
flex-grow: 1;
|
| 35 |
+
padding: 1rem;
|
| 36 |
+
}
|
| 37 |
+
.compact-section {
|
| 38 |
+
margin-bottom: 2rem;
|
| 39 |
+
}
|
| 40 |
+
.compact-card {
|
| 41 |
+
padding: 1.25rem;
|
| 42 |
+
}
|
| 43 |
+
.dense-grid {
|
| 44 |
+
gap: 1rem;
|
| 45 |
+
}
|
| 46 |
+
</style>
|
| 47 |
+
</head>
|
| 48 |
+
<body class="bg-gray-100">
|
| 49 |
+
<div id="vanta-bg" class="fixed inset-0 z-0"></div>
|
| 50 |
+
|
| 51 |
+
<div class="relative z-10 min-h-screen">
|
| 52 |
+
<!-- Header -->
|
| 53 |
+
<header class="gradient-bg text-white shadow-lg">
|
| 54 |
+
<div class="container mx-auto px-4 py-4">
|
| 55 |
+
<div class="flex justify-between items-center">
|
| 56 |
+
<div class="flex items-center space-x-2">
|
| 57 |
+
<i data-feather="zap" class="w-6 h-6"></i>
|
| 58 |
+
<h1 class="text-xl font-bold">YouthPulse Hub</h1>
|
| 59 |
+
</div>
|
| 60 |
+
<button class="bg-white text-purple-700 px-3 py-1.5 rounded-full text-sm font-medium hover:bg-purple-100 transition">
|
| 61 |
+
<i data-feather="user" class="inline mr-1 w-4 h-4"></i> Войти
|
| 62 |
+
</button>
|
| 63 |
+
</div>
|
| 64 |
+
</div>
|
| 65 |
+
</header>
|
| 66 |
+
|
| 67 |
+
<!-- Main Content -->
|
| 68 |
+
<main class="container mx-auto px-4 py-6">
|
| 69 |
+
<!-- Weather Section -->
|
| 70 |
+
<section class="compact-section">
|
| 71 |
+
<div class="flex items-center mb-4">
|
| 72 |
+
<i data-feather="cloud" class="w-5 h-5 mr-2 text-purple-600"></i>
|
| 73 |
+
<h2 class="text-xl font-bold text-gray-800">Погода</h2>
|
| 74 |
+
</div>
|
| 75 |
+
<div class="grid grid-cols-1 md:grid-cols-3 dense-grid">
|
| 76 |
+
<div class="bg-white rounded-lg shadow-sm compact-card card-hover">
|
| 77 |
+
<div class="flex items-center mb-3">
|
| 78 |
+
<i data-feather="map-pin" class="w-4 h-4 mr-1.5 text-purple-600"></i>
|
| 79 |
+
<h3 class="font-medium">Москва</h3>
|
| 80 |
+
</div>
|
| 81 |
+
<div class="flex items-center justify-between">
|
| 82 |
+
<div class="flex items-center">
|
| 83 |
+
<i data-feather="sun" class="w-8 h-8 text-yellow-400 mr-3"></i>
|
| 84 |
+
<div>
|
| 85 |
+
<p class="text-2xl font-bold">+24°C</p>
|
| 86 |
+
<p class="text-sm text-gray-500">Солнечно</p>
|
| 87 |
+
</div>
|
| 88 |
+
</div>
|
| 89 |
+
<div class="text-right text-sm">
|
| 90 |
+
<p class="text-gray-600">Ветер: 5 м/с</p>
|
| 91 |
+
<p class="text-gray-600">Влажность: 45%</p>
|
| 92 |
+
</div>
|
| 93 |
+
</div>
|
| 94 |
+
</div>
|
| 95 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover">
|
| 96 |
+
<div class="flex items-center mb-4">
|
| 97 |
+
<i data-feather="map-pin" class="w-5 h-5 mr-2 text-purple-600"></i>
|
| 98 |
+
<h3 class="font-medium text-lg">Санкт-Петербург</h3>
|
| 99 |
+
</div>
|
| 100 |
+
<div class="flex items-center justify-between">
|
| 101 |
+
<div class="flex items-center">
|
| 102 |
+
<i data-feather="cloud" class="w-12 h-12 text-gray-400 mr-4"></i>
|
| 103 |
+
<div>
|
| 104 |
+
<p class="text-3xl font-bold">+18°C</p>
|
| 105 |
+
<p class="text-gray-500">Облачно</p>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="text-right">
|
| 109 |
+
<p class="text-gray-600">Ветер: 3 м/с</p>
|
| 110 |
+
<p class="text-gray-600">Влажность: 60%</p>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
|
| 115 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover">
|
| 116 |
+
<div class="flex items-center mb-4">
|
| 117 |
+
<i data-feather="map-pin" class="w-5 h-5 mr-2 text-purple-600"></i>
|
| 118 |
+
<h3 class="font-medium text-lg">Казань</h3>
|
| 119 |
+
</div>
|
| 120 |
+
<div class="flex items-center justify-between">
|
| 121 |
+
<div class="flex items-center">
|
| 122 |
+
<i data-feather="cloud-rain" class="w-12 h-12 text-blue-400 mr-4"></i>
|
| 123 |
+
<div>
|
| 124 |
+
<p class="text-3xl font-bold">+16°C</p>
|
| 125 |
+
<p class="text-gray-500">Дождь</p>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
<div class="text-right">
|
| 129 |
+
<p class="text-gray-600">Ветер: 7 м/с</p>
|
| 130 |
+
<p class="text-gray-600">Влажность: 85%</p>
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
</section>
|
| 136 |
+
<!-- Currency Section -->
|
| 137 |
+
<section class="compact-section">
|
| 138 |
+
<div class="flex items-center mb-4">
|
| 139 |
+
<i data-feather="dollar-sign" class="w-5 h-5 mr-2 text-purple-600"></i>
|
| 140 |
+
<h2 class="text-xl font-bold text-gray-800">Курс валют</h2>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="bg-white rounded-lg shadow-sm overflow-hidden">
|
| 143 |
+
<div class="grid grid-cols-3 bg-purple-100 text-purple-800 text-sm font-medium p-3">
|
| 144 |
+
<div class="pl-2">Валюта</div>
|
| 145 |
+
<div class="text-center">Покупка</div>
|
| 146 |
+
<div class="text-center">Продажа</div>
|
| 147 |
+
</div>
|
| 148 |
+
<div class="divide-y divide-gray-200 text-sm">
|
| 149 |
+
<div class="grid grid-cols-3 p-3 hover:bg-purple-50 transition">
|
| 150 |
+
<div class="flex items-center">
|
| 151 |
+
<span class="font-medium">USD</span>
|
| 152 |
+
<span class="text-gray-500 ml-2">Доллар США</span>
|
| 153 |
+
</div>
|
| 154 |
+
<div class="text-center font-medium text-green-600">75.20 ₽</div>
|
| 155 |
+
<div class="text-center font-medium text-red-600">76.50 ₽</div>
|
| 156 |
+
</div>
|
| 157 |
+
<div class="grid grid-cols-3 p-4 hover:bg-purple-50 transition">
|
| 158 |
+
<div class="flex items-center">
|
| 159 |
+
<span class="font-medium">EUR</span>
|
| 160 |
+
<span class="text-gray-500 ml-2">Евро</span>
|
| 161 |
+
</div>
|
| 162 |
+
<div class="text-center font-medium text-green-600">85.40 ₽</div>
|
| 163 |
+
<div class="text-center font-medium text-red-600">86.90 ₽</div>
|
| 164 |
+
</div>
|
| 165 |
+
<div class="grid grid-cols-3 p-4 hover:bg-purple-50 transition">
|
| 166 |
+
<div class="flex items-center">
|
| 167 |
+
<span class="font-medium">GBP</span>
|
| 168 |
+
<span class="text-gray-500 ml-2">Фунт стерлингов</span>
|
| 169 |
+
</div>
|
| 170 |
+
<div class="text-center font-medium text-green-600">98.30 ₽</div>
|
| 171 |
+
<div class="text-center font-medium text-red-600">100.10 ₽</div>
|
| 172 |
+
</div>
|
| 173 |
+
<div class="grid grid-cols-3 p-4 hover:bg-purple-50 transition">
|
| 174 |
+
<div class="flex items-center">
|
| 175 |
+
<span class="font-medium">CNY</span>
|
| 176 |
+
<span class="text-gray-500 ml-2">Китайский юань</span>
|
| 177 |
+
</div>
|
| 178 |
+
<div class="text-center font-medium text-green-600">11.20 ₽</div>
|
| 179 |
+
<div class="text-center font-medium text-red-600">11.80 ₽</div>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
</section>
|
| 184 |
+
<!-- News Section -->
|
| 185 |
+
<section class="compact-section">
|
| 186 |
+
<div class="flex items-center mb-4">
|
| 187 |
+
<i data-feather="book-open" class="w-5 h-5 mr-2 text-purple-600"></i>
|
| 188 |
+
<h2 class="text-xl font-bold text-gray-800">Новости</h2>
|
| 189 |
+
</div>
|
| 190 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 dense-grid">
|
| 191 |
+
<div class="bg-white rounded-lg shadow-sm overflow-hidden news-card card-hover">
|
| 192 |
+
<img src="http://static.photos/technology/640x360/1" alt="Новость" class="w-full h-40 object-cover">
|
| 193 |
+
<div class="news-content">
|
| 194 |
+
<h3 class="font-bold text-lg mb-2">Технологии в образовании</h3>
|
| 195 |
+
<p class="text-gray-600 text-sm mb-3">ИИ меняет подход к обучению в вузах.</p>
|
| 196 |
+
<div class="flex justify-between items-center text-xs text-gray-500">
|
| 197 |
+
<span>2 ч назад</span>
|
| 198 |
+
<a href="#" class="text-purple-600 hover:underline">Читать →</a>
|
| 199 |
+
</div>
|
| 200 |
+
</div>
|
| 201 |
+
</div>
|
| 202 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden news-card card-hover">
|
| 203 |
+
<img src="http://static.photos/travel/640x360/2" alt="Новость" class="w-full h-48 object-cover">
|
| 204 |
+
<div class="p-6 news-content">
|
| 205 |
+
<h3 class="font-bold text-xl mb-2">Лучшие места для путешествий</h3>
|
| 206 |
+
<p class="text-gray-600 mb-4">Топ-10 направлений для молодёжного отдыха этим летом по версии экспертов.</p>
|
| 207 |
+
<div class="flex justify-between items-center text-sm text-gray-500">
|
| 208 |
+
<span>5 часов назад</span>
|
| 209 |
+
<a href="#" class="text-purple-600 hover:underline">Читать →</a>
|
| 210 |
+
</div>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
|
| 214 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden news-card card-hover">
|
| 215 |
+
<img src="http://static.photos/sport/640x360/3" alt="Новость" class="w-full h-48 object-cover">
|
| 216 |
+
<div class="p-6 news-content">
|
| 217 |
+
<h3 class="font-bold text-xl mb-2">Спортивные достижения</h3>
|
| 218 |
+
<p class="text-gray-600 mb-4">Российские атлеты завоевали 5 золотых медалей на международных соревнованиях.</p>
|
| 219 |
+
<div class="flex justify-between items-center text-sm text-gray-500">
|
| 220 |
+
<span>Вчера</span>
|
| 221 |
+
<a href="#" class="text-purple-600 hover:underline">Читать →</a>
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
</div>
|
| 226 |
+
<div class="mt-4 text-center">
|
| 227 |
+
<button class="bg-purple-600 text-white px-4 py-2 rounded-full text-sm font-medium hover:bg-purple-700 transition">
|
| 228 |
+
Ещё новости
|
| 229 |
+
</button>
|
| 230 |
+
</div>
|
| 231 |
+
</section>
|
| 232 |
+
</main>
|
| 233 |
+
|
| 234 |
+
<!-- Footer -->
|
| 235 |
+
<footer class="gradient-bg text-white py-6 mt-8">
|
| 236 |
+
<div class="container mx-auto px-4">
|
| 237 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 238 |
+
<div class="mb-3 md:mb-0">
|
| 239 |
+
<div class="flex items-center space-x-2">
|
| 240 |
+
<i data-feather="zap" class="w-5 h-5"></i>
|
| 241 |
+
<span class="text-lg font-bold">YouthPulse Hub</span>
|
| 242 |
+
</div>
|
| 243 |
+
<p class="mt-1 text-purple-200 text-sm">Вся информация в одном месте</p>
|
| 244 |
+
</div>
|
| 245 |
+
<div class="flex space-x-4">
|
| 246 |
+
<a href="#" class="hover:text-purple-300 transition"><i data-feather="instagram" class="w-4 h-4"></i></a>
|
| 247 |
+
<a href="#" class="hover:text-purple-300 transition"><i data-feather="twitter" class="w-4 h-4"></i></a>
|
| 248 |
+
<a href="#" class="hover:text-purple-300 transition"><i data-feather="facebook" class="w-4 h-4"></i></a>
|
| 249 |
+
<a href="#" class="hover:text-purple-300 transition"><i data-feather="youtube" class="w-4 h-4"></i></a>
|
| 250 |
+
</div>
|
| 251 |
+
</div>
|
| 252 |
+
<div class="border-t border-purple-400 mt-4 pt-4 text-center text-purple-200 text-xs">
|
| 253 |
+
<p>© 2023 YouthPulse Hub. Все права защищены.</p>
|
| 254 |
+
</div>
|
| 255 |
+
</div>
|
| 256 |
+
</footer>
|
| 257 |
+
</div>
|
| 258 |
+
|
| 259 |
+
<script>
|
| 260 |
+
// Vanta.js background
|
| 261 |
+
VANTA.GLOBE({
|
| 262 |
+
el: "#vanta-bg",
|
| 263 |
+
mouseControls: true,
|
| 264 |
+
touchControls: true,
|
| 265 |
+
gyroControls: false,
|
| 266 |
+
minHeight: 200.00,
|
| 267 |
+
minWidth: 200.00,
|
| 268 |
+
scale: 1.00,
|
| 269 |
+
scaleMobile: 1.00,
|
| 270 |
+
color: 0x764ba2,
|
| 271 |
+
backgroundColor: 0xf8fafc,
|
| 272 |
+
size: 0.8
|
| 273 |
+
});
|
| 274 |
+
|
| 275 |
+
// Feather icons
|
| 276 |
+
feather.replace();
|
| 277 |
+
|
| 278 |
+
// Smooth scroll for anchor links
|
| 279 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 280 |
+
anchor.addEventListener('click', function (e) {
|
| 281 |
+
e.preventDefault();
|
| 282 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
| 283 |
+
behavior: 'smooth'
|
| 284 |
+
});
|
| 285 |
+
});
|
| 286 |
+
});
|
| 287 |
+
</script>
|
| 288 |
+
</body>
|
| 289 |
</html>
|