-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
191 lines (179 loc) · 7.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="pages/index.css">
<title>Around The U.S.</title>
</head>
<body>
<div class="page">
<header class="header">
<img
src="assets/Logo.svg"
alt="Around The U.S."
class="header__logo">
</header>
<main class="main">
<section class="profile">
<div class="profile__card">
<img
src="assets/ProfilePicture.png"
alt="User Profile Picture"
class="profile__avatar">
<div class="profile__info">
<h1 class="profile__username">
Jacques Cousteau
</h1>
<button
class="profile__edit-button hover"
name="edit profile"
></button>
<p class="profile__occupation">
Explorer
</p>
</div>
</div>
<button
class="profile__add-button hover"
name="add new image">
</button>
</section>
<section class="photo-grid">
</section>
<div class="profile-modal__container modal__container form-selector">
<form
class="profile-modal__form all__form"
novalidate>
<div class="modal">
<div class="modal__form">
<p class="modal__title">Edit Profile</p>
<input
type="text"
placeholder="Name"
class="modal__input modal__username"
id="name"
minlength="2"
maxlength="40"
required>
<span
id="name-error"
class="error">
</span>
<input
type="text"
placeholder="About Me"
class="modal__input modal__occupation"
id="occupation"
minlength="2"
maxlength="200"
required>
<span
id="occupation-error"
class="error">
</span>
<button
type="submit"
class="modal__button modal__save-button hover"
name="save profile">
Save
</button>
</div>
<button
class="modal__close profile-modal__close hover"
name="close profile edit button">
</button>
</div>
</form>
</div>
<div class="image-modal__container modal__container form-selector">
<form
class="image-modal__form all__form"
novalidate>
<div class="modal">
<div class="modal__form">
<p class="modal__title">New Place</p>
<input
type="text"
placeholder="Title"
class="modal__input modal__image-title"
id="title"
minlength="2"
maxlength="30"
required>
<span
id="title-error"
class="error">
</span>
<input
type="url"
placeholder="Image link"
class="modal__input modal__link"
id="link"
required>
<span
id="link-error"
class="error">
</span>
<button
type="submit"
class="modal__button modal__create-button hover"
name="create image">
Create
</button>
</div>
<button
class="modal__close image-modal__close hover"
name="close image modal">
</button>
</div>
</form>
</div>
<div class="popup-modal__container modal__container">
<div class="modal_dark modal">
<div class="modal__form all__form">
<figure class="image-popup">
<img
src="/#"
class="image-popup__image"
alt="card image"
id="image-popup">
<figcaption
class="image-popup__description"
id="image-popup-caption">
</figcaption>
</figure>
</div>
<button
class="modal__close popup-modal__close hover"
name="close modal"></button>
</div>
</div>
</main>
<template class="photo-grid__template">
<div class="photo-grid__card">
<button
class="photo-grid__delete-icon hover"
name="delete">
</button>
<div class="photo-grid__image"
></div>
<div class="photo-grid__caption">
<h2 class="photo-grid__description">
</h2>
<button
class="photo-grid__heart-react hover"
name="like picture">
</button>
</div>
</div>
</template>
<footer class="footer">
<p class="footer__copyright">
© 2020 Around The U.S.
</p>
</footer>
</div>
<script type="module" src="./js/script.js"></script>
</body>
</html>