BSJ2004 commited on
Commit
9b65ca8
·
verified ·
1 Parent(s): 65783d9

Upload components/Hero.jsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/Hero.jsx +100 -0
components/Hero.jsx ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { motion } from 'framer-motion';
2
+ import { ArrowRight, Zap, Layers, Brain } from 'lucide-react';
3
+
4
+ export default function Hero() {
5
+ return (
6
+ <section className="relative min-h-screen flex items-center justify-center overflow-hidden bg-slate-900 pt-20">
7
+ {/* Background Elements */}
8
+ <div className="absolute inset-0 overflow-hidden">
9
+ <div className="absolute -top-[30%] -left-[10%] w-[70%] h-[70%] rounded-full bg-purple-600/20 blur-[120px] animate-float"></div>
10
+ <div className="absolute top-[20%] -right-[10%] w-[60%] h-[60%] rounded-full bg-blue-600/20 blur-[100px] animate-float" style={{ animationDelay: '2s' }}></div>
11
+ <div className="absolute -bottom-[20%] left-[20%] w-[50%] h-[50%] rounded-full bg-cyan-600/20 blur-[90px] animate-float" style={{ animationDelay: '4s' }}></div>
12
+ </div>
13
+
14
+ <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-center">
15
+ <motion.div
16
+ initial={{ opacity: 0, y: 20 }}
17
+ animate={{ opacity: 1, y: 0 }}
18
+ transition={{ duration: 0.8 }}
19
+ >
20
+ <div className="inline-block mb-6 px-4 py-2 rounded-full bg-slate-800/50 border border-slate-700 backdrop-blur-sm">
21
+ <span className="text-cyan-400 font-medium text-sm flex items-center gap-2">
22
+ <Zap size={16} />
23
+ Next-Gen AI Experience
24
+ </span>
25
+ </div>
26
+
27
+ <h1 className="text-5xl md:text-7xl lg:text-8xl font-bold text-white mb-8 tracking-tight">
28
+ <span className="block">AI-Powered</span>
29
+ <span className="bg-clip-text text-transparent bg-gradient-to-r from-blue-400 via-purple-400 to-cyan-400">
30
+ 3D Scrolling
31
+ </span>
32
+ </h1>
33
+
34
+ <p className="text-xl md:text-2xl text-slate-400 mb-10 max-w-3xl mx-auto leading-relaxed">
35
+ Experience the future of web interaction with our cutting-edge AI-driven 3D scrolling technology.
36
+ Seamlessly blend reality with digital innovation.
37
+ </p>
38
+
39
+ <div className="flex flex-col sm:flex-row items-center justify-center gap-4">
40
+ <button className="w-full sm:w-auto px-8 py-4 bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white rounded-xl font-bold text-lg transition-all duration-200 transform hover:scale-105 shadow-lg shadow-purple-500/30 flex items-center justify-center gap-2">
41
+ Start Scrolling
42
+ <ArrowRight size={20} />
43
+ </button>
44
+ <button className="w-full sm:w-auto px-8 py-4 bg-slate-800 hover:bg-slate-700 text-white rounded-xl font-bold text-lg transition-all duration-200 border border-slate-700 flex items-center justify-center gap-2">
45
+ View Demo
46
+ </button>
47
+ </div>
48
+ </motion.div>
49
+
50
+ {/* Features Grid */}
51
+ <motion.div
52
+ className="grid grid-cols-1 md:grid-cols-3 gap-8 mt-24"
53
+ initial={{ opacity: 0, y: 40 }}
54
+ animate={{ opacity: 1, y: 0 }}
55
+ transition={{ duration: 0.8, delay: 0.4 }}
56
+ >
57
+ {[
58
+ {
59
+ icon: <Brain className="w-8 h-8 text-purple-400" />,
60
+ title: "AI-Powered",
61
+ description: "Advanced neural networks power our scrolling experience"
62
+ },
63
+ {
64
+ icon: <Layers className="w-8 h-8 text-blue-400" />,
65
+ title: "3D Depth",
66
+ description: "Immersive three-dimensional interface for enhanced engagement"
67
+ },
68
+ {
69
+ icon: <Zap className="w-8 h-8 text-cyan-400" />,
70
+ title: "Real-Time",
71
+ description: "Instant responses with lightning-fast performance"
72
+ }
73
+ ].map((feature, index) => (
74
+ <div
75
+ key={index}
76
+ className="p-6 rounded-2xl bg-slate-800/30 border border-slate-700 backdrop-blur-sm hover:bg-slate-800/50 transition-all duration-300 hover:shadow-xl hover:shadow-purple-500/10"
77
+ >
78
+ <div className="w-14 h-14 rounded-xl bg-slate-900/50 flex items-center justify-center mb-4">
79
+ {feature.icon}
80
+ </div>
81
+ <h3 className="text-xl font-bold text-white mb-2">{feature.title}</h3>
82
+ <p className="text-slate-400">{feature.description}</p>
83
+ </div>
84
+ ))}
85
+ </motion.div>
86
+ </div>
87
+
88
+ {/* Scroll Indicator */}
89
+ <motion.div
90
+ className="absolute bottom-10 left-1/2 transform -translate-x-1/2"
91
+ animate={{ y: [0, 10, 0] }}
92
+ transition={{ duration: 2, repeat: Infinity }}
93
+ >
94
+ <div className="w-6 h-10 border-2 border-slate-500 rounded-full flex justify-center p-1">
95
+ <div className="w-1 h-2 bg-slate-400 rounded-full animate-bounce"></div>
96
+ </div>
97
+ </motion.div>
98
+ </section>
99
+ );
100
+ }