{% extends 'html/02_body/body.html.twig' %}
{% block main %}
<main>
{% block content %}
{% if document.getProperty('showBreadcrumb') %}
{# include breadcrumb html #}
{% endif %}
{# include account Desktop #}
{% set accountSnippet = document.getProperty('accountSnippet') %}
{% if accountSnippet != null %}
{{ pimcore_inc(accountSnippet.getId(), {'pageId': document.getId()}) }}
{% endif %}
{# include hero #}
{% include 'html/02_body/02_main/hero.html.twig' %}
{# Set default document with id = 1 (root document) if current document is not defined #}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{# Get property that defines root of navigation #}
{% set navigationStartDocument = document.getProperty('navStartDocument') %}
{% set navigation = pimcore_build_nav({
active: document,
root: navigationStartDocument
}) %}
{% set navigationLevel1 = navigation.pages %}
{# {% set navigationLevel2 = [] %} #}
{# {% set navigationLevel3 = [] %} #}
{% set pageDocument = pimcore_document(app.request.get('pageId')) %}
{% if document.getProperty('navTop') == null %}
{% include 'html/02_body/01_header/02_navigation/navigation-top/top.html.twig' with {'pageDocument': pageDocument} %}
{% endif %}
{# create allowed blocks by choosing forbidden #}
{{ pimcore_newareablock('newMain',{
'reload': true,
'allowed': ['row', 'filter', 'component', 'list-magazine', 'simple-form', 'dealer-bundle', 'tarif-list', 'damage-list']
}) }}
{% endblock %}
{# Siegel #}
{% if document.getProperty('awards') %}
{% set awards = document.getProperty('awards') %}
{{ pimcore_inc(awards.getId(), {'pageId': document.getId()}) }}
{% endif %}
<div class="modal fade" id="mvkModal" tabindex="-1" aria-labelledby="mvkModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="mvkModalLabel">New message</h1>
<div class="modal-header__close e-link--close" data-bs-dismiss="modal"></div>
</div>
<div class="modal-body background-none">
</div>
<div class="modal-footer background-none">
<button type="button" class="e-button--light" data-bs-dismiss="modal">{{'ercas_doc_fe_list_modal_close_button'|trans}}</button>
</div>
</div>
</div>
</div>
<div class="toast-container position-fixed top-0 start-50 translate-middle-x p-3">
<div class="toast" role="alert" aria-live="assertive" aria-atomic="true" id="mvkToast">
<div class="toast-body"></div>
<div class="modal-header__close e-link--close" data-bs-dismiss="toast"></div>
</div>
</div>
</main>
{% endblock %}