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

{% block content %}
  <div{{ region_attributes.media.addClass(['h-100', 'overflow-hidden']) }}>
    {{ media }}
  </div>
  {% if text %}
    <div{{ region_attributes.text.addClass('title-text') }}>
      {{ text }}
    </div>
  {% endif %}
{% endblock  %}
