| // src/components/home/FeaturesSection.tsx | |
| import { useState, useRef } from "react"; | |
| import { motion, useInView, AnimatePresence } from "framer-motion"; | |
| import { | |
| Shield, Zap, TrendingUp, Users, Globe, Award, | |
| BookOpen, MessageCircle, Video, Calendar, | |
| Download, Heart, Eye, Sparkles, Rocket, | |
| Brain, Microscope, FlaskConical, GraduationCap, | |
| BarChart3, Lock, Cloud, Database, GitBranch | |
| } from "lucide-react"; | |
| import { Link } from "react-router-dom"; | |
| interface Feature { | |
| icon: any; | |
| title: string; | |
| description: string; | |
| color: string; | |
| badge?: string; | |
| comingSoon?: boolean; | |
| popular?: boolean; | |
| link?: string; | |
| } | |
| interface FeaturesSectionProps { | |
| title?: string; | |
| subtitle?: string; | |
| variant?: "default" | "grid" | "cards" | "minimal" | "compact" | "showcase"; | |
| columns?: 2 | 3 | 4; | |
| showCta?: boolean; | |
| ctaText?: string; | |
| ctaLink?: string; | |
| animate?: boolean; | |
| showBadges?: boolean; | |
| } | |
| const defaultFeatures: Feature[] = [ | |
| { | |
| icon: Shield, | |
| title: "Military-Grade Encrypted Workspace", | |
| description: "Experience total privacy with our zero-knowledge architecture. Every conversation, shared dataset, and drafted manuscript is protected by the Double Ratchet algorithm and X3DH key agreement. We ensure your intellectual property remains exclusively yours until you decide to publish it.", | |
| color: "from-indigo-500 to-purple-500", | |
| badge: "Maximum Security", | |
| link: "/inbox" | |
| }, | |
| { | |
| icon: Zap, | |
| title: "Intelligent Authoring & LaTeX Studio", | |
| description: "Write flawless manuscripts with our next-generation editor. Featuring real-time LaTeX compilation, dynamic citation auto-formatting, and interactive math blocks. Our AI-assisted autocomplete suggests relevant references as you type, dramatically reducing the time spent formatting.", | |
| color: "from-amber-500 to-orange-500", | |
| popular: true, | |
| link: "/authoring-studio" | |
| }, | |
| { | |
| icon: TrendingUp, | |
| title: "Real-time Impact Analytics Dashboard", | |
| description: "Move beyond traditional metrics. Monitor your research impact live with interactive global heatmaps tracking downloads, citations, social media mentions, and peer engagement. Understand precisely how your work is shaping discussions across the global scientific community.", | |
| color: "from-emerald-400 to-teal-500", | |
| link: "/analytics" | |
| }, | |
| { | |
| icon: Users, | |
| title: "Decentralized Research Communities", | |
| description: "Forge cross-disciplinary alliances. Build or join specialized hubs where researchers share raw datasets, debate methodologies, and co-author papers synchronously. Overcome geographical barriers and accelerate scientific discovery through unhindered global collaboration.", | |
| color: "from-blue-500 to-cyan-500", | |
| link: "/groups" | |
| }, | |
| { | |
| icon: Globe, | |
| title: "Absolute Open Access Protocol", | |
| description: "We believe knowledge belongs to humanity. Publish your findings instantly without exorbitant processing charges or restrictive paywalls. Our platform guarantees lifetime public availability, ensuring maximum visibility and democratic access to your hard-earned research.", | |
| color: "from-teal-500 to-emerald-500", | |
| link: "/open-access" | |
| }, | |
| { | |
| icon: Award, | |
| title: "Dynamic Citation & Graph Network", | |
| description: "Visualize the DNA of your research. Explore interactive, 3D citation graphs that map the influence of your work across different scientific domains. Instantly see who is building upon your theories and track the lineage of interconnected ideas.", | |
| color: "from-yellow-400 to-amber-500", | |
| link: "/citation-graph" | |
| }, | |
| { | |
| icon: Brain, | |
| title: "Onyx AI Scientific Co-Pilot", | |
| description: "Supercharge your literature review with Onyx, our proprietary AI model. Utilizing advanced RAG engines, Onyx synthesizes thousands of papers instantly, highlights contradiction in existing literature, and proactively recommends breakthrough methodologies tailored to your specific project.", | |
| color: "from-fuchsia-500 to-pink-500", | |
| link: "/recommendations", | |
| badge: "New AI" | |
| }, | |
| { | |
| icon: Video, | |
| title: "High-Fidelity Academic Conferencing", | |
| description: "Host seamless virtual seminars and lab meetings. Our platform supports 4K peer-to-peer video, interactive whiteboarding for complex equations, and real-time transcription. Perfect for international dissertation defenses and grant proposal reviews.", | |
| color: "from-rose-500 to-red-500", | |
| link: "/conference" | |
| }, | |
| { | |
| icon: Database, | |
| title: "Immutable Data Repository & DOIs", | |
| description: "Never lose raw data again. Upload massive datasets, codebases, and supplementary materials to our resilient cloud infrastructure. Instantly mint permanent DOIs for your datasets, allowing other researchers to easily cite your foundational work.", | |
| color: "from-cyan-400 to-blue-600", | |
| link: "/datarepository" | |
| }, | |
| { | |
| icon: Sparkles, | |
| title: "Virtual Reality (VR) Lab Spaces", | |
| description: "Step into the metaverse of science. Collaborate with peers globally in fully immersive 3D virtual laboratories. Manipulate molecular models, inspect archaeological scans, and conduct simulated physics experiments together in real-time as if you were in the same room.", | |
| color: "from-purple-500 to-indigo-600", | |
| link: "#", | |
| comingSoon: true | |
| }, | |
| { | |
| icon: Lock, | |
| title: "Blockchain-Verified Peer Review", | |
| description: "Transform the peer review process with Web3 technology. We are introducing immutable smart contracts that transparently track review histories, permanently verify reviewer identities, and automatically distribute tokenized micro-grants to reward rigorous peer review work.", | |
| color: "from-amber-400 to-orange-500", | |
| link: "#", | |
| comingSoon: true | |
| }, | |
| { | |
| icon: Rocket, | |
| title: "Autonomous Grant Proposal Generator", | |
| description: "Never start a grant application from scratch again. Our upcoming AI agent will analyze your publication history, ongoing datasets, and target funding agencies to automatically draft highly competitive, rigorously structured grant proposals tailored to specific institution requirements.", | |
| color: "from-emerald-400 to-teal-600", | |
| link: "#", | |
| comingSoon: true | |
| }, | |
| { | |
| icon: Cloud, | |
| title: "Global Grid Computing Resource Hub", | |
| description: "Access massive computational power without the hardware overhead. Seamlessly distribute your heavy machine learning workloads, genomic sequencing, or climate simulations across our global decentralized network of idle university supercomputers and partner research facilities.", | |
| color: "from-blue-500 to-indigo-500", | |
| link: "#", | |
| comingSoon: true | |
| }, | |
| { | |
| icon: Microscope, | |
| title: "Synthetic Biology & CRISPR Workbench", | |
| description: "A specialized digital workbench for genetic engineering. Design custom DNA sequences, simulate CRISPR-Cas9 edits, predict off-target effects, and seamlessly export synthesized bio-CAD models directly to partner manufacturing laboratories for physical production.", | |
| color: "from-green-400 to-emerald-600", | |
| link: "#", | |
| comingSoon: true | |
| }, | |
| { | |
| icon: Eye, | |
| title: "Holographic Augmented Reality (AR) Data", | |
| description: "Bring your datasets to life. Project complex multidimensional charts, anatomical models, or astrophysical structures directly onto your physical desk using supported AR headsets, allowing intuitive spatial analysis and interactive presentations during defense meetings.", | |
| color: "from-cyan-400 to-blue-500", | |
| link: "#", | |
| comingSoon: true | |
| }, | |
| { | |
| icon: MessageCircle, | |
| title: "Simultaneous AI Voice Translation", | |
| description: "Break the final language barrier in science. Our upcoming real-time voice translation engine will instantly dub your international conference presentations and live group discussions into 50+ languages, preserving your tone and specialized scientific vocabulary.", | |
| color: "from-pink-500 to-rose-500", | |
| link: "#", | |
| comingSoon: true | |
| }, | |
| { | |
| icon: Shield, | |
| title: "Quantum-Resistant Encryption Layer", | |
| description: "Future-proof your sensitive data against upcoming quantum threats. We are upgrading our zero-knowledge architecture with post-quantum cryptographic algorithms (PQC), ensuring your unreleased patents and patient data remain secure for decades to come.", | |
| color: "from-slate-600 to-slate-800", | |
| link: "#", | |
| comingSoon: true | |
| }, | |
| { | |
| icon: GitBranch, | |
| title: "Autonomous Data Collection Agents", | |
| description: "Deploy persistent AI agents that continuously scour the web, sensor networks, and global databases for specific parameters. They will autonomously clean, format, and append new data streams directly to your ongoing projects while you sleep.", | |
| color: "from-fuchsia-500 to-purple-600", | |
| link: "#", | |
| comingSoon: true | |
| }, | |
| { | |
| icon: FlaskConical, | |
| title: "Neuromorphic Hardware Sandbox", | |
| description: "Test your spiking neural networks directly on next-generation hardware. Gain exclusive cloud access to prototype neuromorphic chips and quantum processing units (QPUs) to validate experimental AI architectures before they reach the commercial market.", | |
| color: "from-red-500 to-orange-500", | |
| link: "#", | |
| comingSoon: true | |
| } | |
| ]; | |
| const staggerContainer = { | |
| hidden: { opacity: 0 }, | |
| visible: { opacity: 1, transition: { staggerChildren: 0.08 } } | |
| }; | |
| const fadeInUp = { | |
| hidden: { opacity: 0, y: 30 }, | |
| visible: { opacity: 1, y: 0, transition: { duration: 0.5 } } | |
| }; | |
| const fadeInScale = { | |
| hidden: { opacity: 0, scale: 0.9 }, | |
| visible: { opacity: 1, scale: 1, transition: { duration: 0.4, type: "spring" } } | |
| }; | |
| export function FeaturesSection({ | |
| title = "Powerful Features for Researchers", | |
| subtitle = "Everything you need to publish, collaborate, and track your research impact.", | |
| variant = "default", | |
| columns = 3, | |
| showCta = true, | |
| ctaText = "Explore All Features", | |
| ctaLink = "/features", | |
| animate = true, | |
| showBadges = true | |
| }: FeaturesSectionProps) { | |
| const ref = useRef(null); | |
| const isInView = useInView(ref, { once: true, margin: "-100px" }); | |
| const [hoveredIndex, setHoveredIndex] = useState<number | null>(null); | |
| const [activeFilter, setActiveFilter] = useState<"all" | "available" | "coming">("all"); | |
| const displayFeatures = defaultFeatures.filter(feature => { | |
| if (activeFilter === "available") return !feature.comingSoon; | |
| if (activeFilter === "coming") return feature.comingSoon; | |
| return true; | |
| }).slice(0, columns === 2 ? 6 : columns === 4 ? 8 : 9); | |
| const getColumnClass = () => { | |
| switch (columns) { | |
| case 2: return "grid-cols-1 md:grid-cols-2"; | |
| case 4: return "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4"; | |
| default: return "grid-cols-1 md:grid-cols-2 lg:grid-cols-3"; | |
| } | |
| }; | |
| // Variant: Minimal | |
| if (variant === "minimal") { | |
| return ( | |
| <div className="py-8"> | |
| <div className="grid grid-cols-2 md:grid-cols-3 gap-4"> | |
| {displayFeatures.slice(0, 6).map((feature, idx) => ( | |
| <div key={feature.title} className="flex items-center gap-2 text-sm"> | |
| <feature.icon className="w-4 h-4 text-primary" /> | |
| <span>{feature.title}</span> | |
| </div> | |
| ))} | |
| </div> | |
| </div> | |
| ); | |
| } | |
| // Variant: Compact | |
| if (variant === "compact") { | |
| return ( | |
| <div className="py-8"> | |
| <div className="text-center mb-6"> | |
| <h3 className="text-xl font-bold">{title}</h3> | |
| </div> | |
| <div className={`grid ${getColumnClass()} gap-4`}> | |
| {displayFeatures.slice(0, 6).map((feature, idx) => ( | |
| <div key={feature.title} className="flex items-center gap-3 p-3 bg-white dark:bg-gray-800 rounded-lg border"> | |
| <div className={`w-8 h-8 rounded-lg bg-gradient-to-r ${feature.color} flex items-center justify-center`}> | |
| <feature.icon className="w-4 h-4 text-white" /> | |
| </div> | |
| <div> | |
| <div className="font-medium text-sm">{feature.title}</div> | |
| <div className="text-xs text-gray-500">{feature.description.substring(0, 60)}...</div> | |
| </div> | |
| </div> | |
| ))} | |
| </div> | |
| </div> | |
| ); | |
| } | |
| // Variant: Cards (detailed) | |
| if (variant === "cards") { | |
| return ( | |
| <div ref={ref} className="py-16 bg-gradient-to-b from-white to-gray-50 dark:from-gray-900 dark:to-gray-800/30"> | |
| <div className="max-w-7xl mx-auto px-4"> | |
| <motion.div | |
| initial={{ opacity: 0, y: 20 }} | |
| animate={isInView ? { opacity: 1, y: 0 } : {}} | |
| transition={{ duration: 0.6 }} | |
| className="text-center mb-12" | |
| > | |
| <h2 className="text-3xl font-bold">{title}</h2> | |
| <p className="mt-3 text-gray-600 dark:text-gray-400 max-w-2xl mx-auto">{subtitle}</p> | |
| </motion.div> | |
| <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| {displayFeatures.map((feature, idx) => ( | |
| <motion.div | |
| key={feature.title} | |
| initial={animate ? { opacity: 0, y: 30 } : false} | |
| animate={isInView ? { opacity: 1, y: 0 } : {}} | |
| transition={{ delay: idx * 0.08 }} | |
| whileHover={{ y: -8 }} | |
| onMouseEnter={() => setHoveredIndex(idx)} | |
| onMouseLeave={() => setHoveredIndex(null)} | |
| className="group relative bg-white dark:bg-gray-800 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-100 dark:border-gray-700" | |
| > | |
| {feature.popular && ( | |
| <div className="absolute -top-2 -right-2 px-2 py-0.5 bg-primary text-white text-xs rounded-full"> | |
| Popular | |
| </div> | |
| )} | |
| <div className={`w-14 h-14 rounded-xl bg-gradient-to-r ${feature.color} flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform duration-300`}> | |
| <feature.icon className="h-7 w-7 text-white" /> | |
| </div> | |
| <h3 className="mt-5 text-xl font-semibold">{feature.title}</h3> | |
| <p className="mt-2 text-gray-500 leading-relaxed">{feature.description}</p> | |
| {feature.comingSoon && ( | |
| <div className="mt-3 inline-block px-2 py-0.5 bg-gray-100 dark:bg-gray-700 text-xs rounded-full"> | |
| Coming soon | |
| </div> | |
| )} | |
| {showBadges && feature.badge && ( | |
| <div className="mt-3 inline-block px-2 py-0.5 bg-primary/10 text-primary text-xs rounded-full ml-2"> | |
| {feature.badge} | |
| </div> | |
| )} | |
| </motion.div> | |
| ))} | |
| </div> | |
| </div> | |
| </div> | |
| ); | |
| } | |
| // Variant: Showcase (with hero feature) | |
| if (variant === "showcase") { | |
| const heroFeature = displayFeatures[0]; | |
| const restFeatures = displayFeatures.slice(1, 7); | |
| return ( | |
| <div ref={ref} className="py-16"> | |
| <div className="max-w-7xl mx-auto px-4"> | |
| <motion.div | |
| initial={{ opacity: 0, y: 20 }} | |
| animate={isInView ? { opacity: 1, y: 0 } : {}} | |
| className="text-center mb-12" | |
| > | |
| <h2 className="text-3xl font-bold">{title}</h2> | |
| <p className="mt-3 text-gray-600 dark:text-gray-400">{subtitle}</p> | |
| </motion.div> | |
| {/* Hero Feature */} | |
| <motion.div | |
| initial={{ opacity: 0, scale: 0.95 }} | |
| animate={isInView ? { opacity: 1, scale: 1 } : {}} | |
| className="mb-12 p-8 bg-gradient-to-r from-primary/10 to-secondary/10 rounded-2xl" | |
| > | |
| <div className="flex flex-col md:flex-row items-center gap-6"> | |
| <div className={`w-20 h-20 rounded-2xl bg-gradient-to-r ${heroFeature.color} flex items-center justify-center shadow-lg`}> | |
| <heroFeature.icon className="h-10 w-10 text-white" /> | |
| </div> | |
| <div className="flex-1 text-center md:text-left"> | |
| <h3 className="text-2xl font-bold">{heroFeature.title}</h3> | |
| <p className="text-gray-600 mt-2">{heroFeature.description}</p> | |
| </div> | |
| <Link to={ctaLink} className="px-6 py-2 bg-primary text-white rounded-full hover:bg-primary/90 transition"> | |
| Learn More | |
| </Link> | |
| </div> | |
| </motion.div> | |
| {/* Rest of features */} | |
| <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| {restFeatures.map((feature, idx) => ( | |
| <motion.div | |
| key={feature.title} | |
| initial={{ opacity: 0, y: 20 }} | |
| animate={isInView ? { opacity: 1, y: 0 } : {}} | |
| transition={{ delay: idx * 0.05 }} | |
| whileHover={{ y: -4 }} | |
| className="bg-white dark:bg-gray-800 rounded-xl p-5 shadow-sm border hover:shadow-md transition" | |
| > | |
| <div className={`w-10 h-10 rounded-lg bg-gradient-to-r ${feature.color} flex items-center justify-center`}> | |
| <feature.icon className="w-5 h-5 text-white" /> | |
| </div> | |
| <h4 className="mt-3 font-semibold">{feature.title}</h4> | |
| <p className="mt-1 text-sm text-gray-500 line-clamp-2">{feature.description}</p> | |
| </motion.div> | |
| ))} | |
| </div> | |
| </div> | |
| </div> | |
| ); | |
| } | |
| // Default variant (original design with grid) | |
| return ( | |
| <section ref={ref} className="bg-gradient-to-b from-slate-950 via-slate-900 to-slate-950 py-24 relative overflow-hidden"> | |
| {/* Decorative background orbs */} | |
| <div className="absolute top-0 left-[-10%] w-[40%] h-[40%] rounded-full bg-teal-500/10 blur-[120px] pointer-events-none" /> | |
| <div className="absolute bottom-0 right-[-10%] w-[40%] h-[40%] rounded-full bg-indigo-500/10 blur-[120px] pointer-events-none" /> | |
| <div className="mx-auto max-w-7xl px-4 relative z-10"> | |
| <motion.div | |
| initial={{ opacity: 0, y: 20 }} | |
| animate={isInView ? { opacity: 1, y: 0 } : {}} | |
| transition={{ duration: 0.6 }} | |
| className="text-center mb-16" | |
| > | |
| <div className="inline-flex items-center gap-2 rounded-full bg-gradient-to-r from-teal-500/10 to-emerald-500/10 border border-teal-500/20 px-5 py-2 text-sm font-bold text-teal-400 mb-6 shadow-[0_0_20px_rgba(20,184,166,0.15)]"> | |
| <Sparkles className="h-4 w-4" /> | |
| Platform Capabilities | |
| </div> | |
| <h2 className="text-4xl md:text-6xl font-black bg-clip-text text-transparent bg-gradient-to-r from-slate-100 via-teal-100 to-emerald-200 tracking-tight leading-tight"> | |
| {title} | |
| </h2> | |
| <p className="mt-6 text-slate-400 text-lg md:text-xl max-w-3xl mx-auto leading-relaxed"> | |
| {subtitle} | |
| </p> | |
| </motion.div> | |
| {/* Filter Tabs */} | |
| <div className="flex justify-center gap-3 mb-12 flex-wrap"> | |
| {[ | |
| { id: "all", label: "All Features" }, | |
| { id: "available", label: "Available Now" }, | |
| { id: "coming", label: "Coming Soon" }, | |
| ].map((filter) => ( | |
| <button | |
| key={filter.id} | |
| onClick={() => setActiveFilter(filter.id as any)} | |
| className={`px-6 py-2.5 rounded-full text-sm font-bold transition-all duration-300 border ${ | |
| activeFilter === filter.id | |
| ? "bg-teal-500/20 text-teal-300 border-teal-500/50 shadow-[0_0_15px_rgba(20,184,166,0.2)]" | |
| : "bg-slate-900/50 text-slate-400 border-white/5 hover:border-white/20 hover:text-slate-200" | |
| }`} | |
| > | |
| {filter.label} | |
| </button> | |
| ))} | |
| </div> | |
| <motion.div | |
| variants={staggerContainer} | |
| initial="hidden" | |
| animate={isInView ? "visible" : "hidden"} | |
| viewport={{ once: true }} | |
| className={`grid ${getColumnClass()} gap-8`} | |
| > | |
| {displayFeatures.map((feature, idx) => { | |
| const cardContent = ( | |
| <motion.div | |
| variants={animate ? fadeInUp : undefined} | |
| whileHover={{ y: -8, scale: 1.02 }} | |
| onMouseEnter={() => setHoveredIndex(idx)} | |
| onMouseLeave={() => setHoveredIndex(null)} | |
| className="group relative bg-slate-900/40 backdrop-blur-md rounded-3xl p-8 shadow-xl hover:shadow-[0_0_30px_rgba(20,184,166,0.15)] transition-all duration-500 border border-white/10 hover:border-teal-500/30 h-full overflow-hidden" | |
| > | |
| <div className="absolute top-0 right-0 w-32 h-32 bg-white/5 rounded-full blur-[40px] group-hover:bg-teal-500/10 transition-colors duration-500 pointer-events-none" /> | |
| {feature.popular && ( | |
| <div className="absolute top-4 right-4 px-3 py-1 bg-gradient-to-r from-orange-500 to-amber-500 text-white font-bold text-[10px] uppercase tracking-widest rounded-full shadow-lg border border-white/20"> | |
| Most Loved | |
| </div> | |
| )} | |
| <div className={`w-16 h-16 rounded-2xl bg-gradient-to-br ${feature.color} flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform duration-500 border border-white/20`}> | |
| <feature.icon className="h-8 w-8 text-white drop-shadow-md" /> | |
| </div> | |
| <h3 className="mt-6 text-2xl font-bold text-slate-100 group-hover:text-teal-400 transition-colors duration-300"> | |
| {feature.title} | |
| </h3> | |
| <p className="mt-4 text-slate-400 leading-relaxed text-[15px]"> | |
| {feature.description} | |
| </p> | |
| <div className="mt-6 flex flex-wrap gap-2"> | |
| {feature.comingSoon && ( | |
| <div className="inline-block px-3 py-1 bg-slate-800/80 border border-slate-700 text-slate-300 text-xs font-semibold rounded-full"> | |
| Coming soon | |
| </div> | |
| )} | |
| {showBadges && feature.badge && ( | |
| <div className="inline-flex items-center gap-1.5 px-3 py-1 bg-teal-500/10 border border-teal-500/20 text-teal-400 text-xs font-bold rounded-full"> | |
| <Shield className="w-3 h-3" /> | |
| {feature.badge} | |
| </div> | |
| )} | |
| </div> | |
| </motion.div> | |
| ); | |
| if (feature.link) { | |
| return ( | |
| <Link to={feature.link} key={feature.title} className="block h-full outline-none"> | |
| {cardContent} | |
| </Link> | |
| ); | |
| } | |
| return ( | |
| <div key={feature.title} className="block h-full"> | |
| {cardContent} | |
| </div> | |
| ); | |
| })} | |
| </motion.div> | |
| {showCta && ( | |
| <div className="text-center mt-16 relative z-20"> | |
| <Link | |
| to={ctaLink} | |
| className="group relative inline-flex items-center gap-3 px-8 py-4 bg-slate-100 text-slate-900 font-bold rounded-full hover:bg-teal-400 hover:text-slate-900 transition-all duration-300 shadow-[0_0_20px_rgba(255,255,255,0.1)] hover:shadow-[0_0_30px_rgba(20,184,166,0.4)]" | |
| > | |
| {ctaText} | |
| <Rocket className="w-5 h-5 group-hover:translate-x-1 group-hover:-translate-y-1 transition-transform" /> | |
| </Link> | |
| </div> | |
| )} | |
| </div> | |
| </section> | |
| ); | |
| } | |
| // Simple version for quick use | |
| export function SimpleFeaturesSection() { | |
| const simpleFeatures = defaultFeatures.slice(0, 4); | |
| return ( | |
| <div className="grid grid-cols-2 md:grid-cols-4 gap-4"> | |
| {simpleFeatures.map((feature) => ( | |
| <div key={feature.title} className="text-center p-3"> | |
| <div className={`w-10 h-10 rounded-lg bg-gradient-to-r ${feature.color} flex items-center justify-center mx-auto mb-2`}> | |
| <feature.icon className="w-5 h-5 text-white" /> | |
| </div> | |
| <div className="text-xs font-medium">{feature.title}</div> | |
| </div> | |
| ))} | |
| </div> | |
| ); | |
| } |
Xet Storage Details
- Size:
- 24.5 kB
- Xet hash:
- 97ef6fbe7f9d055228deb4f8c278eb59ee1cb6bd504ef6dd168a113576e02c17
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.