templates/components/video-section-with-text.html.twig line 1

Open in your IDE?
  1. <div class="bg-{{ background }} py-5" id="video">
  2.     <div class="container py-3 py-md-5">
  3.         <div class="row gx-0 gx-lg-5">
  4.                 <div class="col-12 col-lg-6 order-2 order-lg-{{ order.video ?? '1' }}">
  5.                     <video class="d-block mx-auto" width="600" height="400" controls>
  6.                         <source src="{{ url }}" type="video/mp4">
  7.                         Your browser does not support the video tag.
  8.                     </video>
  9.                 </div>
  10.                 <div class="col-12 col-lg-6 mb-4 mb-lg-0 order-1 order-lg-{{ order.text ?? '2' }}">
  11.                     <div>
  12.                         {% if (title is defined) %}
  13.                         <h2 class="mb-3 mb-md-5 point {{ darkPoint|default(false) ? 'dark' : 'light' }}">{{ title }}</h2>
  14.                         {% endif %}
  15.                         <div class="mb-4 {{ title is not defined ? 'teaser-text' : '' }}">{{ text|raw }}</div>
  16.                     </div>
  17.                 </div>
  18.         </div>
  19.     </div>
  20. </div>