-
Notifications
You must be signed in to change notification settings - Fork 0
/
catalog.html
218 lines (194 loc) · 11.7 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Мишка</title>
<script>document.createElement( "picture" );</script>
<script src="js/picturefill.min.js" async></script>
<link rel="preload" href="fonts/opensans.woff2" as="font">
<link rel="preload" href="fonts/opensansbold.woff2" as="font">
<link href="css/style.min.css" rel="stylesheet">
</head>
<body>
<div style="display:none"><include src="build/img/sprite.svg"></include></div>
<header class="page-header">
<nav class="main-nav">
<div class="logo">
<a class="logo__link" href="index.html">
<picture>
<source media="(min-width:1250px)" srcset="img/logo-desktop.svg">
<source media="(min-width:768px)" srcset="img/logo-tablet.svg">
<img class="logo__img" src="img/logo-mobile.svg" width="86" height="35" alt="Мишка">
</picture>
</a>
</div>
<button class="menu-toggle menu-toggle--nojs" type="button"><span class="menu-toggle__icon"></span><span class="visually-hidden">Открыть меню</span></button>
<ul class="site-menu">
<li class="site-menu__item">
<a class="site-menu__link" href="catalog.html"><span class="site-menu__text">Каталог товаров</span></a>
</li>
<li class="site-menu__item">
<a class="site-menu__link" href="form.html"><span class="site-menu__text">Вязание на заказ</span></a>
</li>
<li class="site-menu__item site-menu__item--nomobile site-menu__item--notablet">
<a class="site-menu__link" href="#"><span class="site-menu__text">Новые поступления</span></a>
</li>
<li class="site-menu__item site-menu__item--nomobile site-menu__item--notablet">
<a class="site-menu__link" href="#"><span class="site-menu__text">Распродажа</span></a>
</li>
</ul>
<ul class="user-menu">
<li class="user-menu__item user-menu__item--search">
<a class="user-menu__search" href="#"><svg class="user-menu__icon user-menu__search-icon" width="21" height="19"><use xlink:href="#icon-search"></use></svg><span class="user-menu__text">Поиск по сайту</span></a>
</li>
<li class="user-menu__item user-menu__item--cart">
<a class="user-menu__cart" href="#"><svg class="user-menu__icon user-menu__cart-icon" width="21" height="19"><use xlink:href="#icon-cart"></use></svg><span class="user-menu__text">Корзина: пока пуста</span></a>
</li>
<li class="user-menu__item user-menu__item--delivery user-menu__item--nomobile">
<a class="user-menu__delivery" href="#"><span class="user-menu__text">Бесплатная доставка по России</span></a>
</li>
</ul>
</nav>
</header>
<main class="page-main">
<header class="main-header main-header--secondary">
<h1 class="main-header__title">Каталог товаров</h1>
</header>
<div class="wrapper">
<ul class="itemcards">
<li class="itemcard">
<a href="item-hare.html">
<picture>
<source type="image/webp" media="(min-width: 1250px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source type="image/webp" media="(min-width: 768px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source type="image/webp" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source media="(min-width: 1250px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source media="(min-width: 768px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<img class="itemcard__photo" src="img/[email protected]" srcset="img/[email protected] 2x" alt="Зайчик-попрыгайчик">
</picture>
</a>
<div class="itemcard__text">
<div class="itemcard__name-spec">
<a href="item-hare.html">
<span class="itemcard__name">Зайчик-попрыгайчик</span>
</a>
<p class="itemcard__spec">Рост 30 см, вес 200 г</p>
</div>
<div class="itemcard__price-cart">
<span class="itemcard__price">1 200 руб.</span>
<svg class="itemcard__cart" width="21" height="19"><use xlink:href="#icon-cart"></use></svg>
</div>
</div>
</li>
<li class="itemcard">
<a href="item-bowl.html">
<picture>
<source type="image/webp" media="(min-width: 1250px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source type="image/webp" media="(min-width: 768px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source type="image/webp" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source media="(min-width: 1250px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source media="(min-width: 768px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<img class="itemcard__photo" src="img/[email protected]" srcset="img/[email protected] 2x" alt="Корзинка для белья">
</picture>
</a>
<div class="itemcard__text">
<div class="itemcard__name-spec">
<a href="item-bowl.html">
<span class="itemcard__name">Корзинка для белья</span>
</a>
<p class="itemcard__spec">Диаметр 15 см, высота 10 см</p>
</div>
<div class="itemcard__price-cart">
<span class="itemcard__price">690 руб.</span>
<svg class="itemcard__cart" width="21" height="19"><use xlink:href="#icon-cart"></use></svg>
</div>
</div>
</li>
<li class="itemcard">
<a href="item-toys.html">
<picture>
<source type="image/webp" media="(min-width: 1250px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source type="image/webp" media="(min-width: 768px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source type="image/webp" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source media="(min-width: 1250px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<source media="(min-width: 768px)" srcset="img/[email protected] 1x, img/[email protected] 2x">
<img class="itemcard__photo" src="img/[email protected]" srcset="img/[email protected] 2x" alt="Большая корзинка для игрушек">
</picture>
</a>
<div class="itemcard__text">
<div class="itemcard__name-spec">
<a href="item-toys.html">
<span class="itemcard__name">Большая корзинка для игрушек</span>
</a>
<p class="itemcard__spec">Диаметр 30 см, высота 30 см</p>
</div>
<div class="itemcard__price-cart">
<span class="itemcard__price">1 500 руб.</span>
<svg class="itemcard__cart" width="21" height="19"><use xlink:href="#icon-cart"></use></svg>
</div>
</div>
</li>
</ul>
<section class="production">
<div class="production__icon-title">
<svg class="production__icon" width="32" height="22"><use xlink:href="#icon-video"></use></svg>
<h2 class="production__title">Процесс производства</h2>
</div>
<div class="production__video">
<video class="production__video-container"></video>
<div class="production__video-icon"></div>
</div>
<div class="production__annotation-link">
<p class="production__annotation">По просьбам наших любимых фолловеров мы сняли для вас подробное видео о том, как появляются наши товары.</p>
<a class="production__link button" href="#">Сделать заказ</a>
</div>
</section>
</div>
</main>
<footer class="page-footer">
<div class="page-footer__wrapper wrapper">
<a class="footer-logo" href="index.html">
<svg class="footer-logo__image" width="105" height="38"><use xlink:href="#icon-logo-footer"></use></svg>
</a>
<div class="social">
<ul class="social__list">
<li class="social__item">
<a class="social__link social__link--instagram" href="https://www.instagram.com/mimimishkashop"><svg class="social__icon social__icon--instagram" width="24" height="24"><use xlink:href="#icon-insta"></use></svg><span class="visually-hidden">Мы в Инстаграме</span></a>
</li>
<li class="social__item">
<a class="social__link social__link--facebook" href="https://www.facebook.com/mimimishkashop"><svg class="social__icon social__icon--facebook" width="24" height="24"><use xlink:href="#icon-fb"></use></svg><span class="visually-hidden">Мы в Фейсбуке</span></a>
</li>
<li class="social__item">
<a class="social__link social__link--twitter" href="https://vk.com/mimimishkashop"><svg class="social__icon social__icon--twitter" width="24" height="24"><use xlink:href="#icon-twitter"></use></svg><span class="visually-hidden">Мы в Вконтакте</span></a>
</li>
</ul>
</div>
<a class="copyright" href="https://htmlacademy.ru/intensive/adaptive">
<span class="copyright__text">Разработано</span>
<svg class="copyright__icon" width="27" height="34"><use xlink:href="#icon-logo-htmlacademy"></use></svg>
</a>
</div>
</footer>
<!--Модальное окно для выбора размера и добавления в корзину-->
<div class="cart-popup">
<div class="cart-popup__wrapper">
<form class="cart-popup__form" action="https://echo.htmlacademy.ru" method="post">
<h1 class="cart-popup__title">Добавить<br class="cart-popup__break"> в корзину</h1>
<p class="cart-popup__msg">Выберите размер:</p>
<div class="cart-popup__radio-wrapper">
<input class="cart-popup__input" type="radio" name="size" id="small" value="small" checked>
<label class="cart-popup__label" for="small">S</label>
<input class="cart-popup__input" type="radio" name="size" id="middle" value="middle">
<label class="cart-popup__label" for="middle">M</label>
<input class="cart-popup__input" type="radio" name="size" id="large" value="large">
<label class="cart-popup__label" for="large">L</label>
</div>
<button class="cart-popup__button button" type="submit">Добавить</button>
</form>
</div>
</div>
<script src="js/menu.min.js"></script>
<script src="js/popup-catalog.min.js"></script>
</body>
</html>