{% set typeClass = get_infra_type() %}
{% set title = title|default('') %}
{% if infrastructureItems %}
<div class="infrastructure__wrapper">
<div class="container container_spacer">
<div class="infrastructure {{ typeClass }}">
<div class="infrastructure__title h1 text__black-text">{{ title }}</div>
<div class="infrastructure__map-wrap">
{% include "_parts/infrastructure/_infrastructure-map.html.twig" %}
</div>
<div class="infrastructure__grid-wrap grid-block">
{% if typeClass == 'infrastructure-one' %}
{% include "_parts/infrastructure/_infrastructure-list.html.twig" %}
{% elseif typeClass == 'infrastructure-two' %}
{% include "_parts/infrastructure/_infrastructure-slider.html.twig" %}
{% endif %}
</div>
</div>
{% include '_parts/pattern.html.twig' with {'class': 'pattern_wide'} %}
</div>
</div>
{% endif %}