-
Notifications
You must be signed in to change notification settings - Fork 1
/
catalog.html
444 lines (425 loc) · 23.2 KB
/
catalog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Каталог</title>
<link rel="stylesheet" href="styles/styles.css">
<link rel="icon" href="favicon.png" sizes="32x32" type="image/png">
</head>
<body class="page page--pink">
<header class="header">
<div class="container">
<div class="header__grid">
<a class="header__logo logo" href="/"><img class="logo__img" src="images/logo.svg" width="137" height="56"
alt="Gllacy Shop."></a>
<nav class="header__nav header-nav">
<ul class="header-nav__list">
<li class="header-nav__item">
<!-- Если popover открыт добавляем класс "header-nav__link--open" -->
<a class="header-nav__link header-nav__link--active" href="catalog.html">Каталог</a>
<!-- Для отображения добавляем класс "popover--open"-->
<div class="popover popover-menu">
<ul class="popover-menu__list">
<li class="popover-menu__item">
<a class="popover-menu__link popover-menu__link--bold" href="#">Новинки</a>
</li>
<li class="popover-menu__item">
<a class="popover-menu__link" href="#">Сливочное</a>
</li>
<li class="popover-menu__item">
<a class="popover-menu__link" href="#">Щербеты</a>
</li>
<li class="popover-menu__item">
<a class="popover-menu__link popover-menu__link--active" href="#">Фруктовый лед</a>
</li>
<li class="popover-menu__item">
<a class="popover-menu__link" href="#">Мелорин</a>
</li>
</ul>
</div>
</li>
<li class="header-nav__item"><a class="header-nav__link" href="#">Доставка и оплата</a></li>
<li class="header-nav__item"><a class="header-nav__link" href="#">О компании</a></li>
</ul>
</nav>
<a class="header__phone" href="tel:+78005558628">+7 800 555-86-28</a>
<ul class="header__bar header-bar">
<li class="header-bar__item">
<!-- Если popover открыт добавляем класс "header-bar__link--open" -->
<a class="header-bar__link header-bar__search" href="#">
<span class="visually-hidden">Поиск.</span>
</a>
<!-- Для отображения добавляем класс "popover--open" -->
<form class="popover popover--right popover-search" action="https://echo.htmlacademy.ru/" method="post">
<div class="popover-search__input">
<label class="visually-hidden" for="input-search">Поиск по сайту.</label>
<input class="input" type="text" id="input-search" placeholder="Поиск по сайту">
<button type="button" class="popover-search__clear">
<span class="visually-hidden">Очистить.</span>
</button>
</div>
</form>
</li>
<li class="header-bar__item">
<!-- Если popover открыт добавляем класс "header-bar__link--open" -->
<a class="header-bar__link header-bar__login" href="#">Вход</a>
<!-- Для отображения добавляем класс "popover--open" -->
<div class="popover popover--right popover-login">
<div class="popover-login__heading">Личный кабинет</div>
<form class="popover-login__form" action="https://echo.htmlacademy.ru/" method="post">
<label class="visually-hidden" for="login-input-email">Ваш email.</label>
<input class="popover-login__input input" id="login-input-email" type="email"
placeholder="[email protected]">
<label class="visually-hidden" for="login-input-password">Ваш пароль.</label>
<input class="popover-login__input input" id="login-input-password" type="password"
placeholder="Пароль">
<div class="popover-login__footer">
<button type="submit" class="popover-login__button button button--pink">Войти</button>
<a class="popover-login__link" href="#">Забыли пароль?</a>
<a class="popover-login__link" href="#">Регистрация</a>
</div>
</form>
</div>
</li>
<li class="header-bar__item">
<!-- Если popover открыт добавляем класс "header-bar__link--open" -->
<a class="header-bar__link header-bar__cart header-bar__cart--active" href="#">2 товара</a>
<!-- Для отображения добавляем класс "popover--open" -->
<div class="popover popover--right popover-cart">
<div class="popover-cart__heading">Корзина</div>
<ul class="popover-cart__list">
<li class="popover-cart__item popover-cart-item">
<img class="popover-cart-item__img" src="images/raspberry.jpg" alt="Малинка." width="46" height="46">
<div class="popover-cart-item__heading">Малинка</div>
<p class="popover-cart-item__count">1 кг х 310 ₽</p>
<p class="popover-cart-item__price">310 ₽</p>
<button type="button" class="popover-cart-item__clear">
<span class="visually-hidden">Удалить из корзины.</span>
</button>
</li>
<li class="popover-cart__item popover-cart-item">
<img class="popover-cart-item__img" src="images/bubblegum.jpg" alt="Бабл-гам." width="46" height="46">
<div class="popover-cart-item__heading">Бабл-гам</div>
<p class="popover-cart-item__count">1,5 кг х 320 ₽</p>
<p class="popover-cart-item__price">480 ₽</p>
<button type="button" class="popover-cart-item__clear">
<span class="visually-hidden">Удалить из корзины.</span>
</button>
</li>
</ul>
<div class="popover-cart__footer">
<button type="button" class="button button--pink">Оформить заказ</button>
<p class="popover-cart__sum">Итого: 790 ₽</p>
</div>
</div>
</li>
</ul>
</div>
</div>
</header>
<main class="main">
<header class="main__header">
<div class="container">
<ul class="main__breadcrumb breadcrumb">
<li class="breadcrumb__item"><a class="breadcrumb__link" href="/">Главная</a></li>
<li class="breadcrumb__item"><a class="breadcrumb__link" href="catalog.html">Каталог</a></li>
<li class="breadcrumb__item"><span class="breadcrumb__current">Сливочное</span></li>
</ul>
<h1 class="main__heading">Сливочное мороженое</h1>
</div>
</header>
<section class="catalog">
<div class="container">
<h2 class="visually-hidden">Каталог мороженного.</h2>
<form class="catalog__filter catalog-filter form" action="https://echo.htmlacademy.ru/" method="post">
<fieldset class="catalog-filter__item fieldset">
<legend class="catalog-filter__legend">Сортировка:</legend>
<select class="catalog-filter__select" name="filter-sort" id="filter-sort">
<option value="popular">по популярности</option>
<option value="cheap">сначала дешёвое</option>
<option value="expensive">сначала дорогое</option>
</select>
</fieldset>
<fieldset class="catalog-filter__item fieldset">
<legend class="catalog-filter__legend">Цена: <output for="input-price-min" name="price-min">100</output> ₽ –
<output for="input-price-max" name="price-max">500</output> ₽</legend>
<div class="catalog-filter__wrap">
<div class="catalog-filter__range-track"></div>
<input id="input-price-min" name="price-min" class="catalog-filter__range" type="range" min="0" max="700"
value="100" aria-label="Изменить минимальную цену.">
<input id="input-price-max" name="price-max" class="catalog-filter__range" type="range" min="0" max="700"
value="500" aria-label="Изменить максимальную цену.">
</div>
</fieldset>
<fieldset class="catalog-filter__item fieldset">
<legend class="catalog-filter__legend">Жирность:</legend>
<div class="catalog-filter__wrap">
<label class="catalog-filter__label">
<input class="catalog-filter__radio radio__input" type="radio" name="filter-fat-0" value="0">
<span class="radio__box"></span>
0%
</label>
<label class="catalog-filter__label">
<input class="catalog-filter__radio radio__input" type="radio" checked name="filter-fat-before-10"
value="before-10">
<span class="radio__box"></span>
до 10%
</label>
<label class="catalog-filter__label">
<input class="catalog-filter__radio radio__input" type="radio" name="filter-fat-before-30"
value="before-30" disabled>
<span class="radio__box"></span>
до 30%
</label>
<label class="catalog-filter__label">
<input class="catalog-filter__radio radio__input" type="radio" name="filter-fat-after-30"
value="after-30" disabled>
<span class="radio__box"></span>
выше 30%
</label>
</div>
</fieldset>
<fieldset class="catalog-filter__item fieldset">
<legend class="catalog-filter__legend">Наполнители:</legend>
<div class="catalog-filter__wrap">
<label class="catalog-filter__label">
<input class="check__input" type="checkbox" name="filter-fillers" value="chocolate" checked>
<span class="check__box"></span>
шоколадные
</label>
<label class="catalog-filter__label">
<input class="check__input" type="checkbox" name="filter-fillers" value="sugar-sprinkles">
<span class="check__box"></span>
сахарные посыпки
</label>
<label class="catalog-filter__label">
<input class="check__input" type="checkbox" name="filter-fillers" value="fruits">
<span class="check__box"></span>
фрукты
</label>
<label class="catalog-filter__label">
<input class="check__input" type="checkbox" name="filter-fillers" value="syrups" disabled>
<span class="check__box"></span>
сиропы
</label>
<label class="catalog-filter__label">
<input class="check__input" type="checkbox" name="filter-fillers" value="jams" disabled>
<span class="check__box"></span>
джемы
</label>
</div>
</fieldset>
<button type="submit" class="catalog-filter__button button">Применить</button>
</form>
<ul class="catalog__goods goods">
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/raspberry.jpg" width="168" height="168" alt="Малинка.">
<h3 class="goods-item__heading">Малинка</h3>
<p class="goods-item__text">Сливочное мороженое с малиновым джемом</p>
<div class="goods-item__footer">
<p class="goods-item__price">310 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/pistachio.jpg" width="168" height="168" alt="Фисташка.">
<h3 class="goods-item__heading">Фисташка</h3>
<p class="goods-item__text">Фисташковый пломбир с кусочками шоколада</p>
<div class="goods-item__footer">
<p class="goods-item__price">340 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/blueberries.jpg" width="168" height="168" alt="Черника.">
<h3 class="goods-item__heading">Черника</h3>
<p class="goods-item__text">Крем-брюле с черничным джемом</p>
<div class="goods-item__footer">
<p class="goods-item__price">330 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/bubblegum.jpg" width="168" height="168" alt="Бабл-гам.">
<h3 class="goods-item__heading">Бабл-гам</h3>
<p class="goods-item__text">Ванильный пломбир со сладкой посыпкой</p>
<div class="goods-item__footer">
<p class="goods-item__price">320 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/blackberry.jpg" width="168" height="168" alt="Ежевика.">
<h3 class="goods-item__heading">Ежевика</h3>
<p class="goods-item__text">Сливочное мороженое с ежевичным джемом</p>
<div class="goods-item__footer">
<p class="goods-item__price">330 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/banana.jpg" width="168" height="168" alt="Банан.">
<h3 class="goods-item__heading">Банан</h3>
<p class="goods-item__text">Сливочный пломбир с банановым вкусом</p>
<div class="goods-item__footer">
<p class="goods-item__price">340 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/chocolate.jpg" width="168" height="168" alt="Шоколадка.">
<h3 class="goods-item__heading">Шоколадка</h3>
<p class="goods-item__text">Классический шоколадный пломбир</p>
<div class="goods-item__footer">
<p class="goods-item__price">270 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/strawberry.jpg" width="168" height="168" alt="Клубничка.">
<h3 class="goods-item__heading">Клубничка</h3>
<p class="goods-item__text">Сливочный пломбир с клубничным вкусом</p>
<div class="goods-item__footer">
<p class="goods-item__price">300 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/lemon.jpg" width="168" height="168" alt="Лимон.">
<h3 class="goods-item__heading">Лимон</h3>
<p class="goods-item__text">Освежающий лимонный сорбет</p>
<div class="goods-item__footer">
<p class="goods-item__price">310 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/menthol.jpg" width="168" height="168" alt="Ментол.">
<h3 class="goods-item__heading">Ментол</h3>
<p class="goods-item__text">Сливочный пломбир с ментоловым сиропом</p>
<div class="goods-item__footer">
<p class="goods-item__price">320 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/nut.jpg" width="168" height="168" alt="Орешек.">
<h3 class="goods-item__heading">Орешек</h3>
<p class="goods-item__text">Фисташковый пломбир с шоколадным сиропом</p>
<div class="goods-item__footer">
<p class="goods-item__price">360 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
<li class="goods__item goods-item">
<img class="goods-item__img" src="images/cremebrulee.jpg" width="168" height="168" alt="Крем-брюле.">
<h3 class="goods-item__heading">Крем-брюле</h3>
<p class="goods-item__text">Классическое крем-брюле</p>
<div class="goods-item__footer">
<p class="goods-item__price">280 ₽/кг</p>
<button type="button" class="goods-item__cart">
<span class="visually-hidden">В корзину.</span>
</button>
</div>
</li>
</ul>
<div class="catalog__footer">
<button type="button" class="catalog__more button button--white">Показать ещё</button>
<ul class="catalog__pagination pagination">
<li class="pagination__item pagination__item--disabled">
<a class="pagination__link pagination__prev" href="#">
<span class="visually-hidden">Предыдущая страница.</span>
</a>
</li>
<li class="pagination__item pagination__item--active">
<a class="pagination__link" href="#">1</a>
</li>
<li class="pagination__item">
<a class="pagination__link" href="#">2</a>
</li>
<li class="pagination__item">
<a class="pagination__link" href="#">3</a>
</li>
<li class="pagination__item">
<a class="pagination__link" href="#">4</a>
</li>
<li class="pagination__item">
<a class="pagination__link" href="#">5</a>
</li>
<li class="pagination__item">
<a class="pagination__link pagination__next" href="#">
<span class="visually-hidden">Следующая страница.</span>
</a>
</li>
</ul>
</div>
</div>
</section>
</main>
<footer class="footer">
<div class="container">
<div class="footer__grid">
<div class="footer__social social">
<a class="social__link social__link--vk" href="https://vk.com" target="_blank" title="Наш Вконтакте"></a>
<a class="social__link social__link--fb" href="https://www.facebook.com" target="_blank"
title="Наш Facebook"></a>
<a class="social__link social__link--inst" href="https://www.instagram.com" target="_blank"
title="Наш instagram"></a>
</div>
<nav class="footer__nav footer-nav">
<ul class="footer-nav__list">
<li class="footer-nav__item"><a class="footer-nav__link footer-nav__link--heart" href="#">Для
поставщиков</a></li>
<li class="footer-nav__item"><a class="footer-nav__link" href="#">Наши документы</a></li>
<li class="footer-nav__item"><a class="footer-nav__link" href="#">О производстве</a></li>
<li class="footer-nav__item"><a class="footer-nav__link" href="#">Экологические стандарты</a></li>
</ul>
</nav>
<div class="footer__copyright copyright">
<a class="copyright__logo" href="https://htmlacademy.ru" target="_blank"><img class="copyright__img"
src="images/logo_htmlacademy.svg" width="93" height="27" alt="html academy."></a>
<p class="copyright__text">Сделано в <a class="copyright__link" href="https://htmlacademy.ru"
target="_blank">.html academy</a> © 2022</p>
</div>
</div>
</div>
</footer>
<!-- Для открытия modal добавляем "modal--open" -->
<div class="modal">
<div class="modal__body">
<button type="button" class="modal__close">
<span class="visually-hidden">Закрыть.</span>
</button>
<h2 class="modal__heading">Мы обязательно ответим вам!</h2>
<form class="modal-form" action="https://echo.htmlacademy.ru/" method="post">
<input class="modal-form__input input" type="text" placeholder="Имя и фамилия">
<input class="modal-form__input input" type="email" placeholder="[email protected]">
<textarea class="textarea modal-form__textarea" placeholder="В свободной форме"></textarea>
<button type="submit" class="modal-form__button button button--pink">Отправить</button>
</form>
</div>
</div>
</body>
</html>