-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
434 lines (404 loc) · 26.9 KB
/
index.html
File metadata and controls
434 lines (404 loc) · 26.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Dharrun Singh - EEE Graduate | ML Researcher | Ex-Intern C-DAC</title>
<meta name="description" content="EEE Graduate (2024) from Anna University | ML Researcher at C-DAC CINE | IEEE Published | Embedded Systems & IoT Developer">
<meta name="keywords" content="Dharrun Singh, ML Researcher, Embedded Systems, IoT, EEE Graduate, C-DAC, IEEE">
<meta name="author" content="Dharrun Singh">
<meta name="google-site-verification" content="BCJKmkj5Tqpn_lBOM4eevVDJvyX9jAuv2qftzXzZAeE" />
<meta name="color-scheme" content="dark">
<meta name="theme-color" content="#0E0E0E">
<link rel="canonical" href="https://devkingofearth.github.io">
<!-- Open Graph for LinkedIn/Social Sharing -->
<meta property="og:title" content="Dharrun Singh - Portfolio">
<meta property="og:description" content="EEE Graduate | ML Researcher | Ex-Intern C-DAC | IEEE Published">
<meta property="og:image" content="https://devkingofearth.github.io/Meweb.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:type" content="image/png">
<meta property="og:type" content="website">
<meta property="og:url" content="https://devkingofearth.github.io">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Dharrun Singh - Portfolio">
<meta name="twitter:description" content="EEE Graduate | ML Researcher | Ex-Intern C-DAC | IEEE Published">
<meta name="twitter:image" content="https://devkingofearth.github.io/Meweb.png">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Rajdhani:ital,wght@0,400;0,500;0,600;1,400&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<nav class="navbar">
<div class="nav-container">
<a href="#home" class="nav-logo">DS</a>
<ul class="nav-menu">
<li><a href="#about" class="nav-link">About</a></li>
<li><a href="#projects" class="nav-link">Projects</a></li>
<li><a href="downloads.html" class="nav-link">Downloads</a></li>
<li><a href="#cv" class="nav-link">Connect</a></li>
</ul>
<div class="hamburger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="hero">
<div class="hero-content">
<h1 class="neon-text">Dharrun Singh</h1>
<h2 class="subtitle">EEE Graduate | ML Researcher | Ex-Intern C-DAC</h2>
<p class="hero-description">“Innovating at the intersection of Embedded Systems, Machine Learning, and Emerging Tech”</p>
<div class="hero-buttons">
<a href="#projects" class="btn btn-primary">View Projects</a>
<a href="#contact" class="btn btn-secondary">Get In Touch</a>
</div>
<p class="opportunity-note">Open to opportunities</p>
</div>
<div class="hero-glow"></div>
</section>
<!-- About Section -->
<section id="about" class="about">
<div class="container">
<h2 class="section-title neon-text-pink">About Me</h2>
<div class="about-content">
<div class="about-text">
<p>Recent EEE graduate (2024) from Anna University with a robust academic foundation and practical research experience at C-DAC CINE Silchar. Co-authored an IEEE publication on ML-based Network-on-Chip optimization.</p>
<p>Experienced in embedded systems with a strong interest in renewable energy, efficient mobility, secure advanced systems, space technologies, and strategic defence applications.</p>
<p>I seek to innovate through novel solutions to drive research outcomes that deliver sustainable value to industry and society.</p>
</div>
<div class="about-stats">
<div class="stat-item">
<span class="stat-number neon-text">2024</span>
<span class="stat-label">Graduation Year</span>
</div>
<div class="stat-item">
<span class="stat-number neon-text">7.84</span>
<span class="stat-label">CGPA</span>
</div>
<div class="stat-item">
<span class="stat-number neon-text">IEEE</span>
<span class="stat-label">Published</span>
</div>
</div>
</div>
</div>
</section>
<!-- Skills Section -->
<section id="skills" class="skills">
<div class="container">
<h2 class="section-title" style="color: #00FF7F; text-shadow: 0 0 10px #00FF7F;">Skill Inventory</h2>
<div class="skills-carousel-container">
<div class="carousel-fade-left"></div>
<div class="carousel-fade-right"></div>
<div class="skills-carousel-track" id="skillsTrack">
<!-- Card 1: Domain Knowledge -->
<div class="skill-carousel-card">
<div class="skill-carousel-header">
<span class="skill-carousel-icon">◈</span>
<span class="skill-carousel-title">Domain Knowledge</span>
</div>
<div class="tech-icons-grid">
<img src="https://img.shields.io/badge/Network%20on%20Chip-EF2D5E?style=for-the-badge" alt="NoC">
<img src="https://img.shields.io/badge/Power%20System%20Modelling-FF6F00?style=for-the-badge" alt="Power">
<img src="https://img.shields.io/badge/Electric%20Vehicle%20Charging-4CAF50?style=for-the-badge" alt="EVs">
<img src="https://img.shields.io/badge/Battery%20Management%20System-00BCD4?style=for-the-badge" alt="BMS">
<img src="https://img.shields.io/badge/Renewable%20Systems-8BC34A?style=for-the-badge" alt="Renewable">
</div>
</div>
<!-- Card 2: Machine Learning -->
<div class="skill-carousel-card">
<div class="skill-carousel-header">
<span class="skill-carousel-icon">◈</span>
<span class="skill-carousel-title">Machine Learning</span>
</div>
<div class="tech-icons-grid">
<img src="https://img.shields.io/badge/Deep--Learning-FF6F00?style=for-the-badge&logo=deeplearning&logoColor=white" alt="DL">
<img src="https://img.shields.io/badge/PyTorch-EE4C2C?style=for-the-badge&logo=pytorch&logoColor=white" alt="PyTorch">
<img src="https://img.shields.io/badge/GNN-E10098?style=for-the-badge&logo=graph&logoColor=white" alt="GNN">
<img src="https://img.shields.io/badge/Reinforcement%20Learning-00BFA5?style=for-the-badge" alt="RL">
<img src="https://img.shields.io/badge/NumPy-013243?style=for-the-badge&logo=numpy&logoColor=white" alt="NumPy">
<img src="https://img.shields.io/badge/ML%20Frameworks-FF6F00?style=for-the-badge" alt="ML Frameworks">
</div>
</div>
<!-- Card 3: Embedded Systems and IoT -->
<div class="skill-carousel-card">
<div class="skill-carousel-header">
<span class="skill-carousel-icon">◈</span>
<span class="skill-carousel-title">Embedded Systems and IoT</span>
</div>
<div class="tech-icons-grid">
<img src="https://img.shields.io/badge/ESP%20Boards-000000?style=for-the-badge&logo=espressif&logoColor=white" alt="ESP">
<img src="https://img.shields.io/badge/Arduino-00979D?style=for-the-badge&logo=arduino&logoColor=white" alt="Arduino">
<img src="https://img.shields.io/badge/Raspberry%20Pi-A22846?style=for-the-badge&logo=raspberrypi&logoColor=white" alt="RPi">
<img src="https://img.shields.io/badge/Microcontroller-003545?style=for-the-badge" alt="µC">
<img src="https://img.shields.io/badge/Hardware--Software%20Integration-4A154B?style=for-the-badge" alt="HW/SW">
</div>
</div>
<!-- Card 4: Programming -->
<div class="skill-carousel-card">
<div class="skill-carousel-header">
<span class="skill-carousel-icon">◈</span>
<span class="skill-carousel-title">Programming</span>
</div>
<div class="tech-icons-grid">
<img src="https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white" alt="Python">
<img src="https://img.shields.io/badge/C/C++-00599C?style=for-the-badge&logo=cplusplus&logoColor=white" alt="C">
<img src="https://img.shields.io/badge/Verilog-4A154B?style=for-the-badge" alt="Verilog">
<img src="https://img.shields.io/badge/Nix-5277E3?style=for-the-badge&logo=nixos&logoColor=white" alt="Nix">
<img src="https://img.shields.io/badge/Bash-4EAA25?style=for-the-badge&logo=gnubash&logoColor=white" alt="Bash">
<img src="https://img.shields.io/badge/FastAPI-009688?style=for-the-badge&logo=fastapi&logoColor=white" alt="FastAPI">
<img src="https://img.shields.io/badge/Pydantic-E92063?style=for-the-badge&logo=pydantic&logoColor=white" alt="Pydantic">
</div>
</div>
<!-- Duplicate cards for infinite scroll -->
<!-- Card 1: Domain Knowledge -->
<div class="skill-carousel-card">
<div class="skill-carousel-header">
<span class="skill-carousel-icon">◈</span>
<span class="skill-carousel-title">Domain Knowledge</span>
</div>
<div class="tech-icons-grid">
<img src="https://img.shields.io/badge/Network%20on%20Chip-EF2D5E?style=for-the-badge" alt="NoC">
<img src="https://img.shields.io/badge/Power%20System%20Modelling-FF6F00?style=for-the-badge" alt="Power">
<img src="https://img.shields.io/badge/Electric%20Vehicle%20Charging-4CAF50?style=for-the-badge" alt="EVs">
<img src="https://img.shields.io/badge/Battery%20Management%20System-00BCD4?style=for-the-badge" alt="BMS">
<img src="https://img.shields.io/badge/Renewable%20Systems-8BC34A?style=for-the-badge" alt="Renewable">
</div>
</div>
<!-- Card 2: Machine Learning -->
<div class="skill-carousel-card">
<div class="skill-carousel-header">
<span class="skill-carousel-icon">◈</span>
<span class="skill-carousel-title">Machine Learning</span>
</div>
<div class="tech-icons-grid">
<img src="https://img.shields.io/badge/Deep--Learning-FF6F00?style=for-the-badge&logo=deeplearning&logoColor=white" alt="DL">
<img src="https://img.shields.io/badge/PyTorch-EE4C2C?style=for-the-badge&logo=pytorch&logoColor=white" alt="PyTorch">
<img src="https://img.shields.io/badge/GNN-E10098?style=for-the-badge&logo=graph&logoColor=white" alt="GNN">
<img src="https://img.shields.io/badge/Reinforcement%20Learning-00BFA5?style=for-the-badge" alt="RL">
<img src="https://img.shields.io/badge/NumPy-013243?style=for-the-badge&logo=numpy&logoColor=white" alt="NumPy">
<img src="https://img.shields.io/badge/ML%20Frameworks-FF6F00?style=for-the-badge" alt="ML Frameworks">
</div>
</div>
<!-- Card 3: Embedded Systems and IoT -->
<div class="skill-carousel-card">
<div class="skill-carousel-header">
<span class="skill-carousel-icon">◈</span>
<span class="skill-carousel-title">Embedded Systems and IoT</span>
</div>
<div class="tech-icons-grid">
<img src="https://img.shields.io/badge/ESP%20Boards-000000?style=for-the-badge&logo=espressif&logoColor=white" alt="ESP">
<img src="https://img.shields.io/badge/Arduino-00979D?style=for-the-badge&logo=arduino&logoColor=white" alt="Arduino">
<img src="https://img.shields.io/badge/Raspberry%20Pi-A22846?style=for-the-badge&logo=raspberrypi&logoColor=white" alt="RPi">
<img src="https://img.shields.io/badge/Microcontroller-003545?style=for-the-badge" alt="µC">
<img src="https://img.shields.io/badge/Hardware--Software%20Integration-4A154B?style=for-the-badge" alt="HW/SW">
</div>
</div>
<!-- Card 4: Programming -->
<div class="skill-carousel-card">
<div class="skill-carousel-header">
<span class="skill-carousel-icon">◈</span>
<span class="skill-carousel-title">Programming</span>
</div>
<div class="tech-icons-grid">
<img src="https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white" alt="Python">
<img src="https://img.shields.io/badge/C/C++-00599C?style=for-the-badge&logo=cplusplus&logoColor=white" alt="C">
<img src="https://img.shields.io/badge/Verilog-4A154B?style=for-the-badge" alt="Verilog">
<img src="https://img.shields.io/badge/Nix-5277E3?style=for-the-badge&logo=nixos&logoColor=white" alt="Nix">
<img src="https://img.shields.io/badge/Bash-4EAA25?style=for-the-badge&logo=gnubash&logoColor=white" alt="Bash">
<img src="https://img.shields.io/badge/FastAPI-009688?style=for-the-badge&logo=fastapi&logoColor=white" alt="FastAPI">
<img src="https://img.shields.io/badge/Pydantic-E92063?style=for-the-badge&logo=pydantic&logoColor=white" alt="Pydantic">
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Projects Section -->
<section id="projects" class="projects">
<div class="container">
<h2 class="section-title neon-text-purple">Featured Projects</h2>
<div class="projects-grid">
<div class="project-card">
<div class="project-header">
<h3>Repo Crafter</h3>
<span class="project-tag">Automation | Shell</span>
</div>
<p class="project-description">Interactive shell for your git and project needs in multiple platforms. Automates repository setup and configuration.</p>
<div class="project-links">
<a href="https://github.com/DevKingofEarth/Repo-Crafter" target="_blank" class="btn btn-small">View Project</a>
</div>
</div>
<div class="project-card">
<div class="project-header">
<h3>AIEcoinNix</h3>
<span class="project-tag">NixOS | LLM Infrastructure</span>
</div>
<p class="project-description">A setup for your local or cloud LLM needs, specially for Perplexica and OpenCode in NixOS. Privacy-first AI infrastructure.</p>
<div class="project-links">
<a href="https://github.com/DevKingofEarth/AIEcoinNix" target="_blank" class="btn btn-small">View Project</a>
</div>
</div>
<div class="project-card">
<div class="project-header">
<h3>pBMSLSuite-O</h3>
<span class="project-tag">ESP32 | BMS | IoT</span>
</div>
<div class="project-preview-container">
<p class="project-description">Educational ESP32 based BMS simulator. Battery Management System learning platform with real-time monitoring.</p>
<div class="project-preview">
<img src="pBMSLSuite-O.png" alt="pBMSLSuite-O Circuit Simulation Preview">
</div>
</div>
<div class="project-links">
<a href="https://github.com/DevKingofEarth/pBMSLSuite-O" target="_blank" class="btn btn-small">View Project</a>
<a href="https://wokwi.com/projects/453769002432989185" target="_blank" class="btn btn-small btn-outline">Try Simulator</a>
</div>
</div>
</div>
<div class="github-link">
<a href="https://github.com/DevKingofEarth" target="_blank" class="btn btn-outline">
<span>View All Projects on GitHub</span>
</a>
</div>
</div>
</section>
<!-- Publications Section -->
<section class="publications">
<div class="container">
<h2 class="section-title" style="color: var(--neon-lime); text-shadow: 0 0 10px var(--neon-lime);">Publications</h2>
<div class="publication-card">
<h3>FRoZN: Fault-Tolerant Routing Technique Using Reinforcement Learning for ZMesh NoC</h3>
<p class="publication-publisher">IEEE VLSID 2025</p>
<p class="publication-description">Co-authored research on ML-based Network-on-Chip optimization achieving 10% performance improvement. Worked on algorithm optimization and rebuttal process.</p>
<a href="https://ieeexplore.ieee.org/document/10900681" target="_blank" class="btn btn-small">View Publication</a>
</div>
</div>
</section>
<!-- CV Section -->
<section id="cv" class="cv-download">
<div class="container">
<h2 class="section-title neon-text-orange">More About Me</h2>
<div class="cv-content">
<p class="cv-description">Below are my complete details about experience, skills, projects, and more. Although you can download it, most up to date information can be accessed online via here</p>
<div class="cv-buttons">
<a href="https://rxresu.me/devkingofearth/dharrun-singh-cv" target="_blank" rel="noopener noreferrer" class="btn btn-cv">
View My CV
</a>
<a href="https://rxresu.me/devkingofearth/dharrun-singh-resume" target="_blank" rel="noopener noreferrer" class="btn btn-cv">
View Resume
</a>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="contact">
<div class="container">
<h2 class="section-title neon-text-pink">Get In Touch</h2>
<div class="contact-content">
<div class="social-links">
<a href="mailto:dharrunsingh@gmail.com" target="_blank" class="social-link gmail" aria-label="Gmail">
<svg height="20" width="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M24 5.457v13.909c0 .904-.732 1.636-1.636 1.636h-3.819V11.73L12 16.64l-6.545-4.91v9.273H1.636A1.636 1.636 0 0 1 0 19.366V5.457c0-2.023 2.309-3.178 3.927-1.964L5.455 4.64 12 9.548l6.545-4.91 1.528-1.145C21.69 2.28 24 3.434 24 5.457z"/>
</svg>
<span class="default-text">Gmail</span>
<span class="hover-text">dharrunsingh@gmail.com</span>
</a>
<a href="https://github.com/DevKingofEarth" target="_blank" class="social-link github" aria-label="GitHub">
<svg height="20" width="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/>
</svg>
<span class="default-text">GitHub</span>
<span class="hover-text">DevKingofEarth</span>
</a>
<a href="https://www.linkedin.com/in/dharrun-singh" target="_blank" class="social-link linkedin" aria-label="LinkedIn">
<svg height="20" width="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>
</svg>
<span class="default-text">LinkedIn</span>
<span class="hover-text">dharrun-singh</span>
</a>
<a href="https://orcid.org/0009-0004-4922-1055" target="_blank" class="social-link orcid" aria-label="ORCID">
<svg height="20" width="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zM7.369 4.378c.525 0 .947.431.947.947s-.422.947-.947.947a.95.95 0 0 1-.947-.947c0-.525.422-.947.947-.947zm-.722 3.038h1.444v10.041H6.647V7.416zm3.562 0h3.9c3.712 0 5.344 2.653 5.344 5.025 0 2.578-2.016 5.025-5.325 5.025h-3.919V7.416zm1.444 1.303v7.444h1.722c2.022 0 3.466-1.569 3.466-3.722 0-2.016-1.272-3.722-3.466-3.722h-1.722z"/>
</svg>
<span class="default-text">ORCID</span>
<span class="hover-text">0009-0004-4922-1055</span>
</a>
<a href="https://aratt.ai/user/@dharrunsingh" target="_blank" class="arratai-split-btn" aria-label="Arratai">
<div class="arratai-icon-segment">
<span class="arratai-icon-inner">
<img src="arattai-icon.png" alt="Arratai">
</span>
</div>
<span class="arratai-default">Arratai</span>
<span class="arratai-hover">@dharrunsingh</span>
</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<p>© 2026 Dharrun Singh. All rights reserved.</p>
<p class="footer-tagline">Built with <span class="neon-heart">♥</span> and Neon Lights</p>
</div>
</footer>
<script>
// Mobile menu toggle
const hamburger = document.querySelector('.hamburger');
const navMenu = document.querySelector('.nav-menu');
hamburger.addEventListener('click', () => {
hamburger.classList.toggle('active');
navMenu.classList.toggle('active');
});
// Close menu when clicking outside
document.addEventListener('click', (e) => {
if (!hamburger.contains(e.target) && !navMenu.contains(e.target)) {
hamburger.classList.remove('active');
navMenu.classList.remove('active');
}
});
// Close menu on link click
document.querySelectorAll('.nav-link').forEach(link => {
link.addEventListener('click', () => {
hamburger.classList.remove('active');
navMenu.classList.remove('active');
});
});
// Smooth scroll
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Opportunity note smoke fade on scroll
const opportunityNote = document.querySelector('.opportunity-note');
const aboutSection = document.querySelector('#about');
if (opportunityNote && aboutSection) {
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
opportunityNote.classList.add('smoke-fade');
} else {
opportunityNote.classList.remove('smoke-fade');
}
});
}, { threshold: 0.1 });
observer.observe(aboutSection);
}
</script>
<!-- Scroll Animations -->
<script src="animations.js"></script>
</body>
</html>