templates/includes/blocks/sticky-teaser-card.html.twig line 1
<div class="swiper-slide">
<div class="sticky-teaser-card">
{% if card.image %}
<div class="sticky-teaser-card__media">
<img src ="{{ card.image|thumbnailUrl('2880x') }}"
srcset ="{{ card.image|thumbnailUrl('320x') }} 320w, {{ card.image|thumbnailUrl('640x') }} 640w, {{ card.image|thumbnailUrl('1280x') }} 1280w, {{ card.image|thumbnailUrl('1440x') }} 1440w, {{ card.image|thumbnailUrl('2048x') }} 2048w" alt="{{ card.stickyTeaserCardImageALT|default(card.image.description|striptags) }}"
x-ref="image" sizes="(min-width: 1440px) 720px, (min-width: 768px) 50vw, 100vw">
</div>
{% endif %}
<div class="sticky-teaser-card__title {% if card.stickyTeaserTitleMobile %}desktop-only {% endif %}">
{{ card.title|raw }}
</div>
{% if card.stickyTeaserTitleMobile %}
<div class="sticky-teaser-card__title mobile-only" x-ref="mobiletitle">
{{card.stickyTeaserTitleMobile|raw }}
</div>
{% endif %}
<div class="sticky-teaser-card__text">
{{ card.text|raw }}
</div>
{% if card.teaserCardActionLink != null %}
<div class="sticky-teaser-card__action">
<a href="{{ card.teaserCardActionLink }}" class="text-button">
{{ card.action }}
<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>
</div>
{% endif %}
</div>
</div>