Spaces:
Build error
Build error
Upload components/Hero.jsx with huggingface_hub
Browse files- components/Hero.jsx +75 -0
components/Hero.jsx
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { ArrowDown, Download } from 'lucide-react';
|
| 2 |
+
|
| 3 |
+
export default function Hero() {
|
| 4 |
+
return (
|
| 5 |
+
<section className="min-h-screen flex items-center justify-center bg-gradient-to-br from-gray-50 via-white to-primary-50 pt-16">
|
| 6 |
+
<div className="section-container text-center animate-slide-up">
|
| 7 |
+
{/* Profile Image Placeholder */}
|
| 8 |
+
<div className="relative mx-auto mb-8 w-32 h-32 sm:w-40 sm:h-40">
|
| 9 |
+
<div className="absolute inset-0 rounded-full bg-gradient-to-br from-primary-400 to-primary-600 animate-pulse"></div>
|
| 10 |
+
<div className="absolute inset-1 rounded-full bg-white flex items-center justify-center">
|
| 11 |
+
<span className="text-4xl sm:text-5xl font-bold text-primary-600">JD</span>
|
| 12 |
+
</div>
|
| 13 |
+
</div>
|
| 14 |
+
|
| 15 |
+
{/* Name and Title */}
|
| 16 |
+
<h1 className="text-4xl sm:text-5xl md:text-6xl font-bold text-gray-900 mb-4">
|
| 17 |
+
John Doe
|
| 18 |
+
</h1>
|
| 19 |
+
<p className="text-xl sm:text-2xl text-primary-600 font-medium mb-6">
|
| 20 |
+
Full Stack Developer & UI/UX Designer
|
| 21 |
+
</p>
|
| 22 |
+
<p className="max-w-2xl mx-auto text-lg text-gray-600 mb-8 leading-relaxed">
|
| 23 |
+
Passionate about creating beautiful, functional, and user-centered digital experiences.
|
| 24 |
+
Specialized in building modern web applications with cutting-edge technologies.
|
| 25 |
+
</p>
|
| 26 |
+
|
| 27 |
+
{/* CTA Buttons */}
|
| 28 |
+
<div className="flex flex-col sm:flex-row items-center justify-center gap-4 mb-12">
|
| 29 |
+
<a href="#projects" className="btn-primary w-full sm:w-auto">
|
| 30 |
+
View My Work
|
| 31 |
+
</a>
|
| 32 |
+
<a href="#contact" className="btn-secondary w-full sm:w-auto">
|
| 33 |
+
Get In Touch
|
| 34 |
+
</a>
|
| 35 |
+
</div>
|
| 36 |
+
|
| 37 |
+
{/* Stats */}
|
| 38 |
+
<div className="grid grid-cols-3 gap-8 max-w-md mx-auto mb-12">
|
| 39 |
+
<div>
|
| 40 |
+
<div className="text-3xl font-bold text-gray-900">5+</div>
|
| 41 |
+
<div className="text-sm text-gray-600">Years Experience</div>
|
| 42 |
+
</div>
|
| 43 |
+
<div>
|
| 44 |
+
<div className="text-3xl font-bold text-gray-900">50+</div>
|
| 45 |
+
<div className="text-sm text-gray-600">Projects Completed</div>
|
| 46 |
+
</div>
|
| 47 |
+
<div>
|
| 48 |
+
<div className="text-3xl font-bold text-gray-900">30+</div>
|
| 49 |
+
<div className="text-sm text-gray-600">Happy Clients</div>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
|
| 53 |
+
{/* Built with anycoder */}
|
| 54 |
+
<a
|
| 55 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 56 |
+
target="_blank"
|
| 57 |
+
rel="noopener noreferrer"
|
| 58 |
+
className="inline-flex items-center gap-2 text-sm text-gray-500 hover:text-primary-600 transition-colors"
|
| 59 |
+
>
|
| 60 |
+
<span>Built with</span>
|
| 61 |
+
<span className="font-semibold underline decoration-primary-400 underline-offset-2">anycoder</span>
|
| 62 |
+
</a>
|
| 63 |
+
|
| 64 |
+
{/* Scroll Indicator */}
|
| 65 |
+
<a
|
| 66 |
+
href="#about"
|
| 67 |
+
className="absolute bottom-8 left-1/2 -translate-x-1/2 text-gray-400 hover:text-primary-600 transition-colors animate-bounce"
|
| 68 |
+
aria-label="Scroll down"
|
| 69 |
+
>
|
| 70 |
+
<ArrowDown className="w-6 h-6" />
|
| 71 |
+
</a>
|
| 72 |
+
</div>
|
| 73 |
+
</section>
|
| 74 |
+
);
|
| 75 |
+
}
|