import React from 'react'; import Container from './Container'; import { Link } from '../../styles/components/shared/Link.style'; import { ButtonContainer } from '../../styles/components/shared/Button.style'; import PrismicLinkComponent from '../PrismicLink'; import { PrismicLink } from 'easy-prismic-react'; interface Props { title: string; tagline: string; contactLabel?: string; funnelLabel: string; CTALink?: PrismicLink; } const BlockCTA: React.FC = ({ title, tagline, contactLabel, funnelLabel, CTALink }) => (

{title}

{tagline}

{!!contactLabel && { if ((window as any).Intercom && !!document.querySelector('#intercom-frame')) { event.preventDefault(); } }} button large display="inline-block" color="white"> {contactLabel} } {funnelLabel}
); export default BlockCTA;