{% set paragraph_classes = [
  'homepage-hero',
] %}
{% set attributes = attributes|default(create_attribute()) %}

{% extends "@ui-paragraph/paragraph.html.twig" %}

{% block paragraph_content %}
  <div class="homepage-hero__content">
    {% if paragraph_field_title %}
      <h1 class="homepage-hero__title">
        {{ paragraph_field_title }}
      </h1>
    {% endif %}

    {% if paragraph_field_subtitle %}
      <div class="homepage-hero__subtitle">
        {{ paragraph_field_subtitle }}
      </div>
    {% endif %}

    {% if paragraph_field_link %}
      <div class="homepage-hero__cta">
        {{ paragraph_field_link }}
      </div>
    {% endif %}

    {% if paragraph_field_body %}
      <div class="homepage-hero__body">
        {{ paragraph_field_body }}
      </div>
    {% endif %}

  </div>

  <div class="homepage-hero__large-shape-left"></div>
  <div class="homepage-hero__large-shape-right"></div>
{% endblock %}
