<section class="quote-area {{ not pimcore_checkbox('fullwidth').checked() ? 'container container-sm ' }} content-block js-fade-in {{ include('Layout/includes/editmode-box-classes.html.twig') }} {{ pimcore_checkbox('isSmall').data ? 'quote-area--small' : '' }} {{ styleModifier | default(null) }} {{ not pimcore_input('anchorTitle').empty ? 'js-anchor-nav__item' : '' }}" {% if not pimcore_input('anchorTitle').empty %}data-anchor-nav-title="{{ pimcore_input('anchorTitle').frontend }}"{% endif %}>
{% embed 'Includes/editmode-settings.html.twig' %}
{% block additionalInfo %}
<div>
<label>
{{ pimcore_checkbox('fullwidth') }} Full Width?
{{ pimcore_checkbox('titleBlockCentered') }} Center Headline?
</label>
</div>
{% endblock %}
{% endembed %}
{{ include('Includes/title-block-editable.html.twig') }}
{% if editmode %}
{{ pimcore_textarea('embed-code', {'htmlspecialchars': false, 'placeholder': 'Enter embed code here!'}) }}
{% endif %}
<div class="{{ not pimcore_checkbox('fullwidth').checked() ? 'd-flex justify-content-xl-center overflow-x-xl-auto ' : '' }}">
{% if not editmode %}
{% embed('Layout/includes/consent-overlay.html.twig') with {
'service': 'marketing',
'buttonText': 'cookies.accept-marketing-cookies' |trans,
'overlayText': 'cookies.accept-cookies-to-show-external-content'|trans,
'classNames': {
'wrapper': 'embed-responsive embed-responsive-16by9',
'overlay': 'bg-light-bg d-flex justify-content-center flex-column align-items-center embed-responsive-item',
'button': 'btn btn-primary-light mt-4 button-test',
'template': '',
},
'jsClassNames': {
'wrapper': 'js-consent',
'overlay': 'js-consent__overlay',
'button': 'js-consent__accept-btn',
'template': 'js-consent__template',
}
} %}
{% block consentIframe %}
{# add iframe or script to be wrapped here! #}
{{ pimcore_textarea('embed-code', {'htmlspecialchars': false, 'placeholder': 'Enter embed code here!'}) }}
{% endblock %}
{% endembed %}
{% endif %}
</div>
</section>