templates/_parts/index/_infrastructure.html.twig line 1

Open in your IDE?
  1. {% set typeClass = get_infra_type() %}
  2. {% set title = title|default('') %}
  3. {% if infrastructureItems %}
  4.     <div class="infrastructure__wrapper">
  5.         <div class="container container_spacer">
  6.             <div class="infrastructure {{ typeClass }}">
  7.                 <div class="infrastructure__title h1 text__black-text">{{ title }}</div>
  8.                 <div class="infrastructure__map-wrap">
  9.                     {% include "_parts/infrastructure/_infrastructure-map.html.twig" %}
  10.                 </div>
  11.                 <div class="infrastructure__grid-wrap grid-block">
  12.                     {% if typeClass == 'infrastructure-one' %}
  13.                         {% include "_parts/infrastructure/_infrastructure-list.html.twig" %}
  14.                     {% elseif typeClass == 'infrastructure-two' %}
  15.                         {% include "_parts/infrastructure/_infrastructure-slider.html.twig" %}
  16.                     {% endif %}
  17.                 </div>
  18.             </div>
  19.             {% include '_parts/pattern.html.twig' with {'class': 'pattern_wide'} %}
  20.         </div>
  21.     </div>
  22. {% endif %}