|
| 1 | +import { motion } from "framer-motion"; |
| 2 | +import { Database, FileJson, FileSpreadsheet, FileText, Globe, Share2 } from "lucide-react"; |
| 3 | +import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card"; |
| 4 | + |
| 5 | +export const DataFreedomFeature = () => { |
| 6 | + return ( |
| 7 | + <div className="relative h-full w-full bg-zinc-900/50 rounded-3xl border border-white/5 overflow-hidden flex flex-col items-center justify-center p-8 pointer-events-none select-none"> |
| 8 | + <div className="w-full max-w-[320px] shadow-2xl relative z-20 hover:scale-[1.02] transition-transform duration-500"> |
| 9 | + <Card className="bg-zinc-950/40 backdrop-blur-md border border-white/10 overflow-hidden relative group shadow-xl"> |
| 10 | + <CardHeader className="p-3 pb-2 flex flex-row items-center justify-between border-b border-white/5"> |
| 11 | + <div className="flex items-center gap-2"> |
| 12 | + <CardTitle className="text-[10px] uppercase tracking-wider font-bold flex items-center gap-1.5 text-zinc-400"> |
| 13 | + <Database className="w-3 h-3 text-sky-500" /> |
| 14 | + Data Freedom |
| 15 | + </CardTitle> |
| 16 | + </div> |
| 17 | + <Share2 className="w-3 h-3 text-zinc-600" /> |
| 18 | + </CardHeader> |
| 19 | + <CardContent className="p-6 h-[160px] flex items-center justify-center relative"> |
| 20 | + {/* Orbit Rings */} |
| 21 | + <div className="absolute inset-0 flex items-center justify-center"> |
| 22 | + <div className="w-32 h-32 rounded-full border border-white/5" /> |
| 23 | + <div className="absolute w-20 h-20 rounded-full border border-white/5" /> |
| 24 | + </div> |
| 25 | + |
| 26 | + {/* Central Hub */} |
| 27 | + <div className="relative z-10 w-12 h-12 bg-zinc-900 rounded-full border border-sky-500/30 flex items-center justify-center shadow-[0_0_15px_rgba(14,165,233,0.3)]"> |
| 28 | + <Database className="w-5 h-5 text-sky-400" /> |
| 29 | + </div> |
| 30 | + |
| 31 | + {/* Orbiting Icons */} |
| 32 | + <motion.div |
| 33 | + className="absolute w-32 h-32" |
| 34 | + animate={{ rotate: 360 }} |
| 35 | + transition={{ duration: 20, repeat: Infinity, ease: "linear" }} |
| 36 | + > |
| 37 | + <div className="absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-zinc-900 p-1.5 rounded-full border border-white/10 group-hover:border-sky-500/50 transition-colors"> |
| 38 | + <FileJson className="w-3 h-3 text-zinc-400" /> |
| 39 | + </div> |
| 40 | + <div className="absolute bottom-0 left-1/2 -translate-x-1/2 translate-y-1/2 bg-zinc-900 p-1.5 rounded-full border border-white/10 group-hover:border-sky-500/50 transition-colors"> |
| 41 | + <FileSpreadsheet className="w-3 h-3 text-zinc-400" /> |
| 42 | + </div> |
| 43 | + </motion.div> |
| 44 | + |
| 45 | + <motion.div |
| 46 | + className="absolute w-20 h-20" |
| 47 | + animate={{ rotate: -360 }} |
| 48 | + transition={{ duration: 15, repeat: Infinity, ease: "linear" }} |
| 49 | + > |
| 50 | + <div className="absolute top-1/2 right-0 translate-x-1/2 -translate-y-1/2 bg-zinc-900 p-1.5 rounded-full border border-white/10 group-hover:border-sky-500/50 transition-colors"> |
| 51 | + <FileText className="w-3 h-3 text-zinc-400" /> |
| 52 | + </div> |
| 53 | + <div className="absolute top-1/2 left-0 -translate-x-1/2 -translate-y-1/2 bg-zinc-900 p-1.5 rounded-full border border-white/10 group-hover:border-sky-500/50 transition-colors"> |
| 54 | + <Globe className="w-3 h-3 text-zinc-400" /> |
| 55 | + </div> |
| 56 | + </motion.div> |
| 57 | + </CardContent> |
| 58 | + </Card> |
| 59 | + </div> |
| 60 | + |
| 61 | + <div className="text-center relative z-10 w-full mt-8"> |
| 62 | + <h3 className="text-2xl font-bold text-white mb-2">Data Freedom</h3> |
| 63 | + <p className="text-zinc-400 leading-relaxed">Export anything. Sync everywhere.</p> |
| 64 | + </div> |
| 65 | + </div> |
| 66 | + ); |
| 67 | +}; |
0 commit comments