Spaces:
Sleeping
Sleeping
Upload components/Hero.js with huggingface_hub
Browse files- components/Hero.js +22 -0
components/Hero.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export default function Hero() {
|
| 2 |
+
return (
|
| 3 |
+
<section className="text-center py-16 md:py-24">
|
| 4 |
+
<h1 className="text-4xl md:text-6xl font-extrabold text-gray-900 dark:text-white mb-6 tracking-tight">
|
| 5 |
+
Build Amazing Web Apps
|
| 6 |
+
<span className="block text-primary-500 mt-2">With Next.js & Tailwind</span>
|
| 7 |
+
</h1>
|
| 8 |
+
<p className="text-lg md:text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto mb-8">
|
| 9 |
+
A powerful, responsive starter template to kickstart your next project.
|
| 10 |
+
Featuring modern design patterns and optimized performance.
|
| 11 |
+
</p>
|
| 12 |
+
<div className="flex justify-center gap-4">
|
| 13 |
+
<button className="bg-primary-600 hover:bg-primary-700 text-white font-semibold py-3 px-8 rounded-full shadow-lg transition-transform transform hover:-translate-y-1">
|
| 14 |
+
Get Started
|
| 15 |
+
</button>
|
| 16 |
+
<button className="bg-white dark:bg-gray-800 text-gray-700 dark:text-gray-300 font-semibold py-3 px-8 rounded-full shadow-md border border-gray-200 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors">
|
| 17 |
+
Learn More
|
| 18 |
+
</button>
|
| 19 |
+
</div>
|
| 20 |
+
</section>
|
| 21 |
+
);
|
| 22 |
+
}
|