-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphoto.html
290 lines (285 loc) · 16.9 KB
/
photo.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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="./css/style-photo.css" rel="stylesheet">
<link href="./css/normalize.css" rel="stylesheet">
<title>Фото Седоны</title>
</head>
<body class="page">
<header class="page__header">
<div class="container">
<picture>
<source media="(min-width: 1200px)" srcset="./img/logo-sedona-desktop.svg">
<source media="(min-width: 768px)" srcset="./img/logo-sedona-tablet.svg">
<img class="header__logo" src="./img/logo-sedona-mobile.svg" alt="Логотип Седоны">
</picture>
<nav class="main-nav">
<button type="button" class="main-nav__toggle--closed main-nav__toggle"><span class="visually-hidden">Открыть
меню</span></button>
<ul class="site-navigation site-navigation--closed">
<li class="site-navigation__item">
<a class="site-navigation__button" href="index.html">Главная</a>
</li>
<li class="site-navigation__item">
<a class="site-navigation__button site-navigation__button--current" href="photo.html">Фото и видео</a>
</li>
<li class="site-navigation__item">
<a class="site-navigation__button" href="form.html">Форма отзыва</a>
</li>
<li class="site-navigation__item">
<a class="site-navigation__button" href="https://github.com/paketaaa/test">paketAAA</a>
</li>
</ul>
</nav>
</div>
</header>
<main>
<h1 class="visually-hidden">Седона</h1>
<section class="intro">
<div class="intro__logo">
<img src="./img/text-sedona.svg" alt="">
</div>
<div class="intro__description">
<h2 class="intro__title">
Фото и видео
</h2>
<p class="intro__text">
Не можете решиться на путешествие из-за курса? фотографии помогут вам забыть о политике и экономике.
</p>
</div>
</section>
<section class="pictures">
<h2 class="visually-hidden">
Фото седоны
</h2>
<article class="pictures__container pictures__container--sunset">
<picture>
<source media="(min-width: 1200px)" srcset="./img/photo-sunset-desktop@1x.jpg">
<source media="(min-width: 768px)" srcset="./img/photo-sunset-tablet@1x.jpg">
<img src="./img/photo-sunset-mobile@1x.jpg" alt="">
</picture>
<div class="pictures__wrapper">
<h3 class="pictures__title">
Неродные просторы
</h3>
<p class="pictures__author">
Автор фото: Борис
</p>
<button class="pictures__like" type="button">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="22px" height="20px" viewBox="0 0 22 20" enable-background="new 0 0 22 20" xml:space="preserve">
<g>
<g transform="translate(-295.000000, -464.000000)">
<g transform="translate(295.000000, 464.000000)">
<path
d="M12.383,3.646l-0.637,2.929L11.219,9H13.7h6.2v2c0,0.018,0,0.037,0.001,0.058L17,18H8V8.029 l0.014-0.015L12.383,3.646 M2,10v8V10 M13.2,0L6.6,6.6C6.2,6.9,6,7.4,6,8v10c0,1.1,0.9,2,2,2h9c0.8,0,1.5-0.5,1.8-1.2l3-7.1 C21.9,11.5,21.9,11.2,21.9,11V9H22c0-1.1-0.9-2-2-2h-6.3l1-4.6V2.1c0-0.4-0.2-0.8-0.4-1.1L13.2,0L13.2,0z M4,8H0v12h4V8L4,8z M22,9c0,0.033,0,0.044,0,0.044V9L22,9z" />
</g>
</g>
</g>
</svg>
<span>1350</span>
</button>
</div>
</article>
<article class="pictures__container pictures__container--cactus">
<picture>
<source media="(min-width: 1200px)" srcset="./img/photo-cactus-desktop@1x.jpg">
<source media="(min-width: 768px)" srcset="./img/photo-cactus-tablet@1x.jpg">
<img src="./img/photo-cactus-mobile@1x.jpg" alt="">
</picture>
<div class="pictures__wrapper">
<h3 class="pictures__title">
Местная растительность
</h3>
<p class="pictures__author">
Автор фото: Сергей
</p>
<button class="pictures__like" type="button">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="22px" height="20px" viewBox="0 0 22 20" enable-background="new 0 0 22 20" xml:space="preserve">
<g>
<g transform="translate(-295.000000, -464.000000)">
<g transform="translate(295.000000, 464.000000)">
<path
d="M12.383,3.646l-0.637,2.929L11.219,9H13.7h6.2v2c0,0.018,0,0.037,0.001,0.058L17,18H8V8.029 l0.014-0.015L12.383,3.646 M2,10v8V10 M13.2,0L6.6,6.6C6.2,6.9,6,7.4,6,8v10c0,1.1,0.9,2,2,2h9c0.8,0,1.5-0.5,1.8-1.2l3-7.1 C21.9,11.5,21.9,11.2,21.9,11V9H22c0-1.1-0.9-2-2-2h-6.3l1-4.6V2.1c0-0.4-0.2-0.8-0.4-1.1L13.2,0L13.2,0z M4,8H0v12h4V8L4,8z M22,9c0,0.033,0,0.044,0,0.044V9L22,9z" />
</g>
</g>
</g>
</svg>
<span>143</span>
</button>
</div>
</article>
<article class="pictures__container pictures__container--roads">
<picture>
<source media="(min-width: 1200px)" srcset="./img/photo-roads-desktop@1x.jpg">
<source media="(min-width: 768px)" srcset="./img/photo-roads-tablet@1x.jpg">
<img src="./img/photo-roads-mobile@1x.jpg" alt="">
</picture>
<div class="pictures__wrapper">
<h3 class="pictures__title">
Дорога на Север
</h3>
<p class="pictures__author">
Автор фото: Петр
</p>
<button class="pictures__like" type="button">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="22px" height="20px" viewBox="0 0 22 20" enable-background="new 0 0 22 20" xml:space="preserve">
<g>
<g transform="translate(-295.000000, -464.000000)">
<g transform="translate(295.000000, 464.000000)">
<path
d="M12.383,3.646l-0.637,2.929L11.219,9H13.7h6.2v2c0,0.018,0,0.037,0.001,0.058L17,18H8V8.029 l0.014-0.015L12.383,3.646 M2,10v8V10 M13.2,0L6.6,6.6C6.2,6.9,6,7.4,6,8v10c0,1.1,0.9,2,2,2h9c0.8,0,1.5-0.5,1.8-1.2l3-7.1 C21.9,11.5,21.9,11.2,21.9,11V9H22c0-1.1-0.9-2-2-2h-6.3l1-4.6V2.1c0-0.4-0.2-0.8-0.4-1.1L13.2,0L13.2,0z M4,8H0v12h4V8L4,8z M22,9c0,0.033,0,0.044,0,0.044V9L22,9z" />
</g>
</g>
</g>
</svg>
<span>96</span>
</button>
</div>
</article>
<article class="pictures__container pictures__container--bridge">
<picture>
<source media="(min-width: 1200px)" srcset="./img/photo-bridge-desktop@1x.jpg">
<source media="(min-width: 768px)" srcset="./img/photo-bridge-tablet@1x.jpg">
<img src="./img/photo-bridge-mobile@1x.jpg" alt="">
</picture>
<div class="pictures__wrapper">
<h3 class="pictures__title">
Мост Дьявола
</h3>
<p class="pictures__author">
Автор фото: Антон
</p>
<button class="pictures__like" type="button">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="22px" height="20px" viewBox="0 0 22 20" enable-background="new 0 0 22 20" xml:space="preserve">
<g>
<g transform="translate(-295.000000, -464.000000)">
<g transform="translate(295.000000, 464.000000)">
<path
d="M12.383,3.646l-0.637,2.929L11.219,9H13.7h6.2v2c0,0.018,0,0.037,0.001,0.058L17,18H8V8.029 l0.014-0.015L12.383,3.646 M2,10v8V10 M13.2,0L6.6,6.6C6.2,6.9,6,7.4,6,8v10c0,1.1,0.9,2,2,2h9c0.8,0,1.5-0.5,1.8-1.2l3-7.1 C21.9,11.5,21.9,11.2,21.9,11V9H22c0-1.1-0.9-2-2-2h-6.3l1-4.6V2.1c0-0.4-0.2-0.8-0.4-1.1L13.2,0L13.2,0z M4,8H0v12h4V8L4,8z M22,9c0,0.033,0,0.044,0,0.044V9L22,9z" />
</g>
</g>
</g>
</svg>
<span>254</span>
</button>
</div>
</article>
</section>
<section class="watch">
<div class="watch__wrapper">
<div class="watch__item">
<h2 class="watch__title">
Все еще сомневаетесь?
</h2>
<p class="watch__text">
Смотрите видеопрезентацию и скорее за билетами, пока они<br> не подорожали в очередной раз!
</p>
</div>
<article class="watch__video">
<h3 class="visually-hidden">
Превью просмотра видео (Пока что не умею в JS :) )
</h3>
<picture>
<source media="(min-width: 1200px)" srcset="./img/video-desktop@1x.jpg">
<source media="(min-width: 768px)" srcset="./img/video-tablet@1x.jpg">
<img src="./img/video-mobile@1x.jpg" alt="">
</picture>
<div class="video__wrapper">
<input class="custom-range" type="range" name="lenght" id="lenght" min="0" max="60" value="10">
<a href="#" class="replay">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="16px" height="20px" viewBox="0 0 16 20" enable-background="new 0 0 16 20" xml:space="preserve">
<path
d="M8,4V0L3,5l5,5V6c3.315,0,6,2.686,6,6s-2.685,6-6,6s-6-2.686-6-6H0c0,4.42,3.58,8,8,8s8-3.58,8-8S12.42,4,8,4z" />
</svg>
</a>
<a href="#" class="subtitles">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="32px" height="20px" viewBox="0 0 32 20" enable-background="new 0 0 32 20" xml:space="preserve">
<path
d="M29,0H3C1.35,0,0,1.35,0,3v14c0,1.65,1.35,3,3,3h26c1.65,0,3-1.35,3-3V3C32,1.35,30.65,0,29,0z M14.403,15.854c-0.545,0.108-1.104,0.164-1.678,0.164c-0.694,0-1.354-0.107-1.976-0.323c-0.623-0.214-1.172-0.562-1.646-1.041 s-0.852-1.103-1.133-1.868C7.69,12.02,7.551,11.091,7.551,10c0-1.134,0.157-2.085,0.471-2.851c0.315-0.768,0.723-1.384,1.224-1.854 c0.502-0.468,1.062-0.804,1.679-1.008c0.616-0.204,1.233-0.307,1.852-0.307c0.66,0,1.22,0.045,1.678,0.134 c0.457,0.087,0.835,0.192,1.133,0.313L15.14,6.347c-0.254-0.121-0.555-0.209-0.902-0.265C13.891,6.027,13.47,6,12.973,6 c-0.915,0-1.649,0.325-2.206,0.977c-0.558,0.651-0.836,1.663-0.836,3.031c0,0.598,0.067,1.142,0.199,1.632 c0.132,0.493,0.334,0.913,0.603,1.26c0.271,0.349,0.607,0.619,1.01,0.812c0.402,0.193,0.867,0.29,1.396,0.29 c0.496,0,0.915-0.049,1.257-0.148c0.342-0.099,0.639-0.227,0.893-0.38l0.463,1.841C15.398,15.564,14.949,15.745,14.403,15.854z M23.101,15.854c-0.545,0.108-1.105,0.164-1.678,0.164c-0.694,0-1.354-0.107-1.976-0.323c-0.623-0.214-1.172-0.562-1.646-1.041 s-0.852-1.103-1.133-1.868c-0.281-0.767-0.421-1.695-0.421-2.786c0-1.134,0.157-2.085,0.471-2.851 c0.314-0.768,0.723-1.384,1.223-1.854c0.502-0.468,1.062-0.804,1.68-1.008c0.616-0.204,1.233-0.307,1.851-0.307 c0.661,0,1.221,0.045,1.678,0.134c0.458,0.087,0.836,0.192,1.133,0.313l-0.446,1.918c-0.253-0.121-0.554-0.209-0.901-0.265 C22.588,6.027,22.166,6,21.67,6c-0.915,0-1.649,0.325-2.206,0.977c-0.558,0.651-0.836,1.663-0.836,3.031 c0,0.598,0.067,1.142,0.199,1.632c0.132,0.493,0.334,0.913,0.603,1.26c0.271,0.349,0.606,0.619,1.009,0.812 c0.402,0.193,0.868,0.29,1.396,0.29c0.497,0,0.915-0.049,1.257-0.148c0.342-0.099,0.64-0.227,0.894-0.38l0.463,1.841 C24.096,15.564,23.646,15.745,23.101,15.854z" />
</svg>
</a>
<a href="" class="fullscreen">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
<g>
<polygon points="0,0 0,3 0,6 3,6 3,3 6,3 6,0 3,0" />
<polygon points="3,14 0,14 0,17 0,20 3,20 6,20 6,17 3,17" />
<polygon points="17,0 14,0 14,3 17,3 17,6 20,6 20,3 20,0" />
<polygon points="17,17 14,17 14,20 17,20 20,20 20,17 20,14 17,14" />
</g>
</svg>
</a>
</div>
</article>
</div>
</section>
</main>
<footer class="footer">
<div class="footer__wrapper">
<span class="footer__hashtag">
#visitsedona
</span>
<ul class="footer__social">
<li class="social__item">
<a class="social__link" href="https://twitter.com/home">
<span class="visually-hidden">Твиттер</span>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="17.5px" height="14.663px" viewBox="0 0 17.5 14.663" enable-background="new 0 0 17.5 14.663"
xml:space="preserve">
<g id="W6EeEF_1_">
<g>
<path fill-rule="evenodd" clip-rule="evenodd"
d="M11.283,0.153c1.736-0.484,3.074,0.264,3.685,1.15 c0.694-0.225,1.372-0.47,2.072-0.69c-0.004,0.841-0.538,1.478-0.883,1.728C16.861,2.506,17.5,1.86,17.5,1.86 c-0.175,0.977-1.035,1.746-1.611,1.977C15.65,10.429,12.617,14.793,5.507,14.66c-0.538,0,0.077,0-0.46,0 c-0.422,0-4.29-0.45-5.047-1.843c2.341,0.192,4.011-0.412,4.835-1.15c-0.989-0.293-2.761-0.464-3.07-2.881 c0.362,0.105,0.583,0.223,1.228,0.117C1.757,8.067,0.385,7.366,0.461,5.218c0.294,0.319,1.1,0.523,1.381,0.461 c-0.725-0.235-2.03-3.281-0.921-4.836C2.794,2.655,4.769,4.364,8.29,4.528C8.506,2.288,9.461,0.788,11.283,0.153z" />
</g>
</g>
</svg>
</a>
</li>
<li class="social__item">
<a class="social__link" href="https://www.facebook.com/">
<span class="visually-hidden">Фейсбук</span>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="8.672px" height="18.944px" viewBox="0 0 8.672 18.944" enable-background="new 0 0 8.672 18.944"
xml:space="preserve">
<path
d="M6.275,3.356c0.799,0,1.599,0,2.398,0c0-1.119,0-2.237,0-3.356c-0.959,0-1.92,0-2.878,0C2.656,0.181,1.54,2.387,1.948,6.114 H0v3.518h1.959c0,3.104,0,6.208,0,9.312c1.279,0,2.559,0,3.837,0c0-3.104,0-6.208,0-9.312h2.857V6.114H5.787 C5.765,5.069,5.75,3.709,6.275,3.356z" />
</svg>
</a>
</li>
<li class="social__item">
<a class="social__link" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley">
<span class="visually-hidden">Ютуб</span>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="19.979px" height="14.015px" viewBox="0 0 19.979 14.015" enable-background="new 0 0 19.979 14.015"
xml:space="preserve">
<path
d="M17.145,0H2.835C1.275,0,0,1.275,0,2.835v8.345c0,1.56,1.275,2.835,2.835,2.835h14.31c1.56,0,2.835-1.275,2.835-2.835V2.835 C19.979,1.275,18.704,0,17.145,0z M7.036,10.392V3.623l6.769,3.384L7.036,10.392z" />
</svg>
</a>
</li>
</ul>
<a class="footer__copyright" href="https://htmlacademy.ru/">
<span class="copyright__brand">
Разработано
</span>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="26.943px" height="34.09px" viewBox="0 0 26.943 34.09" enable-background="new 0 0 26.943 34.09"
xml:space="preserve">
<path
d="M13.62,0.017L13.472,0L0,1.412v24.661l13.473,8.017l13.43-7.99l0.042-0.025V1.412L13.62,0.017z M25.019,12.127L13.495,5.334 L13.494,5.23l-0.087,0.05l-0.088-0.056v0.109L1.925,12.118V3.147l11.548-1.212l11.547,1.212V12.127z M13.405,6.787L24.923,13.5 l-4.479,2.64l-7.093-4.221l-0.014,1.415l5.904,3.513l-0.86,0.507l-5.03-2.992l-0.014,1.415l3.827,2.275l-0.782,0.523l-3.031-1.787 l-0.014,1.413l1.853,1.091l-1.8,1.081L2.034,13.622L13.405,6.787z M1.925,15.127l11.411,6.791l0.016,1.044L5.41,18.234L5.395,19.65 l7.979,4.795l0.018,1.076l-7.973-4.74l-0.013,1.414l8.021,4.822l0.046,0.025l8.143-4.872l-0.011-5.177l3.415-2.036v10.021 L13.472,31.85L1.925,24.979V15.127z" />
</svg>
</a>
</div>
</footer>
<script src="./js/nav.js" async></script>
</body>
</html>