/* Copyright (C) 2023-2026 QuantumNous This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . For commercial licensing, please contact support@quantumnous.com */ import { Zap, Shield, Globe, Code, Gauge, DollarSign, Users, HeartHandshake, } from 'lucide-react' import { useTranslation } from 'react-i18next' import { AnimateInView } from '@/components/animate-in-view' interface FeaturesProps { className?: string } export function Features(_props: FeaturesProps) { const { t } = useTranslation() const features = [ { id: 'fast', num: '01', title: t('Lightning Fast'), desc: t( 'Optimized network architecture ensures millisecond response times' ), span: 'md:col-span-2', icon: , visual: (
{['OpenAI', 'Claude', 'Gemini', 'DeepSeek', 'Qwen', 'Llama'].map( (name) => (
{name}
) )}
), }, { id: 'secure', num: '02', title: t('Secure & Reliable'), desc: t( 'Enterprise-grade security with comprehensive permission management' ), span: 'md:col-span-1', icon: , visual: (
), }, { id: 'global', num: '03', title: t('Global Coverage'), desc: t('Multi-region deployment for stable global access'), span: 'md:col-span-1', icon: , visual: (
{[t('Load Balancing'), t('Rate Limiting'), t('Cost Tracking')].map( (step, i) => (
{i + 1}
{step}
) )}
), }, { id: 'developer', num: '04', title: t('Developer Friendly'), desc: t('Compatible API routes for common AI application workflows'), span: 'md:col-span-2', icon: , visual: (
{['API', 'SDK', 'CLI', 'Docs'].map((n) => (
{n}
))}
{t('Multi-protocol Compatible')}
), }, ] const additionalFeatures = [ { icon: , title: t('High Performance'), desc: t('Support for high concurrency with automatic load balancing'), }, { icon: , title: t('Transparent Billing'), desc: t('Pay-as-you-go with real-time usage monitoring'), }, { icon: , title: t('Team Collaboration'), desc: t('Multi-user management with flexible permission allocation'), }, { icon: , title: t('Open Source'), desc: t('Community driven, self-hosted, and extensible'), }, ] return (

{t('Core Features')}

{t('Built for developers,')}
{t('designed for scale')}

{/* Bento grid */}
{features.map((f, i) => (
{f.num}

{f.title}

{f.desc}

{f.visual}
))}
{/* Additional features row */}
{additionalFeatures.map((f, i) => (
{f.icon}

{f.title}

{f.desc}

))}
) }