22 - python & all web labs

This commit is contained in:
2026-05-02 20:27:02 +05:00
parent ef77f101fa
commit 19af922baf
5781 changed files with 770492 additions and 96 deletions

151
labWeb/lab8/index.html Normal file
View File

@@ -0,0 +1,151 @@
<!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="../vendor/tailwind.css">
<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-emerald-600 font-semibold border-b-2 border-emerald-600">Главная</a>
<a href="products.html" class="text-gray-700 hover:text-emerald-600 transition">Туры</a>
<a href="news.html" class="text-gray-700 hover:text-emerald-600 transition">Акции</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-emerald-600 font-semibold">Главная</a>
<a href="products.html" class="block py-2 text-gray-700">Туры</a>
<a href="news.html" class="block py-2 text-gray-700">Акции</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>
<section class="relative bg-emerald-600 text-white py-20">
<div class="container mx-auto px-4 text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-4">Откройте мир с ТурНиша</h1>
<p class="text-xl mb-8 max-w-2xl mx-auto">Лучшие туры по доступным ценам. Горы, море, экскурсии и приключения ждут вас!</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<a href="products.html" class="bg-white text-emerald-600 px-8 py-3 rounded-full font-semibold hover:bg-gray-100 transition">
Выбрать тур
</a>
<a href="news.html" class="bg-emerald-700 text-white px-8 py-3 rounded-full font-semibold hover:bg-emerald-800 transition">
Акции до -50%
</a>
</div>
</div>
</section>
<section class="py-16 container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Популярные направления</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-2xl transition duration-300">
<img src="http://static.photos/nature/640x360/1" alt="Альпы" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold mb-2">Альпийские горы</h3>
<p class="text-gray-600 mb-4">7 дней в Швейцарии. Включено проживание и питание.</p>
<div class="flex justify-between items-center">
<span class="text-2xl font-bold text-emerald-600">45 000 ₽</span>
<a href="order.html" class="bg-emerald-600 text-white px-4 py-2 rounded-lg hover:bg-emerald-700 transition">
Заказать
</a>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-2xl transition duration-300">
<img src="http://static.photos/sea/640x360/2" alt="Чёрное море" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold mb-2">Чёрное море</h3>
<p class="text-gray-600 mb-4">10 дней в Сочи. Все включено, пляжный отдых.</p>
<div class="flex justify-between items-center">
<span class="text-2xl font-bold text-emerald-600">32 000 ₽</span>
<a href="order.html" class="bg-emerald-600 text-white px-4 py-2 rounded-lg hover:bg-emerald-700 transition">
Заказать
</a>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-2xl transition duration-300">
<img src="http://static.photos/cityscape/640x360/3" alt="Европа" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold mb-2">Европейские столицы</h3>
<p class="text-gray-600 mb-4">Экскурсионный тур: Париж, Берлин, Прага. 12 дней.</p>
<div class="flex justify-between items-center">
<span class="text-2xl font-bold text-emerald-600">68 000 ₽</span>
<a href="order.html" class="bg-emerald-600 text-white px-4 py-2 rounded-lg hover:bg-emerald-700 transition">
Заказать
</a>
</div>
</div>
</div>
</div>
<div class="text-center mt-12">
<a href="products.html" class="inline-block border-2 border-emerald-600 text-emerald-600 px-8 py-3 rounded-full font-semibold hover:bg-emerald-600 hover:text-white transition">
Все туры
</a>
</div>
</section>
<footer class="bg-gray-800 text-white py-8 mt-16">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 text-center md:text-left">
<div>
<h4 class="text-xl font-bold mb-4 flex items-center justify-center md:justify-start gap-2">
<i data-lucide="compass" class="w-5 h-5"></i>
ТурНиша
</h4>
<p class="text-gray-400">Ваш проводник в мир путешествий с 2015 года.</p>
</div>
<div>
<h4 class="font-semibold mb-4">Быстрые ссылки</h4>
<div class="space-y-2">
<a href="products.html" class="block text-gray-400 hover:text-white">Каталог</a>
<a href="news.html" class="block text-gray-400 hover:text-white">Акции</a>
<a href="contacts.html" class="block text-gray-400 hover:text-white">Контакты</a>
</div>
</div>
<div>
<h4 class="font-semibold mb-4">Контакты</h4>
<p class="text-gray-400">тел: 8 (800) 555-35-35</p>
<p class="text-gray-400">email: info@turnisha.ru</p>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2024 ТурНиша. Все права защищены.</p>
</div>
</div>
</footer>
<script src="js/script.js"></script>
<script>
lucide.createIcons();
</script>
<script src="https://deepsite.hf.co/deepsite-badge.js"></script>
</body>
</html>