-
Notifications
You must be signed in to change notification settings - Fork 1
/
modal.html
236 lines (236 loc) · 17.3 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>HTML Academy: Седона</title>
<link rel="icon" href="favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon.png">
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<div class="site-container">
<header class="main-header" data-test="header">
<nav class="main-nav">
<a class="header-logo index-logo">
<img class="header-logo-img" src="images/logo.svg" width="140" height="70" alt="Логотип «City of Sedona».">
</a>
<ul class="main-navigation navigation">
<li class="main-navigation-item navigation-item">
<a class="main-navigation-link navigation-link main-navigation-current">Главная</a>
</li>
<li class="main-navigation-item navigation-item">
<a class="main-navigation-link navigation-link" href="#">О Седоне</a>
</li>
<li class="main-navigation-item navigation-item">
<a class="main-navigation-link navigation-link" href="catalog.html">Гостиницы</a>
</li>
</ul>
<ul class="user-navigation navigation">
<li class="user-navigation-item navigation-item">
<a class="user-navigation-link navigation-link user-navigation-search" href="#">
<span class="visually-hidden">Поиск</span>
</a>
</li>
<li class="user-navigation-item navigation-item">
<a class="user-navigation-link navigation-link user-navigation-favorite" href="#">
<span class="visually-hidden">Избранное</span>
<span class="favorite-counter">12</span>
</a>
</li>
</ul>
<a class="want-here button" href="#">Хочу сюда!</a>
</nav>
</header>
<main class="main-container main-index" data-test="main">
<section class="hero" data-test="hero">
<h1 class="visually-hidden">Город «Седона»</h1>
<img class="hero-logo" src="images/hero-logo.svg" width="458" height="352" alt="Логотип «Welcome to the gorgeous Sedona. Because the Grang Canyon sucks!».">
</section>
<section class="advantages" data-test="advantages">
<div class="advantages-wrapper">
<h2 class="advantages-title title">Седона — небольшой городок в Аризоне, заслуживающий большего!</h2>
<p class="advantages-description">Рассмотрим причины, по которым Седона круче, чем Гранд-Каньон!</p>
</div>
<ul class="advantages-list">
<li class="advantage advantage-wide">
<div class="advantage-container">
<h3 class="advantage-title">Настоящий городок</h3>
<p class="advantage-description">Седона — не аттракцион для туристов, там течёт своя жизнь</p>
</div>
<img class="advantage-image" src="images/street.jpg" width="800" height="385" alt="Улица Седоны.">
</li>
<li class="advantage theme-advantage-primary">
<div class="advantage-container">
<h3 class="advantage-title">Небольшая площадь</h3>
<p class="advantage-description">Все достопримечательности находятся очень близко</p>
</div>
</li>
<li class="advantage theme-advantage-secondary">
<div class="advantage-container">
<h3 class="advantage-title">Красивая дорога</h3>
<p class="advantage-description">Ехать в Седону из Лас-Вегаса совсем не скучно!</p>
</div>
</li>
<li class="advantage theme-advantage-primary">
<div class="advantage-container">
<h3 class="advantage-title">Мало туристов</h3>
<p class="advantage-description">Большинство едет в Гранд Каньон и толпится там</p>
</div>
</li>
<li class="advantage advantage-wide advantage-reverse">
<div class="advantage-container">
<h3 class="advantage-title">Там есть мост дьявола</h3>
<p class="advantage-description">Да, по нему можно пройти! Если вы осмелитесь, разумеется</p>
</div>
<img class="advantage-image" src="images/devils-brige.jpg" width="800" height="385" alt="Каменный мост.">
</li>
</ul>
</section>
<section class="services" data-test="service">
<div class="services-wrapper">
<h2 class="services-title title">Приезжайте в Седону отдохнуть в комфорте и уюте!</h2>
<p class="services-description">Опытный персонал и качественное обслуживание!</p>
</div>
<ul class="services-list">
<li class="services-item services-item-housing">
<h3 class="services-item-title">Жильё</h3>
<p class="services-item-description">Рекомендуем пожить в настоящем мотеле,<br> всё как в кино!</p>
</li>
<li class="services-item services-item-food theme-services-primary">
<h3 class="services-item-title">Еда</h3>
<p class="services-item-description">Всегда заказывайте<br> топовый фирменный бургер, вы не разочаруетесь!</p>
</li>
<li class="services-item services-item-souvenirs">
<h3 class="services-item-title">Сувениры</h3>
<p class="services-item-description">Не только китайского, но и настоящего местного производства!</p>
</li>
</ul>
</section>
<section class="hotel-search" data-test="search">
<h2 class="hotel-search-title title">Заинтересовались?</h2>
<p class="hotel-search-description">Укажите предполагаемые даты поездки,<br> и мы покажем вам лучшие предложения гостиниц в Седоне</p>
<a class="hotel-search-link button" href="#">Поиск гостиницы в Седоне</a>
</section>
<section class="subscribe" data-test="subscribe">
<h2 class="subscribe-title title">Подпишитесь на рассылку</h2>
<p class="subscribe-description">Только полезная информация и никакого спама, честное бойскаутское!</p>
<form class="subscribe-form" action="https://echo.htmlacademy.ru/" method="post">
<label class="visually-hidden" for="subscribe-email">Ваш e-mail</label>
<input class="email-input field" type="email" id="subscribe-email" name="subscribe-email" placeholder="Ваш e-mail" required>
<button class="subscribe-button button button-primary" type="submit">Подписаться</button>
</form>
</section>
</main>
<footer class="main-footer" data-test="footer">
<ul class="social-list">
<li class="social-list-item">
<a class="social-link" href="https://vk.com/htmlacademy">
<span class="visually-hidden">Vkontakte</span>
<svg class="social-icon" aria-hidden="true" focusable="false" width="25" height="15" viewBox="0 0 25 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M24.116 1.804c.166-.546 0-.948-.795-.948h-2.625c-.668 0-.976.347-1.143.73 0 0-1.335 3.196-3.226 5.272-.612.602-.89.793-1.224.793-.167 0-.418-.19-.418-.738V1.804c0-.656-.184-.948-.74-.948H9.817c-.417 0-.668.304-.668.593 0 .621.946.765 1.043 2.513V7.76c0 .833-.153.984-.487.984-.89 0-3.055-3.21-4.34-6.885-.249-.715-.5-1.003-1.172-1.003H1.566c-.75 0-.9.347-.9.73 0 .682.89 4.07 4.145 8.551 2.17 3.06 5.225 4.72 8.008 4.72 1.67 0 1.875-.369 1.875-1.004V11.54c0-.737.158-.884.687-.884.39 0 1.057.192 2.615 1.667 1.78 1.75 2.073 2.533 3.075 2.533h2.625c.75 0 1.126-.368.91-1.096-.238-.724-1.088-1.775-2.215-3.022-.612-.71-1.53-1.475-1.809-1.858-.389-.49-.278-.71 0-1.147 0 0 3.2-4.426 3.533-5.929h.001Z"/>
</svg>
</a>
</li>
<li class="social-list-item">
<a class="social-link" href="https://t.me/htmlacademy">
<span class="visually-hidden">Telegram</span>
<svg class="social-icon" aria-hidden="true" focusable="false" width="18" height="17" viewBox="0 0 18 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16.785.956.84 7.104C-.248 7.541-.24 8.148.64 8.42l4.094 1.277 9.472-5.976c.448-.272.857-.126.52.173l-7.673 6.925H7.05l.002.001-.283 4.22c.414 0 .597-.19.829-.414l1.988-1.934 4.136 3.055c.762.42 1.31.205 1.5-.706l2.715-12.795c.278-1.114-.425-1.618-1.153-1.29Z"/>
</svg>
</a>
</li>
<li class="social-list-item">
<a class="social-link" href="https://www.youtube.com/user/htmlacademyru">
<span class="visually-hidden">Youtube</span>
<svg class="social-icon" aria-hidden="true" focusable="false" width="23" height="18" viewBox="0 0 23 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.94.356H3.507C1.647.356.333 1.95.333 3.756V13.85c0 1.913 1.314 3.506 3.174 3.506H19.16c1.642 0 3.174-1.593 3.174-3.4v-10.2c-.219-1.806-1.532-3.4-3.393-3.4ZM7.995 12.894V4.819l7.333 4.037-7.333 4.038Z"/>
</svg>
</a>
</li>
</ul>
<a class="footer-tel" href="tel:+78128121212">+7 (812) 812-12-12</a>
<a class="footer-logo" href="https://htmlacademy.ru/">
<svg class="academy-logo" aria-hidden="true" focusable="false" width="115" height="34" viewBox="0 0 115 34" role="img" aria-label="Логотип «HTML Academy»" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 13.256v2.6h2.5v-2.6H0ZM11.6 4.856c-1.6 0-2.8.7-3.6 1.7h-.1v-6.2h-2v15.5h2v-5.3c0-2.1 1.3-3.6 3.3-3.6 1.8 0 2.9 1.4 2.9 3.2v5.7h2v-6.1c.1-3-1.8-4.9-4.5-4.9ZM26.6 5.156h-4.8v-3.7h-2v3.8h-1.9v2h1.9v6c0 1.7 1 2.7 2.7 2.7h4.1v-2h-3.7c-.7 0-1.1-.4-1.1-1.1v-5.7h4.8v-2ZM41.1 4.956c-1.6 0-2.9.8-3.5 2.1h-.1c-.6-1.2-1.8-2.1-3.4-2.1-1.4 0-2.5.8-3.1 1.8h-.1v-1.6H29v10.6h2v-5.4c0-2 1-3.5 2.6-3.5 1.5 0 2.4 1 2.4 2.6v6.3h2v-5.6c0-2.4 1.4-3.3 2.6-3.3 1.5 0 2.4 1 2.4 2.6v6.3h2v-6.5c.1-2.5-1.4-4.3-3.9-4.3ZM47.8 13.056c0 1.7 1 2.7 2.8 2.7h2v-2h-1.7c-.7 0-1.1-.4-1.1-1.1V.356h-2v12.7ZM28.9 20.056c-.9-1.1-2.2-1.8-3.9-1.8-3.1 0-5.4 2.3-5.4 5.6s2.3 5.6 5.4 5.6c1.8 0 3-.8 3.8-1.9h.1v1.6h2v-10.6h-2v1.5Zm-3.6 7.4c-2.2 0-3.6-1.6-3.6-3.6s1.4-3.6 3.6-3.6 3.6 1.6 3.6 3.6c0 1.9-1.4 3.6-3.6 3.6ZM44.2 22.356c-.5-2.4-2.6-4.1-5.4-4.1-3.4 0-5.6 2.5-5.6 5.6 0 3.1 2.2 5.6 5.6 5.6 2.8 0 4.9-1.8 5.4-4.2h-2.1c-.4 1.3-1.7 2.3-3.3 2.3-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">
<div class="modal modal-search" data-test="modal">
<button class="modal-close-button" type="button">
<span class="visually-hidden">Закрыть</span>
</button>
<section class="modal-content">
<h2 class="modal-title title">Поиск гостиницы в Седоне</h2>
<form class="modal-search-form" action="https://echo.htmlacademy.ru/" method="post">
<div class="field-group field-date">
<label class="modal-search-label" for="arrival-date">Дата заезда:</label>
<input class="modal-search-field field" type="text" id="arrival-date" name="arrival-date" value="27 апреля 2020" placeholder="Укажите дату" required>
<p class="message error">Мы не можем отправить вас в прошлое.</p>
</div>
<div class="field-group field-date">
<label class="modal-search-label" for="departure-date">Дата выезда:</label>
<input class="modal-search-field field" type="text" id="departure-date" name="departure-date" value="1 сентября 2023" placeholder="Укажите дату" required>
<p class="message allow">На эти даты есть свободные номера. Пока есть.</p>
</div>
<div class="search-options">
<div class="field-group">
<label class="modal-search-label" for="adults">Взрослые:</label>
<div class="option-button-container">
<button class="minus-button option-button" type="button">
<span class="visually-hidden">Уменьшить</span>
<svg class="option-button-icon" xmlns="http://www.w3.org/2000/svg" width="14" height="2" fill="none" viewBox="0 0 14 2">
<path d="M0 0v2h14V0H0Z"/>
</svg>
</button>
</div>
<input class="modal-search-field field" type="number" id="adults" name="adults" value="2" min="1" max="99" placeholder="0" required>
<div class="option-button-container">
<button class="plus-button option-button" type="button">
<span class="visually-hidden">Увеличить</span>
<svg class="option-button-icon" xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">
<path d="M14 6H8V0H6v6H0v2h6v6h2V8h6V6Z"/>
</svg>
</button>
</div>
</div>
<div class="field-group">
<span class="modal-search-label form-label-icon">
<label class="search-label-inner" for="children">Дети:</label>
<span class="tooltip">
<button class="tooltip-toggle" type="button" aria-labelledby="tooltip-label-children">
<svg class="tooltip-icon" xmlns="http://www.w3.org/2000/svg" width="26" height="26" fill="none" viewBox="0 0 26 26">
<circle cx="13" cy="13" r="13"/>
<path fill="#fff" fill-rule="evenodd" d="M12 7h2v2h-2V7Zm2 12h-2v-9h2v9Z" clip-rule="evenodd"/>
</svg>
</button>
<span class="tooltip-text" role="tooltip" id="tooltip-label-children">Укажите количество детей, которые будут с вами, возраст которых от 6 до 18 лет. Дети до 6 лет размещаются бесплатно.</span>
</span>
</span>
<div class="option-button-container">
<button class="minus-button option-button" type="button">
<span class="visually-hidden">Уменьшить</span>
<svg class="option-button-icon" xmlns="http://www.w3.org/2000/svg" width="14" height="2" fill="none" viewBox="0 0 14 2">
<path d="M0 0v2h14V0H0Z"/>
</svg>
</button>
</div>
<input class="modal-search-field field" type="number" id="children" name="children" value="2" min="0" max="99" placeholder="0">
<div class="option-button-container">
<button class="plus-button option-button" type="button">
<span class="visually-hidden">Увеличить</span>
<svg class="option-button-icon" xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">
<path d="M14 6H8V0H6v6H0v2h6v6h2V8h6V6Z"/>
</svg>
</button>
</div>
</div>
</div>
<button class="button-search-field button button-primary" type="submit">Найти</button>
</form>
</section>
</div>
</div>
</body>
</html>