-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
577 lines (545 loc) · 27.4 KB
/
index.html
File metadata and controls
577 lines (545 loc) · 27.4 KB
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
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
<!DOCTYPE html>
<html lang="id" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Loading...</title>
<meta name="description" content="" />
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
}
</script>
<link
href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap"
rel="stylesheet"
/>
<style>
body {
font-family: 'Outfit', sans-serif;
}
.glass-card {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
border: 1px solid rgba(0, 0, 0, 0.05);
}
.dark .glass-card {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.gradient-text {
background: linear-gradient(to right, #2563eb, #7c3aed);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}
.dark .gradient-text {
background: linear-gradient(to right, #60a5fa, #a78bfa);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}
</style>
</head>
<body
class="bg-slate-50 text-slate-800 dark:bg-slate-900 dark:text-slate-100 antialiased selection:bg-blue-500 selection:text-white transition-colors duration-300"
>
<!-- Navigation placeholder -->
<div id="navbar-placeholder"></div>
<!-- Hero Section -->
<section
id="home"
class="min-h-screen flex items-center justify-center relative overflow-hidden pt-16"
>
<!-- Background Elements -->
<div
class="absolute top-0 left-0 w-full h-full overflow-hidden -z-10 bg-slate-50 dark:bg-slate-900 transition-colors duration-300"
>
<div
class="absolute top-1/4 left-1/4 w-96 h-96 bg-blue-400/20 dark:bg-blue-600/20 rounded-full blur-3xl"
></div>
<div
class="absolute bottom-1/4 right-1/4 w-96 h-96 bg-purple-400/20 dark:bg-purple-600/20 rounded-full blur-3xl"
></div>
</div>
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<!-- Profile Photo -->
<div class="mb-10 relative inline-block">
<div
class="w-32 h-32 md:w-40 md:h-40 rounded-full overflow-hidden border-4 border-white dark:border-slate-800 shadow-xl relative z-10 mx-auto"
>
<img src="assets/img/profile.png" alt="Profile" class="w-full h-full object-cover" />
</div>
<div
class="absolute inset-0 bg-blue-500 rounded-full blur-xl opacity-20 dark:opacity-40 animate-pulse"
></div>
</div>
<div class="block mb-6">
<div
class="inline-block px-4 py-1.5 rounded-full bg-blue-50 dark:bg-blue-500/10 border border-blue-100 dark:border-blue-500/20 text-blue-600 dark:text-blue-400 text-sm font-semibold tracking-wide uppercase"
>
Systems Engineer
</div>
</div>
<h2 class="text-xl md:text-2xl font-medium text-slate-600 dark:text-slate-400 mb-4">
Hi, I am <span class="text-slate-900 dark:text-white font-bold" id="profile-name"></span>
</h2>
<h1
class="text-3xl md:text-5xl lg:text-6xl font-bold tracking-tight mb-8 text-slate-900 dark:text-white leading-tight"
>
Converting Complexity into <br class="hidden md:block" />
<span class="gradient-text">Efficient Automations</span>
</h1>
<p
class="text-xl md:text-2xl text-slate-600 dark:text-slate-400 mb-8 max-w-2xl mx-auto leading-relaxed"
id="profile-tagline"
></p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<a
href="#experience"
class="px-8 py-3 bg-blue-600 hover:bg-blue-700 text-white rounded-lg font-semibold transition-all shadow-lg shadow-blue-600/25 hover:shadow-blue-600/40"
>
View Experience
</a>
<a
href="#contact"
class="px-8 py-3 bg-white/80 dark:bg-white/10 hover:bg-white dark:hover:bg-white/20 text-slate-900 dark:text-white border border-slate-200 dark:border-white/10 rounded-lg font-semibold transition-all backdrop-blur-sm"
>
Contact Me
</a>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-24 bg-white dark:bg-slate-800/50 transition-colors duration-300">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid md:grid-cols-2 gap-12 items-center">
<div>
<h2 class="text-3xl md:text-4xl font-bold mb-6 text-slate-900 dark:text-white">
About Me
</h2>
<div class="space-y-4 text-slate-600 dark:text-slate-300 leading-relaxed text-lg">
<p id="profile-summary"></p>
<p
class="text-slate-800 dark:text-white font-medium border-l-4 border-blue-500 pl-4 bg-slate-50 dark:bg-slate-800 p-2 rounded-r-lg"
id="profile-sub-summary"
></p>
<!-- Personal Info Grid -->
<div class="grid grid-cols-2 gap-4 mt-6 text-sm">
<div
class="bg-slate-100 dark:bg-slate-900/50 p-3 rounded border border-slate-200 dark:border-white/5"
>
<span class="block text-slate-500 text-xs uppercase tracking-wider mb-1"
>Location</span
>
<span class="text-slate-800 dark:text-slate-200">Bekasi, Indonesia</span>
</div>
<div
class="bg-slate-100 dark:bg-slate-900/50 p-3 rounded border border-slate-200 dark:border-white/5"
>
<span class="block text-slate-500 text-xs uppercase tracking-wider mb-1"
>Age</span
>
<span class="text-slate-800 dark:text-slate-200" id="profile-age"></span>
</div>
</div>
</div>
<div class="mt-8 flex gap-4">
<div
class="text-center p-4 bg-slate-50 dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-white/5"
>
<div class="text-3xl font-bold text-blue-600 dark:text-blue-400">5+</div>
<div class="text-sm text-slate-500 dark:text-slate-400">Years Exp</div>
</div>
<div
class="text-center p-4 bg-slate-50 dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-white/5"
>
<div class="text-3xl font-bold text-purple-600 dark:text-purple-400">10+</div>
<div class="text-sm text-slate-500 dark:text-slate-400">Projects</div>
</div>
<div
class="text-center p-4 bg-slate-50 dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-white/5"
>
<div class="text-3xl font-bold text-green-600 dark:text-green-400">2nd</div>
<div class="text-sm text-slate-500 dark:text-slate-400">Best Award</div>
</div>
</div>
</div>
<div class="relative">
<div
class="absolute inset-0 bg-gradient-to-tr from-blue-600 to-purple-600 rounded-2xl blur-2xl opacity-10 dark:opacity-20 transform rotate-6"
></div>
<div
class="relative bg-white dark:bg-slate-900 border border-slate-200 dark:border-white/10 p-8 rounded-2xl shadow-xl dark:shadow-2xl"
>
<h3 class="text-xl font-bold mb-4 text-slate-900 dark:text-white">Core Focus</h3>
<ul class="space-y-3">
<li class="flex items-center text-slate-600 dark:text-slate-300">
<svg
class="w-5 h-5 mr-3 text-blue-500"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 13l4 4L19 7"
></path>
</svg>
Network Stability & Security
</li>
<li class="flex items-center text-slate-600 dark:text-slate-300">
<svg
class="w-5 h-5 mr-3 text-blue-500"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 13l4 4L19 7"
></path>
</svg>
Manufacturing Automation
</li>
<li class="flex items-center text-slate-600 dark:text-slate-300">
<svg
class="w-5 h-5 mr-3 text-blue-500"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 13l4 4L19 7"
></path>
</svg>
Full-Stack Development
</li>
<li class="flex items-center text-slate-600 dark:text-slate-300">
<svg
class="w-5 h-5 mr-3 text-blue-500"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 13l4 4L19 7"
></path>
</svg>
IoT Integration
</li>
</ul>
</div>
</div>
</section>
<!-- Project Showcase Section -->
<section id="showcase" class="py-24 bg-slate-50 dark:bg-slate-900 transition-colors duration-300 relative overflow-hidden">
<!-- Decoration -->
<div class="absolute top-0 right-0 -mr-20 -mt-20 w-96 h-96 bg-blue-500/5 rounded-full blur-3xl"></div>
<div class="absolute bottom-0 left-0 -ml-20 -mb-20 w-96 h-96 bg-purple-500/5 rounded-full blur-3xl"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold mb-4 text-slate-900 dark:text-white">Featured Projects</h2>
<p class="text-slate-500 dark:text-slate-400 max-w-2xl mx-auto">High-impact solutions delivering real business value in manufacturing and compliance.</p>
</div>
<div class="space-y-20" id="showcase-container">
<!-- Injected via JS -->
</div>
<div class="mt-16 text-center">
<a href="projects.html" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 transition-all">
View All Developed Systems
<svg class="ml-2 -mr-1 w-5 h-5" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg>
</a>
</div>
</div>
</section>
<!-- Experience Section -->
<section
id="experience"
class="py-24 relative bg-white dark:bg-slate-800/50 transition-colors duration-300"
>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl md:text-4xl font-bold mb-12 text-center text-slate-900 dark:text-white">
Professional Experience
</h2>
<div class="space-y-12" id="experience-container">
<!-- Injected via JS -->
</div>
</div>
</section>
<!-- Skills Section -->
<section id="skills" class="py-24 bg-white dark:bg-slate-800/30 transition-colors duration-300">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold mb-4 text-slate-900 dark:text-white">
Technical Expertise
</h2>
<p class="text-slate-500 dark:text-slate-400 max-w-2xl mx-auto">
Mastering the intersection of Infrastructure, Development, and Automation.
</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6" id="skills-container">
<!-- Injected via JS -->
</div>
</div>
</section>
<!-- Achievements Section -->
<section
id="achievements"
class="py-24 relative overflow-hidden bg-slate-50 dark:bg-slate-900 transition-colors duration-300"
>
<div class="absolute inset-0 bg-blue-50/50 dark:bg-blue-900/10"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<h2 class="text-3xl md:text-4xl font-bold mb-12 text-center text-slate-900 dark:text-white">
Key Achievements
</h2>
<div class="grid md:grid-cols-2 gap-8" id="achievements-container">
<!-- Injected via JS -->
</div>
</div>
</section>
<!-- Contact Section -->
<section
id="contact"
class="py-24 bg-white dark:bg-slate-900 border-t border-slate-200 dark:border-white/5 transition-colors duration-300"
>
<div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 class="text-3xl md:text-4xl font-bold mb-6 text-slate-900 dark:text-white">
Ready to Collaborate?
</h2>
<p class="text-slate-600 dark:text-slate-400 mb-10 text-lg">
I am always open to discussing new projects, creative ideas or opportunities to be part of
your visions.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-6 mb-12">
<a
href=""
id="contact-email"
class="flex items-center justify-center gap-3 px-8 py-4 bg-blue-600 hover:bg-blue-700 text-white rounded-lg font-semibold transition-all"
>
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
></path>
</svg>
Send Email
</a>
<a
href=""
id="contact-whatsapp"
class="flex items-center justify-center gap-3 px-8 py-4 bg-green-600 hover:bg-green-700 text-white rounded-lg font-semibold transition-all"
>
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path
d="M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.506-.669-.516l-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z"
/>
</svg>
WhatsApp
</a>
<a
href=""
id="contact-linkedin"
class="flex items-center justify-center gap-3 px-8 py-4 bg-slate-100 hover:bg-slate-200 dark:bg-slate-800 dark:hover:bg-slate-700 border border-slate-200 dark:border-white/10 text-slate-900 dark:text-white rounded-lg font-semibold transition-all"
>
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path
d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"
/>
</svg>
LinkedIn
</a>
</div>
<div
class="max-w-xl mx-auto bg-slate-50 dark:bg-slate-800/50 p-6 rounded-xl border border-slate-200 dark:border-white/5 text-center transition-colors"
>
<h3 class="text-slate-900 dark:text-white font-semibold mb-2">Correspondence Address</h3>
<p class="text-slate-600 dark:text-slate-400" id="profile-address"></p>
</div>
<!-- Footer placeholder -->
<div id="footer-placeholder"></div>
</div>
</section>
<!-- Scroll to Top Button -->
<button
id="scroll-to-top"
class="fixed bottom-8 right-8 bg-blue-600 hover:bg-blue-700 text-white p-3 rounded-full shadow-lg transition-all transform translate-y-20 opacity-0 z-40 focus:outline-none focus:ring-2 focus:ring-blue-500"
aria-label="Scroll to top"
>
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 10l7-7m0 0l7 7m-7-7v18"
></path>
</svg>
</button>
<!-- Application Script -->
<script type="module">
import { profile, experiences, skills, achievements, showcase } from './assets/js/data.js'
import { renderNavbar, renderFooter } from './assets/js/components.js'
import {
initTheme,
setupThemeToggle,
setupMobileMenu,
setupScrollToTop,
setupScrollSpy,
} from './assets/js/main.js'
// Initialize Theme logic immediately
initTheme()
document.addEventListener('DOMContentLoaded', () => {
// Render Structure
document.getElementById('navbar-placeholder').innerHTML = renderNavbar('home')
document.getElementById('footer-placeholder').innerHTML = renderFooter()
// Setup Logic
setupThemeToggle()
setupMobileMenu()
setupScrollToTop()
setupScrollSpy()
// Populate Content
document.title = `${profile.name} - Portfolio`
document.querySelector('meta[name="description"]').setAttribute('content', profile.tagline)
document.getElementById('profile-name').textContent = profile.name
document.getElementById('profile-tagline').textContent = profile.tagline
document.getElementById('profile-summary').textContent = profile.summary
document.getElementById('profile-sub-summary').textContent = profile.sub_summary
// Render Showcase
const showcaseContainer = document.getElementById('showcase-container')
showcase.forEach((item, index) => {
const isReverse = index % 2 !== 0;
const html = `
<div class="flex flex-col lg:flex-row ${isReverse ? 'lg:flex-row-reverse' : ''} items-center gap-12">
<div class="w-full lg:w-1/2">
<div class="relative group rounded-2xl overflow-hidden shadow-2xl border border-slate-200 dark:border-slate-800">
<div class="absolute inset-0 bg-blue-600/10 group-hover:bg-transparent transition-all duration-500 z-10"></div>
<img src="${item.image}" alt="${item.title}" class="w-full h-auto transform group-hover:scale-105 transition-transform duration-700">
</div>
</div>
<div class="w-full lg:w-1/2">
<div class="inline-flex items-center px-3 py-1 rounded-full bg-blue-100 dark:bg-blue-900/30 text-blue-600 dark:text-blue-400 text-sm font-medium mb-4">
${item.subtitle}
</div>
<h3 class="text-3xl font-bold text-slate-900 dark:text-white mb-6 leading-tight">${item.title}</h3>
<p class="text-lg text-slate-600 dark:text-slate-300 mb-8 leading-relaxed">
${item.description}
</p>
<div class="flex flex-wrap gap-2">
${item.tags.map(tag => `
<span class="px-3 py-1 bg-slate-100 dark:bg-slate-800 text-slate-600 dark:text-slate-400 text-sm rounded-md font-medium border border-slate-200 dark:border-white/10">
${tag}
</span>
`).join('')}
</div>
</div>
</div>
`;
showcaseContainer.insertAdjacentHTML('beforeend', html);
});
// Age Calculation
const age = new Date().getFullYear() - new Date(profile.birth_date).getFullYear()
document.getElementById('profile-age').textContent = `${age} Years Old`
document.getElementById('profile-address').textContent = profile.address
document.getElementById('contact-email').href = `mailto:${profile.email}`
document.getElementById('contact-whatsapp').href = `https://wa.me/62${
profile.phone.startsWith('0') ? profile.phone.substring(1) : profile.phone
}`
document.getElementById('contact-linkedin').href = profile.linkedin
// Render Experience
const experienceContainer = document.getElementById('experience-container')
experiences.forEach((exp, index) => {
const isEven = index % 2 === 0
const html = `
<div class="relative pl-8 md:pl-0">
<div class="hidden md:block absolute left-1/2 top-0 bottom-0 w-px bg-slate-300 dark:bg-slate-700 transform -translate-x-1/2"></div>
<div class="md:flex items-center justify-between ${
isEven ? 'flex-row-reverse' : ''
}">
<div class="md:w-5/12 mb-8 md:mb-0">
<div class="hidden md:block absolute left-1/2 top-8 w-4 h-4 bg-blue-500 rounded-full border-4 border-slate-50 dark:border-slate-900 transform -translate-x-1/2"></div>
<div class="glass-card p-6 rounded-xl hover:border-blue-500/30 transition-colors bg-white dark:bg-slate-800/50 shadow-sm">
<span class="text-blue-600 dark:text-blue-400 text-sm font-bold tracking-wider mb-2 block">${
exp.period
}</span>
<h3 class="text-xl font-bold text-slate-900 dark:text-white mb-1">${
exp.role
}</h3>
<h4 class="text-lg text-slate-500 dark:text-slate-400 mb-4">${
exp.company
}</h4>
<p class="text-slate-600 dark:text-slate-300 mb-4 italic">${
exp.description
}</p>
<ul class="space-y-2">
${exp.details
.map(
(detail) => `
<li class="flex items-start text-sm text-slate-600 dark:text-slate-300">
<span class="mr-2 text-blue-500 mt-1">•</span>
${detail}
</li>`
)
.join('')}
</ul>
</div>
</div>
<div class="md:w-5/12"></div>
</div>
</div>`
experienceContainer.insertAdjacentHTML('beforeend', html)
})
// Render Skills
const skillsContainer = document.getElementById('skills-container')
for (const [category, items] of Object.entries(skills)) {
const html = `
<div class="p-6 rounded-xl bg-slate-50 dark:bg-slate-800 border border-slate-200 dark:border-white/5 hover:border-blue-500/50 transition-all hover:-translate-y-1 shadow-sm">
<h3 class="text-lg font-bold text-slate-900 dark:text-white mb-4 border-b border-slate-200 dark:border-white/10 pb-2 h-16 flex items-end">${category}</h3>
<ul class="space-y-3">
${items
.map(
(item) => `
<li class="flex items-center text-slate-600 dark:text-slate-300 text-sm">
<svg class="w-4 h-4 mr-2 text-emerald-500 dark:text-emerald-400 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
${item}
</li>`
)
.join('')}
</ul>
</div>`
skillsContainer.insertAdjacentHTML('beforeend', html)
}
// Render Achievements
const achievementsContainer = document.getElementById('achievements-container')
achievements.forEach((achieve) => {
const html = `
<div class="flex items-start p-8 rounded-2xl bg-white dark:bg-gradient-to-br dark:from-slate-800 dark:to-slate-900 border border-slate-200 dark:border-white/10 hover:border-yellow-500/30 transition-all shadow-md">
<div class="flex-shrink-0 mr-6 bg-slate-100 dark:bg-slate-800 p-3 rounded-xl border border-slate-200 dark:border-white/5">
${achieve.icon}
</div>
<div>
<h3 class="text-xl font-bold text-slate-900 dark:text-white mb-1">${achieve.title}</h3>
<div class="text-sm text-yellow-600 dark:text-yellow-500 font-medium mb-3 uppercase tracking-wider">${achieve.subtitle}</div>
<p class="text-slate-600 dark:text-slate-300">${achieve.desc}</p>
</div>
</div>`
achievementsContainer.insertAdjacentHTML('beforeend', html)
})
})
</script>
</body>
</html>