22 - python & all web labs
This commit is contained in:
137
labWeb/lab8/news.html
Normal file
137
labWeb/lab8/news.html
Normal file
@@ -0,0 +1,137 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>ТурНиша - Акции и Новости</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script src="https://unpkg.com/lucide@latest"></script>
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
</head>
|
||||
<body class="bg-gray-50 font-sans">
|
||||
|
||||
<header class="bg-white shadow-md sticky top-0 z-50">
|
||||
<div class="container mx-auto px-4">
|
||||
<div class="flex justify-between items-center h-16">
|
||||
<a href="index.html" class="text-2xl font-bold text-emerald-600 flex items-center gap-2">
|
||||
<i data-lucide="compass"></i>
|
||||
ТурНиша
|
||||
</a>
|
||||
|
||||
<nav class="hidden md:flex space-x-8">
|
||||
<a href="index.html" class="text-gray-700 hover:text-emerald-600 transition">Главная</a>
|
||||
<a href="products.html" class="text-gray-700 hover:text-emerald-600 transition">Туры</a>
|
||||
<a href="news.html" class="text-emerald-600 font-semibold border-b-2 border-emerald-600">Акции</a>
|
||||
<a href="order.html" class="text-gray-700 hover:text-emerald-600 transition">Заказать</a>
|
||||
<a href="contacts.html" class="text-gray-700 hover:text-emerald-600 transition">Контакты</a>
|
||||
</nav>
|
||||
|
||||
<button id="burger-btn" class="md:hidden p-2 text-gray-700 hover:text-emerald-600 focus:outline-none focus:ring-2 focus:ring-emerald-500 rounded-lg" aria-label="Открыть меню" aria-expanded="false">
|
||||
<i data-lucide="menu" class="w-6 h-6"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="mobile-menu" class="hidden md:hidden bg-white border-t">
|
||||
<div class="px-4 py-2 space-y-2">
|
||||
<a href="index.html" class="block py-2 text-gray-700">Главная</a>
|
||||
<a href="products.html" class="block py-2 text-gray-700">Туры</a>
|
||||
<a href="news.html" class="block py-2 text-emerald-600 font-semibold">Акции</a>
|
||||
<a href="order.html" class="block py-2 text-gray-700">Заказать</a>
|
||||
<a href="contacts.html" class="block py-2 text-gray-700">Контакты</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<main class="container mx-auto px-4 py-12">
|
||||
<h1 class="text-3xl md:text-4xl font-bold mb-4 text-gray-800">Акции и новости</h1>
|
||||
<p class="text-gray-600 mb-8">Специальные предложения и последние новости компании</p>
|
||||
|
||||
|
||||
<div class="news-grid">
|
||||
|
||||
<div class="news-card-large">
|
||||
<img src="http://static.photos/red/1200x630/50" alt="Распродажа">
|
||||
<div class="p-6">
|
||||
<span class="bg-red-500 text-white px-3 py-1 rounded-full text-sm font-semibold mb-3 inline-block">Горячая распродажа</span>
|
||||
<h2 class="text-2xl font-bold mb-3">Летняя распродажа до -50%!</h2>
|
||||
<p class="text-gray-600 mb-4">Успейте забронировать туры на июль и август со скидкой до 50%. Предложение ограничено!</p>
|
||||
<p class="text-sm text-gray-400 mb-4">До конца акции осталось: 3 дня</p>
|
||||
<a href="products.html" class="inline-block bg-red-500 text-white px-6 py-2 rounded-lg hover:bg-red-600 transition">
|
||||
Смотреть туры
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="news-card">
|
||||
<img src="http://static.photos/sea/640x360/55" alt="Крым" class="w-full h-48 object-cover">
|
||||
<div class="p-5">
|
||||
<span class="text-emerald-600 text-sm font-semibold">Акция</span>
|
||||
<h3 class="text-xl font-bold mb-2 mt-1">Крым: 2 по цене 1</h3>
|
||||
<p class="text-gray-600 text-sm mb-3">При покупке тура в Крым, второй тур для спутника бесплатно!</p>
|
||||
<span class="text-gray-400 text-xs">15 января 2024</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="news-card">
|
||||
<img src="http://static.photos/mountain/640x360/60" alt="Шерегеш" class="w-full h-48 object-cover">
|
||||
<div class="p-5">
|
||||
<span class="text-blue-600 text-sm font-semibold">Новость</span>
|
||||
<h3 class="text-xl font-bold mb-2 mt-1">Открытие сезона в Шерегеше</h3>
|
||||
<p class="text-gray-600 text-sm mb-3">Начинаем бронирование зимнего сезона 2024. Раннее бронирование -20%.</p>
|
||||
<span class="text-gray-400 text-xs">10 января 2024</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="news-card">
|
||||
<img src="http://static.photos/technology/640x360/65" alt="Приложение" class="w-full h-48 object-cover">
|
||||
<div class="p-5">
|
||||
<span class="text-purple-600 text-sm font-semibold">Обновление</span>
|
||||
<h3 class="text-xl font-bold mb-2 mt-1">Новое мобильное приложение</h3>
|
||||
<p class="text-gray-600 text-sm mb-3">Скачайте наше приложение и получите скидку 10% на первое бронирование.</p>
|
||||
<span class="text-gray-400 text-xs">5 января 2024</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="news-card">
|
||||
<img src="http://static.photos/event/640x360/70" alt="Конкурс" class="w-full h-48 object-cover">
|
||||
<div class="p-5">
|
||||
<span class="text-orange-600 text-sm font-semibold">Конкурс</span>
|
||||
<h3 class="text-xl font-bold mb-2 mt-1">Выиграйте бесплатный тур</h3>
|
||||
<p class="text-gray-600 text-sm mb-3">Поделитесь фото из прошлого путешествия с хэштегом #ТурНиша и выиграйте тур.</p>
|
||||
<span class="text-gray-400 text-xs">1 января 2024</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mt-12 bg-emerald-600 rounded-2xl p-8 text-center text-white">
|
||||
<h2 class="text-2xl font-bold mb-4">Подпишитесь на рассылку</h2>
|
||||
<p class="mb-6">Получайте первыми информацию о новых акциях и скидках</p>
|
||||
<form class="flex flex-col sm:flex-row gap-4 max-w-md mx-auto">
|
||||
<input type="email" placeholder="Ваш email" class="flex-1 px-4 py-3 rounded-lg text-gray-800 focus:outline-none">
|
||||
<button type="submit" class="bg-gray-800 px-6 py-3 rounded-lg hover:bg-gray-900 transition">
|
||||
Подписаться
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
<footer class="bg-gray-800 text-white py-8 mt-16">
|
||||
<div class="container mx-auto px-4 text-center">
|
||||
<p class="text-gray-400">© 2024 ТурНиша. Все права защищены.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="js/script.js"></script>
|
||||
<script>
|
||||
lucide.createIcons();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user