-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
324 lines (318 loc) · 20.9 KB
/
index.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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>HTML Academy: Седона</title>
<link rel="icon" type="image/png" href="./images/favicon.png">
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>
<div class="container">
<header class="header" data-test="header">
<a href="#" class="logo-link">
<img src="./images/logo.svg" alt="Логотип Седона" width="140" height="70" class="logo">
</a>
<nav class="nav">
<ul class="main-menu">
<li class="menu-item">
<a href="#" class="menu-link menu-link-active">Главная</a>
<li class="menu-item">
<a href="#" class="menu-link">О Седоне</a>
</li>
<li class="menu-item">
<a href="./catalog.html" class="menu-link">Гостиницы</a>
</li>
</ul>
<ul class="user-menu">
<li class="user-menu-item">
<a href="#" class="user-menu-link menu-search">
<span class="visually-hidden">Поиск по сайту</span>
<svg class="user-menu-svg" width="20" height="20" viewBox="0 0 20 20" fill="none"
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"
fill="currentColor" />
</svg>
</a>
</li>
<li class="user-menu-item">
<a href="#" class="user-menu-link favourite">
<span class="visually-hidden">Избранное</span>
<span class="fav-number">12</span>
<svg class="user-menu-svg" width="18" height="17" viewBox="0 0 18 17" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M8.9 17C8.6 17 8.3 16.9 8.1 16.6C2.7 10.5 1.4 9.1 1.1 8.7C0.4 7.8 0 6.6 0 5.4C0 2.4 2.4 0 5.5 0C6.8 0 8 0.5 9 1.3C10 0.5 11.3 0 12.5 0C15.5 0 18 2.4 18 5.4C18 6.7 17.5 7.9 16.7 8.8L9.7 16.7C9.5 16.9 9.3 17 8.9 17ZM2.9 7.5C3.2 7.9 6.4 11.5 9 14.4L15.2 7.4C15.7 6.9 15.9 6.2 15.9 5.4C15.9 3.6 14.4 2.1 12.6 2.1C11.6 2.1 10.6 2.6 9.9 3.4C9.6 3.7 9.3 3.8 9 3.8C8.7 3.8 8.4 3.6 8.2 3.4C7.5 2.6 6.5 2.1 5.5 2.1C3.7 2.1 2.2 3.6 2.2 5.4C2.1 6.3 2.5 7 2.9 7.5C2.8 7.5 2.8 7.5 2.9 7.5Z"
fill="currentColor" />
</svg>
</a>
</li>
<li class="user-menu-item">
<a href="#" class="user-menu-link wish">Хочу сюда!</a>
<li>
</ul>
</nav>
</header>
<main class="main-index">
<h1 class="visually-hidden">Неофициальный сайт города Седона</h1>
<section class="welcome">
<h2 class="visually-hidden">Приглашение посетить туристический город</h2>
<img src="./images/welcome.svg" alt="Добро пожаловать в Седону" width="458" height="352" class="welcome-image">
</section>
<section class="advantages">
<h2 class="visually-hidden">Причины посетить город</h2>
<p class="advantages-caption">Седона — небольшой городок в Аризоне, заслуживающий большего!</p>
<p class="advantages-text">Рассмотрим причины, по которым Седона круче, чем Гранд-Каньон!</p>
<ul class="advantages-list">
<li class="advantages-item advantages-item-wide">
<div class="advantages-container">
<h3 class="advantages-title">Настоящий городок</h3>
<p class="advantages-discription">Седона — не аттракцион для туристов, там течёт своя жизнь
</p>
</div>
<img class="advantages-img" src="./images/steet.jpg" width="800" height="385" alt="Мэрия">
</li>
<li class="advantages-item">
<div class="advantages-container">
<h3 class="advantages-title">Небольшая площадь</h3>
<p class="advantages-discription">Все достопримечательности находятся очень близко</p>
</div>
</li>
<li class="advantages-item">
<div class="advantages-container">
<h3 class="advantages-title">Красивая дорога</h3>
<p class="advantages-discription">Ехать в Седону из Лас-Вегаса совсем не скучно!</p>
</div>
</li>
<li class="advantages-item">
<div class="advantages-container">
<h3 class="advantages-title">Мало туристов</h3>
<p class="advantages-discription">Большинство едет в Гранд Каньон и толпится там</p>
</div>
</li>
<li class="advantages-item advantages-item-wide">
<img class="advantages-img" src="./images/advantages.jpg" width="800" height="385"
alt="Каньон, природа Северной Америки">
<div class="advantages-container">
<h3 class="advantages-title">Там есть мост дьявола</h3>
<p class="advantages-discription">Да, по нему можно пройти! Если вы осмелитесь, разумеется
</p>
</div>
</li>
</ul>
</section>
<section class="infrastructure">
<h2 class="visually-hidden">Инфраструктура</h2>
<p class="infrastructure-caption">Приезжайте в Седону отдохнуть в комфорте и уюте!</p>
<p class="infrastructure-lead">Опытный персонал и качественное обслуживание!</p>
<ul class="infrastructure-list">
<li class="infrastructure-item house">
<h3 class="infrastructure-title">Жильё</h3>
<p class="infrastructure-description">Рекомендуем пожить<br> в настоящем мотеле,<br> всё как в
кино!</p>
</li>
<li class="infrastructure-item burger">
<h3 class="infrastructure-title">Еда</h3>
<p class="infrastructure-description">Всегда заказывайте<br> топовый фирменный бургер,<br> вы не
разочаруетесь!
</p>
</li>
<li class="infrastructure-item souvenir">
<h3 class="infrastructure-title">Сувениры</h3>
<p class="infrastructure-description">Не только китайского,<br> но и настоящего местного
производства!</p>
</li>
</ul>
</section>
<section class="search" data-test="search">
<h2 class="search-title">Заинтересовались?</h2>
<p class="search-description">Укажите предполагаемые даты поездки,<br> и мы покажем вам лучшие предложения
гостиниц в Седоне</p>
<a class="search-link search-button" href="#">ПОИСК ГОСТИНИЦЫ В СЕДОНЕ</a>
</section>
<section class="subscribe subscribe-index" data-test="subscribe">
<div class="subscribe-container">
<h2 class="subscribe-title">Подпишитесь на рассылку</h2>
<p class="subscribe-description">Только полезная информация и никакого спама,<br> честное
бойскаутское!
</p>
</div>
<form class="subscribe-form" action="https://echo.htmlacademy.ru/" method="post">
<label class="visually-hidden" for="user-email">Ваш e-mail</label>
<input class="subscribe-input" type="email" id="user-email" name="user-email" placeholder="Ваш e-mail"
required>
<button class="subscribe-button" type="submit">Подписаться</button>
</form>
</section>
</main>
<footer class="footer" data-test="">
<section class="social-network">
<h2 class="visually-hidden">Социальные сети</h2>
<ul class="footer-social-list">
<li class="footer-social-item">
<a class="footer-social-link" href="https://vk.com/htmlacademy">
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="25" height="15"
fill="none" viewBox="0 0 25 15">
<path fill="currentColor" fill-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"
clip-rule="evenodd" />
</svg>
<span class="visually-hidden">ВКонтакте</span>
</a>
<li class="footer-social-item">
<a class="footer-social-link" href="https://t.me/htmlacademy">
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="18" height="16"
fill="none" viewBox="0 0 18 16">
<path fill="currentColor"
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>
<span class="visually-hidden">Telegram</span>
</a>
<li class="footer-social-item">
<a class="footer-social-link" href="https://www.youtube.com/user/htmlacademyru">
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="23" height="18"
fill="none" viewBox="0 0 23 18">
<path fill="currentColor"
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>
<span class="visually-hidden">YouTube</span>
</a>
</li>
</ul>
</section>
<section class="contacts">
<h2 class="visually-hidden">Контакты</h2>
<div>
<a class="footer-phone" href="tel:+78128121212">+7 (812) 812-12-12</a>
</div>
</section>
<section class="developer">
<h2 class="visually-hidden">Сайт разработчика</h2>
<a class="copyright" href="https://htmlacademy.ru">
<svg class="htmlacademy-logo" role="img" aria-label="Логотип HTML Academy" width="115" height="34"
viewBox="0 0 115 34" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 13.2564V15.8564H2.5V13.2564H0Z" fill="currentColor" />
<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"
fill="currentColor" />
<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"
fill="currentColor" />
<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"
fill="currentColor" />
<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"
fill="currentColor" />
<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"
fill="currentColor" />
<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"
fill="currentColor" />
<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"
fill="currentColor" />
<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"
fill="currentColor" />
<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"
fill="currentColor" />
<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"
fill="currentColor" />
<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"
fill="currentColor" />
</svg>
</a>
</section>
</footer>
</div>
<div class="modal-container hidden">
<div class="modal modal-auth">
<button class="modal-close-button" type="button">
<span class="visually-hidden">Закрыть</span>
</button>
<section class="modal-content">
<h2 class="modal-title">Поиск гостиницы в Седоне</h2>
<form action="https://echo.htmlacademy.ru" method="post" class="form-modal">
<div class="modal-row">
<label for="checkin" class="modal-label">Дата заезда:</label>
<div class="modal-block">
<input type="text" class="modal-input" id="checkin" name="checkin" value="27 апреля 2020"
placeholder="Укажите дату заезда" required>
<p class="modal-message error">Мы не можем отправить вас в прошлое.</p>
</div>
</div>
<div class="modal-row">
<label for="exit" class="modal-label">Дата выезда:</label>
<div class="modal-block">
<input type="text" class="modal-input" id="exit" name="exit" value="1 сентября 2023"
placeholder="Укажите дату выезда" required>
<p class="modal-message">На эти даты есть свободные номера. Пока есть.</p>
</div>
</div>
<div class="modal-row">
<div class="modal-wrapper">
<label for="adults" class="modal-label">Взрослые:</label>
<div class="modal-complex">
<button class="modal-button minus" type="button">
<span class="visually-hidden">Уменьшить количество на единицу</span>
<svg class="modal-button-svg" width="14" height="2" viewBox="0 0 14 2" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M0 0L0 2L14 2V0L0 0Z" fill="currentColor" />
</svg>
</button>
<input type="number" class="modal-complex-input" id="adults" name="adults" value="2" required min="1">
<button class="plus modal-button" type="button">
<span class="visually-hidden">Увеличить количество на единицу</span>
<svg class="modal-button-svg" width="14" height="14" viewBox="0 0 14 14" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M14 6H8V0H6V6H0V8H6V14H8V8H14V6Z" fill="currentColor" />
</svg>
</button>
</div>
</div>
<div class="modal-wrapper modal-wrapper-children">
<div class="tooltip-container">
<label for="children" class="modal-label">Дети:</label>
<button type="button" class="tooltip-button">
<span class="visually-hidden">Показать дополнительную информацию</span>
<svg width="2" height="12" viewBox="0 0 2 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H2V2H0V0ZM2 12H0V3H2V12Z" fill="white" />
</svg>
</button>
<div class="tooltip-wrapper">
<p class="tooltip-text">Укажите количество детей, которые будут с вами, возраст которых от 6 до 18
лет. Дети до 6 лет размещаются бесплатно.</p>
</div>
</div>
<div class="modal-complex">
<button class="modal-button minus" type="button">
<span class="visually-hidden">Уменьшить количество на единицу</span>
<svg class="modal-button-svg" width="14" height="2" viewBox="0 0 14 2" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M0 0L0 2L14 2V0L0 0Z" fill="currentColor" />
</svg>
</button>
<input type="number" class="modal-complex-input" id="children" name="children" value="2" required min="0">
<button class="plus modal-button" type="button">
<span class="visually-hidden">Увеличить количество на единицу</span>
<svg class="modal-button-svg" width="14" height="14" viewBox="0 0 14 14" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M14 6H8V0H6V6H0V8H6V14H8V8H14V6Z" fill="currentColor" />
</svg>
</button>
</div>
</div>
</div>
<button class="modal-submit" type="submit">Найти</button>
</form>
</section>
</div>
</div>
<script src="./scripts/script.js"></script>
</body>
</html>