import ListBime from "./ListBime";
import Services from "./Services";
import Images from "./images/Images";
import Specialties from "./Specialties";
import ContentDetail from "./ContentDetail";
import TextDetail from "./TextDetail";

function About({ data }) {
  return (
    <div className="opacity-page transition-all duration-500">
      <Images data={data} />
      <ContentDetail head={data.title}>
        <TextDetail data={data} />
      </ContentDetail>
      <ContentDetail head="بیمه های طرف قرارداد">
        <ListBime data={data} />
      </ContentDetail>
      <ContentDetail head="تخصص ها">
        <Specialties data={data} />
      </ContentDetail>
      <ContentDetail head="خدمات">
        <Services data={data} />
      </ContentDetail>
    </div>
  );
}

export default About;
