-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcatalog.html
More file actions
598 lines (546 loc) · 24.1 KB
/
catalog.html
File metadata and controls
598 lines (546 loc) · 24.1 KB
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
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8" />
<title>Каталог</title>
<link rel="stylesheet" href="styles/styles.css" />
<link rel="icon" href="favicon.ico" sizes="32x32" />
</head>
<body>
<header class="page-header">
<div class="page-header__container container">
<div class="page-header__logo logo">
<a href="index.html" class="logo__link">
<img
src="images/logo.svg"
width="140"
height="70"
alt="Логотип Седона"
/>
</a>
</div>
<nav class="page-header__navigation navigation">
<ul class="navigation__list">
<li class="navigation__item">
<a class="navigation__link" href="index.html">Главная</a>
</li>
<li class="navigation__item">
<a href="#" class="navigation__link">О Седоне</a>
</li>
<li class="navigation__item">
<a class="navigation__link" aria-current="page">Гостиницы</a>
</li>
</ul>
<ul class="navigation__list navigation__list--user">
<li class="navigation__item">
<a href="#" class="navigation__link navigation__link--search">
<span class="visually-hidden">Поиск</span>
</a>
</li>
<li class="navigation__item">
<a href="#" class="navigation__link navigation__link--favorites">
<span class="visually-hidden">Отелей в избранном:</span>
<span class="navigation__favorites">12</span>
</a>
</li>
<li class="navigation__item">
<a href="#" class="navigation__button button button--brown"
>Хочу сюда!</a
>
</li>
</ul>
</nav>
</div>
</header>
<main class="page-main page-main--inner">
<header class="page-main__header page-main__header--catalog">
<div class="container">
<h1 class="page-main__title">Гостиницы Седоны</h1>
<div class="page-main__breadcrumbs breadcrumbs">
<ul class="breadcrumbs__list">
<li class="breadcrumbs__item">
<a
href="index.html"
class="breadcrumbs__link breadcrumbs__link--index"
>
<span class="visually-hidden">Главная</span>
</a>
</li>
<li class="breadcrumbs__item">
<a class="breadcrumbs__link">Гостиницы</a>
</li>
</ul>
</div>
<div class="page-main__filters filters">
<form
action="https://echo.htmlacademy.ru/"
method="get"
class="filters__form"
>
<div class="filters__column filters__column--left">
<fieldset class="filters__group">
<legend class="filters__title">Инфраструктура:</legend>
<ul class="filters__list">
<li class="filters__item">
<label class="filters__control control">
<input
type="checkbox"
name="pool"
class="control__input control__input--checkbox"
checked
/>
<span class="control__title">Бассейн</span>
</label>
</li>
<li class="filters__item">
<label class="filters__control control">
<input
type="checkbox"
name="parking"
class="control__input control__input--checkbox"
checked
/>
<span class="control__title">Парковка</span>
</label>
</li>
<li class="filters__item">
<label class="filters__control control">
<input
type="checkbox"
name="wi-fi"
class="control__input control__input--checkbox"
/>
<span class="control__title">Wi-Fi</span>
</label>
</li>
</ul>
</fieldset>
<fieldset class="filters__group">
<legend class="filters__title">Тип жилья:</legend>
<ul class="filters__list">
<li class="filters__item">
<label class="filters__control control">
<input
type="radio"
name="housing-type"
value="hotel"
class="control__input control__input--radio"
checked
/>
<span class="control__title">Гостиница</span>
</label>
</li>
<li class="filters__item">
<label class="filters__control control">
<input
type="radio"
name="housing-type"
value="motel"
class="control__input control__input--radio"
/>
<span class="control__title">Мотель</span>
</label>
</li>
<li class="filters__item">
<label class="filters__control control">
<input
type="radio"
name="housing-type"
value="apartments"
class="control__input control__input--radio"
/>
<span class="control__title">Апартаменты</span>
</label>
</li>
</ul>
</fieldset>
</div>
<div class="filters__column filters__column--right">
<fieldset class="filters__group filters__group--price">
<legend class="filters__title">Стоимость, ₽:</legend>
<label for="price-min" class="filters__price">
<input
class="filters__field filters__field--min field"
type="number"
id="price-min"
name="price-min"
value="0"
/>
<span>от</span>
</label>
<label for="price-max" class="filters__price">
<input
class="filters__field filters__field--max field"
type="number"
id="price-max"
name="price-max"
value="9000"
/>
<span>до</span>
</label>
<div class="filters__range range">
<div class="range__track"></div>
<div class="range__controls" style="left: 0; right: 61px">
<button
type="button"
class="range__toggle range__toggle--min"
>
<span class="visually-hidden"
>Изменить минимальную цену</span
>
</button>
<button
type="button"
class="range__toggle range__toggle--max"
>
<span class="visually-hidden"
>Изменить максимальную цену</span
>
</button>
</div>
</div>
</fieldset>
<div class="filters__buttons">
<button
type="submit"
class="filters__button button button--blue"
>
Применить
</button>
<button
type="reset"
class="filters__button button button--transparent"
>
Сбросить
</button>
</div>
</div>
</form>
</div>
</div>
</header>
<div class="container">
<div class="page-main__handling handling">
<p class="handling__text">
<b>Найдено гостиниц: 38</b>
</p>
<select class="handling__sort" name="sort" aria-label="Сортировка">
<option value="popular">Сначала популярные</option>
<option value="cheap">Сначала дешёвые</option>
<option value="expensive">Сначала дорогие</option>
</select>
<div class="handling__view" aria-label="Вид отображения">
<a
class="handling__button handling__button--tile button"
href="catalog.html?view=tile"
>
<span class="visually-hidden">Плитка</span>
</a>
<a
class="handling__button handling__button--card button"
href="catalog.html?view=card"
>
<span class="visually-hidden">Карточка</span>
</a>
<a
class="handling__button handling__button--list button"
href="catalog.html?view=list"
>
<span class="visually-hidden">Список</span>
</a>
</div>
</div>
<section class="offers">
<h2 class="visually-hidden">Найденные предложения гостиниц</h2>
<ul class="offers__list">
<li class="offers__item">
<article class="offer">
<div class="offer__image">
<img
src="images/hotels/hotel-1.jpg"
width="300"
height="212"
alt="Amara Resort & Spa"
/>
</div>
<h3 class="offer__title">Amara Resort & Spa</h3>
<dl class="offer__detail">
<dt>Гостиница</dt>
<dd>От 4000 ₽</dd>
</dl>
<footer class="offer__footer">
<div class="offer__links">
<a href="#" class="offer__link button button--brown"
>Подробнее</a
>
<a href="#" class="offer__link button button--blue"
>В избранное</a
>
</div>
<div class="offer__rating rating">
<p class="rating__stars rating__stars--4">
<span class="visually-hidden">Отель 4 звезды</span>
</p>
<span class="rating__value button button--grey"
>Рейтинг: 8,5</span
>
</div>
</footer>
</article>
</li>
<li class="offers__item">
<article class="offer">
<div class="offer__image">
<img
src="images/hotels/hotel-2.jpg"
width="300"
height="212"
alt="Villas at Poco Diablo"
/>
</div>
<h3 class="offer__title">Villas at Poco Diablo</h3>
<dl class="offer__detail">
<dt>Гостиница</dt>
<dd>От 5000 ₽</dd>
</dl>
<footer class="offer__footer">
<div class="offer__links">
<a href="#" class="offer__link button button--brown"
>Подробнее</a
>
<a href="#" class="offer__link button button--green"
>В избранном</a
>
</div>
<div class="offer__rating rating">
<span class="rating__stars rating__stars--4">
<span class="visually-hidden">Отель 4 звезды</span>
</span>
<span class="rating__value button button--grey"
>Рейтинг: 9,2</span
>
</div>
</footer>
</article>
</li>
<li class="offers__item">
<article class="offer">
<div class="offer__image">
<img
src="images/hotels/hotel-3.jpg"
width="300"
height="212"
alt="Desert Quail Inn"
/>
</div>
<h3 class="offer__title">Desert Quail Inn</h3>
<dl class="offer__detail">
<dt>Гостиница</dt>
<dd>От 2500 ₽</dd>
</dl>
<footer class="offer__footer">
<div class="offer__links">
<a href="#" class="offer__link button button--brown"
>Подробнее</a
>
<a href="#" class="offer__link button button--blue"
>В избранноe</a
>
</div>
<div class="offer__rating rating">
<span class="rating__stars rating__stars--3">
<span class="visually-hidden">Отель 3 звезды</span>
</span>
<span class="rating__value button button--grey"
>Рейтинг: 6,9</span
>
</div>
</footer>
</article>
</li>
<li class="offers__item">
<article class="offer">
<div class="offer__image">
<img
src="images/hotels/hotel-4.jpg"
width="300"
height="212"
alt="GreenTree Inn"
/>
</div>
<h3 class="offer__title">GreenTree Inn</h3>
<dl class="offer__detail">
<dt>Гостиница</dt>
<dd>От 1500 ₽</dd>
</dl>
<footer class="offer__footer">
<div class="offer__links">
<a href="#" class="offer__link button button--brown"
>Подробнее</a
>
<a href="#" class="offer__link button button--blue"
>В избранноe</a
>
</div>
<div class="offer__rating rating">
<span class="rating__stars rating__stars--2">
<span class="visually-hidden">Отель 2 звезды</span>
</span>
<span class="rating__value button button--grey"
>Рейтинг: 5,0</span
>
</div>
</footer>
</article>
</li>
</ul>
</section>
<div class="page-main__pagination pagination">
<ul class="pagination__list">
<li class="pagination__item pagination__item--current">
<a class="pagination__link button button--grey">1</a>
</li>
<li class="pagination__item">
<a href="#" class="pagination__link button button--blue">2</a>
</li>
<li class="pagination__item">
<a href="#" class="pagination__link button button--blue">3</a>
</li>
<li class="pagination__item">
<a href="#" class="pagination__link button button--blue">4</a>
</li>
<li class="pagination__item pagination__item--space">
<span class="pagination__link button">...</span>
</li>
<li class="pagination__item">
<a href="#" class="pagination__link button button--blue">10</a>
</li>
</ul>
</div>
</div>
</main>
<footer class="page-footer">
<section class="page-footer__subscribe subscribe">
<div class="container subscribe__container">
<h2 class="subscribe__title">Подпишитесь на рассылку</h2>
<p class="subscribe__text">
Только полезная информация и никакого спама,<br />честное
бойскаутское!
</p>
<form
class="subscribe__form"
action="https://echo.htmlacademy.ru/"
method="post"
>
<input
type="email"
name="email"
class="subscribe__field field"
placeholder="Ваш e-mail"
autocomplete="email"
/>
<button type="submit" class="subscribe__button button button--blue">
Подписаться
</button>
</form>
</div>
</section>
<div class="page-footer__container container">
<section class="page-footer__social social">
<h2 class="social__title visually-hidden">Мы в социальных сетях</h2>
<ul class="social__list">
<li class="social__item">
<a href="#" class="social__link">
<span class="visually-hidden">ВК</span>
<svg
width="24"
height="14"
viewBox="0 0 24 14"
fill="none"
xmlns="http://www.w3.org/2000/svg"
aria-hidden="true"
focusable="false"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M23.45 0.948C23.616 0.402 23.45 0 22.655 0H20.03C19.362 0 19.054 0.347 18.887 0.73C18.887 0.73 17.552 3.926 15.661 6.002C15.049 6.604 14.771 6.795 14.437 6.795C14.27 6.795 14.019 6.604 14.019 6.057V0.948C14.019 0.292 13.835 0 13.279 0H9.151C8.734 0 8.483 0.304 8.483 0.593C8.483 1.214 9.429 1.358 9.526 3.106V6.904C9.526 7.737 9.373 7.888 9.039 7.888C8.149 7.888 5.984 4.677 4.699 1.003C4.45 0.288 4.198 0 3.527 0H0.9C0.15 0 0 0.347 0 0.73C0 1.412 0.89 4.8 4.145 9.281C6.315 12.341 9.37 14 12.153 14C13.822 14 14.028 13.632 14.028 12.997V10.684C14.028 9.947 14.186 9.8 14.715 9.8C15.105 9.8 15.772 9.992 17.33 11.467C19.11 13.216 19.403 14 20.405 14H23.03C23.78 14 24.156 13.632 23.94 12.904C23.702 12.18 22.852 11.129 21.725 9.882C21.113 9.172 20.195 8.407 19.916 8.024C19.527 7.533 19.638 7.314 19.916 6.877C19.916 6.877 23.116 2.451 23.449 0.948H23.45Z"
fill="currentColor"
/>
</svg>
</a>
</li>
<li class="social__item">
<a href="#" class="social__link">
<span class="visually-hidden">Телеграмм</span>
<svg
width="18"
height="16"
viewBox="0 0 18 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
aria-hidden="true"
focusable="false"
>
<path
d="M16.785 0.0992597L0.840489 6.24776C-0.247661 6.68481 -0.241365 7.29184 0.640845 7.56253L4.73445 8.83953L14.2058 2.8637C14.6537 2.59121 15.0629 2.7378 14.7265 3.03636L7.05283 9.96185H7.05103L7.05283 9.96275L6.77045 14.1823C7.18413 14.1823 7.36669 13.9925 7.59871 13.7686L9.58705 11.8351L13.7229 14.89C14.4855 15.31 15.0332 15.0941 15.2229 14.1841L17.9379 1.38885C18.2158 0.274623 17.5126 -0.229883 16.785 0.0992597Z"
fill="currentColor"
/>
</svg>
</a>
</li>
<li class="social__item">
<a href="#" class="social__link">
<span class="visually-hidden">YouTube</span>
<svg
width="22"
height="17"
viewBox="0 0 22 17"
fill="none"
xmlns="http://www.w3.org/2000/svg"
aria-hidden="true"
focusable="false"
>
<path
d="M18.607 0H3.17413C1.31343 0 0 1.59375 0 3.4V13.4937C0 15.4062 1.31343 17 3.17413 17H18.8259C20.4677 17 22 15.4062 22 13.6V3.4C21.7811 1.59375 20.4677 0 18.607 0ZM7.66169 12.5375V4.4625L14.995 8.5L7.66169 12.5375Z"
fill="currentColor"
/>
</svg>
</a>
</li>
</ul>
</section>
<section class="page-footer__contacts contacts">
<h2 class="contacts__title visually-hidden">Контакты</h2>
<ul class="contacts__list">
<li class="contacts__item">
<a href="tel:78128121212" class="contacts__link"
>+7 (812) 812-12-12</a
>
</li>
</ul>
</section>
<div class="page-footer__academy academy">
<a
href="https://htmlacademy.ru/intensive/htmlcss"
class="academy__link"
>
<span class="visually-hidden">HTML Academy логотип</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="115"
height="33"
fill="none"
viewBox="0 0 115 33"
>
<path
fill="currentColor"
d="M0 12.9v2.6h2.5v-2.6zM11.6 4.5Q9.2 4.6 8 6.2h-.1V0h-2v15.5h2v-5.3c0-2.1 1.3-3.6 3.3-3.6 1.8 0 2.9 1.4 2.9 3.2v5.7h2V9.4c.1-3-1.8-4.9-4.5-4.9M26.6 4.8h-4.8V1.1h-2v3.8h-1.9v2h1.9v6q0 2.6 2.7 2.7h4.1v-2h-3.7q-1 0-1.1-1.1V6.8h4.8zM41.1 4.6q-2.5 0-3.5 2.1h-.1a4 4 0 0 0-3.4-2.1Q32 4.8 31 6.4h-.1V4.8H29v10.6h2V10c0-2 1-3.5 2.6-3.5q2.3.1 2.4 2.6v6.3h2V9.8c0-2.4 1.4-3.3 2.6-3.3q2.3.1 2.4 2.6v6.3h2V8.9c.1-2.5-1.4-4.3-3.9-4.3M47.8 12.7q0 2.6 2.8 2.7h2v-2h-1.7q-1 0-1.1-1.1V0h-2zM28.9 19.7a5 5 0 0 0-3.9-1.8c-3.1 0-5.4 2.3-5.4 5.6s2.3 5.6 5.4 5.6q2.7-.1 3.8-1.9h.1v1.6h2V18.2h-2zm-3.6 7.4a3.5 3.5 0 0 1-3.6-3.6c0-2 1.4-3.6 3.6-3.6s3.6 1.6 3.6 3.6c0 1.9-1.4 3.6-3.6 3.6M44.2 22c-.5-2.4-2.6-4.1-5.4-4.1a5.4 5.4 0 0 0-5.6 5.6c0 3.1 2.2 5.6 5.6 5.6 2.8 0 4.9-1.8 5.4-4.2h-2.1a3.4 3.4 0 0 1-3.3 2.3 3.5 3.5 0 0 1-3.6-3.6c0-2 1.4-3.6 3.6-3.6q2.5.2 3.3 2.2h2.1zM55.1 19.7a5 5 0 0 0-3.9-1.8c-3.1 0-5.4 2.3-5.4 5.6s2.3 5.6 5.4 5.6q2.7-.1 3.8-1.9h.1v1.6h2V18.2h-2zm-3.6 7.4a3.5 3.5 0 0 1-3.6-3.6c0-2 1.4-3.6 3.6-3.6s3.6 1.6 3.6 3.6c0 1.9-1.5 3.6-3.6 3.6M68.7 19.8a5 5 0 0 0-3.9-1.9c-3.1 0-5.4 2.3-5.4 5.6s2.2 5.6 5.4 5.6q2.6-.1 3.8-1.8h.1v1.5h2V13.4h-2zm-3.6 7.3a3.5 3.5 0 0 1-3.6-3.6c0-2 1.4-3.6 3.6-3.6s3.6 1.6 3.6 3.6c-.1 2-1.5 3.6-3.6 3.6M78.3 17.9a5.4 5.4 0 0 0-5.5 5.6c0 3 2.1 5.6 5.5 5.6 2.5 0 4.5-1.3 5.2-3.6h-2.1q-.8 1.6-3 1.6c-1.9 0-3.3-1.3-3.4-2.9h8.8c.2-3.6-2-6.3-5.5-6.3m0 1.9q2.7.1 3.3 2.6h-6.5a3 3 0 0 1 3.2-2.6M98.2 17.9a4 4 0 0 0-3.6 2h-.1q-1-1.9-3.4-2-2.2 0-3.1 1.8v-1.5h-1.9v10.6h2v-5.4q.1-3.2 2.6-3.5 2.3.1 2.4 2.6v6.3h2v-5.6c0-2.4 1.4-3.3 2.6-3.3q2.3.1 2.4 2.6v6.3h2v-6.5c.1-2.6-1.4-4.4-3.9-4.4M109.4 27l-3.6-8.9h-2.2l4.8 11.6q-.3 1.3-1.7 1.2h-2.5v2h2.5q2.6 0 3.5-2.6l4.7-12.2h-2.1z"
/>
</svg>
</a>
</div>
</div>
</footer>
</body>
</html>