-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
2147 lines (1944 loc) · 131 KB
/
index.html
File metadata and controls
2147 lines (1944 loc) · 131 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" class="dark scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Web Developer Portfolio</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css" />
<link rel="stylesheet" href="css/style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.js"></script>
<style>
/* Custom scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #515966;
border-radius: 5px;
}
.dark ::-webkit-scrollbar-track {
background: #1f2937;
}
.dark ::-webkit-scrollbar-thumb {
background: #2563eb;
}
/* Glassmorphism effect */
.glass {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.dark .glass {
background: rgba(31, 41, 55, 0.5);
border: 1px solid rgba(255, 255, 255, 0.05);
}
/* Smooth transitions */
* {
transition: background-color 0.3s, border-color 0.3s, color 0.2s, transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}
/* Custom Animations */
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
@keyframes blob {
0% { transform: translate(0px, 0px) scale(1); }
33% { transform: translate(30px, -50px) scale(1.1); }
66% { transform: translate(-20px, 20px) scale(0.9); }
100% { transform: translate(0px, 0px) scale(1); }
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-blob { animation: blob 7s infinite; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out forwards; }
.animation-delay-2000 { animation-delay: 2s; }
/* Form Styles */
.form-group {
position: relative;
margin-bottom: 1.5rem;
}
.form-input,
.form-textarea {
width: 100%;
padding: 1rem;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 0.5rem;
color: #f3f4f6;
font-size: 1rem;
transition: all 0.3s ease;
}
.form-textarea {
min-height: 150px;
resize: vertical;
}
.form-input:focus,
.form-textarea:focus {
outline: none;
border-color: #818cf8;
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
background: rgba(255, 255, 255, 0.08);
}
.form-label {
position: absolute;
left: 1rem;
top: 1rem;
padding: 0 0.5rem;
font-size: 1rem;
color: rgba(255, 255, 255, 0.6);
pointer-events: none;
transform-origin: left center;
transition: all 0.3s ease;
background: transparent;
border-radius: 0.25rem;
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
transform: translateY(-1.75rem) scale(0.85);
color: #a5b4fc;
background: rgba(17, 24, 39, 0.8);
padding: 0 0.5rem;
}
/* Submit Button */
.submit-btn {
position: relative;
overflow: hidden;
z-index: 1;
transition: all 0.3s ease;
}
.submit-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: 0.5s;
z-index: -1;
}
.submit-btn:hover::before {
left: 100%;
}
.submit-btn:active {
transform: translateY(2px);
}
/* Loading Spinner */
.spinner {
display: inline-block;
width: 1.5rem;
height: 1.5rem;
border: 3px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Form Status Messages */
.form-status {
padding: 0.75rem 1rem;
border-radius: 0.5rem;
margin-bottom: 1rem;
font-size: 0.875rem;
opacity: 0;
transform: translateY(10px);
transition: opacity 0.3s ease, transform 0.3s ease;
}
.form-status.show {
opacity: 1;
transform: translateY(0);
}
.form-status.success {
background-color: rgba(16, 185, 129, 0.1);
border: 1px solid rgba(16, 185, 129, 0.2);
color: #34d399;
}
.form-status.error {
background-color: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.2);
color: #f87171;
}
.form-status.info {
background-color: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.2);
color: #60a5fa;
}
/* Scroll progress indicator */
#progress {
height: 3px;
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
position: fixed;
top: 0;
left: 0;
z-index: 1000;
transition: width 0.1s;
}
</style>
</head>
<body class="bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-gray-100">
<!-- Scroll Progress Indicator -->
<div id="progress"></div>
<!-- Navigation -->
<nav class="fixed w-full z-50 transition-all duration-500" id="navbar">
<!-- Add JavaScript for Dark Mode and Mobile Menu -->
<script>
// Dark Mode Toggle
document.addEventListener('DOMContentLoaded', function() {
const themeToggle = document.getElementById('themeToggle');
const html = document.documentElement;
// Check if dark mode is saved in localStorage
const savedTheme = localStorage.getItem('theme');
if (savedTheme) {
html.classList.toggle('dark', savedTheme === 'dark');
}
themeToggle.addEventListener('click', function() {
html.classList.toggle('dark');
const currentTheme = html.classList.contains('dark') ? 'dark' : 'light';
localStorage.setItem('theme', currentTheme);
// Update icon
const icon = this.querySelector('i');
if (currentTheme === 'dark') {
icon.classList.remove('fa-moon');
icon.classList.add('fa-sun');
} else {
icon.classList.remove('fa-sun');
icon.classList.add('fa-moon');
}
});
});
// Mobile Menu Toggle
document.addEventListener('DOMContentLoaded', function() {
const mobileMenuButton = document.getElementById('mobileMenuButton');
const mobileMenu = document.getElementById('mobileMenu');
mobileMenuButton.addEventListener('click', function() {
mobileMenu.classList.toggle('hidden');
// Update icon
const icon = this.querySelector('i');
if (mobileMenu.classList.contains('hidden')) {
icon.classList.remove('fa-times');
icon.classList.add('fa-bars');
} else {
icon.classList.remove('fa-bars');
icon.classList.add('fa-times');
}
});
// Close mobile menu when clicking outside
document.addEventListener('click', function(event) {
if (!mobileMenu.contains(event.target) && !mobileMenuButton.contains(event.target)) {
mobileMenu.classList.add('hidden');
mobileMenuButton.querySelector('i').classList.remove('fa-times');
mobileMenuButton.querySelector('i').classList.add('fa-bars');
}
});
});
</script>
<div class="absolute inset-0 bg-white/80 dark:bg-gray-900/80 backdrop-blur-lg shadow-lg -z-10 transition-all duration-500" id="nav-bg"></div>
<div class="container mx-auto px-6 py-3">
<div class="flex justify-between items-center">
<a href="#home" class="text-2xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent">
<span class="hover:scale-110 transition-transform duration-300 inline-block">YG</span>
</a>
<!-- Desktop Navigation -->
<div class="hidden md:flex items-center space-x-1">
<a href="#home" class="nav-item group relative px-4 py-2 rounded-lg transition-all duration-300">
<span class="relative z-10">Home</span>
<span class="absolute bottom-0 left-0 w-0 h-0.5 bg-blue-500 group-hover:w-full transition-all duration-300"></span>
</a>
<a href="#about" class="nav-item group relative px-4 py-2 rounded-lg transition-all duration-300">
<span class="relative z-10">About</span>
<span class="absolute bottom-0 left-0 w-0 h-0.5 bg-blue-500 group-hover:w-full transition-all duration-300"></span>
</a>
<a href="#projects" class="nav-item group relative px-4 py-2 rounded-lg transition-all duration-300">
<span class="relative z-10">Projects</span>
<span class="absolute bottom-0 left-0 w-0 h-0.5 bg-blue-500 group-hover:w-full transition-all duration-300"></span>
</a>
<a href="#skills" class="nav-item group relative px-4 py-2 rounded-lg transition-all duration-300">
<span class="relative z-10">Skills</span>
<span class="absolute bottom-0 left-0 w-0 h-0.5 bg-blue-500 group-hover:w-full transition-all duration-300"></span>
</a>
<a href="#resume" class="nav-item group relative px-4 py-2 rounded-lg transition-all duration-300">
<span class="relative z-10">Resume</span>
<span class="absolute bottom-0 left-0 w-0 h-0.5 bg-blue-500 group-hover:w-full transition-all duration-300"></span>
</a>
<a href="#contact" class="ml-2 px-4 py-2 bg-gradient-to-r from-blue-600 to-purple-600 text-white rounded-lg hover:shadow-lg hover:shadow-blue-500/30 transition-all duration-300 transform hover:-translate-y-0.5">
Contact Me
</a>
</div>
<!-- Mobile menu button -->
<div class="md:hidden flex items-center">
<button id="themeToggle" class="p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 mr-2 transition-colors">
<i class="fas fa-moon dark:fa-sun"></i>
</button>
<button id="mobileMenuButton" class="p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
<!-- Mobile Menu -->
<div id="mobileMenu" class="md:hidden hidden mt-4 pb-4 transition-all duration-300 origin-top">
<div class="flex flex-col space-y-2">
<a href="#home" class="nav-item px-4 py-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors">Home</a>
<a href="#about" class="nav-item px-4 py-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors">About</a>
<a href="#projects" class="nav-item px-4 py-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors">Projects</a>
<a href="#skills" class="nav-item px-4 py-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors">Skills</a>
<a href="#resume" class="nav-item px-4 py-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors">Resume</a>
<a href="#contact" class="mt-2 px-4 py-3 text-center bg-gradient-to-r from-blue-600 to-purple-600 text-white rounded-lg hover:shadow-lg hover:shadow-blue-500/30 transition-all">
Contact Me
</a>
</div>
</div>
</div>
</nav>
<style>
.nav-item {
position: relative;
overflow: hidden;
color: #4b5563; /* gray-600 */
font-weight: 500;
transition: all 0.3s ease;
}
.dark .nav-item {
color: #d1d5db; /* gray-300 */
}
.nav-item:hover {
color: #3b82f6; /* blue-500 */
}
.nav-item.active {
color: #3b82f6; /* blue-500 */
font-weight: 600;
}
/* Scroll effect for navbar */
.nav-scrolled {
padding: 0.5rem 0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.dark .nav-scrolled {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
</style>
<script>
// Mobile menu toggle
const mobileMenuButton = document.getElementById('mobileMenuButton');
const mobileMenu = document.getElementById('mobileMenu');
mobileMenuButton.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden');
mobileMenu.classList.toggle('block');
mobileMenuButton.innerHTML = mobileMenu.classList.contains('hidden') ?
'<i class="fas fa-bars text-xl"></i>' :
'<i class="fas fa-times text-xl"></i>';
});
// Close mobile menu when clicking on a link
document.querySelectorAll('#mobileMenu a').forEach(link => {
link.addEventListener('click', () => {
mobileMenu.classList.add('hidden');
mobileMenuButton.innerHTML = '<i class="fas fa-bars text-xl"></i>';
});
});
// Navbar scroll effect
const navbar = document.getElementById('navbar');
const navBg = document.getElementById('nav-bg');
let lastScroll = 0;
window.addEventListener('scroll', () => {
const currentScroll = window.pageYOffset;
// Add/remove scrolled class based on scroll position
if (currentScroll > 10) {
navbar.classList.add('nav-scrolled');
navBg.classList.add('shadow-lg');
} else {
navbar.classList.remove('nav-scrolled');
navBg.classList.remove('shadow-lg');
}
// Update active nav link based on scroll position
updateActiveNavLink();
lastScroll = currentScroll;
});
// Update active nav link based on scroll position
function updateActiveNavLink() {
const sections = document.querySelectorAll('section[id]');
const scrollPosition = window.scrollY + 100;
sections.forEach(section => {
const sectionTop = section.offsetTop;
const sectionHeight = section.offsetHeight;
const sectionId = section.getAttribute('id');
if (scrollPosition >= sectionTop && scrollPosition < sectionTop + sectionHeight) {
document.querySelectorAll('.nav-item').forEach(link => {
link.classList.remove('active');
if (link.getAttribute('href') === `#${sectionId}`) {
link.classList.add('active');
}
});
}
});
}
// Initialize active link on page load
document.addEventListener('DOMContentLoaded', () => {
updateActiveNavLink();
});
</script>
<!-- Hero Section -->
<section id="home" class="min-h-screen flex items-center justify-center text-white relative overflow-hidden bg-cover bg-center bg-no-repeat bg-fixed" style="background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');">
<!-- Dark overlay for better text readability -->
<div class="absolute inset-0 bg-black/40 dark:bg-black/60"></div>
<!-- Animated background elements -->
<div class="absolute inset-0 overflow-hidden">
<div class="absolute top-1/4 left-1/4 w-64 h-64 bg-blue-400 rounded-full mix-blend-overlay filter blur-3xl opacity-10 animate-blob"></div>
<div class="absolute top-1/3 right-1/4 w-72 h-72 bg-purple-400 rounded-full mix-blend-overlay filter blur-3xl opacity-10 animate-blob animation-delay-2000"></div>
<div class="absolute bottom-1/4 left-1/2 w-80 h-80 bg-indigo-400 rounded-full mix-blend-overlay filter blur-3xl opacity-10 animate-blob animation-delay-4000"></div>
</div>
<div class="container mx-auto px-6 py-12">
<div class="flex flex-col items-center justify-center text-center">
<!-- Text Content -->
<div class="max-w-3xl relative z-10">
<p class="text-xl md:text-2xl text-blue-200 dark:text-blue-300 mb-2">Hello, I'm</p>
<h1 class="text-5xl md:text-7xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-blue-100">Yashbardhan Gautam</h1>
<p class="text-2xl md:text-3xl mb-8 text-blue-100 dark:text-blue-200">AI & ML Enthusiast | Web Developer</p>
<div class="flex flex-wrap justify-center md:justify-start gap-4 mb-8">
<a href="#contact" class="bg-white text-blue-600 px-8 py-3 rounded-full font-bold hover:bg-blue-600 hover:text-white transition duration-300">
Get in Touch
</a>
<a href="#resume" class="bg-transparent border-2 border-white text-white px-8 py-3 rounded-full font-bold hover:bg-white hover:text-blue-600 transition duration-300">
View Resume
</a>
</div>
<div class="mt-8">
<div class="flex justify-center space-x-8">
<a href="https://github.com/Yash7409" target="_blank"
class="w-12 h-12 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center transition-all duration-300 transform hover:scale-110 hover:shadow-lg"
title="GitHub Profile">
<i class="fab fa-github text-2xl text-white"></i>
</a>
<a href="https://www.linkedin.com/in/yashbardhan-gautam-0b3b0a2ba/" target="_blank"
class="w-12 h-12 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center transition-all duration-300 transform hover:scale-110 hover:shadow-lg"
title="LinkedIn Profile">
<i class="fab fa-linkedin text-2xl text-white"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-20 relative bg-cover bg-center bg-no-repeat bg-fixed" style="background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');">
<div class="absolute inset-0 bg-white/80 dark:bg-gray-900/80"></div>
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold text-center mb-12">About Me</h2>
<div class="grid md:grid-cols-2 gap-12 items-center">
<div class="about-image relative">
<div class="relative z-10 w-64 h-64 mx-auto">
<!-- Main profile image -->
<img
src="PXL_20240420_120116633.PORTRAIT-01.jpeg"
alt="Yashbardhan Gautam"
class="rounded-full w-full h-full object-cover border-4 border-white shadow-2xl"
>
<!-- Decorative elements -->
<div class="absolute -bottom-3 -right-3 w-16 h-16 bg-blue-500 rounded-full z-0"></div>
<div class="absolute -top-3 -left-3 w-10 h-10 bg-purple-500 rounded-full z-0"></div>
</div>
<!-- Tech stack badges -->
<div class="flex justify-center mt-8 space-x-4">
<div class="bg-white dark:bg-gray-800 px-3 py-1 rounded-full shadow-md flex items-center">
<i class="fab fa-python text-blue-600 mr-2"></i>
<span class="text-sm font-medium">Python</span>
</div>
<div class="bg-white dark:bg-gray-800 px-3 py-1 rounded-full shadow-md flex items-center">
<i class="fab fa-js text-yellow-400 mr-2"></i>
<span class="text-sm font-medium">JavaScript</span>
</div>
<div class="bg-white dark:bg-gray-800 px-3 py-1 rounded-full shadow-md flex items-center">
<i class="fas fa-brain text-purple-600 mr-2"></i>
<span class="text-sm font-medium">AI/ML</span>
</div>
</div>
</div>
<div class="about-content">
<p class="mb-8">I'm a passionate web developer with expertise in creating modern, responsive, and user-friendly websites. With a strong foundation in HTML, CSS, and JavaScript, I bring ideas to life through clean code and innovative solutions.</p>
<div class="skills-grid grid grid-cols-2 gap-6">
<div class="skill-item">
<h3>HTML</h3>
<div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2.5">
<div class="bg-blue-600 dark:bg-blue-400 h-2.5 rounded-full" style="width: 95%"></div>
</div>
</div>
<div class="skill-item">
<h3>CSS</h3>
<div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2.5">
<div class="bg-blue-600 dark:bg-blue-400 h-2.5 rounded-full" style="width: 90%"></div>
</div>
</div>
<div class="skill-item">
<h3>JavaScript</h3>
<div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2.5">
<div class="bg-blue-600 dark:bg-blue-400 h-2.5 rounded-full" style="width: 85%"></div>
</div>
</div>
<div class="skill-item">
<h3>MySQL</h3>
<div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2.5">
<div class="bg-blue-600 dark:bg-blue-400 h-2.5 rounded-full" style="width: 80%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Projects Section -->
<section id="projects" class="py-20 relative bg-cover bg-center bg-no-repeat bg-fixed" style="background-image: linear-gradient(rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.97)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');">
<div class="absolute inset-0 bg-gradient-to-br from-gray-900/90 via-gray-900/80 to-gray-900/90"></div>
<div class="container mx-auto px-6 relative z-10">
<div class="text-center mb-16">
<span class="inline-block text-blue-400 text-sm font-semibold tracking-wider uppercase mb-4">My Work</span>
<h2 class="text-4xl md:text-5xl font-bold text-white mb-6">Featured Projects</h2>
<div class="w-20 h-1 bg-gradient-to-r from-blue-500 to-purple-600 mx-auto rounded-full"></div>
</div>
<!-- Project Filters -->
<div class="flex flex-wrap justify-center gap-3 mb-12">
<button class="filter-btn px-4 py-2 rounded-full text-sm font-medium transition-all duration-300 bg-blue-600 text-white hover:bg-blue-700 active:scale-95" data-filter="all">
All Projects
</button>
<button class="filter-btn px-4 py-2 rounded-full text-sm font-medium transition-all duration-300 bg-gray-700 text-gray-300 hover:bg-gray-600 hover:text-white active:scale-95" data-filter="data">
Data Analysis
</button>
<button class="filter-btn px-4 py-2 rounded-full text-sm font-medium transition-all duration-300 bg-gray-700 text-gray-300 hover:bg-gray-600 hover:text-white active:scale-95" data-filter="web">
Web Development
</button>
<button class="filter-btn px-4 py-2 rounded-full text-sm font-medium transition-all duration-300 bg-gray-700 text-gray-300 hover:bg-gray-600 hover:text-white active:scale-95" data-filter="ai">
AI/ML
</button>
</div>
<!-- Projects Grid -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- HR Workforce Analysis -->
<div class="project-item group" data-category="data">
<div class="h-full bg-gray-800/50 backdrop-blur-md rounded-2xl overflow-hidden border border-gray-700/50 hover:border-blue-500/30 transition-all duration-500 hover:shadow-2xl hover:shadow-blue-500/10">
<div class="relative overflow-hidden h-56">
<div class="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent z-10"></div>
<img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80"
alt="HR Workforce Analysis Dashboard"
class="w-full h-full object-cover transition-transform duration-700 group-hover:scale-105">
<div class="absolute bottom-0 left-0 right-0 p-6 z-20">
<div class="flex flex-wrap gap-2 mb-2">
<span class="px-3 py-1 bg-blue-500/20 text-blue-400 text-xs font-medium rounded-full backdrop-blur-sm">Power BI</span>
<span class="px-3 py-1 bg-green-500/20 text-green-400 text-xs font-medium rounded-full backdrop-blur-sm">Data Analysis</span>
</div>
<h3 class="text-xl font-bold text-white">HR Workforce Analysis</h3>
</div>
</div>
<div class="p-6">
<p class="text-gray-300 mb-5">Comprehensive Power BI dashboard analyzing employee attrition patterns and workforce metrics to help HR departments make data-driven decisions.</p>
<div class="space-y-3 mb-6">
<div class="flex items-start">
<div class="flex-shrink-0 mt-1">
<div class="w-2 h-2 bg-blue-500 rounded-full"></div>
</div>
<p class="ml-3 text-sm text-gray-400">Analyzed <span class="text-white font-medium">1,416 employees</span> with <span class="text-white font-medium">16.2% attrition rate</span></p>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 mt-1">
<div class="w-2 h-2 bg-blue-500 rounded-full"></div>
</div>
<p class="ml-3 text-sm text-gray-400">Identified key retention factors across departments and roles</p>
</div>
</div>
<div class="flex items-center justify-between pt-4 border-t border-gray-700/50">
<a href="https://github.com/Yash7409/HR-Workforce-Analysis" target="_blank"
class="inline-flex items-center text-sm font-medium text-blue-400 hover:text-blue-300 transition-colors group">
<span>View Project</span>
<svg class="w-4 h-4 ml-1 transform group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"></path>
</svg>
</a>
<div class="flex space-x-3">
<a href="https://github.com/Yash7409/HR-Workforce-Analysis" target="_blank"
class="text-gray-400 hover:text-white transition-colors"
aria-label="GitHub Repository">
<i class="fab fa-github text-lg"></i>
</a>
<a href="#" class="text-gray-400 hover:text-blue-400 transition-colors" aria-label="Live Demo">
<i class="fas fa-external-link-alt"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Sample Web Project -->
<div class="project-item group" data-category="web">
<div class="h-full bg-gray-800/50 backdrop-blur-md rounded-2xl overflow-hidden border border-gray-700/50 hover:border-blue-500/30 transition-all duration-500 hover:shadow-2xl hover:shadow-blue-500/10">
<div class="relative overflow-hidden h-56">
<div class="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent z-10"></div>
<img src="https://images.unsplash.com/photo-1547658719-da2b51169166?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1064&q=80"
alt="E-commerce Platform"
class="w-full h-full object-cover transition-transform duration-700 group-hover:scale-105">
<div class="absolute bottom-0 left-0 right-0 p-6 z-20">
<div class="flex flex-wrap gap-2 mb-2">
<span class="px-3 py-1 bg-purple-500/20 text-purple-400 text-xs font-medium rounded-full backdrop-blur-sm">React</span>
<span class="px-3 py-1 bg-blue-500/20 text-blue-400 text-xs font-medium rounded-full backdrop-blur-sm">Node.js</span>
</div>
<h3 class="text-xl font-bold text-white">E-commerce Platform</h3>
</div>
</div>
<div class="p-6">
<p class="text-gray-300 mb-5">A full-stack e-commerce platform with user authentication, product catalog, shopping cart, and payment integration.</p>
<div class="space-y-3 mb-6">
<div class="flex items-start">
<div class="flex-shrink-0 mt-1">
<div class="w-2 h-2 bg-blue-500 rounded-full"></div>
</div>
<p class="ml-3 text-sm text-gray-400">Built with <span class="text-white font-medium">MERN stack</span> (MongoDB, Express, React, Node.js)</p>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 mt-1">
<div class="w-2 h-2 bg-blue-500 rounded-full"></div>
</div>
<p class="ml-3 text-sm text-gray-400">Integrated <span class="text-white font-medium">Stripe</span> for secure payments</p>
</div>
</div>
<div class="flex items-center justify-between pt-4 border-t border-gray-700/50">
<a href="#" class="inline-flex items-center text-sm font-medium text-blue-400 hover:text-blue-300 transition-colors group">
<span>View Project</span>
<svg class="w-4 h-4 ml-1 transform group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"></path>
</svg>
</a>
<div class="flex space-x-3">
<a href="#" class="text-gray-400 hover:text-white transition-colors" aria-label="GitHub Repository">
<i class="fab fa-github text-lg"></i>
</a>
<a href="#" class="text-gray-400 hover:text-blue-400 transition-colors" aria-label="Live Demo">
<i class="fas fa-external-link-alt"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Sample AI Project -->
<div class="project-item group" data-category="ai">
<div class="h-full bg-gray-800/50 backdrop-blur-md rounded-2xl overflow-hidden border border-gray-700/50 hover:border-blue-500/30 transition-all duration-500 hover:shadow-2xl hover:shadow-blue-500/10">
<div class="relative overflow-hidden h-56">
<div class="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent z-10"></div>
<img src="https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80"
alt="AI Image Generator"
class="w-full h-full object-cover transition-transform duration-700 group-hover:scale-105">
<div class="absolute bottom-0 left-0 right-0 p-6 z-20">
<div class="flex flex-wrap gap-2 mb-2">
<span class="px-3 py-1 bg-pink-500/20 text-pink-400 text-xs font-medium rounded-full backdrop-blur-sm">Python</span>
<span class="px-3 py-1 bg-purple-500/20 text-purple-400 text-xs font-medium rounded-full backdrop-blur-sm">TensorFlow</span>
</div>
<h3 class="text-xl font-bold text-white">AI Image Generator</h3>
</div>
</div>
<div class="p-6">
<p class="text-gray-300 mb-5">A deep learning model that generates realistic images from textual descriptions using advanced GAN architectures.</p>
<div class="space-y-3 mb-6">
<div class="flex items-start">
<div class="flex-shrink-0 mt-1">
<div class="w-2 h-2 bg-blue-500 rounded-full"></div>
</div>
<p class="ml-3 text-sm text-gray-400">Trained on <span class="text-white font-medium">500,000+ image-text pairs</span></p>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 mt-1">
<div class="w-2 h-2 bg-blue-500 rounded-full"></div>
</div>
<p class="ml-3 text-sm text-gray-400">Achieved <span class="text-white font-medium">85%</span> accuracy on test dataset</p>
</div>
</div>
<div class="flex items-center justify-between pt-4 border-t border-gray-700/50">
<a href="#" class="inline-flex items-center text-sm font-medium text-blue-400 hover:text-blue-300 transition-colors group">
<span>View Project</span>
<svg class="w-4 h-4 ml-1 transform group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"></path>
</svg>
</a>
<div class="flex space-x-3">
<a href="#" class="text-gray-400 hover:text-white transition-colors" aria-label="GitHub Repository">
<i class="fab fa-github text-lg"></i>
</a>
<a href="#" class="text-gray-400 hover:text-blue-400 transition-colors" aria-label="Live Demo">
<i class="fas fa-external-link-alt"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- View All Projects Button -->
<div class="text-center mt-12">
<a href="https://github.com/Yash7409" target="_blank" class="inline-flex items-center px-6 py-3 border-2 border-blue-500 text-blue-400 font-medium rounded-full hover:bg-blue-500/10 hover:text-white transition-all duration-300 group">
<span>View All Projects</span>
<svg class="w-5 h-5 ml-2 transform group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"></path>
</svg>
</a>
</div>
</div>
</section>
<!-- JavaScript for Project Filtering -->
<script>
document.addEventListener('DOMContentLoaded', function() {
const filterButtons = document.querySelectorAll('.filter-btn');
const projectItems = document.querySelectorAll('.project-item');
filterButtons.forEach(button => {
button.addEventListener('click', () => {
// Remove active class from all buttons
filterButtons.forEach(btn => {
btn.classList.remove('bg-blue-600', 'text-white');
btn.classList.add('bg-gray-700', 'text-gray-300', 'hover:bg-gray-600', 'hover:text-white');
});
// Add active class to clicked button
button.classList.remove('bg-gray-700', 'text-gray-300', 'hover:bg-gray-600', 'hover:text-white');
button.classList.add('bg-blue-600', 'text-white');
const filter = button.getAttribute('data-filter');
// Filter projects
projectItems.forEach(project => {
if (filter === 'all' || project.getAttribute('data-category') === filter) {
project.style.display = 'block';
// Add animation
project.style.animation = 'fadeIn 0.5s ease-out forwards';
} else {
project.style.display = 'none';
}
});
});
});
});
// Add animation on scroll for projects
const animateOnScroll = () => {
const projects = document.querySelectorAll('.project-item');
projects.forEach(project => {
const projectPosition = project.getBoundingClientRect().top;
const screenPosition = window.innerHeight / 1.3;
if (projectPosition < screenPosition) {
project.style.opacity = '1';
project.style.transform = 'translateY(0)';
}
});
};
// Initialize projects with animation
document.addEventListener('DOMContentLoaded', () => {
const projects = document.querySelectorAll('.project-item');
projects.forEach((project, index) => {
project.style.opacity = '0';
project.style.transform = 'translateY(20px)';
project.style.transition = `all 0.5s ease-out ${index * 0.1}s`;
});
// Initial animation
setTimeout(animateOnScroll, 100);
});
// Animate on scroll
window.addEventListener('scroll', animateOnScroll);
</script>
<style>
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.project-item {
opacity: 0;
transform: translateY(20px);
transition: all 0.5s ease-out;
}
.project-item.visible {
opacity: 1;
transform: translateY(0);
}
/* Smooth hover effect for project cards */
.project-item > div {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-item:hover > div {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Custom scrollbar for project descriptions */
.project-description {
max-height: 150px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: #3b82f6 #1f2937;
}
.project-description::-webkit-scrollbar {
width: 4px;
}
.project-description::-webkit-scrollbar-track {
background: #1f2937;
border-radius: 10px;
}
.project-description::-webkit-scrollbar-thumb {
background-color: #3b82f6;
border-radius: 10px;
}
</style>
<style>
/* Skills Section Styles */
.skill-card {
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.skill-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.skill-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
transform: scaleX(0);
transition: transform 0.3s ease;
}
.skill-card:hover::before {
transform: scaleX(1);
}
.skill-percent {
position: absolute;
top: 0.5rem;
right: 0.5rem;
background: rgba(59, 130, 246, 0.1);
color: #3b82f6;
font-size: 0.75rem;
font-weight: 600;
padding: 0.25rem 0.5rem;
border-radius: 9999px;
opacity: 0;
transform: translateY(-10px);
transition: all 0.3s ease;
}
.skill-card:hover .skill-percent {
opacity: 1;
transform: translateY(0);
}
.skill-logo {
width: 3rem;
height: 3rem;
margin-bottom: 1rem;
transition: transform 0.3s ease;
}
.skill-card:hover .skill-logo {
transform: scale(1.1);
}
</style>
</style>
<script>
// Animate skill bars when they come into view
document.addEventListener('DOMContentLoaded', function() {
const skillBars = document.querySelectorAll('.skill-item .w-full > div');
const animateOnScroll = () => {
skillBars.forEach(bar => {
const barPosition = bar.parentElement.getBoundingClientRect().top;
const screenPosition = window.innerHeight / 1.3;
if (barPosition < screenPosition) {
const level = bar.getAttribute('data-level');
bar.style.width = level + '%';
}
});
};
// Initial check
animateOnScroll();
// Check on scroll
window.addEventListener('scroll', animateOnScroll);
// Add hover effect to skill categories
const skillCategories = document.querySelectorAll('.skill-category');
skillCategories.forEach(category => {
category.addEventListener('mouseenter', () => {
category.style.transform = 'translateY(-5px)';
});
category.addEventListener('mouseleave', () => {
category.style.transform = 'translateY(0)';
});
});
});
</script>
<!-- Skills Section -->
<section id="skills" class="py-20 bg-white dark:bg-gray-900">
<div class="container mx-auto px-6">
<div class="text-center mb-16">
<h2 class="text-4xl font-bold text-gray-900 dark:text-white mb-4">My Skills</h2>
<div class="w-20 h-1 bg-gradient-to-r from-blue-500 to-indigo-600 mx-auto rounded-full"></div>
<p class="mt-6 text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto">Technologies and tools I work with</p>
</div>
<!-- Programming Languages -->
<div class="mb-12">
<h3 class="text-2xl font-semibold text-gray-800 dark:text-white mb-8 flex items-center">
<i class="fas fa-code text-blue-500 mr-3"></i>
Programming Languages
</h3>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-4">