import React from "react"; import Image from "next/image"; import { useTranslation } from "next-i18next"; const OurApproachSection = ({ cmClass }) => { const { t } = useTranslation("ourApproach"); const approaches = t("ourApproach", { returnObjects: true }) || []; return (
{approaches.map((item, index) => { const isEven = index % 2 === 0; const sectionStyle = { backgroundColor: isEven ? "#fbfbfb" : "#e8ebf5", }; return (
{item.authorTitle}

{item.title}

{item.para}

{item.description && (
)}
{item.title}
); })}
); }; export default OurApproachSection;