{% extends "Layout/default.html.twig" %}
{% block mainContainerStyling %}js-content-visibility content-visibility--auto{% endblock %}
{% do jsConfig().add('contentVisibility', true) %}
{% block content %}
{{ include('Content/includes/portal-hero.html.twig', {
styleModifier: pimcore_checkbox('disable-img-text-slide').checked ? 'content-block' : ''
}) }}
{# moveUp to transform img-text-slide into hero -> should only be activated if positioned under hero-full-height #}
{% embed 'Includes/editmode-settings.html.twig' %}
{% block additionalInfo %}
<div>
<label>
Disable Img Text Slide
{{ pimcore_checkbox('disable-img-text-slide', {reload: true}) }}
</label>
</div>
{% endblock %}
{% endembed %}
{% if not pimcore_checkbox('disable-img-text-slide').checked %}
{{ pimcore_area('img-text-slide', {
'type': 'media-img-text-slide',
'params': {
'media-img-text-slide': {
'moveUp': not editmode
}
}
}) }}
{% endif %}
{{ include('Includes/areablock.html.twig', {
'allowed': [
'media-img-text-slide',
'teaser-img-slider',
'teaser-experience-slider',
'teaser-offer',
'teaser-grid',
'content-social-embed'
]
}) }}
{% endblock %}
{% block javascripts %}
{% if not app.request.get('onlyInlineCss') %}
{{ include('Layout/includes/encore.html.twig', {
'staticDebugMode': staticDebugMode,
'file': 'js/portal'
}) }}
{% endif %}
{% endblock %}