Download index.html from sdfssa232/dfsd: direct link, hf CLI and curl.
- Browser
- Download file 17.2 kB
-
https://huggingface.co/spaces/sdfssa232/dfsd/resolve/main/index.html
- Command line
-
hf download hf://spaces/sdfssa232/dfsd/index.html
-
curl -L -o index.html https://huggingface.co/spaces/sdfssa232/dfsd/resolve/main/index.html
17.2 kB
| <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> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| #map { | |
| height: 500px; | |
| width: 100%; | |
| border-radius: 16px; | |
| box-shadow: 0 4px 12px rgba(0,0,0,0.1); | |
| } | |
| .store-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0,0,0,0.1); | |
| } | |
| .loader { | |
| border-top-color: #e11d48; | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| .search-input:focus { | |
| outline: none; | |
| box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <!-- Шапка --> | |
| <header class="bg-rose-600 text-white shadow-md"> | |
| <div class="container mx-auto px-4 py-3"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-4"> | |
| <div class="text-2xl font-bold"> | |
| <span class="bg-white text-rose-600 px-2 py-1 rounded">5</span> | |
| <span>ерочка</span> | |
| </div> | |
| <nav class="hidden md:flex space-x-6"> | |
| <a href="#" class="hover:text-rose-200 transition">Акции</a> | |
| <a href="#" class="hover:text-rose-200 transition">Каталог</a> | |
| <a href="#" class="hover:text-rose-200 transition">Доставка</a> | |
| <a href="#" class="font-bold underline">Магазины</a> | |
| </nav> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="p-2 rounded-full hover:bg-rose-700 transition"> | |
| <i class="fas fa-search"></i> | |
| </button> | |
| <button class="p-2 rounded-full hover:bg-rose-700 transition"> | |
| <i class="fas fa-user"></i> | |
| </button> | |
| <button class="p-2 rounded-full hover:bg-rose-700 transition relative"> | |
| <i class="fas fa-shopping-cart"></i> | |
| <span class="absolute -top-1 -right-1 bg-white text-rose-600 text-xs font-bold rounded-full h-5 w-5 flex items-center justify-center">3</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Мобильное меню --> | |
| <div class="md:hidden bg-rose-700 text-white px-4 py-2"> | |
| <div class="flex justify-between items-center"> | |
| <button id="mobile-menu-button" class="p-2"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| <div class="text-sm">Карта магазинов</div> | |
| <div class="w-6"></div> <!-- Для выравнивания --> | |
| </div> | |
| <div id="mobile-menu" class="hidden bg-rose-600 mt-2 py-2 px-4 rounded-b-lg"> | |
| <a href="#" class="block py-2 hover:bg-rose-700 px-2 rounded">Акции</a> | |
| <a href="#" class="block py-2 hover:bg-rose-700 px-2 rounded">Каталог</a> | |
| <a href="#" class="block py-2 hover:bg-rose-700 px-2 rounded">Доставка</a> | |
| <a href="#" class="block py-2 hover:bg-rose-700 px-2 rounded font-bold">Магазины</a> | |
| </div> | |
| </div> | |
| <!-- Основное содержимое --> | |
| <main class="container mx-auto px-4 py-6"> | |
| <div class="flex flex-col md:flex-row gap-6"> | |
| <!-- Левая колонка (фильтры и список магазинов) --> | |
| <div class="w-full md:w-1/3 lg:w-1/4 space-y-6"> | |
| <div class="bg-white rounded-xl shadow-md p-4"> | |
| <h2 class="text-xl font-bold text-gray-800 mb-4">Найти магазин</h2> | |
| <div class="relative mb-4"> | |
| <input type="text" placeholder="Город, улица или метро" | |
| class="search-input w-full border border-gray-300 rounded-lg py-2 px-4 pl-10 focus:border-rose-500 transition"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| <div class="space-y-3"> | |
| <div> | |
| <label class="flex items-center space-x-2"> | |
| <input type="checkbox" class="rounded text-rose-600 focus:ring-rose-500"> | |
| <span>Круглосуточные</span> | |
| </label> | |
| </div> | |
| <div> | |
| <label class="flex items-center space-x-2"> | |
| <input type="checkbox" class="rounded text-rose-600 focus:ring-rose-500"> | |
| <span>С кафе</span> | |
| </label> | |
| </div> | |
| <div> | |
| <label class="flex items-center space-x-2"> | |
| <input type="checkbox" class="rounded text-rose-600 focus:ring-rose-500"> | |
| <span>С аптекой</span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md p-4"> | |
| <h3 class="font-bold text-gray-800 mb-3">Ближайшие магазины</h3> | |
| <div class="space-y-4" id="stores-list"> | |
| <!-- Список магазинов будет загружен через JS --> | |
| <div class="flex justify-center py-8"> | |
| <div class="loader h-8 w-8 border-4 border-gray-200 rounded-full"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Правая колонка (карта) --> | |
| <div class="w-full md:w-2/3 lg:w-3/4"> | |
| <div class="bg-white rounded-xl shadow-md p-4"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-xl font-bold text-gray-800">Карта магазинов</h2> | |
| <div class="flex space-x-2"> | |
| <button class="bg-gray-100 hover:bg-gray-200 p-2 rounded-lg"> | |
| <i class="fas fa-map-marker-alt text-rose-600"></i> | |
| </button> | |
| <button class="bg-gray-100 hover:bg-gray-200 p-2 rounded-lg"> | |
| <i class="fas fa-layer-group text-gray-600"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div id="map" class="relative"> | |
| <div class="absolute inset-0 flex items-center justify-center bg-gray-100 rounded-xl"> | |
| <div class="text-center"> | |
| <div class="loader h-12 w-12 border-4 border-gray-300 rounded-full mx-auto mb-4"></div> | |
| <p class="text-gray-600">Загрузка карты...</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-4 grid grid-cols-2 md:grid-cols-4 gap-2"> | |
| <button class="bg-rose-600 text-white py-2 px-3 rounded-lg text-sm font-medium hover:bg-rose-700 transition flex items-center justify-center space-x-1"> | |
| <i class="fas fa-car"></i> | |
| <span>Маршрут</span> | |
| </button> | |
| <button class="bg-white border border-gray-300 py-2 px-3 rounded-lg text-sm font-medium hover:bg-gray-50 transition flex items-center justify-center space-x-1"> | |
| <i class="fas fa-clock"></i> | |
| <span>Часы работы</span> | |
| </button> | |
| <button class="bg-white border border-gray-300 py-2 px-3 rounded-lg text-sm font-medium hover:bg-gray-50 transition flex items-center justify-center space-x-1"> | |
| <i class="fas fa-phone"></i> | |
| <span>Контакты</span> | |
| </button> | |
| <button class="bg-white border border-gray-300 py-2 px-3 rounded-lg text-sm font-medium hover:bg-gray-50 transition flex items-center justify-center space-x-1"> | |
| <i class="fas fa-tags"></i> | |
| <span>Акции</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Подвал --> | |
| <footer class="bg-gray-800 text-white py-8 mt-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="font-bold text-lg mb-4">О компании</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-rose-300 transition">О нас</a></li> | |
| <li><a href="#" class="hover:text-rose-300 transition">Вакансии</a></li> | |
| <li><a href="#" class="hover:text-rose-300 transition">Франшиза</a></li> | |
| <li><a href="#" class="hover:text-rose-300 transition">Реквизиты</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-lg mb-4">Помощь</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-rose-300 transition">Как сделать заказ</a></li> | |
| <li><a href="#" class="hover:text-rose-300 transition">Доставка и оплата</a></li> | |
| <li><a href="#" class="hover:text-rose-300 transition">Возврат товара</a></li> | |
| <li><a href="#" class="hover:text-rose-300 transition">Вопросы и ответы</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-lg mb-4">Контакты</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-rose-300 transition">Магазины</a></li> | |
| <li><a href="#" class="hover:text-rose-300 transition">8-800-555-55-05</a></li> | |
| <li><a href="#" class="hover:text-rose-300 transition">info@pyaterochka.ru</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-lg mb-4">Мы в соцсетях</h3> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-rose-600 transition"> | |
| <i class="fab fa-vk"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-rose-600 transition"> | |
| <i class="fab fa-telegram"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-rose-600 transition"> | |
| <i class="fab fa-odnoklassniki"></i> | |
| </a> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-sm text-gray-400">© 2023 Пятерочка. Все права защищены.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Мобильное меню | |
| document.getElementById('mobile-menu-button').addEventListener('click', function() { | |
| const menu = document.getElementById('mobile-menu'); | |
| menu.classList.toggle('hidden'); | |
| }); | |
| // Имитация загрузки магазинов | |
| setTimeout(function() { | |
| const storesList = document.getElementById('stores-list'); | |
| storesList.innerHTML = ''; | |
| const stores = [ | |
| { | |
| name: "Пятерочка на Ленинском", | |
| address: "Ленинский пр-т, 52", | |
| hours: "08:00-23:00", | |
| distance: "0.7 км", | |
| features: ["Кафе", "Аптека"], | |
| is24h: false | |
| }, | |
| { | |
| name: "Пятерочка на Тверской", | |
| address: "ул. Тверская, 15", | |
| hours: "Круглосуточно", | |
| distance: "1.2 км", | |
| features: ["Аптека"], | |
| is24h: true | |
| }, | |
| { | |
| name: "Пятерочка на Арбате", | |
| address: "ул. Арбат, 33", | |
| hours: "09:00-22:00", | |
| distance: "1.5 км", | |
| features: ["Кафе"], | |
| is24h: false | |
| }, | |
| { | |
| name: "Пятерочка на Садовом", | |
| address: "Садовое кольцо, 77", | |
| hours: "Круглосуточно", | |
| distance: "2.1 км", | |
| features: ["Кафе", "Аптека"], | |
| is24h: true | |
| } | |
| ]; | |
| stores.forEach(store => { | |
| const storeElement = document.createElement('div'); | |
| storeElement.className = 'store-card bg-white border border-gray-200 rounded-lg p-3 hover:shadow-md transition cursor-pointer'; | |
| storeElement.innerHTML = ` | |
| <div class="flex justify-between items-start"> | |
| <h4 class="font-bold text-rose-600">${store.name}</h4> | |
| <span class="text-xs bg-gray-100 px-2 py-1 rounded">${store.distance}</span> | |
| </div> | |
| <p class="text-sm text-gray-600 mt-1">${store.address}</p> | |
| <div class="flex items-center mt-2 text-sm"> | |
| <i class="fas fa-clock text-gray-400 mr-1"></i> | |
| <span class="${store.is24h ? 'text-green-600' : 'text-gray-600'}">${store.hours}</span> | |
| </div> | |
| ${store.features.length > 0 ? ` | |
| <div class="mt-2 flex flex-wrap gap-1"> | |
| ${store.features.map(feature => ` | |
| <span class="text-xs bg-rose-100 text-rose-800 px-2 py-1 rounded">${feature}</span> | |
| `).join('')} | |
| </div> | |
| ` : ''} | |
| `; | |
| storesList.appendChild(storeElement); | |
| }); | |
| // Имитация загрузки карты | |
| const mapElement = document.getElementById('map'); | |
| mapElement.innerHTML = ` | |
| <div class="h-full w-full bg-gray-100 rounded-xl flex items-center justify-center"> | |
| <div class="text-center"> | |
| <i class="fas fa-map-marked-alt text-4xl text-rose-600 mb-2"></i> | |
| <p class="font-medium">Интерактивная карта магазинов</p> | |
| <p class="text-sm text-gray-500 mt-1">Имитация карты с маркерами магазинов</p> | |
| </div> | |
| </div> | |
| `; | |
| }, 1500); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=sdfssa232/dfsd" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |