{% extends "Layout/default.html.twig" %}
{% block content %}
<main id="main-content" role="main" class="content-block">
{{ include('Content/includes/hero.html.twig') }}
{{ include('Navigation/breadcrumb.html.twig') }}
{% if editmode %}
<div class="editmode-box editmode-box--info mb-5 text-left">
<div class="editmode-box__header">Settings</div>
<div>
<label><strong>Subtitle</strong></label>
{{ pimcore_input('arrivalSubtitle') }}
<label><strong>Headline</strong></label>
{{ pimcore_input('arrivalHeadline') }}
<label><strong>Description</strong></label>
{{ pimcore_wysiwyg('arrivalWysiwyg') }}
<label><strong>Disable region select</strong></label>
{{ pimcore_checkbox('disableRegionSelect', {reload: true}) }}
</div>
</div>
{% else %}
{{ include('Includes/main-title-block-splitted.html.twig', {
subtitle: pimcore_input('arrivalSubtitle').data,
headline: pimcore_input('arrivalHeadline').data,
description: pimcore_wysiwyg('arrivalWysiwyg').data|raw,
}) }}
{% endif %}
<div class="content-block">
{% if not pimcore_checkbox('disableRegionSelect').checked %}
<div class="container">
<div class="row justify-content-center">
<div class="col-md-7 col-xl-5">
<div class="dropdown dropdown-secondary">
<button type="button" class="font-default-bold dropdown-toggle dropdown-toggle--select" id="regionDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ 'arrival.change region'|trans }}
</button>
<div class="dropdown-menu" aria-labelledby="regionDropdown">
{% for region in regions|default([]) %}
<a class="dropdown-item" href="{{ region.siteConfig.home }}">{{ region.name }}</a>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
{% endif %}
{{ include('areas/content-hotspot/view.html.twig') }}
</div>
{{ include('Includes/areablock.html.twig') }}
{{ include('Arrival/Includes/arrival-slide.html.twig') }}
{{ include('Includes/areablock.html.twig', {
suffix: 'bottom'
}) }}
</main>
{% endblock %}