-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
407 lines (398 loc) · 18.9 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>White unisex t-shirt - Susparsa</title>
<link rel="icon" href="icon.svg" type="image/svg+xml">
<link href="styles.css" rel="stylesheet">
</head>
<body>
<div class="main-grid">
<header class="header">
<a class="header__skip-link" href="#skipLinkTarget">Skip to main content</a>
<div class="container header__container">
<a class="header__logo" href="/">
<img class="header__logo-picture" src="images/logo.svg" alt="Susparsa">
</a>
<nav aria-label="Primary" class="header__menu-main">
<ul class="menu">
<li class="menu__item">
<a class="menu__link" href="#">Women</a>
</li>
<li class="menu__item">
<a class="menu__link" href="#">Men</a>
</li>
<li class="menu__item">
<a class="menu__link" href="#">Kids</a>
</li>
<li class="menu__item">
<a class="menu__link" href="#">Company</a>
</li>
</ul>
</nav>
<nav aria-label="Account, Search and Cart" class="header__menu-secondary">
<ul class="menu">
<li class="menu__item">
<a class="menu__link" href="#">Account</a>
</li>
<li class="menu__item">
<a class="menu__link" href="#">Search</a>
</li>
<li class="menu__item">
<a class="menu__link" href="#">Cart (0)</a>
</li>
</ul>
</nav>
</div>
</header>
<main class="page-content" id="skipLinkTarget">
<div class="container">
<nav aria-label="Breadcrumbs">
<ol class="breadcrumbs">
<li class="breadcrumbs__item">
<a class="breadcrumbs__link" href="#">Home</a>
</li>
<li class="breadcrumbs__item">
<a class="breadcrumbs__link" href="#">Women</a>
</li>
<li class="breadcrumbs__item breadcrumbs__item_active">
<span class="breadcrumbs__current" aria-current="page">White unisex t-shirt</span>
</li>
</ol>
</nav>
<div class="product-card">
<div class="product-card__right">
<h1 class="product-card__title" id="productName">White unisex t-shirt</h1>
<p aria-live="polite" id="productPriceValue" class="product-card__price">EUR 40</p>
<p class="product-card__infolabel">Tax included</p>
<form aria-label="Select product" class="product-card__form" action="#">
<div class="product-card__parameter">
<label class="product-card__label" for="product-size">Size</label>
<select id="product-size" class="product-size">
<option value="xs">XS</option>
<option value="s">S</option>
<option value="m">M</option>
<option value="l">L</option>
<option value="xl">XL</option>
</select>
<div class="product-card__link">
<a class="size-guide-link modal-target" href="#sizeGuide">Size Guide</a>
</div>
<dialog class="modal">
<div class="modal-body size-guide">
<button type="button" class="modal-close-button">
<span class="modal-close-button__icon"></span>
<span class="modal-close-button__text">Close</span>
</button>
<h2 class="heading-2">Size guide</h2>
<p>Some description about the sizes</p>
<table class="size-guide__table">
<tr>
<th>EU</th>
<th>US</td>
</tr>
<tr>
<td>36</td>
<td>8</td>
</tr>
<tr>
<td>38</td>
<td>9</td>
</tr>
<tr>
<td>40</td>
<td>10</td>
</tr>
<tr>
<td>42</td>
<td>11</td>
</tr>
</table>
</div>
</dialog>
</div>
<fieldset class="product-card__parameter">
<legend class="product-card__label">Color<span aria-hidden="true"> - <span id="productColorValue">White</span></span></legend>
<ul class="input-group">
<li class="input-group__item">
<label class="input-radio">
<span class="input-radio__label">White</span>
<input class="input-radio__input" type="radio" name="product_color" data-name-display="White" data-price="40" value="white" checked>
<span class="input-radio__visual input-radio-color">
<span class="input-radio-color__sample" style="background-color: #ffffff; border: 1px #cccccc solid;"></span>
</span>
</label>
</li>
<li class="input-group__item">
<label class="input-radio">
<span class="input-radio__label">Black</span>
<input class="input-radio__input" type="radio" name="product_color" data-name-display="Black" data-price="50" value="black">
<span class="input-radio__visual input-radio-color">
<span class="input-radio-color__sample" style="background-color: #1a1f29;"></span>
</span>
</label>
</li>
<li class="input-group__item">
<label class="input-radio">
<span class="input-radio__label">Gray</span>
<input class="input-radio__input" type="radio" name="product_color" data-name-display="Gray" data-price="60" value="gray">
<span class="input-radio__visual input-radio-color">
<span class="input-radio-color__sample" style="background-color: #aeaeb0;"></span>
</span>
</label>
</li>
<li class="input-group__item">
<label class="input-radio">
<span class="input-radio__label">Purple</span>
<input class="input-radio__input" type="radio" name="product_color" data-name-display="Purple" data-price="60" value="purple">
<span class="input-radio__visual input-radio-color">
<span class="input-radio-color__sample" style="background-color: #ba9be5;"></span>
</span>
</label>
</li>
<li class="input-group__item">
<label class="input-radio">
<span class="input-radio__label">Pink</span>
<input class="input-radio__input" type="radio" name="product_color" data-name-display="Pink" data-price="60" value="pink" disabled>
<span class="input-radio__visual input-radio-color">
<span class="input-radio-color__sample" style="background-color: #e9a0a7;"></span>
</span>
</label>
</li>
<li class="input-group__item">
<label class="input-radio">
<span class="input-radio__label">Orange</span>
<input class="input-radio__input" type="radio" name="product_color" data-name-display="Orange" data-price="50" value="orange" disabled>
<span class="input-radio__visual input-radio-color">
<span class="input-radio-color__sample" style="background-color: #f8cab1;"></span>
</span>
</label>
</li>
</ul>
</fieldset>
<div class="product-card__parameter product-card__parameter_last">
<label class="product-card__label" for="product-quantity">Quantity</label>
<div class="input-quantity">
<button aria-label="Decrease quantity" type="button" class="input-quantity__btn" data-action="decrease">−</button>
<input type="number" class="input-quantity__field" id="product-quantity" name="product_quantity" value="1">
<button aria-label="Increase quantity" type="button" class="input-quantity__btn" data-action="increase">+</button>
</div>
</div>
<button class="btn btn_secondary btn_hollow">Add to cart</button>
<button class="btn btn_primary">Buy it now</button>
</form>
<div class="product-card__description">
<p>A unisex basic garment with a loose fit. Light and comfortable to your skin.</p>
<p>Certification of cotton - GOTS</p>
</div>
</div>
<div class="product-card__left">
<a class="product-card__photo-big" href="#">
<img class="product-card__photo-big-picture" src="images/photo1.jpg" srcset="images/photo1_x2.jpg 2x" alt="">
</a>
<div class="accordion">
<section aria-labelledby="productInfo1" class="accordion__item">
<h2 id="productInfo1">
<button type="button" aria-controls="productInfo1Body" aria-expanded="false" class="accordion__item-title">Sizing & Fit</button>
</h2>
<div class="accordion__item-body" id="productInfo1Body" aria-labelledby="productInfo1" aria-hidden="true">Olga is 175cm, she is wearing a size S.</div>
</section>
<section aria-labelledby="productInfo2" class="accordion__item">
<h2 id="productInfo2">
<button type="button" aria-controls="productInfo2Body" aria-expanded="false" class="accordion__item-title">Composition & Care</button>
</h2>
<div class="accordion__item-body" id="productInfo2Body" aria-labelledby="productInfo2" aria-hidden="true">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</div>
</section>
<section aria-labelledby="productInfo3" class="accordion__item">
<h2 id="productInfo3">
<button type="button" aria-controls="productInfo3Body" aria-expanded="false" class="accordion__item-title">Delivery & Returns</button>
</h2>
<div class="accordion__item-body" id="productInfo3Body" aria-labelledby="productInfo3" aria-hidden="true">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</div>
</section>
</div>
</div>
</div>
<section aria-labelledby="productVideo" class="section">
<h2 id="productVideo" class="heading-2 products-similar__heading-2">Video about the product</h2>
<div class="product-video_container">
<iframe width="100%" height="500" src="https://www.youtube.com/embed/9XDvpm7sLVg?si=clINFdoVQuk20KPS" title="Product video" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</section>
<section aria-labelledby="similarProducts" class="section products-similar">
<h2 id="similarProducts" class="heading-2 products-similar__heading-2">You may also like</h2>
<div class="products-grid">
<div class="products-grid__item">
<div class="products-grid__item-photo">
<img src="images/photo2.jpg" class="products-grid__item-picture" srcset="images/photo2_x2.jpg 2x" alt="">
</div>
<div class="products-grid__item-name"><a href="#">Product name</a></div>
<div class="colors-palette products-grid__item-colors-palette">
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: #C88252;">
</span>
</div>
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: #e04acc;">
</span>
</div>
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: #292fad;">
</span>
</div>
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: #68da00;">
</span>
</div>
</div>
<p class="products-grid__item-price">
EUR 40
</p>
</div>
<div class="products-grid__item">
<div class="products-grid__item-photo">
<img src="images/photo3.jpg" class="products-grid__item-picture" srcset="images/photo3_x2.jpg 2x" alt="">
</div>
<div class="products-grid__item-name"><a href="#">Very long product name for testing purposes</a></div>
<div class="colors-palette products-grid__item-colors-palette">
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: red;">
</span>
</div>
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: green;">
</span>
</div>
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: blue;">
</span>
</div>
</div>
<p class="products-grid__item-price">
EUR 40
</p>
</div>
<div class="products-grid__item">
<ul class="product-tags products-grid__item-product-tags">
<li class="product-tags__item">Sold out</li>
</ul>
<div class="products-grid__item-photo">
<img src="images/photo4.jpg" class="products-grid__item-picture" srcset="images/photo4_x2.jpg 2x">
</div>
<div class="products-grid__item-name"><a href="#">Product name</a></div>
<div class="colors-palette products-grid__item-colors-palette">
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: #C88252;">
</span>
</div>
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: #e04acc;">
</span>
</div>
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: #292fad;">
</span>
</div>
<div class="colors-palette__item">
<span class="colors-palette__sample" style="background-color: #68da00;">
</span>
</div>
</div>
<p class="products-grid__item-price">
EUR 40
</p>
</div>
</div>
</section>
</div>
</main>
<footer class="footer">
<div class="container footer__container">
<div class="footer__columns">
<section aria-labelledby="aboutInfo" class="footer__col">
<h2 id="aboutInfo" class="footer__heading">About</h2>
<div class="footer__address">
<p>Susparsa Store</p>
<p>Geneva, Switzerland</p>
<ul class="social" aria-label="Our social accounts">
<li class="social__item">
<a class="social__link" href="#" target="_blank" aria-label="Facebook">
<svg class="social__logo" width="10" height="20" viewBox="0 0 10 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.02694 9.9817H6.42882V19.5H2.49245V9.9817H0.6203V6.63659H2.49245V4.47193C2.49245 2.92396 3.22776 0.5 6.46386 0.5L9.37967 0.512199V3.7592H7.26406C6.91704 3.7592 6.42908 3.93258 6.42908 4.671V6.63971H9.37084L9.02694 9.9817Z" fill="#5E626B"/>
</svg>
</a>
</li>
<li class="social__item">
<a class="social__link" href="#" target="_blank" aria-label="Instagram">
<svg class="social__logo" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14.7071 0.5C17.3502 0.5 19.5 2.65013 19.5 5.29293V14.7071C19.5 17.3502 17.3502 19.5 14.7071 19.5H5.29293C2.65013 19.5 0.5 17.3502 0.5 14.7071V5.29293C0.5 2.65013 2.65013 0.5 5.29293 0.5H14.7071ZM14.7071 2.56779H5.29293C3.7903 2.56779 2.56779 3.7903 2.56779 5.29293V14.7071C2.56779 16.2097 3.7903 17.4326 5.29293 17.4326H14.7071C16.2097 17.4326 17.4326 16.21 17.4326 14.7071V5.29293C17.4326 3.7903 16.21 2.56779 14.7071 2.56779ZM10 5.10678C12.6984 5.10678 14.8936 7.30195 14.8936 10C14.8936 12.698 12.698 14.8936 10 14.8936C7.30195 14.8936 5.10678 12.6984 5.10678 10C5.10678 7.30195 7.30195 5.10678 10 5.10678ZM10 7.17456C8.44247 7.17456 7.17421 8.44212 7.17421 9.99965C7.17421 11.5579 8.44247 12.8258 10 12.8258C11.5582 12.8258 12.8254 11.5579 12.8254 9.99965C12.8254 8.44247 11.5579 7.17456 10 7.17456ZM15.0509 3.80297C15.6892 3.80297 16.2086 4.32238 16.2086 4.96073C16.2086 5.59909 15.6892 6.1185 15.0509 6.1185C14.4122 6.1185 13.8928 5.59909 13.8928 4.96073C13.8928 4.32238 14.4122 3.80297 15.0509 3.80297Z" fill="#5E626B"/>
</svg>
</a>
</li>
</ul>
</div>
</section>
<section aria-labelledby="companyInfo" class="footer__col">
<h2 id="companyInfo" class="footer__heading">Company</h2>
<nav aria-label="Footer primary">
<ul class="footer__list">
<li class="footer__list-item">
<a class="footer__list-link" href="#">Woman</a>
</li>
<li class="footer__list-item">
<a class="footer__list-link" href="#">Men</a>
</li>
<li class="footer__list-item">
<a class="footer__list-link" href="#">Kids</a>
</li>
<li class="footer__list-item">
<a class="footer__list-link" href="#">About Us</a>
</li>
<li class="footer__list-item">
<a class="footer__list-link" href="#">Our Materials</a>
</li>
</ul>
</nav>
</section>
<section aria-labelledby="usefulLinks" class="footer__col">
<h2 id="usefulLinks" class="footer__heading">Useful links</h2>
<nav aria-label="Footer secondary">
<ul class="footer__list">
<li class="footer__list-item">
<a class="footer__list-link" href="#">Privacy Policy</a>
</li>
<li class="footer__list-item">
<a class="footer__list-link" href="#">Shipping Policy</a>
</li>
<li class="footer__list-item">
<a class="footer__list-link" href="#">Return & Refund Policy</a>
</li>
<li class="footer__list-item">
<a class="footer__list-link" href="#">Terms of Service</a>
</li>
<li class="footer__list-item">
<a class="footer__list-link" href="#">Contact Us</a>
</li>
</ul>
</nav>
</section>
<section aria-labelledby="subscribeForm" class="footer__col">
<h2 id="subscribeForm" class="footer__heading">Subscribe</h2>
<form class="subscribe-form" action="#" aria-label="Subcribe Form">
<label class="subscribe-form__label" for="email">Email</label>
<input class="subscribe-form__input input" type="email" name="email" id="email" placeholder="[email protected]" autocomplete="email">
<label class="subscribe-form__checkbox form__input-group">
<input class="checkbox" type="checkbox" name="agree" id="agree">
I agree to give you all my data
</label>
<button class="subscribe-form__button btn btn_primary">Subscribe</button>
</form>
</section>
</div>
<small class="footer__copyright">© Susparsa 2021</small>
</div>
</footer>
</div>
<script src="scripts.js"></script>
</body>
</html>