-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
94 lines (87 loc) · 4.15 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mesto</title>
<link rel="stylesheet" href="./pages/index.css">
<link rel="apple-touch-icon" sizes="180x180" href="./images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon-16x16.png">
</head>
<body class="page">
<header class="header">
<img src="./images/logo.svg" alt="Mesto - Russia" class="header__logo">
</header>
<main class="content">
<section class="profile">
<img src="./images/profile__avatar.jpg" alt="Жак-Ив Кусто" class="profile__avatar">
<div class="profile__info">
<h1 class="profile__name">Жак-Ив Кусто</h1>
<p class="profile__job">Исследователь океана</p>
<button class="profile__edit" type="button">Редактировать</button>
</div>
<button class="profile__add-button" type="button">Добавить фото</button>
</section>
<section class="places">
<ul class="photo-grid">
</ul>
</section>
</main>
<footer class="footer">
© 2020 Mesto Russia
</footer>
<div class="popup popup_type_profile">
<div class="popup__container">
<button class="popup__close" type="button">Закрыть</button>
<form action="/" method="POST" class="form form_type_profile" name="edit-profile">
<h2 class="form__title">Редактировать профиль</h2>
<div class="form__field">
<input type="text" value="Жак-Ив Кусто" placeholder="Ваше имя" class="form__input form__input_type_name" name="profile-name" id="profile-name" minlength="2" maxlength="40" required>
<span class="form__input-error profile-name-error"></span>
</div>
<div class="form__field">
<input type="text" value="Исследователь океана" placeholder="Чем занимаетесь?" class="form__input form__input_type_job" name="profile-job" id="profile-job" minlength="2" maxlength="200" required>
<span class="form__input-error profile-job-error"></span>
</div>
<button type="submit" class="form__submit">Сохранить</button>
</form>
</div>
</div>
<div class="popup popup_type_photo">
<div class="popup__container">
<button class="popup__close" type="button">Закрыть</button>
<form action="/" method="POST" class="form form_type_photo" name="add-photo">
<h2 class="form__title">Новое место</h2>
<div class="form__field">
<input type="text" value="" placeholder="Название" class="form__input form__input_type_title" name="photo-title" id="photo-title" required minlength="2" maxlength="30">
<span class="form__input-error photo-title-error"></span>
</div>
<div class="form__field">
<input type="url" value="" placeholder="Ссылка на картинку" class="form__input form__input_type_src" name="photo-src" id="photo-src" required>
<span class="form__input-error photo-src-error"></span>
</div>
<button type="submit" class="form__submit">Создать</button>
</form>
</div>
</div>
<div class="popup popup_type_modal">
<div class="popup__container">
<button class="popup__close" type="button">Закрыть</button>
<img class="popup__pic" alt="Фото" src="./images/logo.svg">
<h2 class="popup__pic-caption">Фото</h2>
</div>
</div>
<template id="photo-grid-template" class="photo-grid-template">
<li class="photo-grid__item">
<button type="button" class="photo-grid__delete">Удалить</button>
<img src="./images/logo.svg" alt="" class="photo-grid__pic">
<div class="photo-grid__item-description">
<h2 class="photo-grid__title"></h2>
<button type="button" class="photo-grid__like">Нравится</button>
</div>
</li>
</template>
<script type="module" src="./scripts/index.js"></script>
</body>
</html>