-
Notifications
You must be signed in to change notification settings - Fork 1
/
catalog.html
402 lines (367 loc) · 23 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
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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Каталог Седона</title>
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<div class="page-container">
<header class="page-header" data-test="header">
<nav class="navigation">
<a class="navigation-logo" href="#">
<img src="images/logo-sedona.svg" alt="Логотип сайта города Седона" width="140" height="70">
</a>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link" href="#">Главная</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="#">О седоне</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="catalog.html">Гостиницы</a>
</li>
</ul>
<ul class="navigation-list navigation-user">
<li class="navigation-item">
<a class="navigation-link" href="#">
<span class="visually-hidden">Поиск</span>
<img src="/images/magnifying-glass.svg" alt="Лупа" width="18" height="18">
</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="#">
<span class="visually-hidden">icons-heart</span>
<img src="/images/heart.svg" alt="сердечко" width="18" height="17">
<span class="heart">12</span>
</a>
</li>
<li class="navigation-item navigation-item-button">
<a class="navigation-link button" href="#">Хочу сюда</a>
</li>
</ul>
</nav>
</header>
<main class="main-catalog" data-test="main">
<div class="filter" data-test="filter">
<h1 class="main-catalog-title">Гостиницы Седоны</h1>
<div class="breadcrumbs">
<h2 class="visually-hidden">Фильтрация гостиниц Седона</h2>
<ul class="breadcrumbs-list">
<li class="breadcrumbs-item">
<a class="breadcrumbs-link" href="index.html">
<span class="visually-hidden">Главная страница</span>
<img src="images/hose.svg" alt="Домик" width="12" height="12">
</a>
</li>
<li class="breadcrumbs-item">
<img src="images/arrow.svg" alt="Стрелка" width="6" height="10">
</li>
<li class="breadcrumbs-item">
<a class="breadcrumbs-link" href="#">Гостиницы</a>
</li>
</ul>
</div>
<form class="filter-form" action="https://echo.htmlacademy.ru/" method="get">
<fieldset class="filter-group">
<legend class="filter-title">Инфраструктура:</legend>
<ul class="filter-list">
<li class="filter-item">
<label class="filter-control">
<input class="filter-input filter-input-infrastructure" name="pool" type="checkbox">
<span class="filter-text">Бассейн</span>
</label>
</li>
<li class="filter-item">
<label class="filter-control">
<input class="filter-input filter-input--infrastructure" name="parking" type="checkbox">
<span class="filter-text">Парковка</span>
</label>
</li>
<li class="filter-item">
<label class="filter-control">
<input class="filter-input filter-input-infrastructure" name="wi-fi" type="checkbox">
<span class="filter-text">Wi-Fi</span>
</label>
</li>
</ul>
</fieldset>
<fieldset class="filter-group">
<legend class="filter-title">Тип жилья:</legend>
<ul class="filter-list">
<li class="filter-item">
<label class="filter-control">
<input class="filter-input filter-input-housing" name="housing-type" type="radio" value="hotel">
<span class="filter-text">Гостиница</span>
</label>
</li>
<li class="filter-item">
<label class="filter-control">
<input class="filter-input filter-input-housing" name="housing-type" type="radio" value="motel">
<span class="filter-text">Мотель</span>
</label>
</li>
<li class="filter-item">
<label class="filter-control">
<input class="filter-input filter-input-housing" name="housing-type" type="radio"
value="apartments">
<span class="filter-text">Апартаменты</span>
</label>
</li>
</ul>
</fieldset>
<fieldset class="filter-group">
<legend class="filter-title">Стоимость, ₽:</legend>
<div class="filter-range">
<div class="filter-range-price">
<label class="filter-range-control" for="minimum-price"> от
<span class="visually-hidden">Минимальная цена.</span>
</label>
<input class="filter-range-input" id="minimum-price" name="minimum-price" type="number" value="0">
<label class="filter-range-control" for="maximum-price"> до
<span class="visually-hidden">Максимальная цена.</span>
</label>
<input class="filter-range-input" id="maximum-price" name="maximum-price" type="number" value="9000">
</div>
<div class="filter-range-bar">
<button class="filter-range-button" type="button">
<span class="visually-hidden">Изменить минимальную цену.</span>
</button>
<button class="filter-range-button" type="button">
<span class="visually-hidden">Изменить максимальную цену.</span>
</button>
</div>
</div>
</fieldset>
<div class="filter-buttons">
<button class="filter-submit button" type="submit">Применить</button>
<button class="filter-reset button" type="reset">Сбросить</button>
</div>
</form>
</div>
<section class="catalog" data-test="catalog">
<div class="catalog-inner">
<h2 class="catalog-title">Найдено гостиниц: <span class="catalog-number">38</span></h2>
<select class="catalog-select" aria-label="Сортировка">
<option class="catalog-option" value="cheap">Сначала дешёвое</option>
<option class="catalog-option" value="expensive">Сначала дорогое</option>
<option class="catalog-option" value="popular">Сначала популярное</option>
</select>
<ul class="catalog-view-list">
<li class="catalog-view-item">
<button class="catalog-view-button catalog-view-button--active" type="button">
<span class="visually-hidden">Плитка.</span>
<img src="images/view-icon1.svg" class="catalog-img" alt="Плитка" width="16" height="14">
</button>
</li>
<li class="catalog-view-item">
<button class="catalog-view-button" type="button">
<span class="visually-hidden">Слайдер.</span>
<img src="images/view-icon2.svg" class="catalog-img" alt="Слайдер" width="16" height="14">
</button>
</li>
<li class="catalog-view-item">
<button class="catalog-view-button" type="button">
<span class="visually-hidden">Список.</span>
<img src="images/view-icon3.svg" class="catalog-img" alt="Список" width="16" height="14">
</button>
</li>
</ul>
</div>
<ul class="catalog-list" data-test="catalog">
<li class="catalog-item">
<article class="catalog-article">
<h3 class="catalog-subtitle">Amara Resort & Spa</h3>
<img class="catalog-image" src="images/hotel-1.jpg" width="300" height="212" alt="Amara Resort & Spa">
<div class="catalog-info">
<span class="catalog-text">Гостиница</span>
<span class="catalog-text">От 4000 ₽</span>
<a class="catalog-link button" href="#">Подробнее</a>
<button class="catalog-button button" type="button">В избранное</button>
<div class="catalog-star">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
</div>
<span class="catalog-rating">Рейтинг: 8,5</span>
</div>
</article>
</li>
<li class="catalog-item">
<article class="catalog-article">
<h3 class="catalog-subtitle">Villas at Poco Diablo</h3>
<img class="catalog-image" src="images/hotel-2.jpg" width="300" height="212"
alt="Villas at Poco Diablo">
<div class="catalog-info">
<span class="catalog-text">Гостиница</span>
<span class="catalog-text">От 5000 ₽</span>
<a class="catalog-link button" href="#">Подробнее</a>
<button class="catalog-button button catalog-button-active" type="button">В избранное</button>
<div class="catalog-star">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
</div>
<span class="catalog-rating">Рейтинг: 9,2</span>
</div>
</article>
</li>
<li class="catalog-item">
<article class="catalog-article">
<h3 class="catalog-subtitle">Desert Quail Inn</h3>
<img class="catalog-image" src="images/hotel-3.jpg" width="300" height="212" alt="Desert Quail Inn">
<div class="catalog-info">
<span class="catalog-text">Гостиница</span>
<span class="catalog-text">От 2500 ₽</span>
<a class="catalog-link button" href="#">Подробнее</a>
<button class="catalog-button button" type="button">В избранное</button>
<div class="catalog-star">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
</div>
<span class="catalog-rating">Рейтинг: 6,9</span>
</div>
</article>
</li>
<li class="catalog-item">
<article class="catalog-article">
<h3 class="catalog-subtitle">GreenTree Inn</h3>
<img class="catalog-image" src="images/hotel-4.jpg" width="300" height="212" alt="GreenTree Inn">
<div class="catalog-info">
<span class="catalog-text">Гостиница</span>
<span class="catalog-text">От 1500 ₽</span>
<a class="catalog-link button" href="#">Подробнее</a>
<button class="catalog-button button" type="button">В избранное</button>
<div class="catalog-star">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
<img class="catalog-star-image" src="images/star.svg" width="18" height="17"
alt="Рейтинг гостиницы">
</div>
<span class="catalog-rating">Рейтинг: 5,0</span>
</div>
</article>
</li>
</ul>
</section>
<ul class="pagination">
<li class="pagination-item pagination-item-active">
<a class="pagination-link pagination-link-active" href="#">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 pagination-item-dot">
<a class="pagination-link pagination-link-dot" href="#">...</a>
</li>
<li class="pagination-item">
<a class="pagination-link" href="#">10</a>
</li>
</ul>
<section class="subsccribe-catalog" data-test="subscribe">
<h2 class="subsccribe-title title-index">Подпишитесь на рассылку</h2>
<p class="subsccribe-description">Только полезная информация и никакого спама, честное бойскаутское!</p>
<form action="https://echo.htmlacademy.ru/">
<input class="subsccribe-input-mail" type="text" placeholder="Ваш e-mail">
<input class="subsccribe-input" type="submit" value="Подписаться">
</form>
</section>
</main>
<footer class="page-footer" data-test="footer">
<ul class="footer-social-list">
<li class="footer-social-item">
<a class="footer-social-link" href="https://vk.com/htmlacademy">
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="15" viewBox="0 0 25 15" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M24.1164 1.80445C24.2824 1.25845 24.1164 0.856445 23.3214 0.856445H20.6964C20.0284 0.856445 19.7204 1.20345 19.5534 1.58645C19.5534 1.58645 18.2184 4.78245 16.3274 6.85845C15.7154 7.46045 15.4374 7.65145 15.1034 7.65145C14.9364 7.65145 14.6854 7.46045 14.6854 6.91345V1.80445C14.6854 1.14845 14.5014 0.856445 13.9454 0.856445H9.81738C9.40038 0.856445 9.14938 1.16045 9.14938 1.44945C9.14938 2.07045 10.0954 2.21445 10.1924 3.96245V7.76045C10.1924 8.59345 10.0394 8.74444 9.70538 8.74444C8.81538 8.74444 6.65038 5.53345 5.36538 1.85945C5.11638 1.14445 4.86438 0.856445 4.19338 0.856445H1.56638C0.816382 0.856445 0.666382 1.20345 0.666382 1.58645C0.666382 2.26845 1.55638 5.65645 4.81138 10.1374C6.98138 13.1974 10.0364 14.8564 12.8194 14.8564C14.4884 14.8564 14.6944 14.4884 14.6944 13.8534V11.5404C14.6944 10.8034 14.8524 10.6564 15.3814 10.6564C15.7714 10.6564 16.4384 10.8484 17.9964 12.3234C19.7764 14.0724 20.0694 14.8564 21.0714 14.8564H23.6964C24.4464 14.8564 24.8224 14.4884 24.6064 13.7604C24.3684 13.0364 23.5184 11.9854 22.3914 10.7384C21.7794 10.0284 20.8614 9.26345 20.5824 8.88045C20.1934 8.38945 20.3044 8.17044 20.5824 7.73345C20.5824 7.73345 23.7824 3.30745 24.1154 1.80445H24.1164Z"
fill="#83B3D3" />
</svg>
</a>
</li>
<li class="footer-social-item">
<a class="footer-social-link" href="https://t.me/htmlacademy">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="17" viewBox="0 0 18 17" fill="none">
<path
d="M16.785 0.955705L0.840489 7.1042C-0.247661 7.54126 -0.241365 8.14828 0.640845 8.41897L4.73445 9.69597L14.2058 3.72014C14.6537 3.44766 15.0629 3.59424 14.7265 3.89281L7.05283 10.8183H7.05103L7.05283 10.8192L6.77045 15.0387C7.18413 15.0387 7.36669 14.8489 7.59871 14.625L9.58705 12.6915L13.7229 15.7464C14.4855 16.1664 15.0332 15.9506 15.2229 15.0405L17.9379 2.2453C18.2158 1.13107 17.5126 0.626562 16.785 0.955705Z"
fill="#83B3D3" />
</svg>
</a>
</li>
<li class="footer-social-item">
<a class="footer-social-link" href="https://www.youtube.com/user/htmlacademyru">
<svg xmlns="http://www.w3.org/2000/svg" width="23" height="18" viewBox="0 0 23 18" fill="none">
<path
d="M18.9402 0.356445H3.50738C1.64668 0.356445 0.333252 1.9502 0.333252 3.75645V13.8502C0.333252 15.7627 1.64668 17.3564 3.50738 17.3564H19.1591C20.8009 17.3564 22.3333 15.7627 22.3333 13.9564V3.75645C22.1143 1.9502 20.8009 0.356445 18.9402 0.356445ZM7.99494 12.8939V4.81894L15.3283 8.85645L7.99494 12.8939Z"
fill="#83B3D3" />
</svg>
</a>
</li>
</ul>
<div class="iphone">
<a class="iphone-link" href="tel:+78128121212">+7 (812) 812-12-12</a>
</div>
<adress class="logo-developer">
<a href="https://htmlacademy.ru/">
<svg xmlns="http://www.w3.org/2000/svg" width="115" height="34" viewBox="0 0 115 34" fill="none">
<path d="M0 13.2564V15.8564H2.5V13.2564H0Z" fill="black" />
<path
d="M11.6 4.85645C10 4.85645 8.8 5.55645 8 6.55645H7.9V0.356445H5.9V15.8564H7.9V10.5564C7.9 8.45645 9.2 6.95645 11.2 6.95645C13 6.95645 14.1 8.35645 14.1 10.1564V15.8564H16.1V9.75644C16.2 6.75644 14.3 4.85645 11.6 4.85645Z"
fill="black" />
<path
d="M26.6 5.15645H21.8V1.45645H19.8V5.25645H17.9V7.25645H19.8V13.2564C19.8 14.9564 20.8 15.9564 22.5 15.9564H26.6V13.9564H22.9C22.2 13.9564 21.8 13.5564 21.8 12.8564V7.15645H26.6V5.15645Z"
fill="black" />
<path
d="M41.1 4.95645C39.5 4.95645 38.2 5.75644 37.6 7.05645H37.5C36.9 5.85645 35.7 4.95645 34.1 4.95645C32.7 4.95645 31.6 5.75645 31 6.75645H30.9V5.15645H29V15.7564H31V10.3564C31 8.35645 32 6.85645 33.6 6.85645C35.1 6.85645 36 7.85645 36 9.45645V15.7564H38V10.1564C38 7.75645 39.4 6.85645 40.6 6.85645C42.1 6.85645 43 7.85645 43 9.45645V15.7564H45V9.25644C45.1 6.75644 43.6 4.95645 41.1 4.95645Z"
fill="black" />
<path
d="M47.8 13.0564C47.8 14.7564 48.8 15.7564 50.6 15.7564H52.6V13.7564H50.9C50.2 13.7564 49.8 13.3564 49.8 12.6564V0.356445H47.8V13.0564Z"
fill="black" />
<path
d="M28.9 20.0564C28 18.9564 26.7 18.2564 25 18.2564C21.9 18.2564 19.6 20.5564 19.6 23.8564C19.6 27.1564 21.9 29.4564 25 29.4564C26.8 29.4564 28 28.6564 28.8 27.5564H28.9V29.1564H30.9V18.5564H28.9V20.0564ZM25.3 27.4564C23.1 27.4564 21.7 25.8564 21.7 23.8564C21.7 21.8564 23.1 20.2564 25.3 20.2564C27.5 20.2564 28.9 21.8564 28.9 23.8564C28.9 25.7564 27.5 27.4564 25.3 27.4564Z"
fill="black" />
<path
d="M44.2 22.3564C43.7 19.9564 41.6 18.2564 38.8 18.2564C35.4 18.2564 33.2 20.7564 33.2 23.8564C33.2 26.9564 35.4 29.4564 38.8 29.4564C41.6 29.4564 43.7 27.6564 44.2 25.2564H42.1C41.7 26.5564 40.4 27.5564 38.8 27.5564C36.6 27.5564 35.2 25.9564 35.2 23.9564C35.2 21.9564 36.6 20.3564 38.8 20.3564C40.4 20.3564 41.6 21.3564 42.1 22.5564H44.2V22.3564Z"
fill="black" />
<path
d="M55.1 20.0564C54.2 18.9564 52.9 18.2564 51.2 18.2564C48.1 18.2564 45.8 20.5564 45.8 23.8564C45.8 27.1564 48.1 29.4564 51.2 29.4564C53 29.4564 54.2 28.6564 55 27.5564H55.1V29.1564H57.1V18.5564H55.1V20.0564ZM51.5 27.4564C49.3 27.4564 47.9 25.8564 47.9 23.8564C47.9 21.8564 49.3 20.2564 51.5 20.2564C53.7 20.2564 55.1 21.8564 55.1 23.8564C55.1 25.7564 53.6 27.4564 51.5 27.4564Z"
fill="black" />
<path
d="M68.7 20.1564C67.8 19.0564 66.5 18.2564 64.8 18.2564C61.7 18.2564 59.4 20.5564 59.4 23.8564C59.4 27.1564 61.6 29.4564 64.8 29.4564C66.5 29.4564 67.8 28.6564 68.6 27.6564H68.7V29.1564H70.7V13.7564H68.7V20.1564ZM65.1 27.4564C62.9 27.4564 61.5 25.8564 61.5 23.8564C61.5 21.8564 62.9 20.2564 65.1 20.2564C67.3 20.2564 68.7 21.8564 68.7 23.8564C68.6 25.8564 67.2 27.4564 65.1 27.4564Z"
fill="black" />
<path
d="M78.3 18.2564C75 18.2564 72.8 20.7564 72.8 23.8564C72.8 26.8564 74.9 29.4564 78.3 29.4564C80.8 29.4564 82.8 28.1564 83.5 25.8564H81.4C80.9 26.8564 79.8 27.4564 78.4 27.4564C76.5 27.4564 75.1 26.1564 75 24.5564H83.8C84 20.9564 81.8 18.2564 78.3 18.2564ZM78.3 20.1564C80 20.1564 81.3 21.1564 81.6 22.7564H75.1C75.4 21.2564 76.6 20.1564 78.3 20.1564Z"
fill="black" />
<path
d="M98.2 18.2564C96.6 18.2564 95.3 19.0564 94.6 20.2564H94.5C93.9 19.0564 92.7 18.2564 91.1 18.2564C89.7 18.2564 88.6 18.9564 88 20.0564V18.5564H86.1V29.1564H88.1V23.7564C88.1 21.7564 89.1 20.3564 90.7 20.2564C92.2 20.2564 93.1 21.2564 93.1 22.8564V29.1564H95.1V23.5564C95.1 21.1564 96.5 20.2564 97.7 20.2564C99.2 20.2564 100.1 21.2564 100.1 22.8564V29.1564H102.1V22.6564C102.2 20.0564 100.7 18.2564 98.2 18.2564Z"
fill="black" />
<path
d="M109.4 27.3564L105.8 18.4564H103.6L108.4 30.0564C108.1 30.9564 107.7 31.2564 106.7 31.2564H104.2V33.2564H106.7C108.5 33.2564 109.5 32.4564 110.2 30.6564L114.9 18.4564H112.8L109.4 27.3564Z"
fill="black" />
</svg>
</a>
</adress>
</footer>
</div>
</body>
</html>