templates/includes/blocks/text-teaser.html.twig line 1
<div class="text-teaser {% if content.textTeaserType != "default" %}text-teaser--{{ content.textTeaserType }} {% endif %}
{% if content.inverted %} text-teaser--inverted {% endif %} {{ content.top }} {{ content.bottom }}"
x-data="textteaser">
<div class="text-teaser__container">
<div class="text-teaser__title " x-ref="title">
{% if content.textTeaserPagina %}
{% if content.textTeaserSeoHeadlinePagina %}<{{ content.textTeaserSeoHeadlinePagina }}>{% endif %}
<div class="pagina">
{{ content.textTeaserPagina }}
</div>
{% if content.textTeaserSeoHeadlinePagina %}</{{ content.textTeaserSeoHeadlinePagina }}>{% endif %}
{% endif %}
{% if content.textTeaserTitleDesktop %}
<div {% if content.textTeaserTitleMobile %}class="desktop-only"{% endif %}>
{{ content.textTeaserTitleDesktop|raw }}
</div>
{% endif %}
</div>
{% if content.textTeaserTitleMobile %}
<div class="text-teaser__title mobile-only" x-ref="mobiletitle">
{{ content.textTeaserTitleMobile|raw }}
</div>
{% endif %}
{% if content.text %}
<div class="text-teaser__content" x-ref="content">
<div class="text-teaser__scoped">
{{ content.text|raw }}
</div>
{% if content.textTeaserActionLink != null %}
<div class="text-teaser__actions" x-ref="actions">
{% if content.textTeaserButtonType == 'box' %}
<a href="{{ content.textTeaserActionLink }}"
class="button button--{{ content.textTeaserButtonColor }}
button--size-{{ content.textTeaserButtonSize }}">
<span class="button__inner">
{{ content.textTeaserButtonLabel }}
</span>
</a>
{% elseif content.textTeaserButtonType == 'text' %}
<a href="{{ content.textTeaserActionLink }}"
class="text-button text-button--{{ content.textTeaserTextButtonColor }}
{% if content.uppercase %} uppercase {% endif %}">
{{ content.textTeaserButtonLabel }}
<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 %}
</div>
{% endif %}
</div>
{% endif %}
</div>
</div>