forked from demidemid/sedona
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphoto.html
283 lines (264 loc) · 18.6 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>HTML Academy: Седона</title>
<link href="css/style.css" rel="stylesheet">
</head>
<body class="body">
<header class="main-header">
<div class="main-header__logo">
<a href="./index.html">
<picture>
<source media="(min-width:1200px)" srcset="img/logo-sedona-desktop.svg">
<source media="(min-width:768px)" srcset="img/logo-sedona-tablet.svg">
<source media="(min-width:320px)" srcset="img/logo-sedona-mobile.svg">
<img class="main-header__logo-picture" width="102" height="83" src="img/logo-sedona-desktop.svg" alt="City of Sedona">
</picture>
</a>
</div>
<div class="main-header__menu-button">
<button class="burger-button"></button>
</div>
<nav class="main-menu main-menu--no-js">
<ul class="main-menu__list">
<li class="main-menu__item">
<span class="main-menu__cross-button"></span>
<a class="main-menu__link" href="./index.html">Главная</a>
</li>
<li class="main-menu__item">
<a class="main-menu__link main-menu__link--active">Фото и видео</a>
</li>
<li class="main-menu__item main-menu__item--third">
<a class="main-menu__link" href="./form.html">Форма отзыва</a>
</li>
<li class="main-menu__item">
<a class="main-menu__link" href="#">HTML Academy</a>
</li>
</ul>
</nav>
</header>
<div class="main">
<article class="info-section">
<div class="info-section__image info-section__image--shorter">
<img width="461" height="80" class="info-section__index-text info-section__index-text--shorter" src="img/text-sedona.svg" alt="Sedona slogan">
</div>
<section class="info-section__promo info-section__promo--photo">
<h2 class="info-section__title info-section__title--promo">Фото и видео</h2>
<p class="info-section__text info-section__text--photo-low">Не можете решиться на путешествие из-за
курса? Фотографии помогут вам забыть о
политике и экономике.
</p>
</section>
</article>
<div class="gallery-content">
<article class="picture">
<div class="picture picture__image">
<a class="picture__link" href="#">
<picture>
<source media="(min-width:1200px)" srcset="img/photo-1-desktop@2x.jpg 2x, img/photo-1-desktop@1x.jpg 1x">
<source media="(min-width:768px)" srcset="img/photo-1-tablet@2x.jpg 2x, img/photo-1-tablet@1x.jpg 1x">
<source media="(min-width:320px)" srcset="img/photo-1-mobile@2x.jpg 2x, img/photo-1-mobile@1x.jpg 1x">
<img class="picture__source picture__source--main" width="280" height="280" src="img/photo-1-desktop@1x.jpg" alt="Sedona">
</picture>
</a>
</div>
<section class="picture__footer">
<div class="picture__sign-block">
<h2 class="picture__title picture__title--main">Неродные просторы</h2>
<p class="picture__text">Автор фото: Борис</p>
</div>
<div class="picture__likes-counter">
<button class="picture__like-button" type="submit">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="22" height="20" 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 class="picture__like-color" fill="#ffffff" 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>
</button>
<span class="picture__count">1350</span>
</div>
</section>
</article>
<article class="picture">
<div class="picture__image">
<a class="picture__link" href="#">
<picture>
<source media="(min-width:1200px)" srcset="img/photo-2-desktop@2x.jpg 2x, img/photo-2-desktop@1x.jpg 1x">
<source media="(min-width:768px)" srcset="img/photo-2-tablet@2x.jpg 2x, img/photo-2-tablet@1x.jpg 1x">
<source media="(min-width:320px)" srcset="img/photo-2-mobile@2x.jpg 2x, img/photo-2-mobile@1x.jpg 1x">
<img class="picture__source" width="280" height="280" src="img/photo-2-desktop@1x.jpg" alt="Sedona">
</picture>
</a>
</div>
<section class="picture__footer">
<div class="picture__sign-block">
<h2 class="picture__title">Местная растительность</h2>
<p class="picture__text">Автор фото: Сергей</p>
</div>
<div class="picture__likes-counter">
<button class="picture__like-button" type="submit">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="22" height="20" 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 class="picture__like-color" fill="#ffffff" 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>
</button>
<span class="picture__count">143</span>
</div>
</section>
</article>
<article class="picture">
<div class="picture__image">
<a class="picture__link" href="#">
<picture>
<source media="(min-width:1200px)" srcset="img/photo-3-desktop@2x.jpg 2x, img/photo-3-desktop@1x.jpg 1x">
<source media="(min-width:768px)" srcset="img/photo-3-tablet@2x.jpg 2x, img/photo-3-tablet@1x.jpg 1x">
<source media="(min-width:320px)" srcset="img/photo-3-mobile@2x.jpg 2x, img/photo-3-mobile@1x.jpg 1x">
<img class="picture__source" width="280" height="280" src="img/photo-3-desktop@1x.jpg" alt="Sedona">
</picture>
</a>
</div>
<section class="picture__footer">
<div class="picture__sign-block">
<h2 class="picture__title">Дорога на север</h2>
<p class="picture__text">Автор фото: Петр</p>
</div>
<div class="picture__likes-counter">
<button class="picture__like-button" type="submit">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="22" height="20" 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 class="picture__like-color" fill="#ffffff" 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>
</button>
<span class="picture__count">96</span>
</div>
</section>
</article>
<article class="picture">
<div class="picture__image">
<a class="picture__link" href="#">
<picture>
<source media="(min-width:1200px)" srcset="img/photo-4-desktop@2x.jpg 2x, img/photo-4-desktop@1x.jpg 1x">
<source media="(min-width:768px)" srcset="img/photo-4-tablet@2x.jpg 2x, img/photo-4-tablet@1x.jpg 1x">
<source media="(min-width:320px)" srcset="img/photo-4-mobile@2x.jpg 2x, img/photo-4-mobile@1x.jpg 1x">
<img class="picture__source" width="280" height="280" src="img/photo-4-desktop@1x.jpg" alt="Sedona">
</picture>
</a>
</div>
<section class="picture__footer">
<div class="picture__sign-block">
<h2 class="picture__title">Мост дьявола</h2>
<p class="picture__text">Автор фото: Антон</p>
</div>
<div class="picture__likes-counter">
<button class="picture__like-button" type="submit">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="22" height="20" 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 class="picture__like-color" fill="#ffffff" 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>
</button>
<span class="picture__count">254</span>
</div>
</section>
</article>
</div>
<article class="video-content">
<section class="video-content__footer">
<h2 class="video-content__title">Все еще сомневаетесь?</h2>
<p class="video-content__text"><span class="video-content__not-only-br">Смотрите видеопрезентацию и</span>
скорее за билетами, пока они не
подорожали в очередной раз!</p>
</section>
<div class="video-content__video-clip">
<div class="video-content__image-poster">
<picture>
<source media="(min-width:1200px)" srcset="img/video-desktop@2x.jpg 2x, img/video-desktop@1x.jpg 1x">
<source media="(min-width:768px)" srcset="img/video-tablet@2x.jpg 2x, img/video-tablet@1x.jpg 1x">
<source media="(min-width:320px)" srcset="img/video-mobile@2x.jpg 2x, img/video-mobile@1x.jpg 1x">
<img class="video-content__picture-source" width="320" height="201" src="img/video-desktop@1x.jpg" alt="Video Sample">
</picture>
</div>
<div class="video-content__controls">
<div class="video-content__scroll-bar">
</div>
<div class="video-content__control-buttons">
<button class="video-content__button video-content__button--repeat">
<svg class="video-content__button-color" version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16" height="20" 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>
</button>
<button class="video-content__button video-content__button--subtitle">
<svg class="video-content__button-color" version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="32" height="20" 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>
</button>
<button class="video-content__button video-content__button--full-screen">
<svg class="video-content__button-color" version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="20" height="20" 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>
</button>
</div>
</div>
</div>
</article>
</div>
<footer class="main-footer">
<h2 class="main-footer__title">#visitsedona</h2>
<div class="main-footer__social">
<a class="main-footer__social-button" href="#">
<svg class="main-footer__social-button-icon" version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="18" height="15" viewBox="0 0 17.5 14.663" enable-background="new 0 0 17.5 14.663" xml:space="preserve">
<g>
<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>
Twitter</a>
<a class="main-footer__social-button" href="#">
<svg class="main-footer__social-button-icon" version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="9" height="19" 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>
Facebook
</a>
<a class="main-footer__social-button" href="#">
<svg class="main-footer__social-button-icon" version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="20" height="14" 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>
YouTube</a>
</div>
<p class="main-footer__copyright">
Разработано<a class="main-footer__copyright-icon" href="#">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="27" height="34" viewBox="0 0 26.943 34.09" enable-background="new 0 0 26.943 34.09" xml:space="preserve">
<path class="main-footer__copyright-image" 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>
в HTML Academy</a>
</p>
</footer>
<script src="js/app.js" async></script>
</body>
</html>