forked from levvic/nochlezhka
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
443 lines (423 loc) · 25.8 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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
<!DOCTYPE html>
<html lang="ru" class="document">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Гедонизм-фест</title>
<link rel="stylesheet" href="./pages/index.css"> <!-- файл стилей -->
</head>
<body class="page">
<header class="header header_sticky">
<div class="header__container">
<img src="./images/logo.svg" alt="logo" class="header__logo">
<div class="header__menu">
<button type="button" class="header__location-button page__button">
<img src="./images/location.svg" alt="location" class="header__location-image">
<span class="header__location-button-text">Санкт-Петербург</span>
</button>
<nav class="header__navigation">
<a class="header__navigation-link page__link" href="#">
<p class="header__link-text">куда пойти</p>
</a>
<a class="header__navigation-link page__link" href="./participant.html">
<p class="header__link-text">стать участником</p>
</a>
<a class="header__navigation-link page__link" href="#">
<p class="header__link-text">о фестивале</p>
</a>
</nav>
<a class="header__link page__link" href="#" target="_blank">
<img src="./images/like.svg" alt="like" class="header__like-image">
<p class="header__link-text">хочу пойти</p>
</a>
<button class="header__menu-button page__button" type="button">
<img src="./images/menu.svg" alt="menu">
</button>
<button class="header__donate-button page__button" type="button" onclick="location.href='./message-help.html'">
<span class="header__donate-text">поддержать</span>
</button>
</a>
</div>
</div>
</header>
<main class="content-messages">
<section class="main-screen" aria-label="learn-more">
<p class="main-screen__text">узнать больше</p>
<a href="#about-action" class="main-screen__learn-more page__link">
</a>
</section>
<section class="about-action" id="about-action">
<h1 class="about-action__title">просто приятно помогать</h1>
<div class="about-action__text-container">
<p class="about-action__text">Пейте кофе в любимых заведениях, посещайте интересные мероприятия, устраивайте
домашние посиделки с друзьями — и помогайте бездомным!</p>
<p class="about-action__text">Целую неделю 26 апреля — 2 мая вся выручка будет перечислена в пользу бездомных.
</p>
</div>
<a href="#" class="about-action__learn-more page__link" target="_blank">узнать подробнее</a>
</section>
<section class="events">
<div class="events__wrapper">
<h2 class="events__title">гедонизм-фест — это целая неделя, во время которой просто приятно</h2>
<ul class="events__list">
<li><a href="#" class="events__link">посетить мастер-класс<div class="events__link-arrow"></div></a></li>
<li><a href="#" class="events__link">выпить кофе<div class="events__link-arrow"></div></a></li>
<li><a href="#" class="events__link">не выходить из дома<div class="events__link-arrow"></div></a></li>
<li><a href="#" class="events__link">сходить на экскурсию<div class="events__link-arrow"></div></a></li>
<li><a href="#" class="events__link">побывать в музее<div class="events__link-arrow"></div></a></li>
</ul>
<ul class="events__cards-container">
<li class="events__card">
<button type="button" aria-label="Мне нравится" class="events__like-button"></button>
<a href="#" class="events__card-image-link"><img src="./images/events-lecture.png" alt="Иллюстрация к лекции" class="events__card-image"></a>
<div class="events__card-nameplate">
<div class="events__card-details-container">
<p class="events__card-detail events__card-detail_type_category">лекция</p>
<p class="events__card-detail events__card-detail_type_date">1 мая, 12:30-13:50</p>
</div>
<div class="events__card-title-container">
<a href="#" class="events__card-title">идентичность: почему нам сложно меняться?</a>
<p class="events__card-description">лектор: Мария Бархатова</p>
</div>
<div class="events__card-details-container events__card-details-container_position_bottom">
<p class="events__card-detail events__card-detail_type_place">улица Блохина, 22</p>
<a href="#" class="events__card-detail events__card-detail_type_extra-options">+ ещё <span class="events__counter">3</span></a>
</div>
</div>
</li>
<li class="events__card">
<button type="button" aria-label="Мне нравится" class="events__like-button"></button>
<a href="#" class="events__card-image-link"><img src="./images/events-restaurant.png" alt="Иллюстрация к лекции" class="events__card-image"></a>
<div class="events__card-nameplate">
<div class="events__card-details-container">
<p class="events__card-detail events__card-detail_type_category">еда и напитки</p>
<p class="events__card-detail events__card-detail_type_date">Пн-Вс, 10:00-22:00</p>
</div>
<div class="events__card-title-container">
<a href="#" class="events__card-title">xачапури и вино</a>
<p class="events__card-description">капучино, эспрессо и американо в пользу Ночлежки</p>
</div>
<div class="events__card-details-container events__card-details-container_position_bottom">
<p class="events__card-detail events__card-detail_type_place">Малая Конюшенная улица, </p>
<a href="#" class="events__card-detail events__card-detail_type_extra-options">+ ещё <span class="events__counter">4</span></a>
</div>
</div>
</li>
<li class="events__card">
<button type="button" aria-label="Мне нравится" class="events__like-button"></button>
<a href="#" class="events__card-image-link"><img src="./images/events-coffee.png" alt="Иллюстрация к лекции" class="events__card-image"></a>
<div class="events__card-nameplate">
<div class="events__card-details-container">
<p class="events__card-detail events__card-detail_type_category">еда и напитки</p>
<p class="events__card-detail events__card-detail_type_date">Пн-Вс, 10:00-22:00</p>
</div>
<div class="events__card-title-container">
<a href="#" class="events__card-title">coffee therapy</a>
<p class="events__card-description">кофе и угощения в пользу Ночлежки</p>
</div>
<div class="events__card-details-container events__card-details-container_position_bottom">
<p class="events__card-detail events__card-detail_type_place">улица Льва Толстого, 5</p>
<a href="#" class="events__card-detail events__card-detail_type_extra-options">+ ещё <span class="events__counter">24</span></a>
</div>
</div>
</li>
<li class="events__card">
<button type="button" aria-label="Мне нравится" class="events__like-button"></button>
<a href="#" class="events__card-image-link"><img src="./images/events-cakes.png" alt="Иллюстрация к лекции" class="events__card-image"></a>
<div class="events__card-nameplate">
<div class="events__card-details-container">
<p class="events__card-detail events__card-detail_type_category">посиделки</p>
<p class="events__card-detail events__card-detail_type_date"></p>
</div>
<div class="events__card-title-container">
<a href="#" class="events__card-title">апрельский хэллоуин у Ники</a>
<p class="events__card-description">закрытое событие</p>
</div>
<div class="events__card-details-container events__card-details-container_position_bottom">
<p class="events__card-detail events__card-detail_type_place"></p>
<a href="#" class="events__card-detail events__card-detail_type_extra-options"><span class="events__counter"></span></a>
</div>
</div>
</li>
<li class="events__card">
<button type="button" aria-label="Мне нравится" class="events__like-button"></button>
<a href="#" class="events__card-image-link"><img src="./images/events-cakes.png" alt="Иллюстрация к лекции" class="events__card-image"></a>
<div class="events__card-nameplate">
<div class="events__card-details-container">
<p class="events__card-detail events__card-detail_type_category">посиделки</p>
<p class="events__card-detail events__card-detail_type_date"></p>
</div>
<div class="events__card-title-container">
<a href="#" class="events__card-title">апрельский хэллоуин у Ники</a>
<p class="events__card-description">закрытое событие</p>
</div>
<div class="events__card-details-container events__card-details-container_position_bottom">
<p class="events__card-detail events__card-detail_type_place"></p>
<a href="#" class="events__card-detail events__card-detail_type_extra-options"><span class="events__counter"></span></a>
</div>
</div>
</li>
</ul>
<a href="#" class="events__link events__link_type_view-all">смотреть все события</a>
</div>
</section>
<section class="numbers">
<div class="numbers__wrapper">
<h2 class="numbers__title">цифры дня</h2>
<img src="./images/numbers-desktop-img.svg" alt="Изображение к статистике мероприятия" class="numbers__desktop-image">
<img src="./images/numbers-mobile-img1.svg" alt="Изображение к статистике мероприятия" class="numbers__mobile-image">
<div class="numbers__stat-container numbers__stat-container_position_right">
<p class="numbers__counter">15 000</p>
<p class="numbers__text">cтолько печенья продали в поддержку акции</p>
</div>
<img src="./images/numbers-mobile-img2.svg" alt="Изображение к статистике мероприятия" class="numbers__mobile-image">
<div class="numbers__stat-container numbers__stat-container_position_left">
<p class="numbers__counter">2 500</p>
<p class="numbers__text">cтолько обедов приготовили для нуждающихся</p>
</div>
</div>
</section>
<section class="host-event">
<div class="host-event__block">
<h2 class="host-event__title">примите акцию у себя</h2>
<div class="host-event__subtitle-block">
<div class="host-event__subtitle">
<p class="host-event__subtitle-paragraph">
Кто может принять участие в акции?
</p>
<p class="host-event__subtitle-paragraph">
Абсолютно все. Продавайте кофе в своем кафе, устройте мастер-класс по вязанию
или соберите друзей у себя дома. Помогать просто, узнайте подробности и заполните форму
</p>
</div>
<button type="button" class="host-event__button" onclick="location.href='./participant.html'">стать участником</button>
</div>
</div>
</section>
<section class="hedonismfest">
<div class="hedonismfest__block">
<h2 class="hedonismfest__title">#hedonismfest</h2>
<p class="hedonismfest__subtitle">Ставь хештег и попади в ленту на сайте</p>
<img class="hedonismfest__image hedonismfest__image_is_visible" alt="девушка" src="./images/fest-lady.svg" />
<div class="gallery">
<figure class="gallery__item">
<img class="gallery__image" alt="парк" src="./images/fest-park.svg" />
</figure>
<figure class="gallery__item">
<img class="gallery__image" alt="девушка" src="./images/fest-lady.svg" />
</figure>
<figure class="gallery__item">
<img class="gallery__image" alt="напитки" src="./images/fest-drink.svg" />
</figure>
<figure class="gallery__item">
<img class="gallery__image" alt="выставка" src="./images/fest-exhibition.svg" />
</figure>
<figure class="gallery__item">
<img class="gallery__image" alt="компания" src="./images/fest-team.svg" />
</figure>
</div>
<div class="hedonismfest__slider">
<button type="button" class="hedonismfest__button hedonismfest__button_slider_lady"></button>
<button type="button" class="hedonismfest__button hedonismfest__button_slider_park"></button>
<button type="button" class="hedonismfest__button hedonismfest__button_slider_drink"></button>
<button type="button" class="hedonismfest__button hedonismfest__button_slider_exhibition"></button>
<button type="button" class="hedonismfest__button hedonismfest__button_slider_team"></button>
</div>
</div>
</section>
<section class="partners">
<div class="partners__wrapper">
<h2 class="partners__title">Уже в команде</h2>
<ul class="partners__logos">
<li class="partners__list-item"><a href="https://www.surfcoffee.ru/" class="partners__link"><img src="images/surf-logo.svg" alt="Логотип Surf Coffee"
class="partners__logo"></a></li>
<li class="partners__list-item"><a href="https://www.galeria.spb.ru/" class="partners__link"><img src="images/gallery-spb-logo.svg"
alt="Логотип Галерея Санкт-Петербург" class="partners__logo"></a></li>
<li class="partners__list-item"><a href="https://www.vo-market.ru/" class="partners__link"><img src="images/vasyleostrovsky-logo.svg"
alt="Логотип Василеостровский Рынок" class="partners__logo"></a>
</li>
<li class="partners__list-item"><a href="https://www.surfcoffee.ru/" class="partners__link"><img src="images/surf-logo.svg" alt="Логотип Surf Coffee"
class="partners__logo"></a></li>
<li class="partners__list-item"><a href="https://www.galeria.spb.ru/" class="partners__link"><img src="images/gallery-spb-logo.svg"
alt="Логотип Галерея Санкт-Петербург" class="partners__logo"></a></li>
<li class="partners__list-item"><a href="https://www.vo-market.ru/" class="partners__link"><img src="images/vasyleostrovsky-logo.svg"
alt="Логотип Василеостровский Рынок" class="partners__logo"></a>
</li>
<li class="partners__list-item"><a href="https://www.surfcoffee.ru/" class="partners__link"><img src="images/surf-logo.svg" alt="Логотип Surf Coffee"
class="partners__logo"></a></li>
<li class="partners__list-item"><a href="https://www.galeria.spb.ru/" class="partners__link"><img src="images/gallery-spb-logo.svg"
alt="Логотип Галерея Санкт-Петербург" class="partners__logo"></a></li>
</ul>
</div>
</section>
</main>
<footer class="footer">
<div class="footer__wrapper">
<div class="footer__illustration"></div>
<div class="footer__block-container">
<div class="footer__block">
<h2 class="footer__title">Организатор:</h2>
<ul class="footer__link-list">
<li class="footer__list-element">
<a href="https://homeless.ru/" target="_blank" class="footer__link footer__link_type_regular">Ночлежка</a>
</li>
<li class="footer__list-element">
<a href="mailto:[email protected]" class="footer__link footer__link_type_mail">
<p class="footer__link-text">[email protected]</p>
</a>
</li>
</ul>
</div>
<div class="footer__block">
<h2 class="footer__title">Сделано с любовью:</h2>
<ul class="footer__link-list">
<li class="footer__list-element">
<a href="https://fastsol.digital/" target="_blank" class="footer__link footer__link_type_regular">Fastsol
Digital</a>
</li>
<li class="footer__list-element">
<a href="https://shishki.co/" target="_blank" class="footer__link footer__link_type_regular">shishki.collective</a>
</li>
<li class="footer__list-element">
<a href="https://practicum.yandex.ru/" target="_blank" class="footer__link footer__link_type_regular">студентами Яндекс.Практикума</a>
</li>
</ul>
</div>
<div class="footer__block">
<h2 class="footer__title">Мы в соцсетях:</h2>
<ul class="footer__link-list footer__link-list_type_social">
<li class="footer__list-element">
<a href="#" target="_blank" class="footer__link footer__link_type_social">
<img class="footer__social-icon" src="./images/facebook-logo.svg" alt="Логотип Facebook">
</a>
</li>
<li class="footer__list-element">
<a href="#" target="_blank" class="footer__link footer__link_type_social">
<img class="footer__social-icon" src="./images/instagram-logo.svg" alt="Логотип Instagram">
</a>
</li>
<li class="footer__list-element">
<a href="#" target="_blank" class="footer__link footer__link_type_social">
<img class="footer__social-icon" src="./images/vkontakte-logo.svg" alt="Логотип Вконтакте">
</a>
</li>
</ul>
</div>
</div>
</div>
</footer>
<div class="popup popup_type_menu">
<div class="popup__container">
<div class="popup__content">
<p class="popup__navigation-text">ваш город:</p>
<button class="popup__change-city-button page__button" type="button">
<span class="popup__city-name">Санкт-Петербург</span>
<img src="./images/change-city.svg" alt="сменить город" class="popup__change-city-button-picture">
</button>
<p class="popup__navigation-text">навигация</p>
<nav class="popup__navigation">
<ul class="popup__list">
<li class="popup__list-item">
<a href="#" class="popup__link page__link" target="_blank">куда пойти</a>
</li>
<li class="popup__list-item">
<a href="#" class="popup__link page__link" target="_blank">стать участником</a>
</li>
<li class="popup__list-item">
<a href="#" class="popup__link page__link" target="_blank">о фестивале</a>
</li>
</ul>
</nav>
<img src="./images/popup-logo.svg" alt="Ночлежка" class="popup__logo">
<button class="popup__open-donate-button page__button" type="button">
<span class="popup__open-donate-button-text">пожертвовать</span>
</button>
</div>
</div>
</div>
<div class="popup popup_type_change-city">
<div class="popup__container">
<div class="popup__content">
<button class="popup__back-button page__button" type="button">
<img src="./images/back.svg" alt="назад" class="popup__back-button-picture">
<span class="popup__back-button-text">назад</span>
</button>
<p class="popup__navigation-text">ваш город:</p>
<form name="change-city" class="popup__change-city-form">
<label for="Moscow" class="popup__change-city-label">
<input type="radio" name="City" id="Moscow" value="Москва" class="popup__form-radio">
<span class="popup__radio-city">Москва</span>
</label>
<label for="Sanct-Piterburg" class="popup__change-city-label">
<input type="radio" name="City" id="Sanct-Piterburg" value="Санкт-Петербург" class="popup__form-radio" checked>
<span class="popup__radio-city">Санкт-Петербург</span>
</label>
<label for="Sochi" class="popup__change-city-label">
<input type="radio" name="City" id="Sochi" value="Сочи" class="popup__form-radio">
<span class="popup__radio-city">Сочи</span>
</label>
<label for="Kaluga" class="popup__change-city-label">
<input type="radio" name="City" id="Kaluga" value="Калуга" class="popup__form-radio">
<span class="popup__radio-city">Калуга</span>
</label>
<label for="Ekaterinburg" class="popup__change-city-label">
<input type="radio" name="City" id="Ekaterinburg" value="Екатеринбург" class="popup__form-radio">
<span class="popup__radio-city">Екатеринбург</span>
</label>
</form>
</div>
</div>
</div>
<div class="popup popup_type_donate">
<div class="popup__container popup__container_type_donate">
<form class="popup__donate-form" name="donate" id="donate">
<img src="./images/slider.svg" alt="слайдер" class="popup__slider">
<button type="button" class="popup__donate-close-button page__button">
<span class="popup__donate-close-button-text">пожертвовать</span>
</button>
<p class="popup__donate-text">сумма</p>
<div class="popup__sum-of-money-container">
<button type="button" class="popup__sum-of-money popup__sum-of-money_active page__button">
<span class="popup__sum-of-money-text">100 ₽</span>
</button>
<button type="button" class="popup__sum-of-money page__button">
<span class="popup__sum-of-money-text">300 ₽</span>
</button>
<button type="button" class="popup__sum-of-money page__button">
<span class="popup__sum-of-money-text">500 ₽</span>
</button>
<button type="button" class="popup__sum-of-money page__button">
<span class="popup__sum-of-money-text">1000 ₽</span>
</button>
<button type="button" class="popup__sum-of-money page__button">
<span class="popup__sum-of-money-text">3000 ₽</span>
</button>
<input type="number" min="1" name="sum-of-money" id="sum-of-money" placeholder="другая сумма" class="popup__sum-of-money-input">
</div>
<p class="popup__donate-text">email</p>
<input type="email" name="email" id="email" placeholder="укажите почту для отправки чека" class="popup__email-input" required>
<p class="popup__donate-text">способ оплаты</p>
<fieldset class="popup__payment-method">
<label for="card" class="popup__payment-method-label">
<input type="radio" name="payment" id="card" value="банковской картой" class="popup__form-radio" checked>
<span class="popup__radio-payment">банковской картой</span>
</label>
<label for="paypal" class="popup__payment-method-label">
<input type="radio" name="payment" id="paypal" value="paypal" class="popup__form-radio">
<span class="popup__radio-payment">PayPal</span>
</label>
</fieldset>
<p class="popup__offer">Нажимая кнопку «пожертвовать» вы соглашаетесь с условиями <a href="#" class="popup__offer popup__offer_color_blue page__link"
target="_blank">оферты</a>, <a href="#" class="popup__offer popup__offer_color_blue page__link" target="_blank">политики</a> в отношении обработки
и защиты персональных данных и даёте <a href="#" class="popup__offer popup__offer_color_blue page__link" target="_blank">согласие</a> на их обработку
</p>
</form>
<button class="popup__pay-button page__button" type="submit" form="donate">
<span class="popup__pay-button-text">перейти к оплате</span>
</button>
</div>
</div>
<script src="./scripts/utils.js"></script>
<script src="./scripts/index.js"></script>
</body>
</html>