-
Notifications
You must be signed in to change notification settings - Fork 0
/
catalog.html
201 lines (189 loc) · 10.6 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
<!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="preload" href="fonts/opensans.woff2" as="font">
<link rel="preload" href="fonts/opensansbold.woff2" as="font">
<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/style.min.css">
<script src="js/picturefill.js"></script>
</head>
<body>
<div style="display:none">
<include src="build/img/sprite.svg"></include>
</div>
<header class="page-header">
<nav class="main-nav main-nav--closed main-nav--nojs">
<button class="main-nav__toggle" type="button"><span class="visually-hidden">Открыть меню</span></button>
<ul class="main-nav__list">
<li class="main-nav__item main-nav__item--logo">
<a href="index.html" class="main-nav__logo">
<picture>
<source media="(min-width: 1150px)" srcset="img/logo-desktop.svg">
<source media="(min-width: 768px)" srcset="img/logo-tablet.svg">
<img src="img/logo-mobile.svg" alt="Mishka">
</picture>
</a>
</li>
<li class="main-nav__item main-nav__item--catalog">
<a class="main-nav__link main-nav__link--catalog">Каталог товаров</a>
</li>
<li class="main-nav__item main-nav__item--order">
<a class="main-nav__link main-nav__link--order" href="form.html">Вязание на заказ</a>
</li>
<li class="main-nav__item main-nav__item--search">
<a class="main-nav__link main-nav__link--search" href="#">
<svg class="main-nav__icon" width="17.6" height="17.6"><use xlink:href="#icon-search"></use></svg>
Поиск по сайту
</a>
</li>
<li class="main-nav__item main-nav__item--cart">
<a class="main-nav__link main-nav__link--cart" href="#">
<svg class="main-nav__icon" width="20.294" height="18.849"><use xlink:href="#icon-cart"></use></svg>
Корзина: пока пуста
</a>
</li>
<li class="main-nav__item main-nav__item--new">
<a class="main-nav__link main-nav__link--new" href="#">Новые поступления</a>
</li>
<li class="main-nav__item main-nav__item--sale">
<a class="main-nav__link main-nav__link--sale" href="#">Распродажа</a>
</li>
<li class="main-nav__item main-nav__item--delivery">
Бесплатная доставка по России
</li>
</ul>
</nav>
</header>
<main class="catalog-main">
<h1 class="page-intro">Каталог товаров</h1>
<section class="catalog-items">
<h2 class="visually-hidden">Каталог товаров:</h2>
<div class="catalog-items__wrapper container">
<div class="catalog-item">
<a href="#" class="catalog-item__pic-wrapper">
<picture>
<source type="image/webp" media="(min-width: 1150px)" srcset="img/[email protected], img/[email protected] 2x">
<source type="image/webp" media="(min-width: 768px)" srcset="img/[email protected], img/[email protected] 2x">
<source type="image/webp" srcset="img/[email protected], img/[email protected] 2x">
<source media="(min-width: 1150px)" srcset="img/[email protected], img/[email protected] 2x">
<source media="(min-width: 768px)" srcset="img/[email protected], img/[email protected] 2x">
<img src="img/[email protected]" srcset="img/[email protected] 2x" alt="Мягкая игрушка Заяц">
</picture>
</a>
<div class="catalog-item__info">
<div class="catalog-item__descr">
<h3 class="catalog-item__name">Зайчик-попрыгайчик</h3>
<p class="catalog-item__parameters">Рост 30 см, вес 200 г</p>
</div>
<div class="catalog-item__price-group">
<b class="catalog-item__price">1 200 руб.</b>
<button class="catalog-item__to-cart" type="button" title="Добавить в корзину">
<span class="visually-hidden">Добавить в корзину</span>
<svg class="catalog-tem__icon" width="20.294" height="18.849"><use xlink:href="#icon-cart"></use></svg>
</button>
</div>
</div>
</div>
<div class="catalog-item">
<a href="#" class="catalog-item__pic-wrapper">
<picture>
<source type="image/webp" media="(min-width: 1150px)" srcset="img/[email protected], img/[email protected] 2x">
<source type="image/webp" media="(min-width: 768px)" srcset="img/[email protected], img/[email protected] 2x">
<source type="image/webp" srcset="img/[email protected], img/[email protected] 2x">
<source media="(min-width: 1150px)" srcset="img/[email protected], img/[email protected] 2x">
<source media="(min-width: 768px)" srcset="img/[email protected], img/[email protected] 2x">
<img src="img/[email protected]" srcset="img/[email protected] 2x" alt="Корзинка для игрушек">
</picture>
</a>
<div class="catalog-item__info">
<div class="catalog-item__descr">
<h3 class="catalog-item__name">Корзинка для белья</h3>
<p class="catalog-item__parameters">Диаметр 15 см, высота 10 см</p>
</div>
<div class="catalog-item__price-group">
<b class="catalog-item__price">690 руб.</b>
<button class="catalog-item__to-cart" type="button" title="Добавить в корзину">
<span class="visually-hidden">Добавить в корзину</span>
<svg class="catalog-tem__icon" width="20.294" height="18.849"><use xlink:href="#icon-cart"></use></svg>
</button>
</div>
</div>
</div>
<div class="catalog-item">
<a href="#" class="catalog-item__pic-wrapper">
<picture>
<source type="image/webp" media="(min-width: 1150px)" srcset="img/[email protected], img/[email protected] 2x">
<source type="image/webp" media="(min-width: 768px)" srcset="img/[email protected], img/[email protected] 2x">
<source type="image/webp" srcset="img/[email protected], img/[email protected] 2x">
<source media="(min-width: 1150px)" srcset="img/[email protected], img/[email protected] 2x">
<source media="(min-width: 768px)" srcset="img/[email protected], img/[email protected] 2x">
<img src="img/[email protected]" srcset="img/[email protected] 2x" alt="Корзинка для игрушек">
</picture>
</a>
<div class="catalog-item__info">
<div class="catalog-item__descr">
<h3 class="catalog-item__name">Большая корзинка<br> для игрушек</h3>
<p class="catalog-item__parameters">Диаметр 30см, высота 30 см</p>
</div>
<div class="catalog-item__price-group">
<b class="catalog-item__price">1 500 руб.</b>
<button class="catalog-item__to-cart" type="button" title="Добавить в корзину">
<span class="visually-hidden">Добавить в корзину</span>
<svg class="catalog-item__icon" width="20.294" height="18.849"><use xlink:href="#icon-cart"></use></svg>
</button>
</div>
</div>
</div>
</div>
</section>
<section class="promo-video">
<div class="promo-video__wrapper container">
<div class="promo-video__item">
<h3 class="promo-video__title">Процесс производства</h3>
<div class="promo-video__frame">
<picture>
<source type="image/webp" media="(min-width: 1150px)" srcset="img/[email protected], img/[email protected] 2x">
<source type="image/webp" media="(min-width: 768px)" srcset="img/[email protected], img/[email protected] 2x">
<source type="image/webp" srcset="img/[email protected], img/[email protected] 2x">
<source media="(min-width: 1150px)" srcset="img/[email protected], img/[email protected] 2x">
<source media="(min-width: 768px)" srcset="img/[email protected], img/[email protected] 2x">
<img src="img/[email protected]" srcset="img/[email protected] 2x" alt="Просмотреть видео">
</picture>
<button class="promo-video__play"><span class="visually-hidden">Посмотреть</span></button>
</div>
<div class="promo-video__descr">
<p>По просьбам наших любимых фолловеров мы сняли для вас подробное видео о том, как появляются наши товары.</p>
<a href="#" class="promo-video__order btn">Сделать заказ</a>
</div>
</div>
</div>
</section>
</main>
<footer class="page-footer">
<div class="page-footer__wrapper container">
<a class="page-footer__logo" href="#">
<svg width="101.615" height="34.056"><use xlink:href="#logo-footer"></use></svg>
</a>
<div class="page-footer__social social">
<a href="" class="social-link social-link--insta">
<svg width="21.769" height="21.334"><use xlink:href="#icon-instagram"></use></svg>
</a>
<a href="" class="social-link social-link--facebook">
<svg width="14.962" height="27.718"><use xlink:href="#icon-facebook"></use></svg>
</a>
<a href="" class="social-link social-link--twitter">
<svg width="23.494" height="20.168"><use xlink:href="#icon-twitter"></use></svg>
</a>
</div>
<a class="page-footer__copyright" href="https://htmlacademy.ru/">
<span>Разработано</span>
<svg width="26.943" height="34.09"><use xlink:href="#logo-academy"></use></svg>
</a>
</div>
</footer>
<script src="js/mishkascript.js"></script>
</body>
</html>