-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
277 lines (274 loc) · 19.5 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Седона - небольшой городок в Аризоне</title>
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<div class="page-container">
<header class="page-header" data-test="header">
<div class="container">
<nav class="navigation">
<a class="logo" href="#">
<img class="logo-image" src="images/icons/logo.svg" width="140" height="70" alt="Логотип">
</a>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-item-link navigation-link-current">Главная</a>
</li>
<li class="navigation-item">
<a class="navigation-item-link" href="#">О Седоне</a>
</li>
<li class="navigation-item">
<a class="navigation-item-link" href="catalog.html">Гостиницы</a>
</li>
</ul>
<ul class="navigation-user">
<li class="navigation-user-item">
<a class="navigation-user-item-link" href="#">
<svg class="navigation-icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="20" height="20" viewBox="0 0 20 20" fill="none">
<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>
<span class="visually-hidden">Поиск</span>
</a>
</li>
<li class="navigation-user-item">
<a class="navigation-user-item-link" href="#">
<svg class="navigation-icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="20" height="20" fill="none" viewBox="0 0 20 20">
<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="visually-hidden">Избранное</span>
<span class="navigation-user-number">12</span>
</a>
</li>
<li class="navigation-user-item">
<a class="navigation-user-button" href="#">Хочу сюда!</a>
</li>
</ul>
</nav>
</div>
</header>
<main class="page-main" data-test="main">
<section class="welcome" data-test="hero">
<h1 class="visually-hidden">Седона</h1>
<img class="welcome-image" alt="Welcome to the gorgeous Sedona, because the Grand Canyon sucks!"
src="images/welcome.svg" width="460" height="360">
</section>
<section class="description">
<h2 class="description-title">Седона — небольшой городок в Аризоне, заслуживающий большего!</h2>
<p class="description-text">Рассмотрим причины, по которым Седона круче, чем Гранд-Каньон!</p>
</section>
<section class="advantages" data-test="advantages">
<div class="advantages-item-w-image">
<div class="advantages-card-light">
<p class="advantages-title-light">Настоящий городок</p>
<p class="advantages-text-light">Седона — не аттракцион для туристов, там течёт своя жизнь</p>
</div>
<img class="advantages-image" alt="Домик в европейской деревне" src="images/advantages-1.jpg" width="800"
height="390">
</div>
<div class="advantages-item">
<div class="advantages-card">
<p class="advantages-title">Небольшая площадь</p>
<p class="advantages-text">Все достопримечательности находятся очень близко</p>
</div>
</div>
<div class="advantages-item">
<div class="advantages-card">
<p class="advantages-title">Красивая дорога</p>
<p class="advantages-text">Ехать в Седону из Лас-Вегаса совсем не скучно!</p>
</div>
</div>
<div class="advantages-item">
<div class="advantages-card">
<p class="advantages-title">Мало туристов</p>
<p class="advantages-text">Большинство едет в Гранд Каньон и толпится там</p>
</div>
</div>
<div class="advantages-item-w-image">
<img class="advantages-image" alt="Гранд-Каньон" src="images/advantages-2.jpg" width="800" height="390">
<div class="advantages-card-light">
<p class="advantages-title-light">Там есть мост дьявола</p>
<p class="advantages-text-light">Да, по нему можно пройти! Если вы осмелитесь, разумеется</p>
</div>
</div>
</section>
<h2 class="preview">Приезжайте в Седону отдохнуть в комфорте и уюте!</h2>
<h3 class="preview-text">Опытный персонал и качественное обслуживание!</h3>
<section class="benefits" data-test="service">
<div class="benefits-item">
<div class="benefits-card benefits-home">
<p class="benefits-title">Жильё</p>
<p class="benefits-text">Рекомендуем пожить <br>в настоящем мотеле, всё как в кино!</p>
</div>
</div>
<div class="benefits-item">
<div class="benefits-card benefits-food">
<p class="benefits-title">Еда</p>
<p class="benefits-text">Всегда заказывайте топовый фирменный бургер, вы не разочаруетесь!</p>
</div>
</div>
<div class="benefits-item">
<div class="benefits-card benefits-souvenirs">
<p class="benefits-title">Сувениры</p>
<p class="benefits-text">Не только китайского, но и настоящего местного производства!</p>
</div>
</div>
</section>
<section class="search-promo">
<h2 class="visually-hidden">Предложение поиска гостиницы в Седоне</h2>
<p class="preview-promo">Заинтересовались?</p>
<p class="preview-text-promo">Укажите предполагаемые даты поездки, и мы покажем вам лучшие предложения гостиниц
в
Седоне</p>
<a class="search-promo-button button" href="modal.html">Поиск гостиницы в Седоне</a>
</section>
<section class="subscribe" data-test="subscribe">
<h2 class="subscribe-news">Подпишитесь на рассылку</h2>
<p class="subscribe-text">Только полезная информация и никакого спама, честное бойскаутское!</p>
<form class="subscribe-form" action="https://echo.htmlacademy.ru/" method="post">
<label class="subscribe-label" for="email-news"></label>
<input class="subscribe-label-input input" type="email" id="email-news" placeholder="Ваш e-mail" required>
<button class="button button-light" type="submit">Подписаться</button>
</form>
</section>
</main>
<footer class="page-footer" data-test="footer">
<div class="container">
<div class="social">
<ul class="social-list">
<li class="social-item">
<a class="social-link" target="_blank" href="https://vk.com/htmlacademy"><span
class="visually-hidden">VK</span>
<svg class="social-icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="25" height="15" viewBox="0 0 25 15" fill="inherit">
<path fill="inherit" fill-rule="evenodd"
d="M24.12 1.8c.16-.54 0-.94-.8-.94H20.7c-.67 0-.98.34-1.15.73 0 0-1.33 3.2-3.22 5.27-.61.6-.9.8-1.23.8-.16 0-.41-.2-.41-.75v-5.1c0-.66-.19-.95-.74-.95H9.82c-.42 0-.67.3-.67.59 0 .62.95.76 1.04 2.51v3.8c0 .83-.15.98-.48.98-.9 0-3.06-3.2-4.34-6.88-.25-.72-.5-1-1.18-1H1.57c-.75 0-.9.34-.9.73 0 .68.89 4.07 4.14 8.55 2.17 3.06 5.23 4.72 8 4.72 1.68 0 1.88-.37 1.88-1v-2.32c0-.74.16-.88.7-.88.38 0 1.05.19 2.6 1.66 1.79 1.75 2.08 2.54 3.08 2.54h2.63c.75 0 1.12-.37.9-1.1-.23-.72-1.08-1.77-2.2-3.02-.62-.71-1.54-1.48-1.82-1.86-.39-.5-.28-.71 0-1.15 0 0 3.2-4.42 3.54-5.93Z"
clip-rule="evenodd" />
</svg>
</a>
</li>
<li class="social-item">
<a class="social-link" target="_blank" href="https://t.me/htmlacademy"><span
class="visually-hidden">TG</span>
<svg class="social-icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="18" height="16" viewBox="0 0 18 16" fill="none">
<path fill="inherit"
d="M16.79.96.84 7.1c-1.09.44-1.08 1.05-.2 1.32l4.1 1.28 9.47-5.98c.44-.27.85-.13.52.17l-7.68 6.93-.28 4.22c.41 0 .6-.2.83-.41l1.99-1.94 4.13 3.06c.77.42 1.31.2 1.5-.71l2.72-12.8c.28-1.1-.43-1.61-1.16-1.28Z" />
</svg>
</a>
</li>
<li class="social-item">
<a class="social-link" target="_blank" href="https://www.youtube.com/user/htmlacademyru"><span
class="visually-hidden">YT</span>
<svg class="social-icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="23" height="18" viewBox="0 0 23 18" fill="none">
<path fill="inherit"
d="M18.94.36H3.51C1.65.36.33 1.95.33 3.76v10.09c0 1.91 1.32 3.5 3.18 3.5h15.65c1.64 0 3.17-1.59 3.17-3.4V3.76c-.22-1.8-1.53-3.4-3.39-3.4ZM7.99 12.89V4.82l7.34 4.04-7.34 4.03Z" />
</svg>
</a>
</li>
</ul>
<a class="footer-contacts" href="tel:+78128121212">+7 (812) 812-12-12</a>
<a class="address-link" target="_blank" href="https://htmlacademy.ru/intensive/htmlcss">
<span class="visually-hidden">Сайт разработчика</span><svg class="address-link-image" aria-hidden="true"
focusable="false" xmlns="http://www.w3.org/2000/svg" width="115" height="34" viewBox="0 0 115 34"
fill="inherit">
<g fill="inherit" clip-path="url(#a)">
<path
d="M0 13.26v2.6h2.5v-2.6H0ZM11.6 4.86c-1.6 0-2.8.7-3.6 1.7h-.1V.36h-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.16h-4.8v-3.7h-2v3.8h-1.9v2h1.9v6c0 1.7 1 2.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3-.8 3.8-1.8h.1v1.5h2v-15.4h-2v6.4Zm-3.6 7.3c-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.6c-.1 2-1.5 3.6-3.6 3.6ZM78.3 18.26c-3.3 0-5.5 2.5-5.5 5.6 0 3 2.1 5.6 5.5 5.6 2.5 0 4.5-1.3 5.2-3.6h-2.1c-.5 1-1.6 1.6-3 1.6-1.9 0-3.3-1.3-3.4-2.9h8.8c.2-3.6-2-6.3-5.5-6.3Zm0 1.9c1.7 0 3 1 3.3 2.6h-6.5c.3-1.5 1.5-2.6 3.2-2.6ZM98.2 18.26c-1.6 0-2.9.8-3.6 2h-.1c-.6-1.2-1.8-2-3.4-2-1.4 0-2.5.7-3.1 1.8v-1.5h-1.9v10.6h2v-5.4c0-2 1-3.4 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.6-1.4-4.4-3.9-4.4ZM109.4 27.36l-3.6-8.9h-2.2l4.8 11.6c-.3.9-.7 1.2-1.7 1.2h-2.5v2h2.5c1.8 0 2.8-.8 3.5-2.6l4.7-12.2h-2.1l-3.4 8.9Z" />
</g>
<defs>
<clipPath id="a">
<path fill="#fff" d="M0 .36h115v33H0z" />
</clipPath>
</defs>
</svg>
</a>
</div>
</div>
</footer>
<div class="modal-container modal-container-close">
<div class="modal-search">
<h1 class="modal-h-one">Поиск гостиницы в Седоне</h1>
<button class="modal-close-button">
<span class="visually-hidden">Закрыть модальное окно</span>
<svg xmlns="http://www.w3.org/2000/svg" class="modal-icon" aria-hidden="true" focusable="false" width="15"
height="15" fill="none" viewBox="0 0 15 15">
<path fill="#000"
d="M14.5 1.78 13.2.5 7.49 6.2 1.79.5.48 1.8l5.7 5.7-5.7 5.7 1.3 1.3 5.7-5.7 5.7 5.7 1.3-1.3-5.7-5.7 5.7-5.7Z" />
</svg>
</button>
<form class="modal-form" action="https://echo.htmlacademy.ru/" method="post">
<label class="modal-label-date-start" for="date-start">Дата заезда:</label>
<input class="modal-input-date-start" type="text" id="date-start" value="27 апреля 2020" required>
<svg class="input-start-icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="20" height="20" fill="none" viewBox="0 0 20 20">
<g fill="#000" opacity=".3">
<path d="M7.75 12c.3 0 .5-.2.5-.5s-.2-.5-.5-.5-.5.2-.5.5.2.5.5.5Z" />
<path
d="M17 4h-2V2h-1v2H6V2H5v2H3c-.6 0-1 .4-1 1v11c0 .5.4 1 1 1h14c.5 0 1-.5 1-1V5c0-.6-.5-1-1-1Zm0 12H3V9h14v7ZM3 8V5h2v2h1V5h8v2h1V5h2v3H3Z" />
<path
d="M10 12c.3 0 .5-.2.5-.5s-.2-.5-.5-.5-.5.2-.5.5.2.5.5.5ZM12.25 12c.3 0 .5-.2.5-.5s-.2-.5-.5-.5-.5.2-.5.5.2.5.5.5ZM7.75 13c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5ZM5.5 12c.3 0 .5-.2.5-.5s-.2-.5-.5-.5-.5.2-.5.5.2.5.5.5ZM5.5 13c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5ZM10 13c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5ZM12.25 13c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5ZM14.5 12c.3 0 .5-.2.5-.5s-.2-.5-.5-.5-.5.2-.5.5.2.5.5.5ZM14.5 13c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5Z" />
</g>
</svg>
<span class="modal-error-date-start">Мы не можем отправить вас в прошлое.</span>
<label class="modal-label-date-end" for="date-end">Дата выезда:</label>
<input class="modal-input-date-end" id="date-end" type="text" value="1 сентября 2023" required>
<svg class="input-end-icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="20"
height="20" fill="none" viewBox="0 0 20 20">
<g fill="#000" opacity=".3">
<path d="M7.75 12c.3 0 .5-.2.5-.5s-.2-.5-.5-.5-.5.2-.5.5.2.5.5.5Z" />
<path
d="M17 4h-2V2h-1v2H6V2H5v2H3c-.6 0-1 .4-1 1v11c0 .5.4 1 1 1h14c.5 0 1-.5 1-1V5c0-.6-.5-1-1-1Zm0 12H3V9h14v7ZM3 8V5h2v2h1V5h8v2h1V5h2v3H3Z" />
<path
d="M10 12c.3 0 .5-.2.5-.5s-.2-.5-.5-.5-.5.2-.5.5.2.5.5.5ZM12.25 12c.3 0 .5-.2.5-.5s-.2-.5-.5-.5-.5.2-.5.5.2.5.5.5ZM7.75 13c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5ZM5.5 12c.3 0 .5-.2.5-.5s-.2-.5-.5-.5-.5.2-.5.5.2.5.5.5ZM5.5 13c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5ZM10 13c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5ZM12.25 13c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5ZM14.5 12c.3 0 .5-.2.5-.5s-.2-.5-.5-.5-.5.2-.5.5.2.5.5.5ZM14.5 13c-.3 0-.5.2-.5.5s.2.5.5.5.5-.2.5-.5-.2-.5-.5-.5Z" />
</g>
</svg>
<span class="modal-error-date-end">На эти даты есть свободные номера. Пока есть.</span>
<label class="modal-label-count-adults" for="count-adults">Взрослые:</label>
<button class="modal-button-adults-minus" type="button"><svg class="count-adults-icon-minus"
aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="20" height="20"
fill="currentColor" viewBox="0 0 20 20">
<path fill="currentColor" fill-opacity="inherit" d="M3 9v2h14V9H3Z" />
</svg></button>
<button class="modal-button-adults-plus" type="button"><svg class="count-adults-icon-plus" aria-hidden="true"
focusable="false" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
viewBox="0 0 20 20">
<path fill="currentColor" fill-opacity="inherit" d="M17 9h-6V3H9v6H3v2h6v6h2v-6h6V9Z" />
</svg></button>
<input class="modal-input-count-adults" type="number" id="count-adults" value="2">
<label class="modal-label-count-children" for="count-children">Дети:</label>
<span class="modal-tooltip">
<button class="tooltip-toggle" type="button" aria-labelledby="tooltip-label-date">
<svg class="tooltip-icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="20" height="20" fill="none" viewBox="0 0 20 20">
<path fill="#fff" fill-rule="evenodd" d="M9 4h2v2H9V4Zm2 12H9V7h2v9Z" clip-rule="evenodd" />
</svg>
</button>
<span class="tooltip-text" role="tooltip" id="tooltip-label-date">Укажите количество детей, которые будут с
вами, возраст которых от 6 до 18 лет. Дети до 6 лет размещаются бесплатно.</span>
</span>
<button class="modal-button-children-minus" type="button"><svg class="count-children-icon-minus"
aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="20" height="20"
fill="currentColor" viewBox="0 0 20 20">
<path fill="currentColor" fill-opacity="inherit" d="M3 9v2h14V9H3Z" />
</svg></button>
<button class="modal-button-children-plus" type="button"><svg class="count-children-icon-plus"
aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="20" height="20"
fill="currentColor" viewBox="0 0 20 20">
<path fill="currentColor" fill-opacity="inherit" d="M17 9h-6V3H9v6H3v2h6v6h2v-6h6V9Z" />
</svg></button>
<input class="modal-input-count-children" id="count-children" type="number" value="2">
<button class="modal-button-search" type="submit">Найти</button>
</form>
</div>
</div>
</div>
</body>
</html>