Spaces:
Build error
Build error
Upload components/Features.jsx with huggingface_hub
Browse files- components/Features.jsx +82 -0
components/Features.jsx
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { motion } from 'framer-motion';
|
| 2 |
+
import { Code, Cpu, Layers, Zap, Globe, Shield } from 'lucide-react';
|
| 3 |
+
|
| 4 |
+
export default function Features() {
|
| 5 |
+
const features = [
|
| 6 |
+
{
|
| 7 |
+
icon: <Cpu className="w-10 h-10 text-purple-400" />,
|
| 8 |
+
title: "Neural Processing",
|
| 9 |
+
description: "Our AI engine analyzes user behavior to create personalized scrolling experiences in real-time."
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
icon: <Layers className="w-10 h-10 text-blue-400" />,
|
| 13 |
+
title: "3D Depth Perception",
|
| 14 |
+
description: "Advanced parallax effects create an immersive environment that responds to your movements."
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
icon: <Zap className="w-10 h-10 text-cyan-400" />,
|
| 18 |
+
title: "Lightning Fast",
|
| 19 |
+
description: "Optimized rendering engine ensures smooth performance even with complex 3D scenes."
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
icon: <Globe className="w-10 h-10 text-emerald-400" />,
|
| 23 |
+
title: "Global Infrastructure",
|
| 24 |
+
description: "Edge computing network delivers content from the nearest server for minimal latency."
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
icon: <Shield className="w-10 h-10 text-rose-400" />,
|
| 28 |
+
title: "Privacy First",
|
| 29 |
+
description: "Advanced encryption ensures your data remains secure while experiencing our 3D interfaces."
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
icon: <Code className="w-10 h-10 text-amber-400" />,
|
| 33 |
+
title: "Developer Friendly",
|
| 34 |
+
description: "Easy-to-integrate SDKs and comprehensive documentation for seamless implementation."
|
| 35 |
+
}
|
| 36 |
+
];
|
| 37 |
+
|
| 38 |
+
return (
|
| 39 |
+
<section id="features" className="py-24 bg-slate-900 relative overflow-hidden">
|
| 40 |
+
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 41 |
+
<div className="text-center mb-20">
|
| 42 |
+
<motion.h2
|
| 43 |
+
className="text-4xl md:text-5xl font-bold text-white mb-6"
|
| 44 |
+
initial={{ opacity: 0, y: 20 }}
|
| 45 |
+
whileInView={{ opacity: 1, y: 0 }}
|
| 46 |
+
viewport={{ once: true }}
|
| 47 |
+
>
|
| 48 |
+
Advanced <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-400 to-purple-400">AI Features</span>
|
| 49 |
+
</motion.h2>
|
| 50 |
+
<motion.p
|
| 51 |
+
className="text-xl text-slate-400 max-w-3xl mx-auto"
|
| 52 |
+
initial={{ opacity: 0, y: 20 }}
|
| 53 |
+
whileInView={{ opacity: 1, y: 0 }}
|
| 54 |
+
viewport={{ once: true }}
|
| 55 |
+
transition={{ delay: 0.2 }}
|
| 56 |
+
>
|
| 57 |
+
Experience the next evolution of web interaction with our cutting-edge AI-powered 3D scrolling technology.
|
| 58 |
+
</motion.p>
|
| 59 |
+
</div>
|
| 60 |
+
|
| 61 |
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 62 |
+
{features.map((feature, index) => (
|
| 63 |
+
<motion.div
|
| 64 |
+
key={index}
|
| 65 |
+
className="p-8 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"
|
| 66 |
+
initial={{ opacity: 0, y: 40 }}
|
| 67 |
+
whileInView={{ opacity: 1, y: 0 }}
|
| 68 |
+
viewport={{ once: true }}
|
| 69 |
+
transition={{ delay: index * 0.1 }}
|
| 70 |
+
>
|
| 71 |
+
<div className="w-16 h-16 rounded-2xl bg-slate-900/50 flex items-center justify-center mb-6">
|
| 72 |
+
{feature.icon}
|
| 73 |
+
</div>
|
| 74 |
+
<h3 className="text-2xl font-bold text-white mb-3">{feature.title}</h3>
|
| 75 |
+
<p className="text-slate-400 leading-relaxed">{feature.description}</p>
|
| 76 |
+
</motion.div>
|
| 77 |
+
))}
|
| 78 |
+
</div>
|
| 79 |
+
</div>
|
| 80 |
+
</section>
|
| 81 |
+
);
|
| 82 |
+
}
|