-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
466 lines (446 loc) · 19.8 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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
<!DOCTYPE html> <!-- bongudth -->
<html lang="en">
<!-- bongudth -->
<!-- bongudth -->
<head>
<!-- bongudth -->
<meta charset="UTF-8"> <!-- bongudth -->
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- bongudth -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- bongudth -->
<title>bongudth | stupid 🍄</title> <!-- bongudth -->
<!-- bongudth -->
<link rel="stylesheet" href="style.min.css"> <!-- bongudth -->
<link rel="shortcut icon" href="favicon.ico" type="image/icon"> <!-- bongudth -->
<!-- bongudth -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<!-- bongudth -->
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&family=Handlee&family=Sofia&display=swap"
rel="stylesheet"> <!-- bongudth -->
</head> <!-- bongudth -->
<!-- bongudth -->
<body>
<!-- bongudth -->
<!-- START AVATAR -->
<!-- bongudth -->
<div id="avatar">
<!-- bongudth -->
<div class="avatar">
<!-- bongudth -->
<img src="./images/bongudth.jpg" alt="bongudth"> <!-- bongudth -->
<p>bongudth</p> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
<!-- END AVATAR -->
<!-- bongudth -->
<!-- bongudth -->
<!-- START SOCIAL -->
<!-- bongudth -->
<div id="social">
<!-- bongudth -->
<div class="social">
<!-- bongudth -->
<a href="https://www.facebook.com/bongudth/" class="facebook" target="_blank">
<!-- bongudth -->
<i class="fab fa-facebook-f"></i> <!-- bongudth -->
</a> <!-- bongudth -->
<a href="https://www.instagram.com/bongudth/" class="instagram" target="_blank">
<!-- bongudth -->
<i class="fab fa-instagram"></i> <!-- bongudth -->
</a> <!-- bongudth -->
<a href="https://github.com/bongudth" class="github" target="_blank">
<!-- bongudth -->
<i class="fab fa-github-alt"></i> <!-- bongudth -->
</a> <!-- bongudth -->
<a href="https://www.linkedin.com/in/bongudth" class="linkedin" target="_blank">
<!-- bongudth -->
<i class="fab fa-linkedin-in"></i> <!-- bongudth -->
</a> <!-- bongudth -->
<a href="https://www.pinterest.com/bongudth/" class="pinterest" target="_blank">
<!-- bongudth -->
<i class="fab fa-pinterest-p"></i> <!-- bongudth -->
</a> <!-- bongudth -->
<a href="https://twitter.com/bongudth" class="twitter" target="_blank">
<!-- bongudth -->
<i class="fab fa-twitter"></i> <!-- bongudth -->
</a> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
<!-- END SOCIAL -->
<!-- bongudth -->
<!-- bongudth -->
<!-- START MUSIC -->
<!-- bongudth -->
<audio autoplay preload="metadata">
<!-- bongudth -->
<source src="./musics/music.mp3" type="audio/mpeg" /> <!-- bongudth -->
</audio> <!-- bongudth -->
<!-- END MUSIC -->
<!-- bongudth -->
<!-- bongudth -->
<!-- START GALLERY -->
<!-- bongudth -->
<div id="gallery">
<!-- bongudth -->
<div class="gallery">
<!-- bongudth -->
<div class="one big-script">
<!-- bongudth -->
<p>Perhaps we may meet each other in a dream</p> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="two small-image">
<!-- bongudth -->
<img src='./images/cute-1.png'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="three small-image">
<!-- bongudth -->
<img src='./images/bongudth-1.png'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="four horizon-image">
<!-- bongudth -->
<img src='./images/cute-2.png'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='five big-image'>
<!-- bongudth -->
<img src='./images/bongudth-2.JPG'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="six small-script">
<!-- bongudth -->
<p>I like it when it rains hard. It sounds like white noise everywhere, which is like silence but not empty.</p>
<!-- bongudth -->
</div> <!-- bongudth -->
<div class='seven vertical-image'>
<!-- bongudth -->
<img src='./images/cute-3.png'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='eight small-image'>
<!-- bongudth -->
<img src='./images/cute-6.png'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='nine small-script'>
<!-- bongudth -->
<p>I’m sorry. I know you’ve been looking for something and this isn’t it.</p> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='ten small-image'>
<!-- bongudth -->
<img src='./images/cute-4.jpg'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='eleven small-image'>
<!-- bongudth -->
<img src='./images/bongudth-3.jpg'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='twelve vertical-image'>
<!-- bongudth -->
<img src='./images/cute-5.jpg'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='thirteen small-script'>
<!-- bongudth -->
<p>One of the best feeling in the world is when you’re hugging the person you love and they hug you back even
tighter.</p> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='fourteen small-image'>
<!-- bongudth -->
<img src='./images/cute-8.jpg'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='fifteen small-image'>
<!-- bongudth -->
<img src='./images/bongudth-5.JPG'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='sixteen small-script'>
<!-- bongudth -->
<p>…I want enough time to be in love with everything</p> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='seventeen small-script'>
<!-- bongudth -->
<p>You stopped saying good night, and I stopped sleeping.</p> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='eighteen small-image'>
<!-- bongudth -->
<img src='./images/bongudth-4.jpg'> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='nineteen horizon-script'>
<!-- bongudth -->
<p>big dummy</p> <!-- bongudth -->
</div> <!-- bongudth -->
<div class='twenty small-image'>
<!-- bongudth -->
<img src='./images/cute-7.jpg'> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
<!-- END GALLERY -->
<!-- bongudth -->
<!-- bongudth -->
<!-- START SKILL -->
<!-- bongudth -->
<div class="container skill">
<!-- bongudth -->
<div class="header">
<!-- bongudth -->
<div class="title">About me</div> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="navi">
<!-- bongudth -->
<div class="navi-item1">
<!-- bongudth -->
<button class="nav-button" id="workbutton">
<!-- bongudth -->
<span></span><span></span><span></span><span></span> <!-- bongudth -->
<div class="navi-icon"><i class="fas fa-code"></i></div> <!-- bongudth -->
<div class="navi-text">Organization</div> <!-- bongudth -->
</button> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="navi-item2">
<!-- bongudth -->
<button class="nav-button" id="productbutton">
<!-- bongudth -->
<span></span><span></span><span></span><span></span> <!-- bongudth -->
<div class="navi-icon"><i class="fab fa-cuttlefish"></i></div> <!-- bongudth -->
<div class="navi-text">Project</div> <!-- bongudth -->
</button> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="navi-item3">
<!-- bongudth -->
<button class="nav-button" id="translationbutton">
<!-- bongudth -->
<span></span><span></span><span></span><span></span> <!-- bongudth -->
<div class="navi-icon"><i class="fas fa-comment-dots"></i></div> <!-- bongudth -->
<div class="navi-text">Translation</div> <!-- bongudth -->
</button> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="navi-item4">
<!-- bongudth -->
<button class="nav-button" id="gamebutton">
<!-- bongudth -->
<span></span><span></span><span></span><span></span> <!-- bongudth -->
<div class="navi-icon"><i class="fas fa-award"></i></i></div> <!-- bongudth -->
<div class="navi-text">Award</div> <!-- bongudth -->
</button> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="indicators">
<!-- bongudth -->
<div id="i1">
<!-- bongudth -->
<div class="navi-indicator" id="ni1"></div> <!-- bongudth -->
</div> <!-- bongudth -->
<div id="i2">
<!-- bongudth -->
<div class="navi-indicator" id="ni2"></div> <!-- bongudth -->
</div> <!-- bongudth -->
<div id="i3">
<!-- bongudth -->
<div class="navi-indicator" id="ni3"></div> <!-- bongudth -->
</div> <!-- bongudth -->
<div id="i4">
<!-- bongudth -->
<div class="navi-indicator" id="ni4"></div> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="menu">
<!-- bongudth -->
<div class="menu-separator"></div> <!-- bongudth -->
<div class="text-item">
<!-- bongudth -->
<div class="text-item-name"></div> <!-- bongudth -->
<div class="text-item-description"></div> <!-- bongudth -->
<div class="text-item-year"></div> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="menu-separator"></div> <!-- bongudth -->
<div class="link-item">
<!-- bongudth -->
<a href="#" class="link-item-name" target="_blank"></a> <!-- bongudth -->
<div class="link-item-description"></div> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="menu-separator"></div> <!-- bongudth -->
<div class="image-item">
<!-- bongudth -->
<div class="image-item-name"></div> <!-- bongudth -->
<div class="image-item-description"></div> <!-- bongudth -->
<img src="#" class="image-item-image" /> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
<!-- END SKILL -->
<!-- bongudth -->
<!-- START CERTIFICATE -->
<div class="container certificate" id="certificate"> <!-- bongudth -->
<div class="header"> <!-- bongudth -->
<div class="title">Certificate</div> <!-- bongudth -->
</div> <!-- bongudth -->
<div class="section over-hide px-4 px-sm-0"> <!-- bongudth -->
<div class="container"> <!-- bongudth -->
<div class="row justify-content-center"> <!-- bongudth -->
<div class="col-lg-10 col-xl-8 align-self-center padding-tb"> <!-- bongudth -->
<div class="section mx-auto text-center slider-height-padding"> <!-- bongudth -->
<input class="checkbox frst" type="radio" id="slide-1" name="slider" checked /> <!-- bongudth -->
<label for="slide-1"></label> <!-- bongudth -->
<input class="checkbox scnd" type="radio" name="slider" id="slider-2" /> <!-- bongudth -->
<label for="slider-2"></label> <!-- bongudth -->
<input class="checkbox thrd" type="radio" name="slider" id="slider-3" /> <!-- bongudth -->
<label for="slider-3"></label> <!-- bongudth -->
<input class="checkbox foth" type="radio" name="slider" id="slider-4" /> <!-- bongudth -->
<label for="slider-4"></label> <!-- bongudth -->
<input class="checkbox fith" type="radio" name="slider" id="slider-5" /> <!-- bongudth -->
<label for="slider-5"></label> <!-- bongudth -->
<ul> <!-- bongudth -->
<li> <!-- bongudth -->
<span>DEVFEST MIENTRUNG 2021</span> <!-- bongudth -->
</li> <!-- bongudth -->
<li> <!-- bongudth -->
<span>DATA GOT TALENT 2021</span> <!-- bongudth -->
</li> <!-- bongudth -->
<li> <!-- bongudth -->
<span>GDSC</span> <!-- bongudth -->
</li> <!-- bongudth -->
<li> <!-- bongudth -->
<span>GDSC - DUT front</span> <!-- bongudth -->
</li> <!-- bongudth -->
<li> <!-- bongudth -->
<span>GDSC - DUT back</span> <!-- bongudth -->
</li> <!-- bongudth -->
</ul> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
</div> <!-- bongudth -->
<!-- END CERTIFICATE -->
<!-- bongudth -->
<script>
// START SKILL <!-- bongudth -->
const work = JSON.parse(
"[" +
'{ "type":"text", "name":"DUT - UDN", "description":"Student in Information of Technology at Danang University of Science and Technology", "year":"2019 - present" },' +
'{ "type":"text", "name":"GDSC - DUT", "description":"Frontend Developer at Google Developer Student Club - Danang University of Science and Technology", "year":"2020 - 2022" },' +
'{ "type":"text", "name":"Nestsera Technology", "description":"Frontend Intern at Nestsera Technology", "year":"Early 2022" },' +
'{ "type":"text", "name":"Mercenaries Technology", "description":"Frontend Developer at Mercenaries Technology", "year":"2022 - present" } ]'
);
const product = JSON.parse(
"[" +
'{ "type":"link", "name":"GDSC LOADING SPINNER", "href":"http://product.vndsc.com/", "description":"GDSC loaders: built with HTML | CSS" },' +
'{ "type":"link", "name":"IT MEDIA - DUT", "href":"http://167.172.91.39/", "description":"Website for Information Technology Faculty - Danang University of Science and Technology: built with React JS | Ant Design" },' +
'{ "type":"link", "name":"GDSC SHORTEN URL", "href":"https://url.dscdut.com/", "description":"GDSC shorten URL tool: built with JS | jQuery" },' +
'{ "type":"link", "name":"MINH CHAU VIET", "href":"https://minhchau-web-staging.nestsera.com/", "description":"Website for wedding restaurant management: built with Vue JS | Nuxt | Element UI | Tailwind CSS" },' +
'{ "type":"link", "name":"EAVESDROP", "href":"https://app-dev.eavesdrop.so/", "description":"Marketing tool that tracks content on social networks, to reach the right interested people: built with Vue JS | Nuxt | Element Plus | Windi CSS" },' +
'{ "type":"link", "name":"UNIHACK VOTING", "href":"https://unihack-voting.netlify.app/", "description":"A voting website supports voting for favorite team, used in the hackathon contest Unihack 2022: built with Vue JS | Windi CSS | Firebase" } ]'
);
const translation = JSON.parse(
"[" +
'{ "type":"link", "name":"SLIDEV", "href":"https://github.com/slidevjs/docs", "description":"Maintainer for Vietnamese translations" },' +
'{ "type":"link", "name":"OBSIDIAN", "href":"https://github.com/obsidianmd/obsidian-docs", "description":"Contributor for Vietnamese translations" } ]'
);
const game = JSON.parse(
"[" +
'{ "type":"image", "name":"DEVFEST", "description":"Top 10 teams at GDG Devfest MienTrung 2021", "src":"./images/skill-devfest.jpg" },' +
' { "type":"text", "name":"Data Got Talent", "description":"Participant of Data Got Talent 2021 competition organized by Faculty of E-commerce", "year":"" },' +
' { "type":"text", "name":"Congress of Unions", "description":"Contributing to building an online voting website in the Congress of Unions for the term 2021-2023", "year":"" } ]'
);
let sl = 0;
let workbutton = document.getElementById("workbutton");
let productbutton = document.getElementById("productbutton");
let translationbutton = document.getElementById("translationbutton");
let gamebutton = document.getElementById("gamebutton");
let ni1 = document.getElementById("ni1");
let ni2 = document.getElementById("ni2");
let ni3 = document.getElementById("ni3");
let ni4 = document.getElementById("ni4");
workbutton.addEventListener("click", (e) => {
setIndicator(0);
populateItems(work);
});
productbutton.addEventListener("click", (e) => {
setIndicator(1);
populateItems(product);
});
translationbutton.addEventListener("click", (e) => {
setIndicator(2);
populateItems(translation);
});
gamebutton.addEventListener("click", (e) => {
setIndicator(3);
populateItems(game);
});
function populateItems(items) {
let menu = document.querySelector(".menu");
menu.innerHTML = "";
for (i = 0; i < items.length; i++) {
if (items[i].type === "text") {
let textitem = document.createElement("div");
let textitemname = document.createElement("div");
let textitemdesc = document.createElement("div");
let textitemyear = document.createElement("div");
textitem.setAttribute("class", "text-item");
textitemname.setAttribute("class", "text-item-name");
textitemdesc.setAttribute("class", "text-item-description");
textitemyear.setAttribute("class", "text-item-year");
textitemname.innerHTML = items[i].name;
textitemdesc.innerHTML = items[i].description;
textitemyear.innerHTML = items[i].year;
textitem.appendChild(textitemname);
textitem.appendChild(textitemdesc);
textitem.appendChild(textitemyear);
menu.appendChild(textitem);
}
if (items[i].type === "link") {
let linkitem = document.createElement("div");
let linkitemname = document.createElement("a");
let linkitemdesc = document.createElement("div");
linkitem.setAttribute("class", "link-item");
linkitemname.setAttribute("class", "link-item-name");
linkitemdesc.setAttribute("class", "link-item-description");
linkitemname.innerHTML = items[i].name;
linkitemname.href = items[i].href;
linkitemdesc.innerHTML = items[i].description;
linkitem.appendChild(linkitemname);
linkitem.appendChild(linkitemdesc);
menu.appendChild(linkitem);
}
if (items[i].type === "image") {
let imageitem = document.createElement("div");
let imageitemname = document.createElement("div");
let imageitemdesc = document.createElement("div");
let imageitemimage = document.createElement("img");
imageitem.setAttribute("class", "image-item");
imageitemname.setAttribute("class", "image-item-name");
imageitemdesc.setAttribute("class", "image-item-description");
imageitemimage.setAttribute("class", "image-item-image");
imageitemname.innerHTML = items[i].name;
imageitemdesc.innerHTML = items[i].description;
imageitemimage.src = items[i].src;
imageitem.appendChild(imageitemdesc);
imageitem.appendChild(imageitemname);
imageitem.appendChild(imageitemimage);
menu.appendChild(imageitem);
}
}
}
function setIndicator(sel) {
sl = sel;
let vp = "";
if (window.innerWidth < 800) {
vp = "60px";
} else {
vp = "85%";
}
let elems = [ni1, ni2, ni3, ni4];
for (i = 0; i < elems.length; i++) {
if (i === sel) {
elems[i].style.width = vp;
elems[i].style.boxShadow = "2px 2px 10px 2px var(--icolor" + (i + 1) + ")";
} else {
elems[i].style.width = "0";
elems[i].style.boxShadow = "none";
}
}
}
window.addEventListener("resize", (e) => {
setIndicator(sl);
});
setIndicator(sl);
populateItems(work);
// END SKILL
</script> <!-- bongudth -->
</body> <!-- bongudth -->
<!-- bongudth -->
</html> <!-- bongudth -->