templates/includes/blocks/big-image-teaser.html.twig line 1
<div class="big-image-teaser {% if content.inverted %} big-image-teaser--inverted {% endif %}
{{ content.top }} {{ content.bottom }}" x-data="bigimageteaser">
{% if content.image %}
{% set image = content.image %}
<div class="big-image-teaser__media">
<img src ="{{ content.image|thumbnailUrl('2880x') }}"
srcset ="{{ content.image|thumbnailUrl('320x') }} 320w, {{ content.image|thumbnailUrl('640x') }} 640w, {{ content.image|thumbnailUrl('720x') }} 720w, {{ content.image|thumbnailUrl('1280x') }} 1280w, {{ content.image|thumbnailUrl('1440x') }} 1440w, {{ content.image|thumbnailUrl('2048x') }} 2048w"
alt="{{ content.bigImageTeaserImageALT|default(content.image.description|striptags) }}" x-ref="image" sizes="(min-width: 1440px) 1440px, 100vw">
</div>
{% endif %}
<div class="big-image-teaser__container">
<div class="big-image-teaser__title" x-ref="title">
{% if content.bigImageTeaserPagina %}
{% if content.bigImageTeaserSeoHeadlinePagina %}<{{ content.bigImageTeaserSeoHeadlinePagina }}>{% endif %}
<div {% if content.inverted %} style="color: #fff;" {% endif %}
class="pagina">
{{ content.bigImageTeaserPagina }}
</div>
{% if content.bigImageTeaserSeoHeadlinePagina %}</{{ content.bigImageTeaserSeoHeadlinePagina }}>{% endif %}
{% endif %}
<div {% if content.bigImgTitleMobile %} class="desktop-only" {% endif %}>
{{ content.title|raw }}
</div>
</div>
{% if content.bigImgTitleMobile %}
<div class="big-image-teaser__title mobile-only" x-ref="mobiletitle">
{{ content.bigImgTitleMobile|raw }}
</div>
{% endif %}
<div class="big-image-teaser__content" x-ref="content">
{{ content.text|raw }}
</div>
<div class="big-image-teaser__actions" x-ref="actions">
{% if content.bigImageTeaserActionLink != null %}
{% if content.bigImageTeaserButtonType == 'box' %}
<a href="{{ content.bigImageTeaserActionLink }}"
class="button button--{{ content.bigImageTeaserButtonColor }}">
<span class="button__inner">
{{ content.bigImageTeaserButtonLabel }}
</span>
</a>
{% elseif content.bigImageTeaserButtonType == 'text' %}
<a href="{{ content.bigImageTeaserActionLink }}"
class="text-button text-button--{{ content.bigImageTeaserTextButtonColor }}">
{{ content.bigImageTeaserButtonLabel }}
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 16 16">
<path d="M.5 8.5h15M10.5 3.5l5 5-5 5" stroke="currentColor" stroke-miterlimit="10"
stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</a>
{% endif %}
{% endif %}
</div>
</div>
</div>