-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
468 lines (425 loc) · 18.9 KB
/
index.html
File metadata and controls
468 lines (425 loc) · 18.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
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
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8" />
<title>HTML Academy: Sedona</title>
<link rel="stylesheet" href="styles/styles.css" />
<link rel="icon" href="favicon.ico" sizes="32x32" />
<script type="module" src="scripts/scripts.js"></script>
</head>
<body>
<header class="page-header">
<div class="page-header__container container">
<div class="page-header__logo logo">
<a 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" aria-current="page">Главная</a>
</li>
<li class="navigation__item">
<a href="#" class="navigation__link">О Седоне</a>
</li>
<li class="navigation__item">
<a href="catalog.html" class="navigation__link">Гостиницы</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">
<h1 class="visually-hidden">Седона - туры по США</h1>
<div class="page-main__banner banner">
<img
src="images/welcome.svg"
width="458"
height="352"
alt="Welcome to the gorgeous Sedona. Because theGrand Canyon sucks"
class="promo__image"
/>
</div>
<div class="page-main__promo promo promo--big">
<p class="promo__text">
<b>Седона — небольшой городок в Аризоне, заслуживающий большего!</b>
</p>
<p>Рассмотрим причины, по которым Седона круче, чем Гранд-Каньон!</p>
</div>
<section class="page-main__features features">
<h2 class="features__title visually-hidden">
Почему Седона круче, чем Гранд-Каньон?
</h2>
<ul class="features__list">
<li class="features__item">
<section class="feature feature--with-image">
<div class="feature__description">
<h3>Настоящий городок</h3>
<p>Седона — не аттракцион для туристов, там течёт своя жизнь</p>
</div>
<div class="feature__image">
<img
src="images/features/photo-1.jpg"
width="800"
height="385"
alt="Дома Седоны"
class="feature__photo"
/>
</div>
</section>
</li>
<li class="features__item">
<section class="feature">
<div class="feature__description">
<h3>Небольшая площадь</h3>
<p>Все достопримечательности находятся очень близко</p>
</div>
</section>
</li>
<li class="features__item">
<section class="feature">
<div class="feature__description">
<h3>Красивая<br />дорога</h3>
<p>Ехать в Седону из Лас-Вегаса совсем не скучно!</p>
</div>
</section>
</li>
<li class="features__item">
<section class="feature">
<div class="feature__description">
<h3>Мало<br />туристов</h3>
<p>Большинство едет в Гранд Каньон и толпится там</p>
</div>
</section>
</li>
<li class="features__item">
<section class="feature feature--with-image">
<div class="feature__image">
<img
src="images/features/photo-2.jpg"
width="800"
height="385"
alt="Мост дьявола"
class="feature__photo"
/>
</div>
<div class="feature__description">
<h3>Там есть мост дьявола</h3>
<p>Да, по нему можно пройти! Если вы осмелитесь, разумеется</p>
</div>
</section>
</li>
</ul>
</section>
<div class="page-main__promo promo">
<p class="promo__text">
<b>Приезжайте в Седону отдохнуть в комфорте и уюте!</b>
</p>
<p>Опытный персонал и качественное обслуживание!</p>
</div>
<section class="facilities">
<h2 class="facilities__title visually-hidden">Удобства</h2>
<ul class="facilities__list">
<li class="facilities__item facilities__item--house">
<h3>Жильё</h3>
<p>
Рекомендуем пожить в настоящем мотеле,<br />всё как в кино!
</p>
</li>
<li class="facilities__item facilities__item--food">
<h3>Еда</h3>
<p>
Всегда заказывайте<br />топовый фирменный бургер, вы не
разочаруетесь!
</p>
</li>
<li class="facilities__item facilities__item--gifts">
<h3>Сувениры</h3>
<p>
Не только китайского, но и настоящего местного
производства!
</p>
</li>
</ul>
</section>
<div class="subscribe">
<p>
<b>Заинтересовались?</b>
</p>
<p>
Укажите предполагаемые даты поездки,<br />и мы покажем вам лучшие
предложения гостиниц в Седоне
</p>
<a
href="#"
class="subscribe__link button button--brown"
id="hotel-search-btn"
>Поиск гостиницы в седоне</a
>
</div>
</main>
<footer class="page-footer">
<section class="page-footer__subscribe subscribe subscribe--with-bg">
<div class="container subscribe__container">
<h2>Подпишитесь на рассылку</h2>
<p>
Только полезная информация и никакого спама,<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"
required
/>
<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.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-.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>
<dialog id="hotel-search-dialog" class="modal" closedby="any">
<button
class="modal__close button button--grey"
type="button"
id="close-button"
>
<span class="visually-hidden">Закрыть модальное окно</span>
</button>
<div class="hotel-search">
<h2 class="hotel-search__title">Поиск гостиницы в Седоне</h2>
<form
class="hotel-search__form"
method="post"
action="https://echo.htmlacademy.ru/"
>
<label for="checkin-date" class="hotel-search__label"
>Дата заезда:</label
>
<div class="hotel-search__date">
<input
type="text"
id="checkin-date"
name="checkin-date"
class="hotel-search__field field"
placeholder="Укажите дату"
required
/>
</div>
<p
class="hotel-search__notification notification notification--error"
>
Мы не можем отправить вас в прошлое.
</p>
<label for="checkout-date" class="hotel-search__label"
>Дата выезда:</label
>
<div class="hotel-search__date">
<input
type="text"
id="checkout-date"
name="checkout-date"
class="hotel-search__field field"
placeholder="Укажите дату"
/>
</div>
<p class="hotel-search__notification notification">
На эти даты есть свободные номера. Пока есть.
</p>
<label for="adults" class="hotel-search__label">Взрослые:</label>
<p class="hotel-search__count">
<button class="hotel-search__dec button button--grey" type="button">
<span class="visually-hidden">Уменьшить количество</span>
<span class="hotel-search__indicator"></span>
</button>
<input
type="number"
name="adults"
id="adults"
value="2"
class="hotel-search__field field"
/>
<button class="hotel-search__inc button button--grey" type="button">
<span class="visually-hidden">Увеличить количество</span>
<span class="hotel-search__indicator"></span>
</button>
</p>
<div class="hotel-search__wrapper">
<label
for="children"
class="hotel-search__label hotel-search__label--with-tooltip"
>
Дети:
</label>
<div class="hotel-search__tooltip tooltip">
<button
class="tooltip__button button button--blue"
type="button"
popovertarget="info-popover"
>
<span class="visually-hidden">Показать доп инфо</span>
</button>
<div class="tooltip__content" id="info-popover" popover>
<p>
Укажите количество детей, которые будут с вами, возраст
которых от 6 до 18 лет. Дети до 6 лет размещаются бесплатно.
</p>
</div>
</div>
</div>
<p class="hotel-search__count hotel-search__count--end">
<button class="hotel-search__dec button button--grey" type="button">
<span class="visually-hidden">Уменьшить количество</span>
<span class="hotel-search__indicator"></span>
</button>
<input
type="number"
name="children"
id="children"
value="2"
class="hotel-search__field field"
/>
<button class="hotel-search__inc button button--grey" type="button">
<span class="visually-hidden">Увеличить количество</span>
<span class="hotel-search__indicator"></span>
</button>
</p>
<button
class="hotel-search__button button button--blue"
type="submit"
>
Найти
</button>
</form>
</div>
</dialog>
</body>
</html>