import FormBtn from "@/components/FormBtn";
export default function WhyAbout({ content, title }) {
  return (
    <>
      <section>
        <div className="container">
          <h1 className="mb-3">{title}</h1>
          <div dangerouslySetInnerHTML={{ __html: content }} />
          {/* <a
            onClick={() => toggleModal("Check Your Eligibilty")}
            className="d-flex justify-content-center w-100"
          >
            <button className="webbutton">Check Your Eligibilty</button>
          </a> */}
          <FormBtn
            aclassName="d-flex justify-content-center w-100"
            className="webbutton"
            modaltitle="Check Your Eligibilty"
          />
        </div>
      </section>
    </>
  );
}
