generated from tripleten-com/se_project_spots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
143 lines (142 loc) · 4.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta name="author" content="" />
<meta name="keywords" content="HTML, CSS, ???" />
<link rel="stylesheet" href="pages/index.css" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<title>Spots Project</title>
</head>
<body class="page">
<header class="header">
<img src="./images/Logo.svg" alt="Spots logo" class="header__logo" />
</header>
<main class="content">
<section class="profile page__section">
<img
src="./images/avatar.jpg"
alt="Bessie Coleman"
class="profile__avatar"
/>
<div class="profile__column">
<h1 class="profile__name">Bessie Coleman</h1>
<p class="profile__description">Civil Aviator</p>
<button type="button" class="profile__edit-btn">
<img src="./images/Pencil.svg" alt="Penil icon" />Edit Profile
</button>
</div>
<button type="button" class="profile__add-btn">
<img src="./images/Plus.svg" alt="Plus icon" />New Post
</button>
</section>
<section class="cards page__section">
<ul class="cards__list">
<template id="card-template">
<li class="card">
<img class="card__image" src="" alt="" />
<div class="card__footer">
<h2 class="card__title"></h2>
<button
aria-label="Like card"
class="card__like-btn"
type="button"
></button>
<button
aria-label="Delete card"
class="card__delete-btn"
type="button"
></button>
</div>
</li>
</template>
</ul>
</section>
</main>
<footer class="footer">
<p class="footer__text">2023 © Spots</p>
</footer>
<div class="modal" id="edit-modal">
<div class="modal__content">
<button
aria-label="Close button"
type="button"
class="modal__close"
></button>
<h2 class="modal__title">Edit Profile</h2>
<form name="edit-profile" class="modal__form">
<label for="profile-name-input" class="modal__label">
Name
<input
id="profile-name-input"
type="text"
class="modal__input"
placeholder="Name"
autocomplete="name"
/>
</label>
<label for="profile-description-input" class="modal__label">
Description
<input
id="profile-description-input"
type="text"
class="modal__input"
placeholder="Description"
autocomplete="off"
/>
</label>
<button type="submit" class="modal__button">Save</button>
</form>
</div>
</div>
<div class="modal" id="add-card-modal">
<div class="modal__content">
<button
aria-label="Close modal"
class="modal__close"
type="button"
></button>
<h2 class="modal__title">New post</h2>
<form id="add-card-form" class="modal__form">
<label for="add-card-link-input" class="modal__label">
Image link
<input
id="add-card-link-input"
type="url"
class="modal__input"
name="link"
placeholder="Paste a link to the picture"
autocomplete="url"
/>
</label>
<label for="add-card-name-input" class="modal__label">
Caption
<input
id="add-card-name-input"
type="text"
class="modal__input"
name="name"
placeholder="Type a caption"
autocomplete="off"
/>
</label>
<button type="submit" class="modal__button">Save</button>
</form>
</div>
</div>
<div class="modal" id="preview-modal">
<div class="modal__content modal__content_type_preview">
<button
aria-label="Close button"
type="button"
class="modal__close modal__close_type_preview"
></button>
<img class="modal__image" src="" alt="" />
<p class="modal__caption"></p>
</div>
</div>
<script defer src="./scripts/index.js"></script>
</body>
</html>