test / catalog.html
jevniak's picture
добавь страницы
a162457 verified
<!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>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.transition-slow {
transition: all 0.5s ease;
}
.filter-section {
scrollbar-width: thin;
scrollbar-color: #3B82F6 #E5E7EB;
}
.filter-section::-webkit-scrollbar {
width: 6px;
}
.filter-section::-webkit-scrollbar-track {
background: #E5E7EB;
}
.filter-section::-webkit-scrollbar-thumb {
background-color: #3B82F6;
border-radius: 3px;
}
</style>
</head>
<body class="font-sans bg-gray-50">
<!-- Header -->
<header class="bg-white shadow-md">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="home" class="text-blue-600"></i>
<a href="index.html" class="text-2xl font-bold text-blue-600">БелПостель</a>
</div>
<nav class="hidden md:flex space-x-8">
<a href="index.html" class="text-gray-700 hover:text-blue-600 transition-slow">Главная</a>
<a href="catalog.html" class="text-blue-600 font-semibold">Каталог</a>
<a href="about.html" class="text-gray-700 hover:text-blue-600 transition-slow">О нас</a>
<a href="contact.html" class="text-gray-700 hover:text-blue-600 transition-slow">Контакты</a>
</nav>
<div class="flex items-center space-x-4">
<a href="cart.html" class="relative">
<i data-feather="shopping-cart" class="text-gray-700 hover:text-blue-600"></i>
<span class="absolute -top-2 -right-2 bg-blue-600 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">0</span>
</a>
<a href="login.html" class="hidden md:block bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700 transition-slow">Войти</a>
<button class="md:hidden" id="mobile-menu-button">
<i data-feather="menu" class="text-gray-700"></i>
</button>
</div>
</div>
<!-- Mobile menu -->
<div class="md:hidden hidden bg-white py-2 px-4 shadow-md" id="mobile-menu">
<a href="index.html" class="block py-2 text-gray-700 hover:text-blue-600">Главная</a>
<a href="catalog.html" class="block py-2 text-blue-600 font-semibold">Каталог</a>
<a href="about.html" class="block py-2 text-gray-700 hover:text-blue-600">О нас</a>
<a href="contact.html" class="block py-2 text-gray-700 hover:text-blue-600">Контакты</a>
<a href="login.html" class="block py-2 text-gray-700 hover:text-blue-600">Войти</a>
</div>
</header>
<!-- Breadcrumbs -->
<div class="bg-gray-100 py-3">
<div class="container mx-auto px-4">
<nav class="flex" aria-label="Breadcrumb">
<ol class="inline-flex items-center space-x-1 md:space-x-3">
<li class="inline-flex items-center">
<a href="index.html" class="inline-flex items-center text-sm font-medium text-gray-700 hover:text-blue-600">
<i data-feather="home" class="w-4 h-4 mr-2"></i>
Главная
</a>
</li>
<li aria-current="page">
<div class="flex items-center">
<i data-feather="chevron-right" class="w-4 h-4 text-gray-400"></i>
<span class="ml-1 text-sm font-medium text-gray-500 md:ml-2">Каталог</span>
</div>
</li>
</ol>
</nav>
</div>
</div>
<!-- Catalog Content -->
<main class="py-8">
<div class="container mx-auto px-4">
<h1 class="text-3xl font-bold mb-8">Каталог постельного белья</h1>
<div class="flex flex-col md:flex-row gap-8">
<!-- Filters -->
<aside class="md:w-1/4">
<div class="bg-white p-6 rounded-lg shadow-md sticky top-4">
<h2 class="text-xl font-semibold mb-4 flex items-center">
<i data-feather="filter" class="w-5 h-5 mr-2"></i>
Фильтры
</h2>
<!-- Price Filter -->
<div class="mb-6">
<h3 class="font-medium mb-3">Цена, руб</h3>
<div class="flex items-center justify-between mb-2">
<span class="text-sm text-gray-600">от 50</span>
<span class="text-sm text-gray-600">до 200</span>
</div>
<input type="range" min="50" max="200" value="50" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer">
<div class="flex justify-between mt-4">
<input type="number" min="50" max="200" value="50" class="w-20 p-2 border border-gray-300 rounded text-sm">
<input type="number" min="50" max="200" value="200" class="w-20 p-2 border border-gray-300 rounded text-sm">
</div>
</div>
<!-- Size Filter -->
<div class="mb-6">
<h3 class="font-medium mb-3">Размер</h3>
<div class="space-y-2">
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-600">
<span class="ml-2 text-gray-700">1.5 спальный</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-600" checked>
<span class="ml-2 text-gray-700">2 спальный</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-600">
<span class="ml-2 text-gray-700">Евро</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-600">
<span class="ml-2 text-gray-700">Семейный</span>
</label>
</div>
</div>
<!-- Color Filter -->
<div class="mb-6">
<h3 class="font-medium mb-3">Цвет</h3>
<div class="flex flex-wrap gap-2">
<button class="w-6 h-6 rounded-full bg-red-500 border-2 border-white shadow"></button>
<button class="w-6 h-6 rounded-full bg-blue-500 border-2 border-white shadow"></button>
<button class="w-6 h-6 rounded-full bg-green-500 border-2 border-white shadow"></button>
<button class="w-6 h-6 rounded-full bg-yellow-500 border-2 border-white shadow"></button>
<button class="w-6 h-6 rounded-full bg-purple-500 border-2 border-white shadow"></button>
<button class="w-6 h-6 rounded-full bg-pink-500 border-2 border-white shadow"></button>
<button class="w-6 h-6 rounded-full bg-white border-2 border-gray-300 shadow"></button>
<button class="w-6 h-6 rounded-full bg-gray-800 border-2 border-white shadow"></button>
</div>
</div>
<!-- Collection Filter -->
<div class="mb-6">
<h3 class="font-medium mb-3">Коллекция</h3>
<div class="space-y-2">
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-600">
<span class="ml-2 text-gray-700">Традиционная</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-600" checked>
<span class="ml-2 text-gray-700">Современная</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-600">
<span class="ml-2 text-gray-700">Детская</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-blue-600">
<span class="ml-2 text-gray-700">Премиум</span>
</label>
</div>
</div>
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded transition-slow">
Применить фильтры
</button>
<button class="w-full mt-2 text-blue-600 hover:text-blue-800 py-2 px-4 rounded transition-slow">
Сбросить все
</button>
</div>
</aside>
<!-- Products -->
<div class="md:w-3/4">
<!-- Sorting -->
<div class="bg-white p-4 rounded-lg shadow-md mb-6 flex flex-col sm:flex-row justify-between items-center">
<div class="mb-3 sm:mb-0">
<span class="text-gray-600">Найдено: 24 товара</span>
</div>
<div class="flex items-center">
<span class="text-gray-600 mr-2">Сортировать:</span>
<select class="border border-gray-300 rounded p-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500">
<option>По популярности</option>
<option>По возрастанию цены</option>
<option>По убыванию цены</option>
<option>По новизне</option>
<option>По рейтингу</option>
</select>
</div>
</div>
<!-- Product Grid -->
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Product 1 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md product-card transition-slow" data-aos="zoom-in">
<div class="relative">
<a href="product.html">
<img src="http://static.photos/textiles/640x360/5" alt="Постельное бельё" class="w-full h-48 object-cover">
</a>
<div class="absolute top-2 right-2">
<button class="bg-white p-2 rounded-full shadow-md hover:bg-gray-100">
<i data-feather="heart" class="w-4 h-4 text-gray-600"></i>
</button>
</div>
</div>
<div class="p-4">
<a href="product.html" class="block">
<h3 class="font-semibold text-lg mb-2 hover:text-blue-600">Комплект "Белорусские мотивы"</h3>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
<span class="text-gray-500 text-sm ml-2">(12)</span>
</div>
<div class="flex justify-between items-center">
<span class="text-gray-800 font-bold">79.90 руб</span>
<button class="bg-blue-600 text-white p-2 rounded-full hover:bg-blue-700">
<i data-feather="shopping-cart" class="w-4 h-4"></i>
</button>
</div>
</a>
</div>
</div>
<!-- Product 2 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md product-card transition-slow" data-aos="zoom-in" data-aos-delay="100">
<div class="relative">
<a href="product.html">
<img src="http://static.photos/textiles/640x360/6" alt="Постельное бельё" class="w-full h-48 object-cover">
</a>
<div class="absolute top-2 right-2">
<button class="bg-white p-2 rounded-full shadow-md hover:bg-gray-100">
<i data-feather="heart" class="w-4 h-4 text-gray-600"></i>
</button>
</div>
</div>
<div class="p-4">
<a href="product.html" class="block">
<h3 class="font-semibold text-lg mb-2 hover:text-blue-600">Комплект "Полесские узоры"</h3>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
<span class="text-gray-500 text-sm ml-2">(8)</span>
</div>
<div class="flex justify-between items-center">
<span class="text-gray-800 font-bold">89.90 руб</span>
<button class="bg-blue-600 text-white p-2 rounded-full hover:bg-blue-700">
<i data-feather="shopping-cart" class="w-4 h-4"></i>
</button>
</div>
</a>
</div>
</div>
<!-- Product 3 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md product-card transition-slow" data-aos="zoom-in" data-aos-delay="200">
<div class="relative">
<a href="product.html">
<img src="http://static.photos/textiles/640x360/7" alt="Постельное бельё" class="w-full h-48 object-cover">
</a>
<div class="absolute top-2 right-2">
<button class="bg-white p-2 rounded-full shadow-md hover:bg-gray-100">
<i data-feather="heart" class="w-4 h-4 text-gray-600"></i>
</button>
</div>
</div>
<div class="p-4">
<a href="product.html" class="block">
<h3 class="font-semibold text-lg mb-2 hover:text-blue-600">Комплект "Налибокские сны"</h3>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
<span class="text-gray-500 text-sm ml-2">(15)</span>
</div>
<div class="flex justify-between items-center">
<span class="text-gray-800 font-bold">99.90 руб</span>
<button class="bg-blue-600 text-white p-2 rounded-full hover:bg-blue-700">
<i data-feather="shopping-cart" class="w-4 h-4"></i>
</button>
</div>
</a>
</div>
</div>
<!-- Product 4 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md product-card transition-slow" data-aos="zoom-in">
<div class="relative">
<a href="product.html">
<img src="http://static.photos/textiles/640x360/8" alt="Постельное бельё" class="w-full h-48 object-cover">
</a>
<div class="absolute top-2 right-2">
<button class="bg-white p-2 rounded-full shadow-md hover:bg-gray-100">
<i data-feather="heart" class="w-4 h-4 text-gray-600"></i>
</button>
</div>
</div>
<div class="p-4">
<a href="product.html" class="block">
<h3 class="font-semibold text-lg mb-2 hover:text-blue-600">Комплект "Березинские просторы"</h3>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
<span class="text-gray-500 text-sm ml-2">(7)</span>
</div>
<div class="flex justify-between items-center">
<span class="text-gray-800 font-bold">109.90 руб</span>
<button class="bg-blue-600 text-white p-2 rounded-full hover:bg-blue-700">
<i data-feather="shopping-cart" class="w-4 h-4"></i>
</button>
</div>
</a>
</div>
</div>
<!-- Product 5 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md product-card transition-slow" data-aos="zoom-in" data-aos-delay="100">
<div class="relative">
<a href="product.html">
<img src="http://static.photos/textiles/640x360/9" alt="Постельное бельё" class="w-full h-48 object-cover">
</a>
<div class="absolute top-2 right-2">
<button class="bg-white p-2 rounded-full shadow-md hover:bg-gray-100">
<i data-feather="heart" class="w-4 h-4 text-gray-600"></i>
</button>
</div>
</div>
<div class="p-4">
<a href="product.html" class="block">
<h3 class="font-semibold text-lg mb-2 hover:text-blue-600">Комплект "Гомельские вечера"</h3>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
<span class="text-gray-500 text-sm ml-2">(10)</span>
</div>
<div class="flex justify-between items-center">
<span class="text-gray-800 font-bold">119.90 руб</span>
<button class="bg-blue-600 text-white p-2 rounded-full hover:bg-blue-700">
<i data-feather="shopping-cart" class="w-4 h-4"></i>
</button>
</div>
</a>
</div>
</div>
<!-- Product 6 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md product-card transition-slow" data-aos="zoom-in" data-aos-delay="200">
<div class="relative">
<a href="product.html">
<img src="http://static.photos/textiles/640x360/10" alt="Постельное бельё" class="w-full h-48 object-cover">
</a>
<div class="absolute top-2 right-2">
<button class="bg-white p-2 rounded-full shadow-md hover:bg-gray-100">
<i data-feather="heart" class="w-4 h-4 text-gray-600"></i>
</button>
</div>
</div>
<div class="p-4">
<a href="product.html" class="block">
<h3 class="font-semibold text-lg mb-2 hover:text-blue-600">Комплект "Могилёвские рассветы"</h3>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
<span class="text-gray-500 text-sm ml-2">(5)</span>
</div>
<div class="flex justify-between items-center">
<span class="text-gray-800 font-bold">129.90 руб</span>
<button class="bg-blue-600 text-white p-2 rounded-full hover:bg-blue-700">
<i data-feather="shopping-cart" class="w-4 h-4"></i>
</button>
</div>
</a>
</div>
</div>
</div>
<!-- Pagination -->
<div class="mt-8 flex justify-center">
<nav class="inline-flex rounded-md shadow">
<a href="#" class="px-3 py-2 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-50">
<i data-feather="chevron-left" class="w-4 h-4"></i>
</a>
<a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-blue-600 font-medium">1</a>
<a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-gray-500 hover:bg-gray-50">2</a>
<a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-gray-500 hover:bg-gray-50">3</a>
<a href="#" class="px-4 py-2 border border-gray-300 bg-white text-gray-500 hover:bg-gray-50 rounded-r-md">
<i data-feather="chevron-right" class="w-4 h-4"></i>
</a>
</nav>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">БелПостель</h3>
<p class="text-gray-400">Качественное белорусское постельное бельё с 1995 года.</p>
<div class="flex space-x-4 mt-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="youtube"></i></a>
</div>
</div>
<div>
<h4 class="font-semibold mb-4">Меню</h4>
<ul class="space-y-2">
<li><a href="index.html" class="text-gray-400 hover:text-white">Главная</a></li>
<li><a href="catalog.html" class="text-gray-400 hover:text-white">Каталог</a></li>
<li><a href="about.html" class="text-gray-400 hover:text-white">О нас</a></li>
<li><a href="contact.html" class="text-gray-400 hover:text-white">Контакты</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Помощь</h4>
<ul class="space-y-2">
<li><a href="delivery.html" class="text-gray-400 hover:text-white">Доставка и оплата</a></li>
<li><a href="return.html" class="text-gray-400 hover:text-white">Возврат и обмен</a></li>
<li><a href="faq.html" class="text-gray-400 hover:text-white">FAQ</a></li>
<li><a href="size.html" class="text-gray-400 hover:text-white">Таблица размеров</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Контакты</h4>
<ul class="space-y-2">
<li class="flex items-center"><i data-feather="phone" class="mr-2 w-4 h-4"></i> +375 (29) 123-45-67</li>
<li class="flex items-center"><i data-feather="mail" class="mr-2 w-4 h-4"></i> info@belpostel.by</li>
<li class="flex items-center"><i data-feather="map-pin" class="mr-2 w-4 h-4"></i> г. Минск, ул. Ткацкая, 15</li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>© 2023 БелПостель. Все права защищены.</p>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
document.getElementById('mobile-menu-button').addEventListener('click', function() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('hidden');
});
// Initialize AOS and Feather Icons
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
feather.replace();
</script>
</body>
</html>