-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1023 lines (949 loc) · 37.1 KB
/
index.html
File metadata and controls
1023 lines (949 loc) · 37.1 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
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- Primary Meta Tags -->
<title>Anuj Rajak — Software Engineer</title>
<meta name="title" content="Anuj Rajak — Software Engineer" />
<meta
name="description"
content="Anuj Rajak - Frontend Software Engineer with 6+ years of experience building scalable, production-ready web applications using React, Next.js, and TypeScript."
/>
<meta name="author" content="Anuj Rajak" />
<meta
name="keywords"
content="Anuj Rajak, Software Engineer, Frontend Developer, React, Next.js, TypeScript, MERN Stack, Web Developer, Portfolio"
/>
<meta name="robots" content="index, follow" />
<meta name="language" content="English" />
<meta name="theme-color" content="#ffffff" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://anujrajak.is-a.dev/" />
<meta property="og:title" content="Anuj Rajak — Software Engineer" />
<meta
property="og:description"
content="Frontend Software Engineer with 6+ years of experience building scalable, production-ready web applications using React, Next.js, and TypeScript."
/>
<meta property="og:site_name" content="Anuj Rajak" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content="https://anujrajak.is-a.dev/" />
<meta name="twitter:title" content="Anuj Rajak — Software Engineer" />
<meta
name="twitter:description"
content="Frontend Software Engineer with 6+ years of experience building scalable, production-ready web applications using React, Next.js, and TypeScript."
/>
<!-- Canonical URL -->
<link rel="canonical" href="https://anujrajak.is-a.dev/" />
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<script>
tailwind.config = {
darkMode: false,
};
</script>
<script src="https://cdn.tailwindcss.com"></script>
<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=Inter:wght@300;400;500;600;700;900&family=Space+Grotesk:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap"
rel="stylesheet"
/>
<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=Poiret+One&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://w.soundcloud.com/player/api.js"></script>
</head>
<body>
<!-- Header -->
<header class="px-6 md:px-8 py-4">
<div class="max-w-7xl mx-auto flex items-center justify-between">
<!-- Left Side: Name and Subtitle -->
<div>
<h1
class="text-lg md:text-xl font-normal text-gray-900"
style="font-family: 'Lato', sans-serif"
>
<span class="md:hidden">AR</span>
<span class="hidden md:inline">Anuj Rajak</span>
</h1>
<p class="text-xs font-light text-gray-600 hidden md:block">
Software Engineer
</p>
</div>
<!-- Right Side: Navigation -->
<nav class="hidden md:flex items-center gap-6 md:gap-8">
<a href="#work" class="nav-link text-xs font-medium">Work</a>
<a href="#experience" class="nav-link text-xs font-medium"
>Experience</a
>
<a href="#about" class="nav-link text-xs font-medium">About</a>
<a href="#contact" class="nav-link text-xs font-medium">Contact</a>
<a
href="assets/resume.pdf"
download
class="nav-link text-xs font-medium flex items-center gap-1"
aria-label="Resume"
>
Resume
<i data-feather="arrow-up-right" class="w-3 h-3"></i>
</a>
</nav>
<!-- Hamburger Menu Button (Mobile Only) -->
<button
id="mobile-menu-button"
class="md:hidden flex items-center justify-center w-10 h-10 text-gray-900 focus:outline-none"
aria-label="Toggle menu"
>
<i data-feather="menu" id="menu-icon" class="w-6 h-6"></i>
<i data-feather="x" id="close-icon" class="w-6 h-6 hidden"></i>
</button>
</div>
<!-- Mobile Menu -->
<nav
id="mobile-menu"
class="md:hidden hidden flex flex-col gap-4 pt-4 pb-6 border-t border-gray-200"
>
<a href="#work" class="nav-link text-sm font-medium py-2">Work</a>
<a href="#experience" class="nav-link text-sm font-medium py-2"
>Experience</a
>
<a href="#about" class="nav-link text-sm font-medium py-2">About</a>
<a href="#contact" class="nav-link text-sm font-medium py-2"
>Contact</a
>
<a
href="assets/resume.pdf"
download
class="nav-link text-sm font-medium flex items-center gap-1 py-2"
aria-label="Resume"
>
Resume
<i data-feather="arrow-up-right" class="w-4 h-4"></i>
</a>
</nav>
</div>
</header>
<!-- Main Content -->
<main>
<!-- Hero Section -->
<section
id="hero-section"
class="h-screen flex items-center px-6 md:px-8 relative"
>
<div
class="max-w-7xl mx-auto w-full grid grid-cols-1 md:grid-cols-2 gap-8 items-start md:items-center h-full"
>
<!-- Left Side: Chip -->
<div class="flex flex-col justify-center items-center md:items-start">
<div class="flex items-center gap-3 hero-chip-container">
<div class="hero-chip">
<span class="hero-chip-text">👋 Hi, I'm Anuj</span>
</div>
<div class="hero-play-button-container">
<button
class="hero-play-button"
aria-label="Play"
id="play-button"
>
<i data-feather="play" class="w-5 h-5 play-icon"></i>
<i
data-feather="pause"
class="w-5 h-5 pause-icon"
style="display: none"
></i>
</button>
<span class="hero-play-tooltip"
>Click play while you read through</span
>
</div>
<!-- SoundCloud Player (Hidden) -->
<iframe
id="soundcloud-player"
width="100%"
height="166"
scrolling="no"
frameborder="no"
allow="autoplay"
src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/soundcloud%253Atracks%253A1634828703&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true"
style="display: none"
></iframe>
</div>
<p
class="hero-text-small text-gray-900 mt-3 text-center md:text-left"
>
Software Engineer with<br />
5+ years of experience in making<br />
complex systems feel human
</p>
<!-- Explore my work for small screens -->
<div class="mt-6 md:hidden">
<a
href="#work"
class="flex items-center gap-2 text-gray-600 hover:text-gray-900 transition-colors justify-center"
>
<i data-feather="arrow-down" class="w-4 h-4"></i>
<span class="text-sm font-light">Explore my work</span>
</a>
</div>
</div>
<!-- Right Side: Avatar Image -->
<div
class="flex justify-center md:justify-end items-end mt-8 md:mt-0 md:h-full self-end"
>
<div class="avatar-container relative cursor-pointer">
<img
src="assets/imgs/avatar.png"
alt="Anuj Rajak"
class="hero-avatar avatar-main"
id="avatar-main"
/>
<img
src="assets/imgs/original-avatar.png"
alt="Anuj Rajak"
class="hero-avatar avatar-original"
id="avatar-original"
style="display: none"
/>
</div>
</div>
</div>
<!-- Bottom Arrow with Text (Desktop only) -->
<div
class="absolute left-1/2 transform -translate-x-1/2 hidden md:block"
style="bottom: 6rem"
>
<a
href="#work"
class="flex items-center gap-2 text-gray-600 hover:text-gray-900 transition-colors"
>
<i data-feather="arrow-down" class="w-4 h-4"></i>
<span class="text-sm font-light">Explore my work</span>
</a>
</div>
</section>
<!-- Work Section -->
<section id="work" class="min-h-screen pt-10 px-6 md:px-8">
<div class="max-w-7xl mx-auto">
<h2
class="heading text-4xl md:text-5xl font-bold mb-4 text-gray-900 uppercase"
>
Selected work
</h2>
<p
class="font-normal mb-12"
style="font-size: 16px; color: #737373; font-weight: 400"
>
Thoughtful design, smooth workflows, and systems built with
intention.<br />
The proof is in the work below
</p>
<!-- Project 1: GlamGuider -->
<div class="mb-16">
<img
src="assets/imgs/glamguider.png"
alt="GlamGuider"
class="w-full mb-4"
/>
<div class="flex items-start justify-between gap-4">
<div class="flex-1">
<h3
class="heading mb-2"
style="font-size: 17px; font-weight: bold; color: #1a1a1a"
>
GlamGuider
</h3>
<p style="font-size: 15px; color: #737373">
GlamGuider is a beauty-tech platform empowering shoppers with
ingredient transparency, expert insights, and honest product
guidance<br />
for smarter beauty choices.
</p>
</div>
<a
href="https://glamguider.com/"
target="_blank"
rel="noopener noreferrer"
>
<i
data-feather="external-link"
class="w-5 h-5 flex-shrink-0 mt-1"
style="color: #737373"
></i>
</a>
</div>
</div>
<!-- Project 2: Nazaara Retreat -->
<div class="mb-16">
<img
src="assets/imgs/nazaara.png"
alt="Nazaara Retreat"
class="w-full mb-4"
/>
<div class="flex items-start justify-between gap-4">
<div class="flex-1">
<h3
class="heading mb-2"
style="font-size: 17px; font-weight: bold; color: #1a1a1a"
>
Nazaara Retreat
</h3>
<p style="font-size: 15px; color: #737373">
A boutique hospitality brand offering nature-immersed luxury
stays in scenic Indian destinations<br />
with thoughtful design, warm service, and memorable
experiences.
</p>
</div>
<a
href="https://nazaarahotel.com/"
target="_blank"
rel="noopener noreferrer"
>
<i
data-feather="external-link"
class="w-5 h-5 flex-shrink-0 mt-1"
style="color: #737373"
></i>
</a>
</div>
</div>
<!-- Project 3: @rhngui/patternfly-react-renderer -->
<div class="mb-16">
<img
src="assets/imgs/ngui-react.png"
alt="@rhngui/patternfly-react-renderer"
class="w-full mb-4"
/>
<div class="flex items-start justify-between gap-4">
<div class="flex-1">
<h3
class="heading mb-2"
style="font-size: 17px; font-weight: bold; color: #1a1a1a"
>
@rhngui/patternfly-react-renderer
</h3>
<p style="font-size: 15px; color: #737373">
A React library that enables dynamic UI generation using
PatternFly components<br />
driven by JSON configuration.
</p>
</div>
<a
href="https://www.npmjs.com/package/@rhngui/patternfly-react-renderer"
target="_blank"
rel="noopener noreferrer"
>
<i
data-feather="external-link"
class="w-5 h-5 flex-shrink-0 mt-1"
style="color: #737373"
></i>
</a>
</div>
</div>
</div>
</section>
<!-- Experience Section -->
<section id="experience" class="min-h-screen pt-10 px-6 md:px-8">
<div class="max-w-7xl mx-auto">
<h2
class="heading text-4xl md:text-5xl font-bold mb-4 text-gray-900 uppercase"
>
Experience & Education
</h2>
<p
class="font-normal mb-12"
style="font-size: 16px; color: #737373; font-weight: 400"
>
Places where I've worked and grown as an engineer
</p>
<!-- Experience Timeline -->
<div class="max-w-4xl">
<!-- Experience 1: Red Hat -->
<div class="experience-card">
<div class="flex items-start gap-4">
<img
src="https://www.redhat.com/favicon.ico"
alt="Red Hat"
class="w-10 h-10 rounded flex-shrink-0"
/>
<div class="flex-1">
<h3 class="heading text-lg font-bold text-gray-900 mb-1">
Software Engineer
</h3>
<p class="text-sm text-gray-600 mb-1">
<a
href="https://www.redhat.com/en"
target="_blank"
rel="noopener noreferrer"
class="hover:underline"
>
Red Hat
</a>
<span> · Full-time</span>
</p>
<p class="text-xs text-gray-500">
Jan 2022 - Present · 4 yrs · Pune, India
</p>
<p
class="text-sm text-gray-700 mt-3"
style="line-height: 1.6"
>
Collaborating with the Experience Engineering (XE) and UX
Engagement & Engineering teams to design and integrate
agentic AI workflows, enhance and add features to the
customer portal, and improve unit test coverage to ensure
better QA, performance, and faster, more seamless customer
experiences.
</p>
</div>
</div>
</div>
<!-- Experience 2: NEC Software Solutions -->
<div class="experience-card">
<div class="flex items-start gap-4">
<img
src="https://www.nec.com/img/top/nec_ogp.png"
alt="NEC Software Solutions"
class="w-10 h-10 rounded flex-shrink-0"
/>
<div class="flex-1">
<h3 class="heading text-lg font-bold text-gray-900 mb-1">
Software Engineer
</h3>
<p class="text-sm text-gray-600 mb-1">
<a
href="https://in.nec.com/"
target="_blank"
rel="noopener noreferrer"
class="hover:underline"
>
NEC Software Solutions (India)
</a>
<span> · Full-time</span>
</p>
<p class="text-xs text-gray-500">
Jul 2019 - Dec 2021 · 2 yrs 6 mos · Mumbai, India
</p>
<p
class="text-sm text-gray-700 mt-3"
style="line-height: 1.6"
>
Built and maintained 30+ reusable React and ExtJS components
following MVVM/MVC architecture, improving development speed
by 25–30%. Collaborated with Business Analysts and Product
Owners to deliver 10+ core features, resolving 50+ issues to
enhance application stability, while maintaining 80%+ test
coverage using Jest, React Testing Library, and Jasmine with
defect tracking via JIRA.
</p>
</div>
</div>
</div>
<!-- Experience 3: Tech Global Solutions -->
<div class="experience-card">
<div class="flex items-start gap-4">
<img
src="http://techglobalsolution.com/images/ico/apple-touch-icon-144-precomposed.png"
alt="Tech Global Solutions"
class="w-10 h-10 rounded flex-shrink-0"
/>
<div class="flex-1">
<h3 class="heading text-lg font-bold text-gray-900 mb-1">
Junior Web Developer
</h3>
<p class="text-sm text-gray-600 mb-1">
<a
href="http://techglobalsolution.com/"
target="_blank"
rel="noopener noreferrer"
class="hover:underline"
>
Tech Global Solutions
</a>
<span> · Internship</span>
</p>
<p class="text-xs text-gray-500">
Jan 2018 - Apr 2018 · 4 mos · Madhya Pradesh, India
</p>
<p
class="text-sm text-gray-700 mt-3"
style="line-height: 1.6"
>
Contributed to a health sector application by designing and
implementing user interfaces, while building microservices,
database schemas, and integrating APIs to enhance
functionality and support mobile application development.
</p>
</div>
</div>
</div>
<!-- Experience 4: Education -->
<div class="experience-card">
<div class="flex items-start gap-4">
<img
src="https://www.globalengineeringcollege.com/uploads/images/logo/GlobalLogoB.png"
alt="GLOBAL NATURE CARE GROUP SANGATHAN INSTITUTION"
class="w-10 h-10 rounded flex-shrink-0"
/>
<div class="flex-1">
<h3 class="heading text-lg font-bold text-gray-900 mb-1">
Bachelor of Engineering - Computer Science
</h3>
<p class="text-sm text-gray-600 mb-1">
<a
href="https://www.globalengineeringcollege.com/"
target="_blank"
rel="noopener noreferrer"
class="hover:underline"
>
GLOBAL NATURE CARE GROUP SANGATHAN INSTITUTION, Jabalpur
</a>
<span> · Full-time</span>
</p>
<p class="text-xs text-gray-500">
2015 - 2019 · 4 yrs · Jabalpur, India
</p>
<p
class="text-sm text-gray-700 mt-3"
style="line-height: 1.6"
>
Completed a Bachelor of Engineering in Computer Science,
gaining a strong foundation in programming, data structures,
databases, and software engineering principles.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- About Me Section -->
<section id="about" class="py-10 px-6 md:px-8">
<div class="max-w-7xl mx-auto">
<div class="flex items-center justify-between mb-4">
<h2
class="heading text-4xl md:text-5xl font-bold text-gray-900 uppercase"
>
About me
</h2>
<button
id="highlight-toggle"
class="highlight-toggle-btn"
aria-label="Toggle keyword highlighting"
>
<i
data-feather="eye"
class="w-6 h-6 highlight-icon"
id="highlight-icon"
></i>
</button>
</div>
<p
class="font-normal mb-12"
style="font-size: 16px; color: #737373; font-weight: 400"
>
A bit about who I am and what I do
</p>
<div class="max-w-6xl">
<div class="space-y-6" id="about-content">
<p style="font-size: 17px; line-height: 1.8; color: #1a1a1a">
I'm a Software Engineer with over 6 years of experience building
scalable, production-ready web applications. I specialize in the
MERN stack (MongoDB, Express, React, Node.js) and have a passion
for creating well-crafted systems and interfaces that enhance
how people interact with technology.
</p>
<p style="font-size: 17px; line-height: 1.8; color: #1a1a1a">
Currently working at Red Hat, I focus on developing robust
frontend solutions using React, Next.js, and TypeScript. I'm
particularly interested in the intersection of design and
engineering - how thoughtful architecture and clean code can
create delightful user experiences.
</p>
<p style="font-size: 17px; line-height: 1.8; color: #1a1a1a">
When I'm not coding, I enjoy exploring new technologies,
contributing to open-source projects, and continuously learning
to stay at the forefront of web development best practices.
</p>
</div>
</div>
</div>
</section>
<!-- Full Width Horizontal Line -->
<hr class="full-width-line" />
<!-- Footer Section -->
<section id="contact" class="relative contact-section">
<!-- Map SVG Background -->
<div class="map-background"></div>
<div class="max-w-7xl mx-auto px-6 md:px-8 relative z-10">
<!-- Centered Text -->
<div class="text-center">
<p
style="
font-size: 16px;
color: #737373;
font-weight: 400;
line-height: 1.4;
"
>
Glad you made it to the end!
</p>
</div>
<!-- Let's Connect Text -->
<div class="text-center mb-4">
<h2 class="contact-connect-text">LET'S CONNECT</h2>
</div>
<!-- Social Links -->
<div class="flex items-center justify-center gap-6">
<a
href="mailto:mr.anujrajak@gmail.com"
class="social-link"
aria-label="Email"
>
<i data-feather="mail" class="w-5 h-5"></i>
</a>
<a
href="https://www.linkedin.com/in/anuj-rajak/"
target="_blank"
rel="noopener noreferrer"
class="social-link"
aria-label="LinkedIn"
>
<i data-feather="linkedin" class="w-5 h-5"></i>
</a>
<a
href="https://github.com/anujrajak"
target="_blank"
rel="noopener noreferrer"
class="social-link"
aria-label="GitHub"
>
<i data-feather="github" class="w-5 h-5"></i>
</a>
<a
href="assets/resume.pdf"
download
class="social-link"
aria-label="Resume"
>
<i data-feather="file-text" class="w-5 h-5"></i>
</a>
</div>
</div>
<!-- Footer -->
<div class="contact-footer">
<div class="contact-footer-left">
<span id="pune-time" class="footer-time"></span>
</div>
<div class="contact-footer-right">
<span class="footer-love"
>Made with <span class="heart">♥</span>
</div>
</div>
</section>
</main>
<script>
// Initialize Feather icons
feather.replace();
// Mobile Menu Toggle
const mobileMenuButton = document.getElementById("mobile-menu-button");
const mobileMenu = document.getElementById("mobile-menu");
const menuIcon = document.getElementById("menu-icon");
const closeIcon = document.getElementById("close-icon");
if (mobileMenuButton && mobileMenu && menuIcon && closeIcon) {
mobileMenuButton.addEventListener("click", function () {
const isHidden = mobileMenu.classList.contains("hidden");
if (isHidden) {
mobileMenu.classList.remove("hidden");
menuIcon.classList.add("hidden");
closeIcon.classList.remove("hidden");
feather.replace();
} else {
mobileMenu.classList.add("hidden");
menuIcon.classList.remove("hidden");
closeIcon.classList.add("hidden");
feather.replace();
}
});
// Close menu when clicking on a link
const mobileMenuLinks = mobileMenu.querySelectorAll("a");
mobileMenuLinks.forEach((link) => {
link.addEventListener("click", function () {
mobileMenu.classList.add("hidden");
menuIcon.classList.remove("hidden");
closeIcon.classList.add("hidden");
feather.replace();
});
});
}
// Smooth scroll for navigation links
document.querySelectorAll('a[href^="#"]').forEach((anchor) => {
anchor.addEventListener("click", function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute("href"));
if (target) {
target.scrollIntoView({
behavior: "smooth",
block: "start",
});
}
});
});
// SoundCloud Player Control
let soundcloudWidget = null;
let isPlaying = false;
const playButton = document.getElementById("play-button");
const iframe = document.getElementById("soundcloud-player");
// Initialize SoundCloud Widget when ready
function initSoundCloudWidget() {
if (iframe && typeof SC !== "undefined") {
try {
soundcloudWidget = SC.Widget(iframe);
soundcloudWidget.bind(SC.Widget.Events.READY, function () {
const playIcon = playButton.querySelector(".play-icon");
const pauseIcon = playButton.querySelector(".pause-icon");
soundcloudWidget.bind(SC.Widget.Events.PLAY, function () {
isPlaying = true;
if (playIcon) playIcon.style.display = "none";
if (pauseIcon) pauseIcon.style.display = "block";
if (playButton) playButton.classList.add("playing");
feather.replace();
});
soundcloudWidget.bind(SC.Widget.Events.PAUSE, function () {
isPlaying = false;
if (playIcon) playIcon.style.display = "block";
if (pauseIcon) pauseIcon.style.display = "none";
if (playButton) playButton.classList.remove("playing");
feather.replace();
});
});
} catch (error) {
console.error("Error initializing SoundCloud widget:", error);
}
}
}
// Wait for SoundCloud API to load
if (typeof SC === "undefined") {
window.addEventListener("load", function () {
setTimeout(initSoundCloudWidget, 1000);
});
} else {
initSoundCloudWidget();
}
// Play/Pause button click handler
if (playButton) {
playButton.addEventListener("click", function () {
if (soundcloudWidget) {
soundcloudWidget.toggle();
} else {
// If widget not ready, try to initialize
initSoundCloudWidget();
setTimeout(function () {
if (soundcloudWidget) {
soundcloudWidget.toggle();
}
}, 500);
}
});
}
// Avatar Click Handler - Toggle between avatars with bounce animation
const avatarContainer = document.querySelector(".avatar-container");
const avatarMain = document.getElementById("avatar-main");
const avatarOriginal = document.getElementById("avatar-original");
let isMainVisible = true;
let isAnimating = false;
if (avatarContainer && avatarMain && avatarOriginal) {
avatarContainer.addEventListener("click", function () {
if (isAnimating) return; // Prevent clicks during animation
isAnimating = true;
if (isMainVisible) {
// Bounce down main, bounce up original
avatarMain.classList.add("bounce-down");
avatarOriginal.style.display = "block";
avatarOriginal.classList.add("bounce-up");
setTimeout(() => {
avatarMain.style.display = "none";
avatarMain.classList.remove("bounce-down");
avatarOriginal.classList.remove("bounce-up");
isMainVisible = false;
isAnimating = false;
}, 400);
} else {
// Bounce down original, bounce up main
avatarOriginal.classList.add("bounce-down");
avatarMain.style.display = "block";
avatarMain.classList.add("bounce-up");
setTimeout(() => {
avatarOriginal.style.display = "none";
avatarOriginal.classList.remove("bounce-down");
avatarMain.classList.remove("bounce-up");
isMainVisible = true;
isAnimating = false;
}, 400);
}
});
}
// Highlight Toggle Functionality
const highlightToggle = document.getElementById("highlight-toggle");
const aboutContent = document.getElementById("about-content");
let isHighlighted = false;
function updateIcon(highlighted) {
const iconElement = document.getElementById("highlight-icon");
if (iconElement) {
const newIcon = highlighted ? "eye-off" : "eye";
// Remove existing SVG if any
const svg = iconElement.querySelector("svg");
if (svg) {
svg.remove();
}
// Update data-feather attribute
iconElement.setAttribute("data-feather", newIcon);
// Replace icon
feather.replace(iconElement);
}
}
// Keywords to highlight
const keywords = [
"scalable",
"production-ready web applications",
"MERN stack (MongoDB, Express, React, Node.js)",
"Red Hat",
"React, Next.js, and TypeScript",
"design and engineering",
"delightful user experiences",
"open-source projects",
];
function highlightKeywords() {
if (!aboutContent) return;
// Add highlighted class to change non-highlighted text color
aboutContent.classList.add("highlighted");
const paragraphs = aboutContent.querySelectorAll("p");
paragraphs.forEach((paragraph) => {
// Get plain text content
let text = paragraph.textContent || paragraph.innerText;
// Only highlight if not already highlighted
if (!paragraph.innerHTML.includes('class="highlight-keyword"')) {
// Sort keywords by length (longest first) to avoid partial matches
const sortedKeywords = [...keywords].sort(
(a, b) => b.length - a.length
);
sortedKeywords.forEach((keyword) => {
// Escape special regex characters
const escapedKeyword = keyword.replace(
/[.*+?^${}()|[\]\\]/g,
"\\$&"
);
// Use word boundaries for single words, but not for phrases
const isPhrase = keyword.includes(" ") || keyword.includes("(");
const regex = isPhrase
? new RegExp(`(${escapedKeyword})`, "gi")
: new RegExp(`\\b(${escapedKeyword})\\b`, "gi");
text = text.replace(
regex,
'<span class="highlight-keyword">$1</span>'
);
});
paragraph.innerHTML = text;
}
});
// Change icon to eye-off
isHighlighted = true;
updateIcon(true);
}
function highlightKeywords() {
if (!aboutContent) return;
// Add highlighted class to change non-highlighted text color
aboutContent.classList.add("highlighted");
const paragraphs = aboutContent.querySelectorAll("p");
paragraphs.forEach((paragraph) => {
// Get plain text content
let text = paragraph.textContent || paragraph.innerText;
// Only highlight if not already highlighted
if (!paragraph.innerHTML.includes('class="highlight-keyword"')) {
// Sort keywords by length (longest first) to avoid partial matches
const sortedKeywords = [...keywords].sort(
(a, b) => b.length - a.length
);
sortedKeywords.forEach((keyword) => {
// Escape special regex characters
const escapedKeyword = keyword.replace(
/[.*+?^${}()|[\]\\]/g,
"\\$&"
);
// Use word boundaries for single words, but not for phrases
const isPhrase = keyword.includes(" ") || keyword.includes("(");
const regex = isPhrase
? new RegExp(`(${escapedKeyword})`, "gi")
: new RegExp(`\\b(${escapedKeyword})\\b`, "gi");
text = text.replace(
regex,
'<span class="highlight-keyword">$1</span>'
);
});
paragraph.innerHTML = text;
}
});
// Change icon to eye-off
isHighlighted = true;
updateIcon(true);
}
function unhighlightKeywords() {
if (!aboutContent) return;
// Remove highlighted class to restore normal text color
aboutContent.classList.remove("highlighted");
const paragraphs = aboutContent.querySelectorAll("p");
paragraphs.forEach((paragraph) => {
let text = paragraph.innerHTML;
// Remove highlight spans
text = text.replace(
/<span class="highlight-keyword">(.*?)<\/span>/gi,
"$1"
);
paragraph.innerHTML = text;
});
// Change icon back to eye
isHighlighted = false;
updateIcon(false);
}
if (highlightToggle && aboutContent) {
highlightToggle.addEventListener("click", function () {
if (isHighlighted) {
unhighlightKeywords();
} else {
highlightKeywords();
}
});
}
// Pune Time Display