forked from htmlacademy-htmlcss/1891983-sedona-38
-
Notifications
You must be signed in to change notification settings - Fork 0
/
catalog.html
299 lines (299 loc) · 18.4 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Седона. Гостиницы</title>
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<div class="page-container">
<header class="page-header" data-test="header">
<div class="page-header-container">
<nav class="navigation">
<a class="navigation-logo" href="index.html">
<img class="page-header-logo" src="images/logo.svg" width="140" height="70" alt="Логотип города Седона.">
</a>
<ul class="navigation-list">
<li class="navigation-item">
<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 navigation-link-current" href="#">Гостиницы</a>
</li>
</ul>
<ul class="navigation-user">
<li class="navigation-user-item">
<a class="navigation-user-link navigation-user-link-search" href="#search">
<span class="visually-hidden">Поиск</span>
</a>
</li>
<li class="navigation-user-item">
<a class="navigation-user-link navigation-user-link-favorite" href="#">
<span class="visually-hidden">Избранное</span>
<span class="notification-badge">12</span>
</a>
</li>
</ul>
</nav>
<a class="header-button" href="#">Хочу сюда!</a>
</div>
</header>
<main class="main-container main-inner" data-test="main">
<div class="main-inner-header">
<div class="main-inner-header-container">
<h1 class="inner-header-title">Гостиницы Седоны</h1>
<ol class="breadcrumbs">
<li class="breadcrumbs-item">
<a class="breadcrumbs-link breadcrumbs-home-link" href="index.html">
<span class="visually-hidden">Главная</span>
</a>
</li>
<li class="breadcrumbs-item">
<a class="breadcrumbs-link" href="#">Гостиницы</a>
</li>
</ol>
<section class="filters" data-test="filter">
<h2 class="visually-hidden">Фильтры</h2>
<form class="catalog-filter" action="https://echo.htmlacademy.ru/" method="get">
<fieldset class="catalog-filter-group">
<legend class="catalog-filter-title">Инфраструктура:</legend>
<ul class="catalog-filter-list">
<li class="catalog-filter-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="catalog-filter-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="catalog-filter-item">
<label class="control">
<input class="visually-hidden control-input" type="checkbox" name="wifi">
<span class="control-mark"></span>
<span class="control-label">Wi-Fi</span>
</label>
</li>
</ul>
</fieldset>
<fieldset class="catalog-filter-group">
<legend class="catalog-filter-title">Тип жилья:</legend>
<ul class="catalog-filter-list">
<li class="catalog-filter-item">
<label class="control">
<input class="visually-hidden control-input" type="radio" name="housing-type" value="hotel" checked>
<span class="control-mark"></span>
<span class="control-label">Гостиница</span>
</label>
</li>
<li class="catalog-filter-item">
<label class="control">
<input class="visually-hidden control-input" type="radio" name="housing-type" value="motel">
<span class="control-mark"></span>
<span class="control-label">Мотель</span>
</label>
</li>
<li class="catalog-filter-item">
<label class="control">
<input class="visually-hidden control-input" type="radio" name="housing-type" value="apartments">
<span class="control-mark"></span>
<span class="control-label">Апартаменты</span>
</label>
</li>
</ul>
</fieldset>
<fieldset class="catalog-filter-group">
<legend class="catalog-filter-title">Стоимость, ₽:</legend>
<div class="range">
<div class="range-wrapper-inputs">
<label class="catalog-filter-label">
<span class="range-input-label">от</span>
<input class="range-input range-input-min" type="number" value="0" name="min-price">
</label>
<label class="catalog-filter-label">
<span class="range-input-label">до</span>
<input class="range-input range-input-max" type="number" value="9000" name="max-price">
</label>
</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>
<div class="catalog-filter-buttons">
<button class="catalog-filter-submit" type="submit">Применить</button>
<button class="catalog-filter-reset" type="reset">Сбросить</button>
</div>
</form>
</section>
</div>
</div>
<section class="catalog-products" data-test="catalog">
<div class="catalog-products-container">
<div class="catalog-products-header">
<h2 class="catalog-products-title">Найдено гостиниц: <span>38</span></h2>
<div class="select sorting-type">
<select class="select-control" aria-label="Сортировка">
<option value="popular">Сначала популярные</option>
<option value="cheap" selected>Сначала дешёвые</option>
<option value="expensive">Сначала дорогие</option>
</select>
</div>
<ul class="view-buttons">
<li class="view-button-item">
<a class="view-button view-button-current view-button-tile" href="#">
<span class="visually-hidden">Показать плиткой</span>
</a>
</li>
<li class="view-button-item">
<a class="view-button view-button-card" href="#">
<span class="visually-hidden">Показать карточками</span>
</a>
</li>
<li class="view-button-item">
<a class="view-button view-button-list" href="#">
<span class="visually-hidden">Показать списком</span>
</a>
</li>
</ul>
</div>
<ul class="product-list">
<li class="product-card">
<a class="product-card-link" href="#">
<img class="product-card-image" src="images/catalog/hotel-1.jpg" width="300" height="211" alt="Звёздное небо в расщелине гор.">
<h3 class="product-card-title">Amara Resort & Spa</h3>
</a>
<p class="product-card-type">Гостиница</p>
<p class="product-card-price">От 4000 ₽</p>
<a class="product-card-button" href="#">Подробнее</a>
<a class="add-favorite-button" href="#">В избранное</a>
<p class="product-card-stars product-card-stars-4"><span class="visually-hidden">4 звезды</span></p>
<p class="product-card-rating">Рейтинг: <span>8,5</span></p>
</li>
<li class="product-card">
<a class="product-card-link" href="#">
<img class="product-card-image" src="images/catalog/hotel-2.jpg" width="300" height="211" alt="Радуга над горным хребтом.">
<h3 class="product-card-title">Villas at Poco Diablo</h3>
</a>
<p class="product-card-type">Гостиница</p>
<p class="product-card-price">От 5000 ₽</p>
<a class="product-card-button" href="#">Подробнее</a>
<a class="favorite-button" href="#">В избранном</a>
<p class="product-card-stars product-card-stars-4"><span class="visually-hidden">4 звезды</span></p>
<p class="product-card-rating">Рейтинг: <span>9,2</span></p>
</li>
<li class="product-card">
<a class="product-card-link" href="#l">
<img class="product-card-image" src="images/catalog/hotel-3.jpg" width="300" height="211" alt="Горы на фоне голубого неба.">
<h3 class="product-card-title">Desert Quail Inn</h3>
</a>
<p class="product-card-type">Гостиница</p>
<p class="product-card-price">От 2500 ₽</p>
<a class="product-card-button" href="#">Подробнее</a>
<a class="add-favorite-button" href="#">В избранное</a>
<p class="product-card-stars product-card-stars-3"><span class="visually-hidden">3 звезды</span></p>
<p class="product-card-rating">Рейтинг: <span>6,9</span></p>
</li>
<li class="product-card">
<a class="product-card-link" href="#">
<img class="product-card-image" src="images/catalog/hotel-4.jpg" width="300" height="211" alt="Гора на фоне звёздного неба.">
<h3 class="product-card-title">GreenTree Inn</h3>
</a>
<p class="product-card-type">Гостиница</p>
<p class="product-card-price">От 1500 ₽</p>
<a class="product-card-button" href="#">Подробнее</a>
<a class="add-favorite-button" href="#">В избранное</a>
<p class="product-card-stars product-card-stars-2"><span class="visually-hidden">2 звезды</span></p>
<p class="product-card-rating">Рейтинг: <span>5,0</span></p>
</li>
</ul>
<ul class="pagination">
<li class="pagination-item">
<a class="pagination-link pagination-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">
<span class="pagination-text">...</span>
</li>
<li class="pagination-item">
<a class="pagination-link" href="#">10</a>
</li>
</ul>
</div>
</section>
<section class="subscribe" data-test="subscribe">
<h2 class="subscribe-title">Подпишитесь на рассылку</h2>
<p class="subscribe-description">Только полезная информация и никакого спама, честное бойскаутское!</p>
<form class="subscribe-form" action="https://echo.htmlacademy.ru/" method="post">
<p class="subscribe-form-name">
<label class="visually-hidden" for="user-email">Ваш e-mail</label>
<input class="field" type="text" id="user-email" name="user-email" placeholder="Ваш e-mail">
</p>
<button class="subscribe-button" type="submit">Подписаться</button>
</form>
</section>
</main>
<footer class="page-footer" data-test="footer">
<div class="page-footer-container">
<ul class="footer-social-list">
<li class="footer-social-item">
<a class="footer-social-link" href="#">
<span class="visually-hidden">ВКонтакте</span>
<svg class="footer-social-img" width="25" height="14" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M24.12.95c.16-.55 0-.95-.8-.95H20.7c-.67 0-.98.35-1.15.73 0 0-1.33 3.2-3.22 5.27-.61.6-.9.8-1.23.8-.16 0-.41-.2-.41-.74V.95c0-.66-.19-.95-.74-.95H9.82c-.42 0-.67.3-.67.6 0 .61.95.76 1.04 2.5v3.8c0 .84-.15.99-.48.99-.9 0-3.06-3.21-4.34-6.89-.25-.71-.5-1-1.18-1H1.57c-.75 0-.9.35-.9.73 0 .68.89 4.07 4.14 8.55 2.17 3.06 5.23 4.72 8 4.72 1.68 0 1.88-.37 1.88-1v-2.32c0-.73.16-.88.7-.88.38 0 1.05.2 2.6 1.67 1.79 1.75 2.08 2.53 3.08 2.53h2.63c.75 0 1.12-.37.9-1.1-.23-.72-1.08-1.77-2.2-3.02-.62-.7-1.54-1.47-1.82-1.86-.39-.49-.28-.7 0-1.14 0 0 3.2-4.43 3.54-5.93Z" />
</svg>
</a>
</li>
<li class="footer-social-item">
<a class="footer-social-link" href="#">
<span class="visually-hidden">Телеграм</span>
<svg class="footer-social-img" width="18" height="16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M16.79.1.84 6.25c-1.09.43-1.08 1.04-.2 1.31l4.1 1.28 9.47-5.98c.44-.27.85-.12.52.18L7.05 9.96l-.28 4.22c.41 0 .6-.19.83-.41l1.99-1.93 4.13 3.05c.77.42 1.31.2 1.5-.7l2.72-12.8c.28-1.12-.43-1.62-1.16-1.3Z" />
</svg>
</a>
</li>
<li class="footer-social-item">
<a class="footer-social-link" href="#">
<span class="visually-hidden">YouTube</span>
<svg class="footer-social-img" width="23" height="18" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M18.94.5H3.51C1.65.5.33 2.1.33 3.9V14c0 1.9 1.32 3.5 3.18 3.5h15.65c1.64 0 3.17-1.6 3.17-3.4V3.9C22.11 2.1 20.8.5 18.94.5ZM7.99 13.04V4.96L15.33 9l-7.34 4.04Z" />
</svg>
</a>
</li>
</ul>
<a class="footer-phone" href="tel:+78128121212">+7 (812) 812-12-12</a>
<a class="copyright" href="https://htmlacademy.ru/">
<svg width="115" height="33" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M0 13.4V16h2.5v-2.6H0ZM11.6 5C10 5 8.8 5.7 8 6.7h-.1V.5h-2V16h2v-5.3c0-2.1 1.3-3.6 3.3-3.6 1.8 0 2.9 1.4 2.9 3.2V16h2V9.9c.1-3-1.8-4.9-4.5-4.9ZM26.6 5.3h-4.8V1.6h-2v3.8h-1.9v2h1.9v6c0 1.7 1 2.7 2.7 2.7h4.1v-2h-3.7c-.7 0-1.1-.4-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