{% extends "base.html.twig" %}
{% block content_header %}
{% set heroSettings = heroSettings|default(null) %}
{% include '_parts/index/_hero.html.twig' with {
class: 'index-page__hero',
heroSettings: heroSettings
} %}
{% endblock %}
{% block main %}
<div class="index-page__blocks">
{% set blockTitles = get_block_titles() %}
{% set projectItems = projectItems|default([]) %}
<div id="PROJECT" style="order: {{ get_block_order_position('PROJECT') }}">
{% include '_parts/index/_about.html.twig' with {
class: 'index-page__block',
items: projectItems,
title: blockTitles.project
} %}
</div>
<div id="GENPLAN" style="order: {{ get_block_order_position('GENPLAN') }}">
{% include '_parts/index/_genplan.html.twig' with {
title: blockTitles.genplan
} %}
</div>
<div id="LAYOUTS" style="order: {{ get_block_order_position('LAYOUTS') }}">
{% include '_parts/index/_plannings.html.twig' with {
title: blockTitles.plannings
} %}
</div>
{% set advantageSettings = advantageSettings|default(null) %}
<div id="ADVANTAGES" style="order: {{ get_block_order_position('ADVANTAGES') }}">
{% include '_parts/index/_advantages.html.twig' with {
class: 'index-page__block',
title: blockTitles.advantages,
advantageSettings: advantageSettings
} %}
</div>
<div id="INFRASTRUCTURE" style="order: {{ get_block_order_position('INFRASTRUCTURE') }}">
{% include '_parts/index/_infrastructure.html.twig' with {
title: blockTitles.infrastructure
} %}
</div>
{% set constructionAlbums = constructionAlbums|default([]) %}
<div id="CONSTRUCTION_PROGRESS" style="order: {{ get_block_order_position('CONSTRUCTION_PROGRESS') }}">
{% include '_parts/index/_pipeline.html.twig' with {
class: 'index-page__block',
title: blockTitles.construct,
albums: constructionAlbums
} %}
</div>
<div id="PAYMENTS" style="order: {{ get_block_order_position('PAYMENTS') }}">
{% include '_parts/index/_payment-methods.html.twig' with {
title: blockTitles.payment
} %}
</div>
</div>
{% include '_parts/fav-success.html.twig' with {
class: 'index-page__fav-success'
} %}
{% endblock %}
{% block javascripts %}
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script>
{{ parent() }}
{% endblock %}