-
Notifications
You must be signed in to change notification settings - Fork 1
/
catalog.html
309 lines (304 loc) · 15.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
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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Каталог</title>
<link rel="icon" href="favicon.ico">
<link rel="icon" type="image/png" href="images/favicon.png">
<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="header-logo" href="index.html">
<img class="header-logo-image" alt="Логотип Города Седона" src="images/logo.svg" width="140" height="70">
</a>
<!-- NAVIGATION-LIST -->
<ul class="navigation-list">
<li class="navigation-item navigation-link-index">
<a class="navigation-link" href="index.html">Главная</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="#">О Седоне</a>
</li>
<li class="navigation-item">
<a class="navigation-link active-navigation-link" href="catalog.html">Гостиницы</a>
</li>
</ul>
</nav>
<!-- Блок справа: поиск, избранное и кнопка "Хочу сюда!" USER-->
<ul class="user-list">
<li class="user-item">
<a class="user-link user-search" href="#">
<span class="visually-hidden">Поиск</span>
</a>
</li>
<li class="user-item">
<a class="user-link user-favorites" href="#">
<span class="visually-hidden">Избранное</span>
<span class="counter-favorites">12</span>
</a>
</li>
<li class="user-item">
<a class="modal-open-button" href="#" title="Бронирование Гостиницы">Хочу сюда!</a>
</li>
</ul>
</header>
<main class="main-catalog" data-test="main">
<!-- HEADER-CATALOG -->
<div class="main-catalog-wrapper">
<h1 class="main-catalog-heading">Гостиницы Седоны</h1>
<!-- BREADCRUMBS -->
<ol class="breadcrumbs-list">
<li class="breadcrumbs-item">
<a class="breadcrumbs-link breadcrumbs-home" href="index.html" aria-label="Главная страница"></a>
</li>
<li class="breadcrumbs-item">
<a href="#" class="breadcrumbs-link" aria-label="Страница гостиниц">Гостиницы</a>
</li>
</ol>
<!-- MAIN-CATALOG -->
<section class="catalog-filter" data-test="filter">
<h2 class="visually-hidden">Поиск гостиницы в Седоне</h2>
<!-- FILTER -->
<form class="filter-form" action="https://echo.htmlacademy.ru/" method="get">
<fieldset class="filter-form-group">
<legend class="filter-form-title">Инфраструктура:</legend>
<ul class="filter-form-list">
<li class="filter-form-item">
<label class="filter-form-control" for="pool">
<input class="visually-hidden filter-form-input" type="checkbox" checked id="pool" name="pool">Бассейн
<span class="marker"></span>
</label>
</li>
<li class="filter-form-item">
<label class="filter-form-control" for="parking">
<input class="visually-hidden filter-form-input" type="checkbox" checked id="parking" name="parking"> Парковка
<span class="marker"></span>
</label>
</li>
<li class="filter-form-item">
<label class="filter-form-control" for="Wi-Fi">
<input class="visually-hidden filter-form-input" type="checkbox" id="Wi-Fi" name="Wi-Fi"> Wi-Fi
<span class="marker"></span>
</label>
</li>
</ul>
</fieldset>
<fieldset class="filter-form-group">
<legend class="filter-form-title">Тип жилья:</legend>
<ul class="filter-form-list">
<li class="filter-form-item">
<label class="filter-form-control" for="hotel">
<input class="visually-hidden filter-form-input" type="radio" name="type-housing" value="hotel" id="hotel" checked>Гостиница
<span class="marker"></span>
</label>
</li>
<li class="filter-form-item">
<label class="filter-form-control" for="motel">
<input class="visually-hidden filter-form-input" type="radio" name="type-housing" value="motel" id="motel"> Мотель
<span class="marker"></span>
</label>
</li>
<li class="filter-form-item">
<label class="filter-form-control" for="apartments">
<input class="visually-hidden filter-form-input" type="radio" name="type-housing" value="apartments" id="apartments"> Апартаменты
<span class="marker"></span>
</label>
</li>
</ul>
</fieldset>
<fieldset class="filter-form-group filter-form-group-price">
<legend class="filter-form-title">Стоимость, ₽:</legend>
<div class="range-price-wrapper range-price">
<label class="range-price-control" for="min-price">
<input class="range-price-input range-price-input-first" type="number" name="min-price" id="min-price" aria-label="Укажите минимальную стоимость." placeholder="0">
<span class="range-price-description">от</span>
</label>
<label class="range-price-control" for="max-price">
<input class="range-price-input range-price-input-second" type="number" name="max-price" id="max-price" aria-label="Укажите максимальную стоимость." placeholder="9000">
<span class="range-price-description">до</span>
</label>
</div>
<div class="range-price-bar">
<button class="range-price-toggle toggle-min" type="button" aria-label="Измените минимальный ценовой предел.">
</button>
<button class="range-price-toggle toggle-max" type="button" aria-label="Измените максимальный ценовой предел.">
</button>
</div>
</fieldset>
<div class="filter-form-buttons">
<button class="filter-form-button" type="submit" aria-label="Выполнить поиск гостиниц.">Применить</button>
<button class="filter-form-button" type="reset" aria-label="Сбросить форму поиска гостиниц.">Сбросить</button>
</div>
</form>
</section>
</div>
<section class="hotel-list-section" data-test="catalog">
<div class="hotel-header">
<p class="hotel-catalog-header">Найдено гостиниц: 38 </p>
<select class="select-options">
<option value="cheap" selected>Сначала дешевые</option>
<option value="expensive">Сначала дорогие</option>
<option value="rating">По рейтингу</option>
</select>
<ul class="menu-view-list">
<li class="menu-view-item">
<a class="menu-view-link menu-view-link-selected" href="catalog.html?view=tile" aria-label="Grid View">
<span class="visually-hidden">Показать плиткой</span>
</a>
</li>
<li class="menu-view-item">
<a class="menu-view-link" href="catalog.html?view=card" aria-label="Mosaic View">
<span class="visually-hidden">Показать карточками</span>
</a>
</li>
<li class="menu-view-item">
<a class="menu-view-link" href="catalog.html?view=list" aria-label="List View">
<span class="visually-hidden">Показать списком</span>
</a>
</li>
</ul>
</div>
<ul class="card-list">
<li class="card-item">
<a class="card-item-link-image" href="#" aria-label="Фотография Amara Resort & Spa.">
<img class="card-item-image" src="images/hotel-1.jpg" alt="Фотография Amara Resort & Spa" width="300" height="212">
</a>
<a class="card-item-link-heading" href="#">
<h3 class="card-item-heading">Amara Resort & Spa</h3>
</a>
<p class="card-item-type">Гостиница</p>
<p class="card-item-price">От 4000 ₽</p>
<a class="card-item-link" href="#" aria-label="Подробнее о гостинице Amara Resort & Spa.">Подробнее</a>
<button class="card-item-button" type="button" aria-label="Добавить гостиницу Amara Resort & Spa в избранное.">В избранное</button>
<p class="card-item-star four-stars">
<span class="visually-hidden">4 звезды</span>
</p>
<p class="card-item-rating">Рейтинг:
<span>8,5</span>
</p>
</li>
<li class="card-item">
<a class="card-item-link-image" href="#" aria-label="Фотография Villas at Poco Diablo.">
<img class="card-item-image" src="images/hotel-2.jpg" alt="Фотография Villas at Poco Diablo" width="300" height="212">
</a>
<a class="card-item-link-heading" href="#">
<h3 class="card-item-heading">Villas at Poco Diablo</h3>
</a>
<p class="card-item-type">Гостиница</p>
<p class="card-item-price">От 5000 ₽</p>
<a class="card-item-link" href="#" aria-label="Подробнее о гостинице Villas at Poco Diablo.">Подробнее</a>
<button class="card-item-button card-item-button-selected" type="button" aria-label="Гостиница Villas at Poco Diablo уже в избранном.">В избранном</button>
<p class="card-item-star four-stars">
<span class="visually-hidden">4 звезды</span>
</p>
<p class="card-item-rating">Рейтинг:
<span>9,2</span>
</p>
</li>
<li class="card-item">
<a class="card-item-link-image" href="#" aria-label="Фотография Desert Quail Inn.">
<img class="card-item-image" src="images/hotel-3.jpg" alt="Фотография Desert Quail Inn" width="300" height="212">
</a>
<a class="card-item-link-heading" href="#">
<h3 class="card-item-heading">Desert Quail Inn</h3>
</a>
<p class="card-item-type">Гостиница</p>
<p class="card-item-price">От 2500 ₽</p>
<a class="card-item-link" href="#" aria-label="Подробнее о гостинице Desert Quail Inn.">Подробнее</a>
<button class="card-item-button" type="button" aria-label="Добавить гостиницу Desert Quail Inn в избранное.">В избранное</button>
<p class="card-item-star three-stars">
<span class="visually-hidden">3 звезды</span>
</p>
<p class="card-item-rating">Рейтинг:
<span>6,9</span>
</p>
</li>
<li class="card-item">
<a class="card-item-link-image" href="#" aria-label="Фотография GreenTree Inn.">
<img class="card-item-image" src="images/hotel-4.jpg" alt="Фотография GreenTree Inn" width="300" height="212">
</a>
<a class="card-item-link-heading" href="#">
<h3 class="card-item-heading">GreenTree Inn</h3>
</a>
<p class="card-item-type">Гостиница</p>
<p class="card-item-price">От 1500 ₽</p>
<a class="card-item-link" href="#" aria-label="Подробнее о гостинице GreenTree Inn.">Подробнее</a>
<button class="card-item-button" type="button" aria-label="Добавить гостиницу GreenTree Inn в избранное.">В избранное
</button>
<p class="card-item-star two-stars">
<span class="visually-hidden">2 звезды</span>
</p>
<p class="card-item-rating">Рейтинг:
<span>5,0</span>
</p>
</li>
</ul>
<!-- PAGINATION -->
<ol class="pagination-list">
<li class="pagination-item">
<a class="pagination-link pagination-link-active">1</a>
</li>
<li class="pagination-item">
<a class="pagination-link" href="#" aria-label="Два.">2</a>
</li>
<li class="pagination-item">
<a class="pagination-link" href="#" aria-label="Три.">3</a>
</li>
<li class="pagination-item">
<a class="pagination-link" href="#" aria-label="Четыре.">4</a>
</li>
<li class="pagination-item">
<p class="pagination-text">...</p>
</li>
<li class="pagination-item">
<a class="pagination-link" href="#" aria-label="Десять.">10</a>
</li>
</ol>
</section>
<!-- SUBSCRIBE -->
<section class="subscribe-catalog" data-test="subscribe">
<h2 class="subscribe-catalog-heading">Подпишитесь на рассылку</h2>
<p class="subscribe-catalog-desc">Только полезная информация и никакого спама,
<br> честное бойскаутское!</p>
<form class="subscribe-catalog-form" action="https://echo.htmlacademy.ru/" method="post">
<input class="subscribe-catalog-input" type="email" name="email" id="email" placeholder="Ваш e-mail" required>
<button class="subscribe-catalog-button" type="submit">Подписаться</button>
</form>
</section>
</main>
<!-- FOOTER -->
<footer class="footer" data-test="footer">
<!-- Контактная Информация -->
<h2 class="visually-hidden">Контактная Информация</h2>
<ul class="contact-information-list">
<li class="contact-information-item">
<a class="contact-information-link vk-link" href="https://vk.com/htmlacademy">
<span class="visually-hidden">ВК</span>
</a>
</li>
<li class="contact-information-item">
<a class="contact-information-link tg-link" href="https://t.me/htmlacademy">
<span class="visually-hidden">Телеграм</span>
</a>
</li>
<li class="contact-information-item">
<a class="contact-information-link youtube-link" href="https://www.youtube.com/user/htmlacademyru">
<span class="visually-hidden">YouTube</span>
</a>
</li>
</ul>
<section class="contacts-address">
<a class="contacts-address-phone-number" href="tel:+78128121212"> +7 (812) 812-12-12</a>
</section>
<a class="html-academy-link" href="https://htmlacademy.ru/">
<span class="visually-hidden">HTML Academy</span>
</a>
</footer>
</div>
</body>
</html>