import { WhyContentData } from "@/data/data";
export default function WhyContent({ content = "" }) {
  return (
    <div className="container mt-5 blogcontainer mb-5">
      {WhyContentData.map((items, index) => (
        <div key={index} className="blog-item">
          {items.heading ? <h2>{items.heading}</h2> : ""}
          <div dangerouslySetInnerHTML={{ __html: content || items.content }} />
        </div>
      ))}
    </div>
  );
}
