'use client' import { motion } from 'framer-motion' import { Language } from '@/lib/types' import { t } from '@/lib/i18n' import { Plug, GitBranch, RefreshCw, CheckCircle2 } from 'lucide-react' import GradientText from '../ui/GradientText' import FadeInView from '../ui/FadeInView' interface HowItWorksSlideProps { lang: Language } const stepIcons = [Plug, GitBranch, RefreshCw, CheckCircle2] const stepColors = ['text-blue-400', 'text-indigo-400', 'text-purple-400', 'text-green-400'] export default function HowItWorksSlide({ lang }: HowItWorksSlideProps) { const i = t(lang) return (

{i.howItWorks.title}

{i.howItWorks.subtitle}

{/* Connection Line */}
{i.howItWorks.steps.map((step, idx) => { const Icon = stepIcons[idx] return (
0{idx + 1}

{step.title}

{step.desc}

) })}
) }