{% extends '@disign_theme/layout/slide.html.twig' %}

{% block content %}
  <div class="d-flex">
    <div class="row flex-grow-1 g-0">
      <div{{ region_attributes.text.addClass('col', 'vertically-centered-col') }}>
        <div class="p-section">
          {{ text }}
        </div>
      </div>
      {% if link %}
        <div{{ region_attributes.link.addClass('col-auto', 'd-flex', 'align-items-end') }}>
          <div class="p-section">
            {{ link }}
          </div>
        </div>
      {% endif %}
    </div>
  </div>
{% endblock  %}
