Spaces:
Build error
Build error
| import { motion } from 'framer-motion'; | |
| import { Code, Cpu, Layers, Zap, Globe, Shield } from 'lucide-react'; | |
| export default function Features() { | |
| const features = [ | |
| { | |
| icon: <Cpu className="w-10 h-10 text-purple-400" />, | |
| title: "Neural Processing", | |
| description: "Our AI engine analyzes user behavior to create personalized scrolling experiences in real-time." | |
| }, | |
| { | |
| icon: <Layers className="w-10 h-10 text-blue-400" />, | |
| title: "3D Depth Perception", | |
| description: "Advanced parallax effects create an immersive environment that responds to your movements." | |
| }, | |
| { | |
| icon: <Zap className="w-10 h-10 text-cyan-400" />, | |
| title: "Lightning Fast", | |
| description: "Optimized rendering engine ensures smooth performance even with complex 3D scenes." | |
| }, | |
| { | |
| icon: <Globe className="w-10 h-10 text-emerald-400" />, | |
| title: "Global Infrastructure", | |
| description: "Edge computing network delivers content from the nearest server for minimal latency." | |
| }, | |
| { | |
| icon: <Shield className="w-10 h-10 text-rose-400" />, | |
| title: "Privacy First", | |
| description: "Advanced encryption ensures your data remains secure while experiencing our 3D interfaces." | |
| }, | |
| { | |
| icon: <Code className="w-10 h-10 text-amber-400" />, | |
| title: "Developer Friendly", | |
| description: "Easy-to-integrate SDKs and comprehensive documentation for seamless implementation." | |
| } | |
| ]; | |
| return ( | |
| <section id="features" className="py-24 bg-slate-900 relative overflow-hidden"> | |
| <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div className="text-center mb-20"> | |
| <motion.h2 | |
| className="text-4xl md:text-5xl font-bold text-white mb-6" | |
| initial={{ opacity: 0, y: 20 }} | |
| whileInView={{ opacity: 1, y: 0 }} | |
| viewport={{ once: true }} | |
| > | |
| Advanced <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-400 to-purple-400">AI Features</span> | |
| </motion.h2> | |
| <motion.p | |
| className="text-xl text-slate-400 max-w-3xl mx-auto" | |
| initial={{ opacity: 0, y: 20 }} | |
| whileInView={{ opacity: 1, y: 0 }} | |
| viewport={{ once: true }} | |
| transition={{ delay: 0.2 }} | |
| > | |
| Experience the next evolution of web interaction with our cutting-edge AI-powered 3D scrolling technology. | |
| </motion.p> | |
| </div> | |
| <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| {features.map((feature, index) => ( | |
| <motion.div | |
| key={index} | |
| 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" | |
| initial={{ opacity: 0, y: 40 }} | |
| whileInView={{ opacity: 1, y: 0 }} | |
| viewport={{ once: true }} | |
| transition={{ delay: index * 0.1 }} | |
| > | |
| <div className="w-16 h-16 rounded-2xl bg-slate-900/50 flex items-center justify-center mb-6"> | |
| {feature.icon} | |
| </div> | |
| <h3 className="text-2xl font-bold text-white mb-3">{feature.title}</h3> | |
| <p className="text-slate-400 leading-relaxed">{feature.description}</p> | |
| </motion.div> | |
| ))} | |
| </div> | |
| </div> | |
| </section> | |
| ); | |
| } |