import { motion } from 'framer-motion'; import { MessageCircle, ShieldCheck, Sparkles, Target, type LucideIcon, } from 'lucide-react'; import { useTranslation } from 'react-i18next'; import { SectionHeader } from './Services'; type Key = 'senior' | 'delivery' | 'communication' | 'quality'; const PILLARS: { key: Key; Icon: LucideIcon }[] = [ { key: 'senior', Icon: Sparkles }, { key: 'delivery', Icon: Target }, { key: 'communication', Icon: MessageCircle }, { key: 'quality', Icon: ShieldCheck }, ]; export function WhyUs() { const { t } = useTranslation(); return (
{PILLARS.map(({ key, Icon }, index) => (

{t(`whyus.items.${key}.title`)}

{t(`whyus.items.${key}.description`)}

))}
); }