sdfssa232 commited on
Commit
51f2b3a
·
verified ·
1 Parent(s): 28d4bac

сайт твой дом пятерочка сигы карта онлайн - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +316 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Dfsd
3
- emoji: 👀
4
- colorFrom: blue
5
- colorTo: yellow
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: dfsd
3
+ emoji: 🐳
4
+ colorFrom: purple
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,316 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
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
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ #map {
11
+ height: 500px;
12
+ width: 100%;
13
+ border-radius: 16px;
14
+ box-shadow: 0 4px 12px rgba(0,0,0,0.1);
15
+ }
16
+
17
+ .store-card:hover {
18
+ transform: translateY(-5px);
19
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
20
+ }
21
+
22
+ .loader {
23
+ border-top-color: #e11d48;
24
+ animation: spin 1s linear infinite;
25
+ }
26
+
27
+ @keyframes spin {
28
+ 0% { transform: rotate(0deg); }
29
+ 100% { transform: rotate(360deg); }
30
+ }
31
+
32
+ .search-input:focus {
33
+ outline: none;
34
+ box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
35
+ }
36
+ </style>
37
+ </head>
38
+ <body class="bg-gray-50 font-sans">
39
+ <!-- Шапка -->
40
+ <header class="bg-rose-600 text-white shadow-md">
41
+ <div class="container mx-auto px-4 py-3">
42
+ <div class="flex items-center justify-between">
43
+ <div class="flex items-center space-x-4">
44
+ <div class="text-2xl font-bold">
45
+ <span class="bg-white text-rose-600 px-2 py-1 rounded">5</span>
46
+ <span>ерочка</span>
47
+ </div>
48
+ <nav class="hidden md:flex space-x-6">
49
+ <a href="#" class="hover:text-rose-200 transition">Акции</a>
50
+ <a href="#" class="hover:text-rose-200 transition">Каталог</a>
51
+ <a href="#" class="hover:text-rose-200 transition">Доставка</a>
52
+ <a href="#" class="font-bold underline">Магазины</a>
53
+ </nav>
54
+ </div>
55
+ <div class="flex items-center space-x-4">
56
+ <button class="p-2 rounded-full hover:bg-rose-700 transition">
57
+ <i class="fas fa-search"></i>
58
+ </button>
59
+ <button class="p-2 rounded-full hover:bg-rose-700 transition">
60
+ <i class="fas fa-user"></i>
61
+ </button>
62
+ <button class="p-2 rounded-full hover:bg-rose-700 transition relative">
63
+ <i class="fas fa-shopping-cart"></i>
64
+ <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>
65
+ </button>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ </header>
70
+
71
+ <!-- Мобильное меню -->
72
+ <div class="md:hidden bg-rose-700 text-white px-4 py-2">
73
+ <div class="flex justify-between items-center">
74
+ <button id="mobile-menu-button" class="p-2">
75
+ <i class="fas fa-bars"></i>
76
+ </button>
77
+ <div class="text-sm">Карта магазинов</div>
78
+ <div class="w-6"></div> <!-- Для выравнивания -->
79
+ </div>
80
+ <div id="mobile-menu" class="hidden bg-rose-600 mt-2 py-2 px-4 rounded-b-lg">
81
+ <a href="#" class="block py-2 hover:bg-rose-700 px-2 rounded">Акции</a>
82
+ <a href="#" class="block py-2 hover:bg-rose-700 px-2 rounded">Каталог</a>
83
+ <a href="#" class="block py-2 hover:bg-rose-700 px-2 rounded">Доставка</a>
84
+ <a href="#" class="block py-2 hover:bg-rose-700 px-2 rounded font-bold">Магазины</a>
85
+ </div>
86
+ </div>
87
+
88
+ <!-- Основное содержимое -->
89
+ <main class="container mx-auto px-4 py-6">
90
+ <div class="flex flex-col md:flex-row gap-6">
91
+ <!-- Левая колонка (фильтры и список магазинов) -->
92
+ <div class="w-full md:w-1/3 lg:w-1/4 space-y-6">
93
+ <div class="bg-white rounded-xl shadow-md p-4">
94
+ <h2 class="text-xl font-bold text-gray-800 mb-4">Найти магазин</h2>
95
+ <div class="relative mb-4">
96
+ <input type="text" placeholder="Город, улица или метро"
97
+ class="search-input w-full border border-gray-300 rounded-lg py-2 px-4 pl-10 focus:border-rose-500 transition">
98
+ <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
99
+ </div>
100
+ <div class="space-y-3">
101
+ <div>
102
+ <label class="flex items-center space-x-2">
103
+ <input type="checkbox" class="rounded text-rose-600 focus:ring-rose-500">
104
+ <span>Круглосуточные</span>
105
+ </label>
106
+ </div>
107
+ <div>
108
+ <label class="flex items-center space-x-2">
109
+ <input type="checkbox" class="rounded text-rose-600 focus:ring-rose-500">
110
+ <span>С кафе</span>
111
+ </label>
112
+ </div>
113
+ <div>
114
+ <label class="flex items-center space-x-2">
115
+ <input type="checkbox" class="rounded text-rose-600 focus:ring-rose-500">
116
+ <span>С аптекой</span>
117
+ </label>
118
+ </div>
119
+ </div>
120
+ </div>
121
+
122
+ <div class="bg-white rounded-xl shadow-md p-4">
123
+ <h3 class="font-bold text-gray-800 mb-3">Ближайшие магазины</h3>
124
+ <div class="space-y-4" id="stores-list">
125
+ <!-- Список магазинов будет загружен через JS -->
126
+ <div class="flex justify-center py-8">
127
+ <div class="loader h-8 w-8 border-4 border-gray-200 rounded-full"></div>
128
+ </div>
129
+ </div>
130
+ </div>
131
+ </div>
132
+
133
+ <!-- Правая колонка (карта) -->
134
+ <div class="w-full md:w-2/3 lg:w-3/4">
135
+ <div class="bg-white rounded-xl shadow-md p-4">
136
+ <div class="flex justify-between items-center mb-4">
137
+ <h2 class="text-xl font-bold text-gray-800">Карта магазинов</h2>
138
+ <div class="flex space-x-2">
139
+ <button class="bg-gray-100 hover:bg-gray-200 p-2 rounded-lg">
140
+ <i class="fas fa-map-marker-alt text-rose-600"></i>
141
+ </button>
142
+ <button class="bg-gray-100 hover:bg-gray-200 p-2 rounded-lg">
143
+ <i class="fas fa-layer-group text-gray-600"></i>
144
+ </button>
145
+ </div>
146
+ </div>
147
+
148
+ <div id="map" class="relative">
149
+ <div class="absolute inset-0 flex items-center justify-center bg-gray-100 rounded-xl">
150
+ <div class="text-center">
151
+ <div class="loader h-12 w-12 border-4 border-gray-300 rounded-full mx-auto mb-4"></div>
152
+ <p class="text-gray-600">Загрузка карты...</p>
153
+ </div>
154
+ </div>
155
+ </div>
156
+
157
+ <div class="mt-4 grid grid-cols-2 md:grid-cols-4 gap-2">
158
+ <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">
159
+ <i class="fas fa-car"></i>
160
+ <span>Маршрут</span>
161
+ </button>
162
+ <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">
163
+ <i class="fas fa-clock"></i>
164
+ <span>Часы работы</span>
165
+ </button>
166
+ <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">
167
+ <i class="fas fa-phone"></i>
168
+ <span>Контакты</span>
169
+ </button>
170
+ <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">
171
+ <i class="fas fa-tags"></i>
172
+ <span>Акции</span>
173
+ </button>
174
+ </div>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ </main>
179
+
180
+ <!-- Подвал -->
181
+ <footer class="bg-gray-800 text-white py-8 mt-12">
182
+ <div class="container mx-auto px-4">
183
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
184
+ <div>
185
+ <h3 class="font-bold text-lg mb-4">О компании</h3>
186
+ <ul class="space-y-2">
187
+ <li><a href="#" class="hover:text-rose-300 transition">О нас</a></li>
188
+ <li><a href="#" class="hover:text-rose-300 transition">Вакансии</a></li>
189
+ <li><a href="#" class="hover:text-rose-300 transition">Франшиза</a></li>
190
+ <li><a href="#" class="hover:text-rose-300 transition">Реквизиты</a></li>
191
+ </ul>
192
+ </div>
193
+ <div>
194
+ <h3 class="font-bold text-lg mb-4">Помощь</h3>
195
+ <ul class="space-y-2">
196
+ <li><a href="#" class="hover:text-rose-300 transition">Как сделать заказ</a></li>
197
+ <li><a href="#" class="hover:text-rose-300 transition">Доставка и оплата</a></li>
198
+ <li><a href="#" class="hover:text-rose-300 transition">Возврат товара</a></li>
199
+ <li><a href="#" class="hover:text-rose-300 transition">Вопросы и ответы</a></li>
200
+ </ul>
201
+ </div>
202
+ <div>
203
+ <h3 class="font-bold text-lg mb-4">Контакты</h3>
204
+ <ul class="space-y-2">
205
+ <li><a href="#" class="hover:text-rose-300 transition">Магазины</a></li>
206
+ <li><a href="#" class="hover:text-rose-300 transition">8-800-555-55-05</a></li>
207
+ <li><a href="#" class="hover:text-rose-300 transition">info@pyaterochka.ru</a></li>
208
+ </ul>
209
+ </div>
210
+ <div>
211
+ <h3 class="font-bold text-lg mb-4">Мы в соцсетях</h3>
212
+ <div class="flex space-x-4">
213
+ <a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-rose-600 transition">
214
+ <i class="fab fa-vk"></i>
215
+ </a>
216
+ <a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-rose-600 transition">
217
+ <i class="fab fa-telegram"></i>
218
+ </a>
219
+ <a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-rose-600 transition">
220
+ <i class="fab fa-odnoklassniki"></i>
221
+ </a>
222
+ </div>
223
+ <div class="mt-4">
224
+ <p class="text-sm text-gray-400">© 2023 Пятерочка. Все права защищены.</p>
225
+ </div>
226
+ </div>
227
+ </div>
228
+ </div>
229
+ </footer>
230
+
231
+ <script>
232
+ // Мобильное меню
233
+ document.getElementById('mobile-menu-button').addEventListener('click', function() {
234
+ const menu = document.getElementById('mobile-menu');
235
+ menu.classList.toggle('hidden');
236
+ });
237
+
238
+ // Имитация загрузки магазинов
239
+ setTimeout(function() {
240
+ const storesList = document.getElementById('stores-list');
241
+ storesList.innerHTML = '';
242
+
243
+ const stores = [
244
+ {
245
+ name: "Пятерочка на Ленинском",
246
+ address: "Ленинский пр-т, 52",
247
+ hours: "08:00-23:00",
248
+ distance: "0.7 км",
249
+ features: ["Кафе", "Аптека"],
250
+ is24h: false
251
+ },
252
+ {
253
+ name: "Пятерочка на Тверской",
254
+ address: "ул. Тверская, 15",
255
+ hours: "Круглосуточно",
256
+ distance: "1.2 км",
257
+ features: ["Аптека"],
258
+ is24h: true
259
+ },
260
+ {
261
+ name: "Пятерочка на Арбате",
262
+ address: "ул. Арбат, 33",
263
+ hours: "09:00-22:00",
264
+ distance: "1.5 км",
265
+ features: ["Кафе"],
266
+ is24h: false
267
+ },
268
+ {
269
+ name: "Пятерочка на Садовом",
270
+ address: "Садовое кольцо, 77",
271
+ hours: "Круглосуточно",
272
+ distance: "2.1 км",
273
+ features: ["Кафе", "Аптека"],
274
+ is24h: true
275
+ }
276
+ ];
277
+
278
+ stores.forEach(store => {
279
+ const storeElement = document.createElement('div');
280
+ storeElement.className = 'store-card bg-white border border-gray-200 rounded-lg p-3 hover:shadow-md transition cursor-pointer';
281
+ storeElement.innerHTML = `
282
+ <div class="flex justify-between items-start">
283
+ <h4 class="font-bold text-rose-600">${store.name}</h4>
284
+ <span class="text-xs bg-gray-100 px-2 py-1 rounded">${store.distance}</span>
285
+ </div>
286
+ <p class="text-sm text-gray-600 mt-1">${store.address}</p>
287
+ <div class="flex items-center mt-2 text-sm">
288
+ <i class="fas fa-clock text-gray-400 mr-1"></i>
289
+ <span class="${store.is24h ? 'text-green-600' : 'text-gray-600'}">${store.hours}</span>
290
+ </div>
291
+ ${store.features.length > 0 ? `
292
+ <div class="mt-2 flex flex-wrap gap-1">
293
+ ${store.features.map(feature => `
294
+ <span class="text-xs bg-rose-100 text-rose-800 px-2 py-1 rounded">${feature}</span>
295
+ `).join('')}
296
+ </div>
297
+ ` : ''}
298
+ `;
299
+ storesList.appendChild(storeElement);
300
+ });
301
+
302
+ // Имитация загрузки карты
303
+ const mapElement = document.getElementById('map');
304
+ mapElement.innerHTML = `
305
+ <div class="h-full w-full bg-gray-100 rounded-xl flex items-center justify-center">
306
+ <div class="text-center">
307
+ <i class="fas fa-map-marked-alt text-4xl text-rose-600 mb-2"></i>
308
+ <p class="font-medium">Интерактивная карта магазинов</p>
309
+ <p class="text-sm text-gray-500 mt-1">Имитация карты с маркерами магазинов</p>
310
+ </div>
311
+ </div>
312
+ `;
313
+ }, 1500);
314
+ </script>
315
+ <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>
316
+ </html>