generated from tripleten-com/se_project_aroundtheus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
297 lines (288 loc) · 9.25 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
<!DOCTYPE html>
<html lang="en">
<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>Around the U.S.</title>
<!-- <link rel="stylesheet" href="./pages/index.css" /> -->
</head>
<body class="page">
<div class="page__content">
<header class="header page__section">
<img
src="<%=require('./images/around-logo.svg')%>"
alt="Around logo"
class="header__logo"
/>
</header>
<main class="content">
<section class="profile page__section">
<div class="profile__avatar-conatainer">
<img src="" alt="" class="profile__avatar" />
<button class="profile__avatar-edit" type="button"></button>
</div>
<div class="profile__info">
<h1 class="profile__title"></h1>
<button class="profile__button-edit" type="button"></button>
<p class="profile__description"></p>
</div>
<button class="profile__button-add" type="button"></button>
</section>
<section class="cards page__section">
<!-- <article class="card">
<img
src="./images/yosemite.jpg"
alt="Yosemite Valley"
class="card__image"
/>
<div class="card__wrapper">
<h2 class="card__title">Yosemite Valley</h2>
<button class="card__button" type="button"></button>
</div>
</article>
<article class="card">
<img
src="./images/lake-louise.jpg"
alt="Lake Louise"
class="card__image"
/>
<div class="card__wrapper">
<h2 class="card__title">Lake Louise</h2>
<button class="card__button" type="button"></button>
</div>
</article>
<article class="card">
<img
src="./images/bald-mountains.jpg"
alt="Bald Mountains"
class="card__image"
/>
<div class="card__wrapper">
<h2 class="card__title">Bald Mountains</h2>
<button class="card__button" type="button"></button>
</div>
</article>
<article class="card">
<img src="./images/latemar.jpg" alt="Latemar" class="card__image" />
<div class="card__wrapper">
<h2 class="card__title">Latemar</h2>
<button class="card__button" type="button"></button>
</div>
</article>
<article class="card">
<img
src="./images/vanoise.jpg"
alt="Vanoise National"
class="card__image"
/>
<div class="card__wrapper">
<h2 class="card__title">Vanoise National Park</h2>
<button class="card__button" type="button"></button>
</div>
</article>
<article class="card">
<img
src="./images/lago.jpg"
alt="Lago di Braies"
class="card__image"
/>
<div class="card__wrapper">
<h2 class="card__title">Lago di Braies</h2>
<button class="card__button" type="button"></button>
</div>
</article> -->
</section>
<footer class="footer">
<p class="footer__copyright">© 2023 Around the U.S.</p>
</footer>
</main>
</div>
<!-- EDIT MODAL -->
<div class="modal profile-modal">
<section class="modal__container profile-container">
<button class="modal__exit" type="button"></button>
<h2 class="modal__title">Edit profile</h2>
<<<<<<< HEAD
<form class="modal__form profile-input">
<input
id="modal-description-name"
class="modal__field"
name="title"
=======
<form class="modal__form profile-input" id="profile-input-form">
<input
id="modal-description-name"
class="modal__field"
name="name"
>>>>>>> project-9-work
type="text"
placeholder="Name"
minlength="2"
maxlength="40"
required
/>
<span class="modal-description-name-error"></span>
<input
id="modal-description-job"
class="modal__field"
<<<<<<< HEAD
name="job"
=======
name="about"
>>>>>>> project-9-work
type="text"
placeholder="Description"
minlength="2"
maxlength="200"
required
/>
<span class="modal-description-job-error"></span>
<button
class="modal__button"
id="modal-edit-profile-button"
type="submit"
>
Save
</button>
</form>
</section>
</div>
<!-- ADD CARD MODAL -->
<div class="modal card-modal">
<section class="modal__container card-container">
<button class="modal__exit" type="button"></button>
<h2 class="modal__title">New place</h2>
<<<<<<< HEAD
<form class="modal__form card-input">
=======
<form class="modal__form card-input" id="new-card-form">
>>>>>>> project-9-work
<input
id="modal-description-title"
class="modal__field"
name="name"
type="text"
placeholder="Title"
minlength="1"
maxlength="30"
required
/>
<span class="modal-description-title-error"></span>
<input
id="modal-description-url"
class="modal__field"
name="link"
type="url"
placeholder="Image link"
required
/>
<span class="modal-description-url-error"></span>
<button
class="modal__button card-submit-button"
id="modal-add-card-button"
type="submit"
>
Create
</button>
</form>
</section>
</div>
<!-- DELETE CARD VERIFY MODAL -->
<<<<<<< HEAD
<!-- <div class="modal card-delete-verify">
<form class="modal__container card-delete-container">
<button class="modal__exit" type="button"></button>
<h2 class="modal__title" id="modal-card-delete-verify-title">
Are you sure?
</h2>
<button
class="modal__button"
id="modal-verify-delete-card-button"
type="submit"
>
Yes
</button>
</form>
</div>
-->
<!-- EDIT AVATAR PICTURE MODAL -->
<!-- <div class="modal avatar__modal">
<section class="modal__container">
<button class="modal__exit" type="button"></button>
<h2 class="modal__title">Change profile picture</h2>
<form class="modal__form avatar__image-input">
=======
<div class="modal card-delete-verify">
<section class="modal__container">
<form class="modal__form card-delete-container">
<button class="modal__exit" type="button"></button>
<h2 class="modal__title" id="modal-card-delete-verify-title">
Are you sure?
</h2>
<button
class="modal__button"
id="modal-verify-delete-card-button"
type="button"
>
Yes
</button>
</form>
</section>
</div>
<!-- EDIT AVATAR PICTURE MODAL -->
<div class="modal avatar__modal">
<section class="modal__container">
<button class="modal__exit" type="button"></button>
<h2 class="modal__title">Change profile picture</h2>
<form class="modal__form avatar__image-input" id="avatar-form">
>>>>>>> project-9-work
<input
id="modal-avatar-url"
class="modal__field"
name="avatar"
type="url"
placeholder="Image link"
required
/>
<span class="modal-avatar-url-error"></span>
<button
class="modal__button"
id="modal-avatar-image-save"
type="submit"
>
Save
</button>
</form>
</section>
</div>
<<<<<<< HEAD
-->
=======
>>>>>>> project-9-work
<!-- Image Popup -->
<div class="modal image">
<section class="image__container">
<button class="modal__exit"></button>
<img class="image__main" src="#" alt="#" />
<p class="image__description"></p>
</section>
</div>
<template id="card-template">
<article class="card">
<button class="card__trash-button" type="button"></button>
<img class="card__image" src="#" alt="#" />
<div class="card__wrapper">
<h2 class="card__title"></h2>
<div class="card__like-container">
<button class="card__button" type="button"></button>
<p class="card__like-counter"></p>
</div>
</div>
</article>
</template>
<!-- <script type="module" src="./pages/index.js" defer></script> -->
<!-- <script type="module" src="./components/Card.js" defer></script> -->
<!-- <script type="module" src="./components/FormValidator.js" defer></script> -->
</body>
</html>