vendor/boldr/swiper-layout-bundle/src/Resources/views/layout/swiper.html.twig line 1

Open in your IDE?
  1. <div class="boldr-layout boldr-swiper-layout {{ layout.centered ? (not layout.runthrough ? 'boldr-swiper-centered-no-overflow' : 'boldr-swiper-centered') }} {{ layout.fullWidth ? 'boldr-swiper-full-width' : ('boldr-swiper-spaced boldr-swiper-item-size-' ~ layout.itemSize) }} {{ layout.hasNav ? 'has-nav' : '' }} boldr-swiper-height-{{ layout.height }}">
  2.     <div class="boldr-swiper-layout-elements">
  3.         {% if layout.heading %}
  4.             <div class="boldr-swiper-item boldr-swiper-heading-item">
  5.                 <div class="boldr-swiper-layout-heading">
  6.                     {% include '@BoldrCms/section/_heading.html.twig' with {
  7.                         heading: layout.heading,
  8.                         style: layout.headingStyle,
  9.                         subheading: null
  10.                     } %}
  11.                 </div>
  12.             </div>
  13.         {% endif %}
  14.         {% for element in elements %}
  15.             <div class="boldr-swiper-item">
  16.                 {{ element.html|raw }}
  17.             </div>
  18.         {% endfor %}
  19.     </div>
  20. </div>