import "../../styles/styles.css";

export const Content: React.FC<any> = ({ text, captionSmall }) => {
    return (
        <div data-aos="fade-up"
            data-aos-delay="400"
            className="main-block__container">
            <p className="main-block__title_small">
                Graff.estate stream{" "}
                <p className="main-block__title_gardient_small">{text.title}</p>
            </p>
            {text.mainBlockCaptionColor ? <p className="  main-block__caption_color">
                {text.mainBlockCaptionColor}
            </p>
                : <></>}
            <p className={captionSmall ? "main-block__caption  main-block__caption_small" : "main-block__caption"}>
                {text.mainBlockCaption}
            </p>
        </div>
    )

}