-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
669 lines (622 loc) · 36.5 KB
/
Copy pathApp.tsx
File metadata and controls
669 lines (622 loc) · 36.5 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
import { useState, useEffect, useRef, type JSX, useCallback } from "react";
import {
Github,
Linkedin,
Mail,
Phone,
MapPin,
ExternalLink,
Code2,
ArrowRight,
Star,
Zap,
Terminal,
Cpu,
Database,
Cloud,
TrendingUp,
Trophy,
Users,
Sparkles,
} from "lucide-react";
import { portfolioData } from "./data";
export default function Portfolio() {
const [mousePosition, setMousePosition] = useState({ x: 0, y: 0 });
const [activeSection, setActiveSection] = useState("home");
const [isVisible, setIsVisible] = useState(false);
const [scrollProgress, setScrollProgress] = useState(0);
const heroRef = useRef(null);
const sectionRefs = useRef<{ [key: string]: HTMLElement | null }>({});
// Throttled mouse move handler
const handleMouseMove = useCallback((e: MouseEvent) => {
setMousePosition({ x: e.clientX, y: e.clientY });
}, []);
// Scroll progress handler
const handleScroll = useCallback(() => {
const winHeight = window.innerHeight;
const docHeight = document.documentElement.scrollHeight - winHeight;
const scrollTop = window.pageYOffset;
setScrollProgress((scrollTop / docHeight) * 100);
}, []);
// Intersection Observer for active section
const setupIntersectionObserver = useCallback(() => {
const observer = new IntersectionObserver(
(entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
setActiveSection(entry.target.id);
}
});
},
{ threshold: 0.5, rootMargin: "-20% 0px -20% 0px" }
);
Object.values(sectionRefs.current).forEach((section) => {
if (section) observer.observe(section);
});
return observer;
}, []);
useEffect(() => {
setIsVisible(true);
// Set up section refs
sectionRefs.current = {
home: document.getElementById("home"),
experience: document.getElementById("experience"),
projects: document.getElementById("projects"),
skills: document.getElementById("skills"),
contact: document.getElementById("contact"),
};
const observer = setupIntersectionObserver();
window.addEventListener("mousemove", handleMouseMove);
window.addEventListener("scroll", handleScroll, { passive: true });
return () => {
window.removeEventListener("mousemove", handleMouseMove);
window.removeEventListener("scroll", handleScroll);
observer.disconnect();
};
}, [handleMouseMove, handleScroll, setupIntersectionObserver]);
const data = portfolioData;
const scrollToSection = (sectionId: string) => {
setActiveSection(sectionId);
document.getElementById(sectionId)?.scrollIntoView({
behavior: "smooth",
block: "start",
});
};
const SkillIcon = ({ category }: { category: string }) => {
const icons: Record<string, JSX.Element> = {
leadership: <Users className="w-5 h-5" />,
backend: <Code2 className="w-5 h-5" />,
frontend: <Sparkles className="w-5 h-5" />,
mobile: <Code2 className="w-5 h-5" />,
cloud: <Cloud className="w-5 h-5" />,
databases: <Database className="w-5 h-5" />,
ai: <Cpu className="w-5 h-5" />,
architecture: <TrendingUp className="w-5 h-5" />,
systems: <Terminal className="w-5 h-5" />,
};
return icons[category] || <Code2 className="w-5 h-5" />;
};
// Stats for impact section - Fixed to match your actual experience
// const impactStats = [
// { value: "3+", label: "Years Experience", icon: Calendar },
// { value: "600+", label: "Users Served", icon: Users },
// { value: "10+", label: "Projects Built", icon: Code2 },
// { value: "ICT Lead", label: "Leadership", icon: Trophy },
// ];
return (
<div className="min-h-screen bg-black text-white overflow-x-hidden">
{/* Scroll progress bar */}
<div className="fixed top-0 left-0 w-full h-1 z-50 bg-white/10">
<div
className="h-full bg-gradient-to-r from-cyan-500 to-blue-500 transition-all duration-300"
style={{ width: `${scrollProgress}%` }}
/>
</div>
{/* Enhanced gradient background */}
<div className="fixed inset-0 overflow-hidden pointer-events-none">
<div
className="absolute size-96 bg-cyan-500/20 rounded-full blur-[120px] transition-all duration-1000"
style={{
left: `${mousePosition.x - 192}px`,
top: `${mousePosition.y - 192}px`,
}}
/>
<div className="absolute top-1/4 -right-48 size-96 bg-purple-500/15 rounded-full blur-[120px] animate-pulse" />
<div className="absolute -bottom-32 -left-32 size-96 bg-blue-500/10 rounded-full blur-[120px]" />
{/* Enhanced grid overlay */}
<div className="absolute inset-0 bg-[linear-gradient(rgba(255,255,255,0.03)_1px,transparent_1px),linear-gradient(90deg,rgba(255,255,255,0.03)_1px,transparent_1px)] bg-[size:80px_80px] [mask-image:radial-gradient(ellipse_80%_80%_at_50%_50%,black,transparent)]" />
</div>
{/* Enhanced floating nav */}
<nav className="fixed top-8 start-1/2 -translate-x-1/2 z-50">
<div className="bg-white/5 backdrop-blur-xl border border-white/10 rounded-full px-8 py-3 shadow-2xl shadow-cyan-500/10 hover:shadow-cyan-500/20 transition-all duration-500">
<div className="flex gap-8 items-center">
{[
"home",
"experience",
"projects",
"skills",
"contact",
].map((item) => (
<button
key={item}
onClick={() => scrollToSection(item)}
className={`relative text-sm font-medium transition-all duration-300 ${
activeSection === item
? "text-cyan-400 scale-110"
: "text-white/60 hover:text-white hover:scale-105"
}`}
>
{activeSection === item && (
<div className="absolute -inset-2 bg-cyan-400/10 rounded-full -z-10" />
)}
{item.charAt(0).toUpperCase() + item.slice(1)}
</button>
))}
</div>
</div>
</nav>
{/* Enhanced Hero Section */}
<section
id="home"
ref={heroRef}
className="relative min-h-screen flex items-center justify-center px-6 pt-20"
>
{/* Availability badge */}
<div className="fixed z-50 hidden md:inline-flex top-8 right-4 items-center gap-3 px-6 py-3 bg-gradient-to-r from-green-500/20 to-cyan-500/20 backdrop-blur-sm border border-green-400/30 rounded-full mb-8 animate-pulse hover:scale-105 transition-transform cursor-pointer">
<div className="size-3 bg-green-400 rounded-full animate-ping" />
<span className="text-sm font-medium text-green-400">
🚀 Available for roles & projects
</span>
</div>
<div className="max-w-6xl mx-auto text-center relative z-10">
{/* Main headline */}
<div
className={`transition-all duration-1000 ${
isVisible
? "opacity-100 translate-y-0"
: "opacity-0 translate-y-10"
}`}
>
{/* <div className="mb-8">
<div className="inline-flex items-center gap-2 px-4 py-2 bg-cyan-500/10 border border-cyan-500/20 rounded-full text-cyan-400 text-sm font-medium mb-6">
<Sparkles className="w-4 h-4" />
{data.personal.title}
</div>
</div> */}
<h1 className="text-6xl md:text-8xl lg:text-9xl font-black mb-6 tracking-tighter leading-[0.9]">
<span className="bg-gradient-to-r from-white via-cyan-200 to-blue-400 bg-clip-text text-transparent">
{data.personal.nickId}{" "}
{/* First name only for large display */}
</span>
</h1>
<div className="inline-block">
<p className="text-2xl md:text-4xl font-light text-white/80 mb-4">
{data.personal.title}
</p>
<div className="h-1 bg-gradient-to-r from-cyan-500 to-blue-500 rounded-full transform origin-left scale-x-100" />
</div>
</div>
{/* Enhanced summary */}
<p className="text-xl md:text-2xl text-white/60 max-w-4xl mx-auto my-12 leading-relaxed font-light">
{data.personal.summary}
</p>
{/* Impact-focused stats */}
{/* <div className="grid grid-cols-2 lg:grid-cols-4 gap-6 mb-16 max-w-4xl mx-auto">
{impactStats.map((stat, idx) => {
const Icon = stat.icon;
return (
<div
key={idx}
className="group bg-white/5 backdrop-blur-sm border border-white/10 rounded-2xl p-6 hover:bg-white/10 transition-all duration-500 hover:scale-105 hover:border-cyan-500/30"
>
<Icon className="w-8 h-8 text-cyan-400 mb-3 group-hover:scale-110 transition-transform" />
<div className="text-2xl md:text-3xl font-bold text-cyan-400 mb-2 group-hover:scale-110 transition-transform">
{stat.value}
</div>
<div className="text-xs md:text-sm text-white/60 font-medium">
{stat.label}
</div>
</div>
);
})}
</div> */}
{/* Enhanced CTA Buttons */}
<div className="flex flex-wrap gap-4 justify-center mb-16">
<a
href={`mailto:${data.personal.email}`}
className="group flex items-center gap-3 px-8 py-4 bg-gradient-to-r from-cyan-500 to-blue-500 rounded-full font-semibold hover:shadow-2xl hover:shadow-cyan-500/50 transition-all duration-300 hover:scale-105 hover:gap-4 shadow-lg"
>
<Mail className="size-5" />
Let's Build Something Amazing
<ArrowRight className="size-5 group-hover:translate-x-1 transition-transform" />
</a>
<a
href={data.personal.github}
target="_blank"
rel="noopener noreferrer"
className="group flex items-center gap-3 px-8 py-4 bg-white/5 backdrop-blur-sm border border-white/10 rounded-full font-semibold hover:bg-white/10 transition-all duration-300 hover:scale-105 hover:border-cyan-500/30"
>
<Github className="size-5" />
Explore My Work
<ExternalLink className="size-4 opacity-60" />
</a>
</div>
{/* Trust indicators */}
<div className="flex flex-col sm:flex-row items-center justify-center gap-8 text-white/40 text-sm">
<div className="flex items-center gap-3">
<MapPin className="size-4" />
{data.personal.location}
</div>
<div className="flex items-center gap-3">
<Trophy className="size-4 text-yellow-400" />
Full-Stack Developer
</div>
{/* <div className="flex items-center gap-3">
<Users className="size-4 text-cyan-400" />
Full-Stack Developer
</div> */}
</div>
</div>
</section>
{/* Enhanced Experience Section */}
<section id="experience" className="relative py-32 px-6">
<div className="max-w-6xl mx-auto relative z-10">
<div className="flex items-center gap-4 mb-16">
<div className="p-3 bg-cyan-500/20 rounded-2xl">
<Terminal className="w-8 h-8 text-cyan-400" />
</div>
<div>
<h2 className="text-5xl font-bold bg-gradient-to-r from-white to-cyan-200 bg-clip-text text-transparent">
Professional Journey
</h2>
<p className="text-white/60 mt-2">
Where technical excellence meets business impact
</p>
</div>
</div>
<div className="space-y-6">
{data.experience.map((exp, idx) => (
<div key={idx} className="group relative">
<div className="absolute -inset-3 bg-gradient-to-r from-cyan-500/20 to-blue-500/20 rounded-2xl opacity-0 group-hover:opacity-100 blur-xl transition-all duration-500" />
<div className="relative bg-white/5 backdrop-blur-sm border border-white/10 rounded-2xl p-6 hover:border-cyan-500/50 transition-all duration-500 group-hover:scale-[1.01]">
{/* Header - More compact */}
<div className="flex flex-col lg:flex-row lg:items-start lg:justify-between gap-3 mb-4">
<div className="flex-1 min-w-0">
<div className="flex flex-wrap items-center gap-2 mb-1">
<h3 className="text-xl lg:text-2xl font-bold text-white truncate">
{exp.role}
</h3>
{idx === 0 && (
<span className="px-2 py-1 bg-yellow-500/20 border border-yellow-500/30 rounded-full text-xs text-yellow-400 font-medium whitespace-nowrap">
Current
</span>
)}
</div>
<div className="flex flex-wrap items-center gap-2 text-sm lg:text-base">
<p className="text-cyan-400 font-semibold">
{exp.company}
</p>
<span className="text-white/40">
•
</span>
<p className="text-white/60">
{exp.industry}
</p>
</div>
</div>
<span className="px-3 py-1 bg-cyan-500/10 border border-cyan-500/20 rounded-full text-xs text-cyan-400 font-medium whitespace-nowrap self-start">
{exp.period}
</span>
</div>
{/* Metrics - More compact grid */}
{exp.metrics && (
<div className="grid grid-cols-2 lg:grid-cols-3 gap-3 mb-4">
{exp.metrics.map((metric, i) => (
<div
key={i}
className="bg-white/5 rounded-lg p-3 hover:bg-white/10 transition-colors group/metric text-center"
>
<div className="text-lg font-bold text-cyan-400 group-hover/metric:scale-105 transition-transform">
{metric.value}
</div>
<div className="text-xs text-white/50 font-medium mt-1">
{metric.label}
</div>
</div>
))}
</div>
)}
{/* Highlights - More compact list */}
<div className="space-y-2 mb-4">
{exp.highlights.map((highlight, i) => (
<div
key={i}
className="flex items-start gap-3 p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-all duration-300 group/highlight"
>
<div className="p-1.5 bg-cyan-500/20 rounded-md group-hover/highlight:scale-110 transition-transform flex-shrink-0 mt-0.5">
<Zap className="w-3 h-3 text-cyan-400" />
</div>
<p className="text-white/80 text-sm leading-relaxed group-hover/highlight:text-white transition-colors">
{highlight}
</p>
</div>
))}
</div>
{/* Tags - More compact */}
<div className="flex flex-wrap gap-1.5">
{exp.tags.map((tag) => (
<span
key={tag}
className="px-2.5 py-1 bg-cyan-500/10 border border-cyan-500/20 rounded-full text-xs text-cyan-400 font-medium hover:bg-cyan-500/20 transition-all duration-300 hover:scale-105"
>
{tag}
</span>
))}
</div>
</div>
</div>
))}
</div>
</div>
</section>
{/* Enhanced Projects Section */}
<section
id="projects"
className="relative py-32 px-6 bg-gradient-to-b from-transparent via-white/5 to-transparent"
>
<div className="max-w-6xl mx-auto relative z-10">
<div className="flex items-center gap-4 mb-16">
<div className="p-3 bg-purple-500/20 rounded-2xl">
<Code2 className="w-8 h-8 text-purple-400" />
</div>
<div>
<h2 className="text-5xl font-bold bg-gradient-to-r from-white to-purple-200 bg-clip-text text-transparent">
Featured Projects
</h2>
<p className="text-white/60 mt-2">
From concept to production-scale solutions
</p>
</div>
</div>
<div className="grid lg:grid-cols-2 gap-8">
{data.projects.map((project, idx) => (
<div key={idx} className="group relative">
<div className="absolute -inset-4 bg-gradient-to-r from-purple-500/20 to-cyan-500/20 rounded-3xl opacity-0 group-hover:opacity-100 blur-xl transition-all duration-500" />
<div className="relative bg-white/5 backdrop-blur-sm border border-white/10 rounded-3xl p-8 hover:border-purple-500/50 transition-all duration-500 group-hover:scale-[1.02] h-full flex flex-col">
{project.featured && (
<div className="absolute -top-3 -right-3 bg-gradient-to-r from-yellow-400 to-orange-400 rounded-full p-3 shadow-lg animate-pulse">
<Star className="w-5 h-5 text-black" />
</div>
)}
<h3 className="text-3xl font-bold mb-3">
{project.name}
</h3>
<p className="text-cyan-400 text-lg font-semibold mb-4">
{project.tagline}
</p>
<p className="text-white/70 mb-6 leading-relaxed flex-1">
{project.description}
</p>
{/* Enhanced Tech stack */}
<div className="flex flex-wrap gap-2 mb-6">
{project.tech.map((tech) => (
<span
key={tech}
className="px-3 py-2 bg-white/5 border border-white/10 rounded-full text-sm text-white/70 hover:border-cyan-400/50 hover:bg-cyan-400/10 hover:scale-105 transition-all duration-300"
>
{tech}
</span>
))}
</div>
{/* Project Highlights */}
{project.highlights && (
<div className="space-y-2 mb-6">
{project.highlights.map(
(highlight, i) => (
<div
key={i}
className="flex items-start gap-2"
>
<Zap className="w-4 h-4 text-cyan-400 flex-shrink-0 mt-1" />
<p className="text-white/60 text-sm leading-relaxed">
{highlight}
</p>
</div>
)
)}
</div>
)}
{/* Enhanced Links */}
<div className="flex gap-4 mt-auto pt-4 border-t border-white/10">
{project.link &&
project.link !== "#" && (
<a
href={project.link}
target="_blank"
rel="noopener noreferrer"
className="flex items-center gap-2 text-cyan-400 hover:text-cyan-300 transition-all duration-300 hover:gap-3 font-semibold group/link"
>
<ExternalLink className="w-4 h-4 group-hover/link:scale-110 transition-transform" />
<span className="text-sm">
Live Demo
</span>
</a>
)}
{project.github && (
<a
href={project.github}
target="_blank"
rel="noopener noreferrer"
className="flex items-center gap-2 text-white/60 hover:text-white transition-all duration-300 hover:gap-3 font-semibold group/link"
>
<Github className="w-4 h-4 group-hover/link:scale-110 transition-transform" />
<span className="text-sm">
Source Code
</span>
</a>
)}
</div>
</div>
</div>
))}
</div>
</div>
</section>
{/* Enhanced Skills Section */}
<section id="skills" className="relative py-32 px-6">
<div className="max-w-6xl mx-auto relative z-10">
<div className="text-center mb-16">
<h2 className="text-5xl font-bold bg-gradient-to-r from-white to-cyan-200 bg-clip-text text-transparent mb-4">
Technical Arsenal
</h2>
<p className="text-xl text-white/60 max-w-2xl mx-auto">
Mastering the tools and technologies that power
modern software development
</p>
</div>
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
{Object.entries(data.skills).map(
([category, skills]) => (
<div
key={category}
className="group bg-white/5 backdrop-blur-sm border border-white/10 rounded-3xl p-6 hover:bg-white/10 transition-all duration-500 hover:scale-105 hover:border-cyan-500/30"
>
<div className="flex items-center gap-3 mb-4">
<div className="p-2 bg-cyan-500/20 rounded-lg group-hover:scale-110 transition-transform">
<SkillIcon category={category} />
</div>
<h3 className="text-xl font-bold text-cyan-400 capitalize">
{category
.replace(/([A-Z])/g, " $1")
.trim()}
</h3>
</div>
<div className="flex flex-wrap gap-2">
{skills.map((skill) => (
<span
key={skill}
className="px-3 py-2 bg-white/5 border border-white/10 rounded-full text-sm text-white/80 hover:border-cyan-400/50 hover:bg-cyan-400/10 hover:scale-105 transition-all duration-300"
>
{skill}
</span>
))}
</div>
</div>
)
)}
</div>
</div>
</section>
{/* Enhanced Contact Section */}
<section id="contact" className="relative py-32 px-6">
<div className="max-w-4xl mx-auto text-center relative z-10">
<div className="inline-flex items-center gap-3 px-6 py-3 bg-cyan-500/20 border border-cyan-500/30 rounded-full mb-8 hover:scale-105 transition-transform cursor-pointer">
<div className="size-2 bg-cyan-400 rounded-full animate-pulse" />
<span className="text-cyan-400 font-medium">
Let's Connect & Build
</span>
</div>
<h2 className="text-6xl font-bold mb-6 bg-gradient-to-r from-white to-cyan-200 bg-clip-text text-transparent">
Ready to Build the Future?
</h2>
<p className="text-xl text-white/60 mb-12 max-w-2xl mx-auto leading-relaxed">
I'm currently available for challenging engineering
roles, ambitious projects, and opportunities to drive
technical innovation. Let's create something
extraordinary together.
</p>
<div className="flex flex-col sm:flex-row gap-4 justify-center mb-16">
<a
href={`mailto:${data.personal.email}`}
className="group flex items-center justify-center gap-3 px-8 py-4 bg-gradient-to-r from-cyan-500 to-blue-500 rounded-full font-semibold hover:shadow-2xl hover:shadow-cyan-500/50 transition-all duration-300 hover:scale-105 hover:gap-4 shadow-lg"
>
<Mail className="w-5 h-5" />
Start a Conversation
<ArrowRight className="w-5 h-5 group-hover:translate-x-1 transition-transform" />
</a>
<a
href={data.personal.linkedin}
target="_blank"
rel="noopener noreferrer"
className="group flex items-center justify-center gap-3 px-8 py-4 bg-white/5 backdrop-blur-sm border border-white/10 rounded-full font-semibold hover:bg-white/10 transition-all duration-300 hover:scale-105 hover:border-cyan-500/30"
>
<Linkedin className="w-5 h-5" />
Professional Network
<ExternalLink className="w-4 h-4 opacity-60" />
</a>
</div>
{/* Enhanced Contact info */}
<div className="grid md:grid-cols-3 gap-6 max-w-2xl mx-auto">
{[
{ icon: MapPin, text: data.personal.location },
{ icon: Phone, text: data.personal.phone },
{ icon: Mail, text: data.personal.email },
].map((item, idx) => (
<div
key={idx}
className="flex items-center justify-center gap-3 p-4 bg-white/5 rounded-2xl hover:bg-white/10 transition-all duration-300 hover:scale-105 group"
>
<item.icon className="w-5 h-5 text-cyan-400 group-hover:scale-110 transition-transform" />
<span className="text-white/80">
{item.text}
</span>
</div>
))}
</div>
</div>
</section>
{/* Enhanced Footer */}
<footer className="relative border-t border-white/10 py-12 px-6 bg-gradient-to-t from-black to-transparent">
<div className="max-w-6xl mx-auto">
<div className="flex flex-col lg:flex-row justify-between items-center gap-6">
<div className="text-center lg:text-left">
<p className="text-white/60 text-lg">
© {new Date().getFullYear()}{" "}
{data.personal.nickId}
</p>
<p className="text-white/40 text-sm mt-2">
Crafting scalable, impactful software solutions
</p>
</div>
<div className="flex gap-6">
{[
{ icon: Github, href: data.personal.github },
{
icon: Linkedin,
href: data.personal.linkedin,
},
{
icon: Mail,
href: `mailto:${data.personal.email}`,
},
].map((social, idx) => (
<a
key={idx}
href={social.href}
target={
social.href.startsWith("http")
? "_blank"
: undefined
}
rel={
social.href.startsWith("http")
? "noopener noreferrer"
: undefined
}
className="text-white/40 hover:text-cyan-400 transition-all duration-300 p-3 hover:bg-white/5 rounded-xl hover:scale-110"
>
<social.icon className="w-6 h-6" />
</a>
))}
</div>
</div>
<div className="text-center mt-8 pt-6 border-t border-white/10">
<p className="text-white/30 text-sm">
Built with passion and cutting-edge technology
</p>
</div>
</div>
</footer>
</div>
);
}