import React from 'react'; import Image from 'next/image'; import { useTranslation } from 'next-i18next' // import Ourapproach from '../../api/our-approach'; const OurApproachSection = () => { const { t } = useTranslation('ourApproach') return ( <> {ourApproach.map((item, index) => { const isEven = index % 2 !== 0; const sectionStyle = { backgroundColor: index % 2 === 0 ? '#fbfbfbff' : '#e8ebf5', color: index % 2 === 0 ? '#ffffffff' : '#fff', }; return (
{/* Content Column */}
{item.authorTitle}

{item.title}

{item.para}

{/* Image Column */}
{item.title}
); })} ); }; export default OurApproachSection;