-
Notifications
You must be signed in to change notification settings - Fork 1
/
modal.html
449 lines (441 loc) · 34.1 KB
/
modal.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
444
445
446
447
448
449
<!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">
<title>readme: добавление публикации</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body class="page">
<div style="display: none">
<svg xmlns="http://www.w3.org/2000/svg"><symbol id="icon-arrow-right-ad" viewbox="0 0 6 9"><path d="M5.8 4L1.3.2C1-.1.5-.1.2.2s-.3.7 0 .9l4 3.4-4 3.4c-.3.3-.3.7 0 .9.2.1.4.2.6.2s.4-.1.5-.2L5.8 5c.3-.3.3-.7 0-1z"></path></symbol><symbol id="icon-attach" viewbox="0 0 10 20"><path d="M2.8 4.8v10.5c0 1.2 1 2.2 2.3 2.2s2.3-1 2.3-2.2V3.4C7.2 1.5 5.6 0 3.7 0 1.7 0 .1 1.5 0 3.4V15c0 2.7 2.2 5 5 5s5-2.2 5-5V2.9H8.7V15c0 2.1-1.7 3.8-3.7 3.8-2.1 0-3.7-1.7-3.7-3.8V3.6c0-1.3 1.1-2.3 2.4-2.3 1.3 0 2.4 1 2.4 2.3v11.7c0 .6-.5 1-1 1-.6 0-1-.4-1-1V4.8H2.8z"></path></symbol><symbol id="icon-close" viewbox="0 0 18 18"><path d="M18 1.3L16.7 0 9 7.7 1.3 0 0 1.3 7.7 9 0 16.7 1.3 18 9 10.3l7.7 7.7 1.3-1.3L10.3 9z"></path></symbol><symbol id="icon-comment" viewbox="0 0 19 17"><path d="M9.5 17c-1.5 0-2.9-.3-4.3-.9l-.3-.2-3.6.7c-.1 0-.3.1-.5 0-.5-.1-.8-.6-.7-1l.8-3.8-.3-.6v-.1C.2 10.3 0 9.4 0 8.5 0 3.8 4.3 0 9.5 0S19 3.8 19 8.5 14.7 17 9.5 17zM5 14.1c.2 0 .3 0 .4.1l.6.3c1 .5 2.2.7 3.4.7 4.2 0 7.6-3 7.6-6.7s-3.4-6.7-7.6-6.7-7.6 3-7.6 6.7c0 .7.1 1.4.4 2.1l.4.8c.1.2.1.4.1.5l-.5 2.7 2.7-.5H5z"></path></symbol><symbol id="icon-filter-link" viewbox="0 0 21 18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7 0-1.3.3-1.7.7l-1 .9z"></path><path d="M5.3 5.9h9.4v1.9H5.3zM5.3 8.9H11v1.9H5.3z"></path></symbol><symbol id="icon-filter-video" viewbox="0 0 24 16"><path d="M23.5 2.1c-.3-.2-.7-.1-1 .1L17 6.1V3c0-1.7-1.3-3-3-3H3C1.3 0 0 1.3 0 3v10c0 1.7 1.3 3 3 3h11c1.7 0 3-1.3 3-3V9.9l5.4 3.9c.2.1.4.2.6.2.2 0 .3 0 .5-.1.3-.2.5-.5.5-.9V3c0-.4-.2-.7-.5-.9zM15 13c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V3c0-.6.4-1 1-1h11c.6 0 1 .4 1 1v10zm7-1.9L17.7 8 22 4.9v6.2z"></path><circle cx="5.5" cy="5.5" r="1.5"></circle></symbol><symbol id="icon-heart-active" viewbox="0 0 20 17"><path d="M18.5 1.5c-2-2-5.3-2-7.3 0L10 2.7 8.8 1.5c-2-2-5.3-2-7.3 0s-2 5.2 0 7.2l1.2 1.2L10 17l7.3-7.2 1.2-1.2c2-1.9 2-5.1 0-7.1z"></path></symbol><symbol id="icon-heart" viewbox="0 0 20 17"><path d="M18.5 1.5c-2-2-5.3-2-7.3 0L10 2.7 8.8 1.5c-2-2-5.3-2-7.3 0s-2 5.2 0 7.2l1.2 1.2L10 17l7.3-7.2 1.2-1.2c2-1.9 2-5.1 0-7.1zm-3.6 8.3L10 14.6 5.1 9.8 2.7 7.5C1.4 6.1 1.4 4 2.7 2.7c1.3-1.3 3.5-1.3 4.9 0L10 5.1l2.4-2.4c1.3-1.3 3.5-1.3 4.9 0 1.3 1.3 1.3 3.5 0 4.8l-2.4 2.3z"></path></symbol><symbol id="icon-htmlacademy" viewbox="0 0 27 34"><path d="M13.6 0h-.2L0 1.4V26l13.5 8L27 26V1.4L13.6 0zm5.7 16.8l-.9.5-5-3v1.4l3.8 2.3-.8.5-3-1.8v1.4l1.9 1.1-1.8 1.1L2 13.6l11.4-6.8L25 13.5l-4.5 2.6-7.1-4.2v1.4l5.9 3.5zM1.9 15.1l11.4 6.8v1l-8-4.7v1.4l8 4.8v1.1l-8-4.7v1.4l8 4.8 8.2-4.9V17l3.4-2v10l-11.6 6.9-11.4-7v-9.8zm0-3v-9l11.6-1.2 11.6 1.2v9L13.5 5.3v-.1h-.2v.1L1.9 12.1z"></path></symbol><symbol id="icon-input-password" viewbox="0 0 16 20"><path d="M14.4 8.3H4.8V6c0-1.7 1.2-3.3 2.9-3.5 1.9-.2 3.5 1.4 3.5 3.3 0 .5.3.8.8.8h.8c.5 0 .8-.3.8-.8 0-3.2-2.4-5.7-5.4-5.8C5-.1 2.4 2.6 2.4 5.8v2.5h-.8C.7 8.3 0 9.1 0 10v5.8C0 18.2 1.8 20 4 20h8c2.2 0 4-1.8 4-4.2V10c0-.9-.7-1.7-1.6-1.7zm-5.6 6.5v1.1c0 .4-.4.8-.8.8s-.8-.4-.8-.8v-1.1c-.5-.2-.8-.8-.8-1.4 0-.9.7-1.7 1.6-1.7s1.6.7 1.6 1.7c0 .5-.3 1.1-.8 1.4z"></path></symbol><symbol id="icon-input-user" viewbox="0 0 19 18"><path d="M5.4 4.2C5.4 1.9 7.3 0 9.5 0s4.1 1.9 4.1 4.2V7c0 2.3-1.8 4.2-4.1 4.2s-4.1-2-4.1-4.3V4.2zM0 16.6c.7-2.1 5.4-4.2 8.1-4.2h2.7c2.7 0 7.5 2.1 8.1 4.2V18H0v-1.4z"></path></symbol><symbol id="icon-link-arrow" viewbox="0 0 11 16"><path d="M10.6 7.2L2.3.3C1.8-.1.9-.1.4.3s-.5 1.2 0 1.6L7.7 8 .4 14c-.5.4-.5 1.2 0 1.6.3.3.6.4 1 .4s.7-.1 1-.3l8.2-6.9c.5-.4.5-1.2 0-1.6z"></path></symbol><symbol id="icon-repost" viewbox="0 0 19 17"><path d="M19 9.3c-.1.4-.1.9-.2 1.3-.4 1.6-1.1 3-2.2 4.3-.3.3-.3.3-.6 0l-.9-.9c-.1-.1-.1-.2 0-.3.5-.5.9-1.2 1.2-1.8 1.4-2.8.9-6.2-1.2-8.4-.2-.2-.5-.5-.8-.7-.1.1 0 .1 0 .2v2.5c0 .2-.1.2-.2.2h-1.5c-.2 0-.2-.1-.2-.2V.2c0-.1 0-.2.2-.2h5.3c.1 0 .2 0 .2.2v1.5c0 .2-.1.2-.2.2h-1.5c.1.2.2.3.3.4 1.3 1.5 2 3.2 2.3 5.2v1.8zM0 7.7c.1-.5.1-1 .2-1.5.4-1.6 1.2-3.1 2.4-4.3.1-.1.1-.1.2 0 .4.4.8.7 1.2 1.1.1.1.1.2 0 .3C3.3 4.1 2.7 5 2.4 6c-.9 2.7-.5 5.2 1.4 7.4.2.3.5.5.8.7 0 0 .1.1.2.1V14v-2.5c0-.2 0-.3.2-.2h1.5c.2 0 .2.1.2.2v5.3c0 .2-.1.2-.2.2H1.2c-.3 0-.3 0-.3-.3v-1.5c0-.2.1-.2.2-.2h1.5c-.1-.2-.2-.3-.3-.4C1 13.2.3 11.5 0 9.5v-.3-1.5z"></path></symbol><symbol id="icon-search" viewbox="0 0 18 18"><path d="M18 16.8l-4.9-4.9c1-1.2 1.6-2.9 1.6-4.6.1-4.1-3.3-7.3-7.4-7.3C3.4 0 0 3.2 0 7.3s3.2 7.3 7.3 7.3c1.7 0 3.4-.6 4.6-1.6l4.9 4.9 1.2-1.1zM1.7 7.3c0-3.1 2.5-5.6 5.6-5.6S13 4.2 13 7.3 10.4 13 7.3 13s-5.6-2.6-5.6-5.7z"></path></symbol><symbol id="icon-sort" viewbox="0 0 10 12"><path d="M5 12L0 0h10"></path></symbol><symbol id="icon-user" viewbox="0 0 19 18"><path d="M9.5 2a2.12 2.12 0 0 1 2.07 2.15v2.77A2.12 2.12 0 0 1 9.5 9.08a2.12 2.12 0 0 1-2.07-2.16V4.15A2.12 2.12 0 0 1 9.5 2m1.36 12.46a10.93 10.93 0 0 1 4.8 1.54H3.35a10.85 10.85 0 0 1 4.79-1.54h2.72M9.5 0a4.11 4.11 0 0 0-4.07 4.15v2.77a4.07 4.07 0 1 0 8.14 0V4.15A4.11 4.11 0 0 0 9.5 0zm1.36 12.46H8.14c-2.71 0-7.46 2.08-8.14 4.16V18h19v-1.38c-.68-2.08-5.43-4.16-8.14-4.16z" data-name="Слой 2"></path></symbol><symbol id="icon-video-play-big" viewbox="0 0 27 28"><path d="M25.6 12L3.9.8C3.2.5 2.6 0 1.9 0 .9 0 0 .9 0 2v24c0 1.1.9 2 1.9 2 .6 0 1.3-.5 1.9-.8L25.6 16c.5-.3 1.4-.8 1.4-2s-.9-1.7-1.4-2zM3.9 22.8V5.2L20.8 14 3.9 22.8z"></path></symbol></svg>
</div>
<header class="header">
<div class="header__wrapper container">
<div class="header__logo-wrapper">
<a class="header__logo-link" href="main.html">
<img class="header__logo" src="img/logo.svg" alt="Логотип readme" width="128" height="24">
</a>
<p class="header__topic">
micro blogging
</p>
</div>
<form class="header__search-form form" action="#" method="get">
<div class="header__search">
<label class="visually-hidden">Поиск</label>
<input class="header__search-input form__input" type="search">
<button class="header__search-button button" type="submit">
<svg class="header__search-icon" width="18" height="18">
<use xlink:href="#icon-search"></use>
</svg>
<span class="visually-hidden">Начать поиск</span>
</button>
</div>
</form>
<div class="header__nav-wrapper">
<nav class="header__nav">
<ul class="header__my-nav">
<li class="header__my-page header__my-page--popular">
<a class="header__page-link" href="popular.html" title="Популярный контент">
<span class="visually-hidden">Популярный контент</span>
</a>
</li>
<li class="header__my-page header__my-page--feed">
<a class="header__page-link" href="feed.html" title="Моя лента">
<span class="visually-hidden">Моя лента</span>
</a>
</li>
<li class="header__my-page header__my-page--messages">
<a class="header__page-link" href="messages.html" title="Личные сообщения">
<span class="visually-hidden">Личные сообщения</span>
</a>
</li>
</ul>
<ul class="header__user-nav">
<li class="header__profile">
<a class="header__profile-link" href="#">
<div class="header__avatar-wrapper">
<img class="header__profile-avatar" src="img/userpic-medium.jpg" alt="Аватар профиля">
</div>
<div class="header__profile-name">
<span>Антон Глуханько</span>
<svg class="header__link-arrow" width="10" height="6">
<use xlink:href="#icon-arrow-right-ad"></use>
</svg>
</div>
</a>
<div class="header__tooltip-wrapper">
<div class="header__profile-tooltip">
<ul class="header__profile-nav">
<li class="header__profile-nav-item">
<a class="header__profile-nav-link" href="#">
<span class="header__profile-nav-text">
Мой профиль
</span>
</a>
</li>
<li class="header__profile-nav-item">
<a class="header__profile-nav-link" href="#">
<span class="header__profile-nav-text">
Сообщения
<i class="header__profile-indicator">2</i>
</span>
</a>
</li>
<li class="header__profile-nav-item">
<a class="header__profile-nav-link" href="#">
<span class="header__profile-nav-text">
Выход
</span>
</a>
</li>
</ul>
</div>
</div>
</li>
<li>
<a class="header__post-button header__post-button--active button button--transparent" href="#">Закрыть</a>
</li>
</ul>
</nav>
</div>
</div>
</header>
<main class="page__main page__main--adding-post">
<div class="container">
<h1 class="page__title page__title--adding-post">Добавить публикацию</h1>
</div>
<div class="adding-post container">
<div class="adding-post__tabs-wrapper tabs">
<div class="adding-post__tabs filters">
<ul class="adding-post__tabs-list filters__list tabs__list">
<li class="adding-post__tabs-item filters__item tabs__item">
<a class="adding-post__tabs-link filters__button filters__button--photo filters__button--active button">
<svg class="filters__icon" width="22" height="18">
<use xlink:href="#icon-filter-photo"></use>
</svg>
<span>Фото</span>
</a>
</li>
<li class="adding-post__tabs-item filters__item tabs__item">
<a class="adding-post__tabs-link filters__button filters__button--video button" href="#">
<svg class="filters__icon" width="24" height="16">
<use xlink:href="#icon-filter-video"></use>
</svg>
<span>Видео</span>
</a>
</li>
<li class="adding-post__tabs-item filters__item tabs__item">
<a class="adding-post__tabs-link filters__button filters__button--text button" href="#">
<svg class="filters__icon" width="20" height="21">
<use xlink:href="#icon-filter-text"></use>
</svg>
<span>Текст</span>
</a>
</li>
<li class="adding-post__tabs-item filters__item tabs__item">
<a class="adding-post__tabs-link filters__button filters__button--quote button" href="#">
<svg class="filters__icon" width="21" height="20">
<use xlink:href="#icon-filter-quote"></use>
</svg>
<span>Цитата</span>
</a>
</li>
<li class="adding-post__tabs-item filters__item tabs__item">
<a class="adding-post__tabs-link filters__button filters__button--link button" href="#">
<svg class="filters__icon" width="21" height="18">
<use xlink:href="#icon-filter-link"></use>
</svg>
<span>Ссылка</span>
</a>
</li>
</ul>
</div>
<div class="adding-post__tab-content">
<section class="adding-post__photo tabs__content tabs__content--active">
<h2 class="visually-hidden">Форма добавления фото</h2>
<form class="adding-post__form form" action="#" method="post" enctype="multipart/form-data">
<div class="adding-post__input-wrapper form__input-wrapper">
<label class="adding-post__label form__label" for="photo-heading">Заголовок</label>
<div class="form__input-section">
<input class="adding-post__input form__input" id="photo-heading" type="text" name="photo-heading" placeholder="Введите заголовок">
<button class="form__error-button button" type="button">!<span class="visually-hidden">Информация об ошибке</span></button>
<div class="form__error-text">
<h3 class="form__error-title">Заголовок сообщения</h3>
<p class="form__error-desc">Текст сообщения об ошибке, подробно объясняющий, что не так.</p>
</div>
</div>
</div>
<div class="adding-post__input-file-container form__input-container">
<div class="adding-post__input-file-wrapper form__input-file-wrapper">
<label class="adding-post__file-zone form__file-zone" for="userpic-file-photo">
<span class="form__file-zone-text">Перетащите фото сюда</span>
</label>
<div class="adding-post__input-file-button form__input-file-button">
<input class="adding-post__input-file form__input-file" id="userpic-file-photo" type="file" name="userpic-file-photo">
<span class="adding-post__input-file-text form__input-file-text">Выбрать фото</span>
<svg class="adding-post__attach-icon form__attach-icon" width="10" height="20">
<use xlink:href="#icon-attach"></use>
</svg>
</div>
</div>
<div class="adding-post__file form__file">
<div class="adding-post__image-wrapper form__image-wrapper">
<img class="adding-post__image form__image" src="img/rock-adding.png" alt="Загруженное фото" width="360" height="250">
</div>
<div class="adding-post__file-data form__file-data">
<span class="adding-post__file-name form__file-name">dsc666.jpg</span>
<button class="adding-post__delete-button form__delete-button button" type="button">
<span>Удалить</span>
<svg class="adding-post__delete-icon form__delete-icon" width="12" height="12">
<use xlink:href="#icon-close"></use>
</svg>
</button>
</div>
</div>
</div>
<div class="adding-post__buttons">
<button class="adding-post__submit button button--main" type="submit">Опубликовать</button>
<a class="adding-post__close" href="#">Закрыть</a>
</div>
</form>
</section>
<section class="adding-post__video tabs__content">
<h2 class="visually-hidden">Форма добавления видео</h2>
<form class="adding-post__form form" action="#" method="post" enctype="multipart/form-data">
<div class="adding-post__input-wrapper form__input-wrapper">
<label class="adding-post__label form__label" for="video-heading">Заголовок</label>
<div class="form__input-section">
<input class="adding-post__input form__input" id="video-heading" type="text" name="video-heading" placeholder="Введите заголовок">
<button class="form__error-button button" type="button">!<span class="visually-hidden">Информация об ошибке</span></button>
<div class="form__error-text">
<h3 class="form__error-title">Заголовок сообщения</h3>
<p class="form__error-desc">Текст сообщения об ошибке, подробно объясняющий, что не так.</p>
</div>
</div>
</div>
<div class="adding-post__input-file-container form__input-container">
<div class="adding-post__input-file-wrapper form__input-file-wrapper">
<label class="adding-post__file-zone form__file-zone" for="userpic-file-video">
<span class="form__file-zone-text">Перетащите видео сюда</span>
</label>
<div class="adding-post__input-file-button form__input-file-button">
<input class="adding-post__input-file form__input-file" id="userpic-file-video" type="file" name="userpic-file-video">
<span class="adding-post__input-file-text form__input-file-text form__input-file-text--video">Выбрать видео</span>
<svg class="adding-post__attach-icon form__attach-icon" width="10" height="20">
<use xlink:href="#icon-attach"></use>
</svg>
</div>
</div>
<div class="adding-post__file form__file">
<div class="adding-post__image-wrapper form__image-wrapper">
<img class="adding-post__image form__image" src="img/coast-adding.png" alt="Загруженное фото" width="360" height="250">
</div>
<div class="adding-post__file-data form__file-data">
<span class="adding-post__file-name form__file-name">dji777.mov</span>
<button class="adding-post__delete-button form__delete-button button" type="button">
<span>Удалить</span>
<svg class="adding-post__delete-icon form__delete-icon" width="12" height="12">
<use xlink:href="#icon-close"></use>
</svg>
</button>
</div>
</div>
</div>
<div class="adding-post__buttons">
<button class="adding-post__submit button button--main" type="submit">Опубликовать</button>
<a class="adding-post__close" href="#">Закрыть</a>
</div>
</form>
</section>
<section class="adding-post__text tabs__content">
<h2 class="visually-hidden">Форма добавления текста</h2>
<form class="adding-post__form form" action="#" method="post">
<div class="adding-post__input-wrapper form__input-wrapper">
<label class="adding-post__label form__label" for="text-heading">Заголовок<span class="form__input-required">*</span></label>
<div class="form__input-section">
<input class="adding-post__input form__input" id="text-heading" type="text" name="text-heading" placeholder="Введите заголовок">
<button class="form__error-button button" type="button">!<span class="visually-hidden">Информация об ошибке</span></button>
<div class="form__error-text">
<h3 class="form__error-title">Заголовок сообщения</h3>
<p class="form__error-desc">Текст сообщения об ошибке, подробно объясняющий, что не так.</p>
</div>
</div>
</div>
<div class="adding-post__textarea-wrapper form__textarea-wrapper">
<label class="adding-post__label form__label" for="post-text">Текст поста <span class="form__input-required">*</span></label>
<div class="form__input-section">
<textarea class="adding-post__textarea form__textarea form__input" id="post-text" placeholder="Введите текст публикации"></textarea>
<button class="form__error-button button" type="button">!<span class="visually-hidden">Информация об ошибке</span></button>
<div class="form__error-text">
<h3 class="form__error-title">Заголовок сообщения</h3>
<p class="form__error-desc">Текст сообщения об ошибке, подробно объясняющий, что не так.</p>
</div>
</div>
</div>
<div class="adding-post__buttons">
<button class="adding-post__submit button button--main" type="submit">Опубликовать</button>
<a class="adding-post__close" href="#">Закрыть</a>
</div>
</form>
</section>
<section class="adding-post__quote tabs__content">
<h2 class="visually-hidden">Форма добавления цитаты</h2>
<form class="adding-post__form form" action="#" method="post">
<div class="adding-post__input-wrapper form__input-wrapper">
<label class="adding-post__label form__label" for="quote-heading">Заголовок</label>
<div class="form__input-section">
<input class="adding-post__input form__input" id="quote-heading" type="text" name="quote-heading" placeholder="Введите заголовок">
<button class="form__error-button button" type="button">!<span class="visually-hidden">Информация об ошибке</span></button>
<div class="form__error-text">
<h3 class="form__error-title">Заголовок сообщения</h3>
<p class="form__error-desc">Текст сообщения об ошибке, подробно объясняющий, что не так.</p>
</div>
</div>
</div>
<div class="adding-post__textarea-container form__input-container">
<div class="adding-post__input-wrapper form__textarea-wrapper">
<label class="adding-post__label form__label" for="post-text">Текст цитаты</label>
<div class="form__input-section">
<textarea class="adding-post__textarea adding-post__textarea--quote form__textarea form__input" id="post-text" placeholder="Плейсхолдер инпута"></textarea>
<button class="form__error-button button" type="button">!<span class="visually-hidden">Информация об ошибке</span></button>
<div class="form__error-text">
<h3 class="form__error-title">Заголовок сообщения</h3>
<p class="form__error-desc">Текст сообщения об ошибке, подробно объясняющий, что не так.</p>
</div>
</div>
</div>
<div class="adding-post__detail form__detail">
<p class="adding-post__detail-text form__detail-text">
Желательно не превышать длину в 70 знаков, тогда цитата будет выводиться крупным шрифтом.
</p>
</div>
</div>
<div class="adding-post__textarea-wrapper form__input-wrapper">
<label class="adding-post__label form__label" for="quote-author">Автор</label>
<div class="form__input-section">
<input class="adding-post__input form__input" id="quote-author" type="text" name="quote-author">
<button class="form__error-button button" type="button">!<span class="visually-hidden">Информация об ошибке</span></button>
<div class="form__error-text">
<h3 class="form__error-title">Заголовок сообщения</h3>
<p class="form__error-desc">Текст сообщения об ошибке, подробно объясняющий, что не так.</p>
</div>
</div>
</div>
<div class="adding-post__buttons">
<button class="adding-post__submit button button--main" type="submit">Опубликовать</button>
<a class="adding-post__close" href="#">Закрыть</a>
</div>
</form>
</section>
<section class="adding-post__link tabs__content">
<h2 class="visually-hidden">Форма добавления ссылки</h2>
<form class="adding-post__form form" action="#" method="post">
<div class="adding-post__input-wrapper form__input-wrapper">
<label class="adding-post__label form__label" for="link-heading">Заголовок</label>
<div class="form__input-section">
<input class="adding-post__input form__input" id="link-heading" type="text" name="link-heading" placeholder="Введите заголовок">
<button class="form__error-button button" type="button">!<span class="visually-hidden">Информация об ошибке</span></button>
<div class="form__error-text">
<h3 class="form__error-title">Заголовок сообщения</h3>
<p class="form__error-desc">Текст сообщения об ошибке, подробно объясняющий, что не так.</p>
</div>
</div>
</div>
<div class="adding-post__textarea-wrapper form__input-wrapper">
<label class="adding-post__label form__label" for="post-link">Ссылка</label>
<div class="form__input-section">
<input class="adding-post__input form__input" id="post-link" type="text" name="post-link">
<button class="form__error-button button" type="button">!<span class="visually-hidden">Информация об ошибке</span></button>
<div class="form__error-text">
<h3 class="form__error-title">Заголовок сообщения</h3>
<p class="form__error-desc">Текст сообщения об ошибке, подробно объясняющий, что не так.</p>
</div>
</div>
</div>
<div class="adding-post__buttons">
<button class="adding-post__submit button button--main" type="submit">Опубликовать</button>
<a class="adding-post__close" href="#">Закрыть</a>
</div>
</form>
</section>
</div>
</div>
</div>
</main>
<footer class="footer">
<div class="footer__wrapper">
<div class="footer__container container">
<div class="footer__site-info">
<div class="footer__site-nav">
<ul class="footer__info-pages">
<li class="footer__info-page">
<a class="footer__page-link" href="#">О проекте</a>
</li>
<li class="footer__info-page">
<a class="footer__page-link" href="#">Реклама</a>
</li>
<li class="footer__info-page">
<a class="footer__page-link" href="#">О разработчиках</a>
</li>
<li class="footer__info-page">
<a class="footer__page-link" href="#">Работа в Readme</a>
</li>
<li class="footer__info-page">
<a class="footer__page-link" href="#">Соглашение пользователя</a>
</li>
<li class="footer__info-page">
<a class="footer__page-link" href="#">Политика конфиденциальности</a>
</li>
</ul>
</div>
<p class="footer__license">
При использовании любых материалов с сайта обязательно указание Readme в качестве источника. Все авторские и исключительные права в рамках проекта защищены в соответствии с положениями 4 части Гражданского Кодекса Российской Федерации.
</p>
</div>
<div class="footer__my-info">
<ul class="footer__my-pages">
<li class="footer__my-page footer__my-page--feed">
<a class="footer__page-link" href="feed.html">Моя лента</a>
</li>
<li class="footer__my-page footer__my-page--popular">
<a class="footer__page-link" href="popular.html">Популярный контент</a>
</li>
<li class="footer__my-page footer__my-page--messages">
<a class="footer__page-link" href="messages.html">Личные сообщения</a>
</li>
</ul>
<div class="footer__copyright">
<a class="footer__copyright-link" href="https://htmlacademy.ru">
<span>Разработано HTML Academy</span>
<svg class="footer__copyright-logo" width="27" height="34">
<use xlink:href="#icon-htmlacademy"></use>
</svg>
</a>
</div>
</div>
</div>
</div>
</footer>
<div class="modal modal--adding modal--active">
<div class="modal__wrapper">
<button class="modal__close-button button" type="button">
<svg class="modal__close-icon" width="18" height="18">
<use xlink:href="#icon-close"></use>
</svg>
<span class="visually-hidden">Закрыть модальное окно</span></button>
<div class="modal__content">
<h1 class="modal__title">Пост добавлен</h1>
<p class="modal__desc">
Озеро Байкал – огромное древнее озеро в горах Сибири к северу от монгольской границы. Байкал считается самым глубоким озером в мире. Он окружен сефтью пешеходных маршрутов, называемых Большой байкальской тропой. Деревня Листвянка, расположенная на западном берегу озера, – популярная отправная точка для летних экскурсий.
</p>
<div class="modal__buttons">
<a class="modal__button button button--main" href="#">Синяя кнопка</a>
<a class="modal__button button button--gray" href="#">Серая кнопка</a>
</div>
</div>
</div>
</div>
</body>
</html>