/* global React */

function FinalCTA({ titleA, titleItalic, body, primaryCta = 'Stuur me een berichtje', email = 'info@caronstudio.eu' }) {
  return (
    <section className="cs-final-cta" id="contact">
      <h2>{titleA}<br/><em>{titleItalic}</em></h2>
      <p>{body}</p>
      <div className="cs-final-actions">
        <a href={`mailto:${email}`} className="cs-btn-primary"><span>{primaryCta}</span><span className="arrow">→</span></a>
        <a href={`mailto:${email}`} className="cs-btn-ghost">{email} <span className="arrow">→</span></a>
      </div>
    </section>
  );
}

window.FinalCTA = FinalCTA;
