import React from 'react'; import { Camera, Send, Activity, ChevronRight } from 'lucide-react'; import { useLanguage } from '@/contexts/LanguageContext'; const HowItWorks: React.FC = () => { const { t } = useLanguage(); const steps = [ { icon: , title: t.howItWorks.step1Title, description: t.howItWorks.step1Desc }, { icon: , title: t.howItWorks.step2Title, description: t.howItWorks.step2Desc }, { icon: , title: t.howItWorks.step3Title, description: t.howItWorks.step3Desc } ]; return ( {/* Background Pattern */} {t.howItWorks.title} {t.howItWorks.subtitle} {steps.map((step, index) => ( {step.icon} {/* Connector */} {index < steps.length - 1 && ( )} {step.title} {step.description} ))} ); }; export default HowItWorks;
{t.howItWorks.subtitle}
{step.description}