-
Notifications
You must be signed in to change notification settings - Fork 1
/
modal.html
303 lines (289 loc) · 21.9 KB
/
modal.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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Седона</title>
<link rel="stylesheet" href="styles/styles.css">
<link rel="icon" href="favicon.ico">
<link rel="icon" type="image/png" href="images/icons/favicon-32x32.png">
<body>
<header class="header" data-test="header">
<a class="header-logo-link" href="index.html">
<img class="header-logo-link-img" src="images/index/sedona-logo.svg" width="140" height="70"
alt="Логотип Города Седона">
</a>
<nav class="navigation">
<ul class="navigation-list">
<li class="navigation-list-item">
<a class="navigation-list-item-link navigation-list-item-link-current" href="index.html">Главная</a>
</li>
<li class="navigation-list-item">
<a class="navigation-list-item-link" href="#">О Седоне</a>
</li>
<li class="navigation-list-item">
<a class="navigation-list-item-link" href="catalog.html">Гостиницы</a>
</li>
</ul>
<ul class="navigation-user">
<li class="navigation-user-item">
<a class="navigation-user-item-link" href="#">
<span class="visually-hidden">Поиск</span>
<svg class="navigation-user-item-link-icon" aria-hidden="true" focusable="false" width="20" height="20"
viewBox="0 0 20 20" fill="black" xmlns="http://www.w3.org/2000/svg">
<path
d="M19.5 18.0083L15.8 14.3287C16.8 13.0359 17.5 11.3453 17.5 9.4558C17.5 5.08011 13.9 1.5 9.5 1.5C5.1 1.5 1.5 5.17956 1.5 9.55525C1.5 13.9309 5.1 17.511 9.5 17.511C11.3 17.511 13 16.9144 14.4 15.8204L18.1 19.5L19.5 18.0083ZM9.5 15.5221C6.2 15.5221 3.5 12.837 3.5 9.55525C3.5 6.27348 6.2 3.5884 9.5 3.5884C12.8 3.5884 15.5 6.27348 15.5 9.55525C15.5 12.837 12.8 15.5221 9.5 15.5221Z" />
</svg>
</a>
</li>
<li class="navigation-user-item">
<a class="navigation-user-item-link" href="#">
<span class="visually-hidden">Избранное</span>
<span class="navigation-user-item-link-count">12</span>
<svg class="navigation-user-item-link-icon" aria-hidden="true" focusable="false" width="20" height="20"
viewBox="0 0 20 20" fill="black" xmlns="http://www.w3.org/2000/svg">
<path
d="M9.9 19C9.6 19 9.3 18.9 9.1 18.6C3.7 12.5 2.4 11.1 2.1 10.7C1.4 9.8 1 8.6 1 7.4C1 4.4 3.4 2 6.5 2C7.8 2 9 2.5 10 3.3C11 2.5 12.3 2 13.5 2C16.5 2 19 4.4 19 7.4C19 8.7 18.5 9.9 17.7 10.8L10.7 18.7C10.5 18.9 10.3 19 9.9 19ZM3.9 9.5C4.2 9.9 7.4 13.5 10 16.4L16.2 9.4C16.7 8.9 16.9 8.2 16.9 7.4C16.9 5.6 15.4 4.1 13.6 4.1C12.6 4.1 11.6 4.6 10.9 5.4C10.6 5.7 10.3 5.8 10 5.8C9.7 5.8 9.4 5.6 9.2 5.4C8.5 4.6 7.5 4.1 6.5 4.1C4.7 4.1 3.2 5.6 3.2 7.4C3.1 8.3 3.5 9 3.9 9.5C3.8 9.5 3.8 9.5 3.9 9.5Z" />
</svg>
</a>
</li>
</ul>
</nav>
<button class="header-button" type="button">Хочу сюда!</button>
</header>
<main class="main main-container" data-test="main">
<!-- Блок: hero -->
<section class="hero" data-test="hero">
<h1 class="visually-hidden">Добро пожаловать в Седону</h1>
<img class="hero-img" src="images/index/welcome-to-sedona.svg" width="458" height="352"
alt="Добро пожаловать в Седону!">
</section>
<!-- Блок: преимущества -->
<section class="advantages" data-test="advantages">
<div class="advantages-container">
<h2 class="visually-hidden">Преимущества отдыха в Седоне</h2>
<p class="advantages-main-text">Седона — небольшой городок в Аризоне, заслуживающий большего!</p>
<p class="advantages-text">Рассмотрим причины, по которым Седона круче, чем Гранд-Каньон!</p>
</div>
<article class="advantages-item-img">
<div class="advantages-text-container">
<h3 class="advantages-title-img">Настоящий городок</h3>
<p class="advantages-description">Седона — не аттракцион для туристов, там течёт своя жизнь</p>
</div>
<img class="advantages-item-img-photo" src="images/index/town-photo.jpg" width="800" height="385"
alt="Фотография города Седона">
</article>
<article class="advantages-item">
<h3 class="advantages-title">Небольшая площадь</h3>
<p class="advantages-description">Все достопримечательности находятся очень близко</p>
</article>
<article class="advantages-item">
<h3 class="advantages-title">Красивая дорога</h3>
<p class="advantages-description">Ехать в Седону из Лас-Вегаса совсем не скучно!</p>
</article>
<article class="advantages-item">
<h3 class="advantages-title">Мало туристов</h3>
<p class="advantages-description">Большинство едет в Гранд Каньон и толпится там</p>
</article>
<article class="advantages-item-img advantages-item-img-reverse">
<div class="advantages-text-container">
<h3 class="advantages-title-img">Там есть<br> мост дьявола</h3>
<p class="advantages-description">Да, по нему можно пройти! Если вы осмелитесь, разумеется</p>
</div>
<img class="advantages-item-img-photo" src="images/index/mountains-photo.jpg" width="800" height="385"
alt="Фотография моста дьявола">
</article>
</section>
<!-- Блок: удобства -->
<section class="services">
<div class="services-container">
<h2 class="visually-hidden">Удобства расположения в Седоне</h2>
<p class="services-main-text">Приезжайте в Седону отдохнуть в комфорте и уюте!</p>
<p class="services-text">Опытный персонал и качественное обслуживание!</p>
</div>
<article class="services-item">
<h3 class="services-title services-living">Жилье</h3>
<p class="services-description">Рекомендуем пожить<br> в настоящем мотеле,<br> всё как в кино!</p>
</article>
<article class="services-item">
<h3 class="services-title services-food">Еда</h3>
<p class="services-description">Всегда заказывайте<br> топовый фирменный бургер, вы не разочаруетесь!</p>
</article>
<article class="services-item">
<h3 class="services-title services-gift">Сувениры</h3>
<p class="services-description">Не только китайского,<br> но и настоящего местного производства!</p>
</article>
</section>
<!-- Блок: поиск гостиницы -->
<section class="hotels-search" data-test="search">
<h2 class="hotels-search-title">Заинтересовались?</h2>
<p class="hotels-search-text">Укажите предполагаемые даты поездки,<br>
и мы покажем вам лучшие предложения гостиниц в Седоне</p>
<button class="hotels-search-button" type="button">Поиск гостиницы в Седоне</button>
</section>
<!-- Блок подписка -->
<section class="subscription subscription-img" data-test="subscribe">
<h2 class="subscription-title">Подпишитесь на рассылку</h2>
<p class="subscription-text">Только полезная информация и никакого спама, честное бойскаутское!</p>
<form class="email-form" action="https://echo.htmlacademy.ru/" method="post">
<label class="email-label">
<span class="visually-hidden">Ваш e-mail</span>
<input class="email-input" type="email" name="email" placeholder="Ваш e-mail" required>
</label>
<button class="subscription-button" type="submit">Подписаться</button>
</form>
</section>
</main>
<!-- Футер -->
<footer class="footer" data-test="footer">
<ul class="footer-social-list">
<li class="footer-social-list-item">
<a class="button-social" href="https://vk.com/htmlacademy">
<span class="visually-hidden">Vkontakte</span>
<svg class="icon-social" aria-hidden="true" focusable="false" width="25" height="15" viewBox="0 0 25 15"
fill="#83B3D3" xmlns="http://www.w3.org/2000/svg">
<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" />
</svg>
</a>
</li>
<li class="footer-social-list-item">
<a class="button-social" href="https://t.me/htmlacademy ">
<span class="visually-hidden">Telegram</span>
<svg class="icon-social" aria-hidden="true" focusable="false" width="18" height="17" viewBox="0 0 18 17"
fill="#83B3D3" xmlns="http://www.w3.org/2000/svg">
<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" />
</svg>
</a>
</li>
<li class="footer-social-list-item">
<a class="button-social" href="https://www.youtube.com/user/htmlacademyru">
<span class="visually-hidden">YouTube</span>
<svg class="icon-social" aria-hidden="true" focusable="false" width="23" height="18" viewBox="0 0 23 18"
fill="#83B3D3" xmlns="http://www.w3.org/2000/svg">
<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" />
</svg>
</a>
</li>
</ul>
<a class="footer-phone" href="tel:+78128121212">+7 (812) 812-12-12</a>
<a class="footer-logo-link" href="https://htmlacademy.ru/">
<span class="visually-hidden">Логотип HTML Academy</span>
<svg class="footer-logo-svg" aria-hidden="true" focusable="false" width="115" height="34" viewBox="0 0 115 34"
xmlns="http://www.w3.org/2000/svg">
<path d="M0 13.2564V15.8564H2.5V13.2564H0Z" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
</svg>
</a>
</footer>
<!-- Модальное окно -->
<div class="modal-container" data-test="modal">
<div class="modal modal-auth">
<button class="modal-close-button" type="button">
<span class="visually-hidden">Закрыть окно</span>
<svg class="modal-close-icon" aria-hidden="true" focusable="false" width="14" height="14" viewBox="0 0 14 14"
fill="black" xmlns="http://www.w3.org/2000/svg">
<path
d="M14 1.29231L12.7077 0L7 5.70769L1.29231 0L0 1.29231L5.70769 7L0 12.7077L1.29231 14L7 8.29231L12.7077 14L14 12.7077L8.29231 7L14 1.29231Z" />
</svg>
</button>
<section class="modal-content">
<h2 class="visually-hidden">Модальное окно для поиска гостиницы в Седоне</h2>
<form class="modal-form" action="https://echo.htmlacademy.ru/" method="post">
<fieldset class="modal-form-fieldset">
<legend class="modal-form-title">Поиск гостиницы в Седоне</legend>
<div class="fieldset-container">
<label class=" modal-form-label date-label" for="check-in-date">Дата Заезда:</label>
<input class="modal-form-input date-input" type="text" id="check-in-date" name="check-in-date"
value="27 апреля 2020" placeholder="Укажите дату" required>
<span class="modal-form-text error-text">Мы не можем отправить вас в прошлое.</span>
<label class="modal-form-label date-label" for="check-out-date">Дата Выезда:</label>
<input class="modal-form-input date-input" type="text" id="check-out-date" name="check-out-date"
value="1 сентября 2024" placeholder="Укажите дату" required>
<span class="modal-form-text">На эти даты есть свободные номера. Пока есть.</span>
<label class="modal-form-label adults-count-label" for="adults-count">Взрослые:</label>
<div class="input-container">
<button class="count-input-button minus" type="button">
<span class="visually-hidden">Уменьшить количество</span>
<span class="count-input-button-icon">
<svg class="button-svg" aria-hidden="true" focusable="false" width="14" height="2"
viewBox="0 0 14 2" fill="#756157" fill-opacity="0.3" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0L0 2L14 2V0L0 0Z" />
</svg>
</span>
</button>
<input class="modal-form-input count-input" type="number" id="adults-count" name="adults-count"
min="0" required>
<button class="count-input-button plus" type="button">
<span class="visually-hidden">Увеличить количество</span>
<span class="count-input-button-icon">
<svg class="button-svg" aria-hidden="true" focusable="false" width="14" height="14"
viewBox="0 0 14 14" fill="#756157" fill-opacity="0.3" xmlns="http://www.w3.org/2000/svg">
<path d="M14 6H8V0H6V6H0V8H6V14H8V8H14V6Z" />
</svg>
</span>
</button>
</div>
<span class="modal-form-label modal-form-label-icon">
<label class="modal-form-label kids-count-label" for="kids-count">Дети:</label>
<span class="tooltip">
<button class="tooltip-button" type="button" aria-labelledby="tooltip-label-count"></button>
<span class="tooltip-text" role="tooltip" id="tooltip-label-count">
Укажите количество детей, которые будут с вами, возраст которых от 6 до 18
лет. Дети до 6 лет размещаются бесплатно.</span>
</span>
</span>
<div class="input-container kids-input">
<button class="count-input-button minus" type="button">
<span class="visually-hidden">Уменьшить количество</span>
<span class="count-input-button-icon">
<svg class="button-svg" aria-hidden="true" focusable="false" width="14" height="2"
viewBox="0 0 14 2" fill="#756157" fill-opacity="0.3" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0L0 2L14 2V0L0 0Z" />
</svg>
</span>
</button>
<input class="modal-form-input count-input" type="number" id="kids-count" name="kids-count" min="0"
required>
<button class="count-input-button plus" type="button">
<span class="visually-hidden">Увеличить количество</span>
<span class="count-input-button-icon">
<svg class="button-svg" aria-hidden="true" focusable="false" width="14" height="14"
viewBox="0 0 14 14" fill="#756157" fill-opacity="0.3" xmlns="http://www.w3.org/2000/svg">
<path d="M14 6H8V0H6V6H0V8H6V14H8V8H14V6Z" />
</svg>
</span>
</button>
</div>
</div>
</fieldset>
<button class="modal-form-search-button" type="submit">Найти</button>
</form>
</section>
</div>
</div>
</body>
</html>