-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
304 lines (301 loc) · 21.6 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<meta name="description" content="HTML Academy: Седона">
<title>Седона</title>
<link rel="icon" type="image/png" href="images/favicon.png">
<link rel="stylesheet" href="styles/styles.css">
</head>
<body class="index">
<div class="page-wrapper">
<header class="page-header">
<nav class="navigation">
<a class="navigation-logo" href="index.html">
<img class="head-logo" src="images/logo.svg" width="138" height="64" alt="Логотип Седона">
</a>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link navigation-link-current" href="index.html">Главная</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="#">О Седоне</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="catalog.html">Гостиницы</a>
</li>
</ul>
<ul class="navigation-user">
<li class="navigation-element">
<a class="navigation-element-link search-link" href="catalog.html" aria-label="Значок поиска">
<svg class="navigation-icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="20" height="20" fill="currentColor">
<path fill="currentColor"
d="m19.5 18-3.7-3.67c1-1.3 1.7-2.98 1.7-4.87a8 8 0 0 0-8-7.96c-4.4 0-8 3.68-8 8.06a8 8 0 0 0 12.9 6.26l3.7 3.68 1.4-1.5Zm-10-2.48a6 6 0 0 1-6-5.96 6 6 0 0 1 12 0 6 6 0 0 1-6 5.96Z" />
</svg>
</a>
</li>
<li class="navigation-element">
<a class="navigation-element-link favorite-link" href="#" aria-label="Значок в избранном">
<svg class="navigation-icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="20" height="20" fill="currentColor">
<path fill="currentColor"
d="M9.9 19a.9.9 0 0 1-.8-.4c-5.4-6.1-6.7-7.5-7-7.9A5.4 5.4 0 0 1 6.5 2C7.8 2 9 2.5 10 3.3a5.46 5.46 0 0 1 9 4.1c0 1.3-.5 2.5-1.3 3.4l-7 7.9c-.2.2-.4.3-.8.3Zm-6-9.5c.3.4 3.5 4 6.1 6.9l6.2-7c.5-.5.7-1.2.7-2 0-1.8-1.5-3.3-3.3-3.3-1 0-2 .5-2.7 1.3-.3.3-.6.4-.9.4-.3 0-.6-.2-.8-.4-.7-.8-1.7-1.3-2.7-1.3-1.8 0-3.3 1.5-3.3 3.3-.1.9.3 1.6.7 2.1-.1 0-.1 0 0 0Z" />
</svg>
<span class="quantity number">12</span>
</a>
</li>
<li class="navigation-element">
<a class="button button-brown header" href="#">Хочу сюда!</a>
</li>
</ul>
</nav>
</header>
<main class="main-container page-main">
<section class="intro">
<h1 class="visually-hidden">Туристический город Седона</h1>
<img class="intro-img" src="images/welcome.png" width="458" height="352"
alt="Welcome to the gorgeus Sedona, because the Grand Canyon sucks!">
</section>
<section class="reasons">
<h2 class="reasons-title">Седона — небольшой городок в Аризоне, заслуживающий большего!</h2>
<p class="reasons-text text">Рассмотрим причины, по которым Седона круче, чем Гранд-Каньон!</p>
<ul class="reasons-list">
<li class="reasons-card reasons-card-special">
<div class="reasons-cube">
<h3 class="reasons-card-title">Настоящий городок</h3>
<p class="reasons-card-text">Седона — не аттракцион для туристов, там течёт своя жизнь</p>
</div>
<img class="reasons-card-img" src="images/illustrations/township-sedona.jpg" width="800" height="385"
alt="Фото города">
</li>
<li class="reasons-card">
<div class="reasons-cube">
<h3 class="reasons-card-title light">Небольшая площадь</h3>
<p class="reasons-card-text">Все достопримечательности находятся очень близко</p>
</div>
</li>
<li class="reasons-card">
<div class="reasons-cube">
<h3 class="reasons-card-title light">Красивая дорога</h3>
<p class="reasons-card-text">Ехать в Седону из Лас-Вегаса совсем не скучно!</p>
</div>
</li>
<li class="reasons-card">
<div class="reasons-cube">
<h3 class="reasons-card-title light">Мало туристов</h3>
<p class="reasons-card-text">Большинство едет в Гранд Каньон и толпится там</p>
</div>
</li>
<li class="reasons-card reasons-card-special">
<img class="reasons-card-img" src="images/illustrations/devilsbridge-sedona.jpg" width="800" height="385"
alt="Фото горного пейзажа">
<div class="reasons-cube">
<h3 class="reasons-card-title">Там есть<br> мост дьявола</h3>
<p class="reasons-card-text">Да, по нему можно пройти! Если вы осмелитесь, разумеется</p>
</div>
</li>
</ul>
</section>
<section class="advantages">
<h2 class="advantages-title">Приезжайте в Седону отдохнуть в комфорте и уюте!</h2>
<p class="advantages-text">Опытный персонал и качественное обслуживание!</p>
<ul class="advantages-list">
<li class="advantages-item advantages-house">
<h3 class="advantages-subtitle">Жильё</h3>
<p class="advantages-subtext">Рекомендуем пожить <br>в настоящем мотеле,<br> всё как в кино!</p>
</li>
<li class="advantages-item advantages-food">
<h3 class="advantages-subtitle">Еда</h3>
<p class="advantages-subtext">Всегда заказывайте <br>топовый фирменный бургер,<br> вы не разочаруетесь!
</p>
</li>
<li class="advantages-item advantages-souvenir">
<h3 class="advantages-subtitle">Сувениры</h3>
<p class="advantages-subtext">Не только китайского,<br> но и настоящего местного производства!</p>
</li>
</ul>
</section>
<section class="search">
<h2 class="search-title">Заинтересовались?</h2>
<p class="search-text">Укажите предполагаемые даты поездки,<br> и мы покажем вам лучшие предложения гостиниц в
Седоне</p>
<a class="search-button-brown" href="#">Поиск гостиницы в седоне
</a>
</section>
<section class="subscription" data-test="subscription">
<h2 class="subscription-title">Подпишитесь на рассылку</h2>
<p class="subscription-text">Только полезная информация и никакого спама,<br> честное бойскаутское!</p>
<form class="subscription-form" action="https://echo.htmlacademy.ru/" method="post">
<label for="mail" class="visually-hidden">Ваш e-mail</label>
<input id="mail" class="subscription-field" placeholder="Ваш e-mail" type="email" name="subscription-mail"
required>
<button class="button button-blue" type="submit">Подписаться</button>
</form>
</section>
</main>
<footer class="footer">
<div class="footer-container">
<ul class="social-links">
<li class="social-item">
<a class="social-link" href="https://vk.com/htmlacademy" aria-label="Логотип в контакте">
<svg class="social-icon" aria-hidden="true" focusable="false" width="25" height="15" viewBox="0 0 25 15"
fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path
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"
fill="currentColor" />
</svg>
</a>
</li>
<li class="social-item">
<a class="social-link" href="https://t.me/htmlacademy" aria-label="Логотип телеграм">
<svg class="social-icon" aria-hidden="true" focusable="false" width="18" height="17" viewBox="0 0 18 17"
fill="currentColor" 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"
fill="currentColor" />
</svg>
</a>
</li>
<li class="social-item">
<a class="social-link" href="https://www.youtube.com/user/htmlacademyru" aria-label="Логотип ютуб">
<svg class="social-icon" aria-hidden="true" focusable="false" width="23" height="18" viewBox="0 0 23 18"
fill="currentColor" 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"
fill="currentColor" />
</svg>
</a>
</li>
</ul>
<div class="tel">
<a class="link-tel" href="tel:+78128121212">+7 (812) 812-12-12</a>
</div>
<a class="footer-link" href="https://htmlacademy.ru/" aria-label="Логотип Академии">
<svg aria-hidden="true" focusable="false" width="115" height="34" viewBox="0 0 115 34" fill="none"
xmlns="http://www.w3.org/2000/svg" role="img">
<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>
</div>
</footer>
</div>
<div class="modal-container modal-container-close" tabindex="0">
<div class="modal modal-choice">
<h3 class="modal-title">Поиск гостиницы в Седоне</h3>
<button class="modal-close-button close-button" type="button">
<span class="visually-hidden">Закрыть модальное окно</span>
</button>
<form class="modal-form" action="https://echo.htmlacademy.ru/" method="post">
<fieldset class="modal-group">
<legend class="visually-hidden">Поиск гостиницы в Седоне</legend>
<div class="modal-list">
<div class="modal-item">
<label class="modal-date" for="check-in">Дата Заезда:</label>
<input class="date-control" id="check-in" type="text" name="date-control-check" value="27 апреля 2020"
required>
</div>
<span class="no-back-to-the-past">Мы не можем отправить вас в прошлое.</span>
<div class="modal-item">
<label class="modal-date" for="check-out">Дата Выезда:</label>
<input class="date-control" id="check-out" type="text" name="date-control-check" value="1 сентября 2023"
required>
</div>
<span class="vacant">На эти даты есть свободные номера. Пока есть.</span>
<div class="modal-counter">
<p class="counter-adults">
<label class="modal-age" for="adults">Взрослые:</label>
<button class="button-modal-counter counter-minus" type="button">
<span class="visually-hidden">Уменьшить количество</span>
<svg aria-hidden="true" focusable="false" class="color-counter" xmlns="http://www.w3.org/2000/svg"
width="20" height="20" fill="none" viewBox="0 0 20 20">
<path fill="currentColor" d="M3 9v2h14V9H3Z" />
</svg>
</button>
<input class="control-quantity" type="text" id="adults" name="control-quantity-check" value="2"
required>
<button class="button-modal-counter counter-plus" type="button">
<span class="visually-hidden">Увеличить количество</span>
<svg aria-hidden="true" focusable="false" class="color-counter" xmlns="http://www.w3.org/2000/svg"
width="20" height="20" fill="none" viewBox="0 0 20 20">
<path fill="currentColor" d="M17 9h-6V3H9v6H3v2h6v6h2v-6h6V9Z" />
</svg>
</button>
</p>
<p class="counter-kids">
<span class="modal-age-kids form-label-icon">
<label class="modal-kids" for="children">Дети:</label>
</span>
<span class="modal-tooltip">
<button class="tooltip-toggle" type="button">
<svg aria-hidden="true" focusable="false" 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" fill="#83B3D3" />
<path fill="#fff" fill-rule="evenodd" d="M12 7h2v2h-2V7Zm2 12h-2v-9h2v9Z" clip-rule="evenodd" />
</svg>
</button>
<span class="message-tooltip">Укажите количество детей, которые будут с вами, возраст которых от 6
до 18 лет. Дети до 6 лет размещаются бесплатно.
</span>
</span>
<button class="button-modal-counter counter-minus" type="button">
<span class="visually-hidden">Уменьшить количество</span>
<svg aria-hidden="true" focusable="false" class="color-counter" xmlns="http://www.w3.org/2000/svg"
width="20" height="20" fill="none" viewBox="0 0 20 20">
<path fill="currentColor" d="M3 9v2h14V9H3Z" />
</svg>
</button>
<input class="control-quantity" type="text" id="children" name="control-quantity-check" value="2"
required>
<button class="button-modal-counter counter-plus" type="button">
<span class="visually-hidden">Увеличить количество</span>
<svg aria-hidden="true" focusable="false" class="color-counter" xmlns="http://www.w3.org/2000/svg"
width="20" height="20" fill="none" viewBox="0 0 20 20">
<path fill="currentColor" d="M17 9h-6V3H9v6H3v2h6v6h2v-6h6V9Z" />
</svg>
</button>
</p>
</div>
<button class="modal-button" type="submit">Найти</button>
</div>
</fieldset>
</form>
</div>
</div>
<script src="./scripts/script.js"></script>
</body>
</html>