-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcatalog.html
More file actions
440 lines (424 loc) · 24.9 KB
/
catalog.html
File metadata and controls
440 lines (424 loc) · 24.9 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>HTML Academy: Седона</title>
<link rel="icon" href="favicon.ico">
<link rel="icon" type="image/png" href="images/favicon.png">
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
<div class="page-container">
<header class="page-header" data-test="header">
<a class="logo header-logo" href="index.html" aria-current="page">
<img class="logo-img" src="images/logo-sedona.svg" width="140" height="70" alt="Логотип Седоны">
</a>
<nav class="navigation">
<ul class="navigation-list navigation-pages">
<li class="navigation-item">
<a href="index.html" class="navigation-link">Главная</a>
</li>
<li class="navigation-item">
<a href="#" class="navigation-link">О Седоне</a>
</li>
<li class="navigation-item">
<a href="catalog.html" class="navigation-link active">Гостиницы</a>
</li>
</ul>
<ul class="navigation-list navigation-user">
<li class="navigation-item">
<a href="#" class="navigation-link navigation-icon search">
<span class="visually-hidden">Поиск</span>
</a>
</li>
<li class="navigation-item">
<a href="#" class="navigation-link navigation-icon favourites">
<span class="visually-hidden">В избранном </span>
<span class="favourites-number">12</span>
<span class="visually-hidden"> гостиниц</span>
</a>
</li>
<li class="navigation-item">
<a href="#" class="button button-basic navigation-button">Хочу сюда!</a>
</li>
</ul>
</nav>
</header>
<main class="main main-inner" data-test="main">
<header class="inner-header">
<h1 class="inner-header-title">Гостиницы Седоны</h1>
<ul class="breadcrumbs">
<li class="breadcrumbs-item">
<a class="breadcrumbs-link" href="index.html"><span class="visually-hidden">Главная</span></a>
</li>
<li class="breadcrumbs-item">
<a class="breadcrumbs-link">Гостиницы</a>
</li>
</ul>
<section class="filters" data-test="filter">
<h2 class="visually-hidden">Фильтры поиска</h2>
<form class="filters-form" action="https://echo.htmlacademy.ru/" method="get">
<div class="form-column">
<fieldset class="filters-form-group">
<legend class="filters-form-title">Инфраструктура:</legend>
<ul class="filters-form-list">
<li class="filters-form-item">
<label class="control">
<input class="visually-hidden control-input" type="checkbox" name="pool" checked>
<span class="control-mark"></span>
<span class="control-label">Бассейн</span>
</label>
</li>
<li class="filters-form-item">
<label class="control">
<input class="visually-hidden control-input" type="checkbox" name="parking" checked>
<span class="control-mark"></span>
<span class="control-label">Парковка</span>
</label>
</li>
<li class="filters-form-item">
<label class="control">
<input class="visually-hidden control-input" type="checkbox" name="wi-fi">
<span class="control-mark"></span>
<span class="control-label">Wi-Fi</span>
</label>
</li>
</ul>
</fieldset>
<fieldset class="filters-form-group">
<legend class="filters-form-title">Тип Жилья:</legend>
<ul class="filters-form-list">
<li class="filters-form-item">
<label class="control">
<input class="visually-hidden control-input" type="radio" name="type-of-housing" value="hotel"
checked>
<span class="control-mark"></span>
<span class="control-label">Гостиница</span>
</label>
</li>
<li class="filters-form-item">
<label class="control">
<input class="visually-hidden control-input" type="radio" name="type-of-housing" value="motel">
<span class="control-mark"></span>
<span class="control-label">Мотель</span>
</label>
</li>
<li class="filters-form-item">
<label class="control">
<input class="visually-hidden control-input" type="radio" name="type-of-housing"
value="appartments">
<span class="control-mark"></span>
<span class="control-label">Апартаменты</span>
</label>
</li>
</ul>
</fieldset>
</div>
<div class="form-column">
<fieldset class="filters-form-group">
<legend class="filters-form-title">Стоимость, ₽:</legend>
<div class="range">
<div class="range-wrapper-inputs">
<div class="range-wrapper-input">
<label class="range-input-label" for="min-price">от</label>
<input class="range-input range-input-min" type="number" value="0" name="min-price"
id="min-price" placeholder="0">
</div>
<div class="range-wrapper-input">
<label class="range-input-label" for="max-price">до</label>
<input class="range-input range-input-max" type="number" value="9000" name="max-price"
id="max-price" placeholder="9000">
</div>
</div>
<div class="range-scale">
<div class="range-bar" style="left: 0; width: 226px">
<button class="range-toggle toggle-min" type="button">
<span class="visually-hidden">Изменить минимальную цену</span>
</button>
<button class="range-toggle toggle-max" type="button">
<span class="visually-hidden">Изменить максимальную цену</span>
</button>
</div>
</div>
</div>
</fieldset>
<fieldset class="filters-form-group filters-form-group-buttons">
<legend class="filters-form-title visually-hidden">Действия:</legend>
<button class="button button-second filters-submit-button" type="submit">Применить</button>
<button class="button button-transparent filters-reset-button" type="reset">Сбросить</button>
</fieldset>
</div>
</form>
</section>
</header>
<section class="catalog" data-test="catalog">
<div class="catalog-header">
<h2>Найдено гостиниц: <span class="hotel-amount">38</span></h2>
<select class="select-control" name="sorting" aria-label="Сортировка">
<option value="cheap">Сначала дешевые</option>
<option value="expensive">Сначала дорогие</option>
<option value="popular">Сначала популярные</option>
</select>
<ul class="catalog-view-list">
<li class="catalog-view-item">
<a href="#" class="view-button tile active">
<span class="visually-hidden">Показать карточки</span>
</a>
</li>
<li class="catalog-view-item">
<a class="view-button desktop" href="#">
<span class="visually-hidden">Показать на весь экран</span>
</a>
</li>
<li class="catalog-view-item">
<a class="view-button list" href="#">
<span class="visually-hidden">Показать списком</span>
</a>
</li>
</ul>
</div>
<ul class="hotels-list">
<li class="hotel-card">
<a class="hotel-card-link" href="#" tabindex="-1">
<img class="hotel-card-image" src="images/catalog/hotel-1.jpg" width="300" height="212"
alt="Горное ущелье">
</a>
<a class="hotel-card-link" href="#">
<h3 class="hotel-card-title">Amara Resort & Spa</h3>
</a>
<p class="hotel-card-type">Гостиница</p>
<p class="hotel-card-price">От <span class="hotel-price">4000</span> ₽</p>
<a class="button button-basic about" href="#">Подробнее</a>
<button class="button button-second to-favourites" type="button">В избранное</button>
<p class="hotel-card-stars four-stars">
<span class="visually-hidden">Отель 4 звезды</span>
</p>
<p class="hotel-card-rating">Рейтинг: <span class="hotel-rating">8,5</span></p>
</li>
<li class="hotel-card">
<a class="hotel-card-link" href="#" tabindex="-1">
<img class="hotel-card-image" src="images/catalog/hotel-2.jpg" width="300" height="212"
alt="Горы и радуга">
</a>
<a class="hotel-card-link" href="#">
<h3 class="hotel-card-title">Villas at Poco Diablo</h3>
</a>
<p class="hotel-card-type">Гостиница</p>
<p class="hotel-card-price">От <span class="hotel-price">5000</span> ₽</p>
<a class="button button-basic about" href="#">Подробнее</a>
<button class="button button-selected to-favourites" type="button">В избранном</button>
<p class="hotel-card-stars four-stars">
<span class="visually-hidden">Отель 4 звезды</span>
</p>
<p class="hotel-card-rating">Рейтинг: <span class="hotel-rating">9,2</span></p>
</li>
<li class="hotel-card">
<a class="hotel-card-link" href="#" tabindex="-1">
<img class="hotel-card-image" src="images/catalog/hotel-3.jpg" width="300" height="212"
alt="Гора в пустыне">
</a>
<a class="hotel-card-link" href="#">
<h3 class="hotel-card-title">Desert Quail Inn</h3>
</a>
<p class="hotel-card-type">Гостиница</p>
<p class="hotel-card-price">От <span class="hotel-price">2500</span> ₽</p>
<a class="button button-basic about" href="#">Подробнее</a>
<button class="button button-second to-favourites" type="button">В избранное</button>
<p class="hotel-card-stars three-stars">
<span class="visually-hidden">Отель 3 звезды</span>
</p>
<p class="hotel-card-rating">Рейтинг: <span class="hotel-rating">6,9</span></p>
</li>
<li class="hotel-card">
<a class="hotel-card-link" href="#" tabindex="-1">
<img class="hotel-card-image" src="images/catalog/hotel-4.jpg" width="300" height="212"
alt="Гора и звездное небо">
</a>
<a class="hotel-card-link" href="#">
<h3 class="hotel-card-title">GreenTree Inn</h3>
</a>
<p class="hotel-card-type">Гостиница</p>
<p class="hotel-card-price">От <span class="hotel-price">1500</span> ₽</p>
<a class="button button-basic about" href="#">Подробнее</a>
<button class="button button-second to-favourites" type="button">В избранное</button>
<p class="hotel-card-stars two-stars">
<span class="visually-hidden">Отель 2 звезды</span>
</p>
<p class="hotel-card-rating">Рейтинг: <span class="hotel-rating">5,0</span></p>
</li>
</ul>
<ul class="pagination">
<li class="pagination-item">
<a class="pagination-link current">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 ellipsis">...</a>
</li>
<li class="pagination-item">
<a class="pagination-link" href="#">10</a>
</li>
</ul>
</section>
<section class="subscribe" data-test="subscribe">
<h2 class="section-title">Подпишитесь на рассылку</h2>
<p class="section-subtitle">Только полезная информация и никакого спама, <br> честное бойскаутское!</p>
<form class="subscribe-form" action="https://echo.htmlacademy.ru/" method="get">
<label class="visually-hidden" for="email">Укажите ваш Email</label>
<input class="email-input" type="email" name="email" id="email" placeholder="Ваш e-mail" required>
<button class="button button-second subscribe-button" type="submit">Подписаться</button>
</form>
</section>
</main>
<footer class="page-footer" data-test="footer">
<section class="footer-social">
<h2 class="visually-hidden">Социальные сети</h2>
<ul class="social-list">
<li class="social-item">
<a class="social-link vk" href="https://vk.com/htmlacademy">
<span class="visually-hidden">Вконтакте</span>
<svg class="social-icon" aria-hidden="true" focusable="false" width="24" height="14" viewBox="0 0 24 14"
xmlns="http://www.w3.org/2000/svg">
<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="#83B3D3" />
</svg>
</a>
</li>
<li class="social-item">
<a class="social-link telegram" href="https://t.me/htmlacademy ">
<span class="visually-hidden">Телеграмм</span>
<svg class="social-icon" aria-hidden="true" focusable="false" width="18" height="16" viewBox="0 0 18 16"
xmlns="http://www.w3.org/2000/svg">
<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="#83B3D3" />
</svg>
</a>
</li>
<li class="social-item">
<a class="social-link youtube" href="https://www.youtube.com/user/htmlacademyru">
<span class="visually-hidden">Youtube</span>
<svg class="social-icon" aria-hidden="true" focusable="false" width="22" height="17" viewBox="0 0 22 17"
xmlns="http://www.w3.org/2000/svg">
<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="#83B3D3" />
</svg>
</a>
</li>
</ul>
</section>
<section class="footer-contacts">
<h2 class="visually-hidden">Контакты</h2>
<a class="footer-phone" href="tel:+78128121212">+7 (812) 812-12-12</a>
</section>
<section class="footer-logo">
<h2 class="visually-hidden">Логотип</h2>
<a class="html-academy-logo" href="https://htmlacademy.ru/">
<svg role="img" aria-label="логотип разработчика HTML Academy" width="115" height="33" viewBox="0 0 115 33"
fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 12.9V15.5H2.5V12.9H0Z" fill="black" />
<path
d="M11.6 4.5C10 4.5 8.8 5.2 8 6.2H7.9V0H5.9V15.5H7.9V10.2C7.9 8.1 9.2 6.6 11.2 6.6C13 6.6 14.1 8 14.1 9.8V15.5H16.1V9.4C16.2 6.4 14.3 4.5 11.6 4.5Z"
fill="black" />
<path
d="M26.6 4.8H21.8V1.1H19.8V4.9H17.9V6.9H19.8V12.9C19.8 14.6 20.8 15.6 22.5 15.6H26.6V13.6H22.9C22.2 13.6 21.8 13.2 21.8 12.5V6.8H26.6V4.8Z"
fill="black" />
<path
d="M41.1 4.6C39.5 4.6 38.2 5.4 37.6 6.7H37.5C36.9 5.5 35.7 4.6 34.1 4.6C32.7 4.6 31.6 5.4 31 6.4H30.9V4.8H29V15.4H31V10C31 8 32 6.5 33.6 6.5C35.1 6.5 36 7.5 36 9.1V15.4H38V9.8C38 7.4 39.4 6.5 40.6 6.5C42.1 6.5 43 7.5 43 9.1V15.4H45V8.9C45.1 6.4 43.6 4.6 41.1 4.6Z"
fill="black" />
<path d="M47.8 12.7C47.8 14.4 48.8 15.4 50.6 15.4H52.6V13.4H50.9C50.2 13.4 49.8 13 49.8 12.3V0H47.8V12.7Z"
fill="black" />
<path
d="M28.9 19.7C28 18.6 26.7 17.9 25 17.9C21.9 17.9 19.6 20.2 19.6 23.5C19.6 26.8 21.9 29.1 25 29.1C26.8 29.1 28 28.3 28.8 27.2H28.9V28.8H30.9V18.2H28.9V19.7ZM25.3 27.1C23.1 27.1 21.7 25.5 21.7 23.5C21.7 21.5 23.1 19.9 25.3 19.9C27.5 19.9 28.9 21.5 28.9 23.5C28.9 25.4 27.5 27.1 25.3 27.1Z"
fill="black" />
<path
d="M44.2 22C43.7 19.6 41.6 17.9 38.8 17.9C35.4 17.9 33.2 20.4 33.2 23.5C33.2 26.6 35.4 29.1 38.8 29.1C41.6 29.1 43.7 27.3 44.2 24.9H42.1C41.7 26.2 40.4 27.2 38.8 27.2C36.6 27.2 35.2 25.6 35.2 23.6C35.2 21.6 36.6 20 38.8 20C40.4 20 41.6 21 42.1 22.2H44.2V22Z"
fill="black" />
<path
d="M55.1 19.7C54.2 18.6 52.9 17.9 51.2 17.9C48.1 17.9 45.8 20.2 45.8 23.5C45.8 26.8 48.1 29.1 51.2 29.1C53 29.1 54.2 28.3 55 27.2H55.1V28.8H57.1V18.2H55.1V19.7ZM51.5 27.1C49.3 27.1 47.9 25.5 47.9 23.5C47.9 21.5 49.3 19.9 51.5 19.9C53.7 19.9 55.1 21.5 55.1 23.5C55.1 25.4 53.6 27.1 51.5 27.1Z"
fill="black" />
<path
d="M68.7 19.8C67.8 18.7 66.5 17.9 64.8 17.9C61.7 17.9 59.4 20.2 59.4 23.5C59.4 26.8 61.6 29.1 64.8 29.1C66.5 29.1 67.8 28.3 68.6 27.3H68.7V28.8H70.7V13.4H68.7V19.8ZM65.1 27.1C62.9 27.1 61.5 25.5 61.5 23.5C61.5 21.5 62.9 19.9 65.1 19.9C67.3 19.9 68.7 21.5 68.7 23.5C68.6 25.5 67.2 27.1 65.1 27.1Z"
fill="black" />
<path
d="M78.3 17.9C75 17.9 72.8 20.4 72.8 23.5C72.8 26.5 74.9 29.1 78.3 29.1C80.8 29.1 82.8 27.8 83.5 25.5H81.4C80.9 26.5 79.8 27.1 78.4 27.1C76.5 27.1 75.1 25.8 75 24.2H83.8C84 20.6 81.8 17.9 78.3 17.9ZM78.3 19.8C80 19.8 81.3 20.8 81.6 22.4H75.1C75.4 20.9 76.6 19.8 78.3 19.8Z"
fill="black" />
<path
d="M98.2 17.9C96.6 17.9 95.3 18.7 94.6 19.9H94.5C93.9 18.7 92.7 17.9 91.1 17.9C89.7 17.9 88.6 18.6 88 19.7V18.2H86.1V28.8H88.1V23.4C88.1 21.4 89.1 20 90.7 19.9C92.2 19.9 93.1 20.9 93.1 22.5V28.8H95.1V23.2C95.1 20.8 96.5 19.9 97.7 19.9C99.2 19.9 100.1 20.9 100.1 22.5V28.8H102.1V22.3C102.2 19.7 100.7 17.9 98.2 17.9Z"
fill="black" />
<path
d="M109.4 27L105.8 18.1H103.6L108.4 29.7C108.1 30.6 107.7 30.9 106.7 30.9H104.2V32.9H106.7C108.5 32.9 109.5 32.1 110.2 30.3L114.9 18.1H112.8L109.4 27Z"
fill="black" />
</svg>
</a>
</section>
</footer>
<div class="modal-overlay modal-overlay-close">
<div class="modal modal-hotel-search">
<button class="modal-close-button" type="button">
<span class="visually-hidden">Закрыть</span>
</button>
<section class="modal-content">
<h2 class="modal-title">Поиск гостиницы в Седоне</h2>
<form class="search-form" action="https://echo.htmlacademy.ru/" method="get">
<div class="field-group">
<label class="field-label" for="check-in">Дата Заезда:</label>
<div class="input-wrapper">
<input class="field date" type="text" name="check-in" id="check-in" placeholder="Укажите дату"
value="27 апреля 2020" required>
<p class="message error-text">Мы не можем отправить вас в прошлое.</p>
</div>
</div>
<div class="field-group">
<label class="field-label" for="check-out">Дата Выезда:</label>
<div class="input-wrapper">
<input class="field date" type="text" name="check-out" id="check-out" placeholder="Укажите дату"
value="1 сентября 2023" required>
<p class="message info-text">На эти даты есть свободные номера. Пока есть.</p>
</div>
</div>
<div class="field-group guest-counters">
<div class="guest-counter">
<label class="field-label" for="adults">Взрослые:</label>
<div class="counter-controls">
<button type="button" class="minus"></button>
<input class="field" name="adults" id="adults" type="number" placeholder="1" value="2" required>
<button type="button" class="plus"></button>
</div>
</div>
<div class="guest-counter">
<div class="with-tooltip">
<label class="field-label" for="children">Дети:</label>
<div class="tooltip-container">
<span class="tooltip-icon" tabindex="0"></span>
<p class="tooltip-text">
Укажите количество детей, которые будут с вами, возраст которых от 6 до 18 лет. Дети до 6 лет
размещаются бесплатно.
</p>
</div>
</div>
<div class="counter-controls">
<button type="button" class="minus"></button>
<input class="field" name="children" id="children" type="number" placeholder="0" value="2">
<button type="button" class="plus"></button>
</div>
</div>
</div>
<button type="submit" class="button button-second">Найти</button>
</form>
</section>
</div>
</div>
</div>
</body>
</html>