Download web/src/components/landing/FeaturesSection.tsx from bisheng13/nofx13: direct link, hf CLI and curl.
- Browser
- Download file 3.19 kB
-
https://huggingface.co/spaces/bisheng13/nofx13/resolve/main/web/src/components/landing/FeaturesSection.tsx
- Command line
-
hf download hf://spaces/bisheng13/nofx13/web/src/components/landing/FeaturesSection.tsx
-
curl -L -o FeaturesSection.tsx https://huggingface.co/spaces/bisheng13/nofx13/resolve/main/web/src/components/landing/FeaturesSection.tsx
3.19 kB
| import { motion } from 'framer-motion' | |
| import AnimatedSection from './AnimatedSection' | |
| import { CryptoFeatureCard } from '../CryptoFeatureCard' | |
| import { Code, Cpu, Lock, Rocket } from 'lucide-react' | |
| import { t, Language } from '../../i18n/translations' | |
| interface FeaturesSectionProps { | |
| language: Language | |
| } | |
| export default function FeaturesSection({ language }: FeaturesSectionProps) { | |
| return ( | |
| <AnimatedSection id="features"> | |
| <div className="max-w-7xl mx-auto"> | |
| <motion.div | |
| className="text-center mb-16" | |
| initial={{ opacity: 0, y: 30 }} | |
| whileInView={{ opacity: 1, y: 0 }} | |
| viewport={{ once: true }} | |
| > | |
| <motion.div | |
| className="inline-flex items-center gap-2 px-4 py-2 rounded-full mb-6" | |
| style={{ | |
| background: 'rgba(240, 185, 11, 0.1)', | |
| border: '1px solid rgba(240, 185, 11, 0.2)', | |
| }} | |
| whileHover={{ scale: 1.05 }} | |
| > | |
| <Rocket | |
| className="w-4 h-4" | |
| style={{ color: 'var(--brand-yellow)' }} | |
| /> | |
| <span | |
| className="text-sm font-semibold" | |
| style={{ color: 'var(--brand-yellow)' }} | |
| > | |
| {t('coreFeatures', language)} | |
| </span> | |
| </motion.div> | |
| <h2 | |
| className="text-4xl font-bold mb-4" | |
| style={{ color: 'var(--brand-light-gray)' }} | |
| > | |
| {t('whyChooseNofx', language)} | |
| </h2> | |
| <p className="text-lg" style={{ color: 'var(--text-secondary)' }}> | |
| {t('openCommunityDriven', language)} | |
| </p> | |
| </motion.div> | |
| <div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-7xl mx-auto"> | |
| <CryptoFeatureCard | |
| icon={<Code className="w-8 h-8" />} | |
| title={t('openSourceSelfHosted', language)} | |
| description={t('openSourceDesc', language)} | |
| features={[ | |
| t('openSourceFeatures1', language), | |
| t('openSourceFeatures2', language), | |
| t('openSourceFeatures3', language), | |
| t('openSourceFeatures4', language), | |
| ]} | |
| delay={0} | |
| /> | |
| <CryptoFeatureCard | |
| icon={<Cpu className="w-8 h-8" />} | |
| title={t('multiAgentCompetition', language)} | |
| description={t('multiAgentDesc', language)} | |
| features={[ | |
| t('multiAgentFeatures1', language), | |
| t('multiAgentFeatures2', language), | |
| t('multiAgentFeatures3', language), | |
| t('multiAgentFeatures4', language), | |
| ]} | |
| delay={0.1} | |
| /> | |
| <CryptoFeatureCard | |
| icon={<Lock className="w-8 h-8" />} | |
| title={t('secureReliableTrading', language)} | |
| description={t('secureDesc', language)} | |
| features={[ | |
| t('secureFeatures1', language), | |
| t('secureFeatures2', language), | |
| t('secureFeatures3', language), | |
| t('secureFeatures4', language), | |
| ]} | |
| delay={0.2} | |
| /> | |
| </div> | |
| </div> | |
| </AnimatedSection> | |
| ) | |
| } | |