-
Notifications
You must be signed in to change notification settings - Fork 0
/
achivement.html
217 lines (196 loc) · 8.42 KB
/
achivement.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
<!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" />
<meta
name="description"
content="Website that help you boost your produtivity by being your assistent for your tasks and classes"
/>
<link rel="stylesheet" href="style/main.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="./public/icon/logo.svg" type="image/x-icon" />
<title>Achivement | Prostant</title>
</head>
<body>
<nav>
<img src="./public/icon/logo.svg" alt="Prostant logo" class="nav_brand" />
<ul class="navbar">
<li class="nav_item">
<a href="./index.html">
<img src="./public/icon/Dashboard.svg" id="home" alt="Home Icon" />
</a>
</li>
<li class="nav_item">
<a href="./task.html">
<img src="./public/icon/Paper.svg" id="task" alt="Paper.svg Icon" />
</a>
</li>
<li class="nav_item nav_active">
<img src="./public/icon/achivement.svg" id="achivement" alt="achivement Icon" />
</li>
<li class="nav_item">
<a href="./profile.html">
<img src="./public/icon/profile-icon.svg" id="profile" alt="Profile Icon" />
</a>
</li>
</ul>
</nav>
<div class="container">
<main id="maincontent">
<header class="header">
<div class="page_heading">
<h1>Your Achivement</h1>
<p>Get some badge from finishing your task</p>
</div>
<div class="page_bar">
<div class="notification_logo">
<img src="./public/icon/Search.svg" alt="search logo">
</div>
<img src="./public/image/profile.jpeg" alt="profile picture" class="bar_profile-picture" id="profileBtn">
</div>
</header>
<section class="achivement_body">
<div class="achivement_list ">
<h2 class="achivement_list_heading">Bahasa Indonesia</h2>
<div class="achivement_list_item">
<div class="achivement_item b_indo">
<h3>Contoh Teks Eksposisi, Struktur, dan Kaidah Kebehasaannya</h3>
<div class="achivement_item_img">
<img src="./public/image/achivement-bindo1.png" alt="Bahasa Indonesia">
</div>
<div class="achivement_item_progress" style="background: linear-gradient( to right,#091353 100%, #E0DCDC 20% 40%);"></div>
</div>
<div class="achivement_item b_indo lock">
<h3>Cara Menganalisis Teks Anekdot</h3>
<div class="achivement_item_img">
<img src="./public/image/achivement-bindo2.png" alt="Bahasa Indonesia">
</div>
<div class="achivement_item_progress"></div>
<div class="locked">
<div class="locked_img">
<img src="./public/icon/lock.svg" alt="lock icon">
</div>
<h2>Level 40</h2>
</div>
</div>
<div class="achivement_item b_indo lock">
<h3>Unsur-unsur Pembangunan Puisi</h3>
<div class="achivement_item_img">
<img src="./public/image/achivement-bindo3.png" alt="Bahasa Indonesia">
</div>
<div class="achivement_item_progress"></div>
<div class="locked">
<div class="locked_img">
<img src="./public/icon/lock.svg" alt="lock icon">
</div>
<h2>Level 60</h2>
</div>
</div>
</div>
</div>
<div class="achivement_list">
<h2 class="achivement_list_heading">Bahasa Inggris</h2>
<div class="achivement_list_item">
<div class="achivement_item b_inggris ">
<h3>Rumus dan Contoh Kalimat Present Continuous Tense</h3>
<div class="achivement_item_img">
<img src="./public/image/achivement-binggris1.png" alt="Bahasa Inggris">
</div>
<div class="achivement_item_progress" style="background: linear-gradient( to right,#091353 30%, #E0DCDC 30% 40%);"></div>
</div>
<div class="achivement_item b_inggris lock">
<h3>Intrucing Oneself and Others</h3>
<div class="achivement_item_img">
<img src="./public/image/achivement-binggris2.png" alt="Bahasa Inggris">
</div>
<div class="achivement_item_progress"></div>
<div class="locked">
<div class="locked_img">
<img src="./public/icon/lock.svg" alt="lock icon">
</div>
<h2>Level 40</h2>
</div>
</div>
<div class="achivement_item b_inggris lock">
<h3>Expresing Intention</h3>
<div class="achivement_item_img">
<img src="./public/image/achivement-binggris3.png" alt="Bahasa Inggris">
</div>
<div class="achivement_item_progress"></div>
<div class="locked">
<div class="locked_img">
<img src="./public/icon/lock.svg" alt="lock icon">
</div>
<h2>Level 60</h2>
</div>
</div>
</div>
</div>
<div class="achivement_list ">
<h2 class="achivement_list_heading">Matematika</h2>
<div class="achivement_list_item">
<div class="achivement_item math">
<h3>Mengenal Logaritma dan Sifat-Sifatnya</h3>
<div class="achivement_item_img">
<img src="./public/image/achivement-math1.png" alt="Matematika">
</div>
<div class="achivement_item_progress" style="background: linear-gradient( to right,#091353 40%, #E0DCDC 20% 40%);"></div>
</div>
<div class="achivement_item math lock">
<h3>Bentuk-Bentuk Persamaan Logaritma dan Cara Menyelesaikannya</h3>
<div class="achivement_item_img">
<img src="./public/image/achivement-math2.png" alt="Matematika">
</div>
<div class="achivement_item_progress"></div>
<div class="locked">
<div class="locked_img">
<img src="./public/icon/lock.svg" alt="lock icon">
</div>
<h2>Level 40</h2>
</div>
</div>
<div class="achivement_item math lock">
<h3>Pangkat Bulat Positif</h3>
<div class="achivement_item_img">
<img src="./public/image/achivement-math3.png" alt="Matematika">
</div>
<div class="achivement_item_progress"></div>
<div class="locked">
<div class="locked_img">
<img src="./public/icon/lock.svg" alt="lock icon">
</div>
<h2>Level 60</h2>
</div>
</div>
</div>
</div>
</section>
<side-profile-section></side-profile-section>
</main>
</div>
<script src="./scripts/components/sideProfile.js"></script>
<script>
const sideProfileElement = document.getElementById('sideProfile')
const sideProfileBtnElement = document.getElementById('profileBtn')
const sideProfileBtnCloseElement = document.getElementById('closeClassProfile')
sideProfileBtnElement.addEventListener('click', () => {
sideProfileElement.style.display = 'flex'
})
sideProfileBtnCloseElement.addEventListener('click', () => {
sideProfileElement.style.display = 'none'
})
window.addEventListener('click', (e) => {
if (e.target == sideProfileElement) {
sideProfileElement.style.display = 'none'
}
})
</script>
</body>
</html>