templates/includes/blocks/claim-hero.html.twig line 1
{% set claims = content.claims|split(',') %}
<div class="claim-hero claim-hero--{% if content.inverted %}inverted {% else %} default {% endif %} pt-hero-small pb-m"
x-data="claimhero" data-claims="{{ claims|json_encode() }}">
<svg class="claim-hero__background" preserveaspectratio="xMidYMid slice" fill="none"
xmlns="http://www.w3.org/2000/svg" viewbox="0 0 1440 872" x-ref="background">
<path d="M-331.621 116.307 1770 1329M1372.15-155 1770 1329M1372.15-155v1484M912.73-155v1484M1770-155.923 912.729 1329M-331.621 1057.67 1770-155M1372.15 1329 1770-155M1372.15 1329V-155M912.73 1329V-155M1770 1329.9 912.729-155M1771.92 1057.84-329.999-155M67.855 1329-330-155.001M67.855 1329V-155.001M527.273 1329V-155.001M-329.998 1329.9 527.273-155.001M1770.82 116.78-329.999 1329M67.856-155.001-330 1329M67.856-155.001V1329M527.273-155.001V1329M-329.998-155.923 527.273 1329"
stroke="currentColor" stroke-miterlimit="10"/>
</svg>
<div class="claim-hero__container">
<{{ content.claimHeroSeoHeadlineClaim ? content.claimHeroSeoHeadlineClaim : 'div' }} class="claim-hero__title hl-1" x-ref="title">
<span x-ref="titlebefore">{{ content.titlebefore|raw }}</span>
<span x-ref="claim" class="word claim-hero__claim" x-text="currentClaim"></span>
<span x-ref="titleafter" class="claim-hero__titleafter">{{ content.titleafter|raw }}</span>
</{{ content.claimHeroSeoHeadlineClaim ? content.claimHeroSeoHeadlineClaim : 'div' }}>
<{{ content.claimHeroSeoHeadlineText ? content.claimHeroSeoHeadlineText : 'h1' }} class="claim-hero__text" x-ref="text">
{{ content.text|raw }}
</{{ content.claimHeroSeoHeadlineText ? content.claimHeroSeoHeadlineText : 'h1' }}>
<div class="claim-hero__actions" x-ref="actions">
{% if content.claimHeroActionLink != null %}
{% if content.claimHeroButtonType == 'box' %}
<a href="{{ content.claimHeroActionLink }}"
class="button button--{{ content.claimHeroButtonColor }} button--size-{{ content.claimHeroButtonSize }}">
<span class="button__inner">
{{ content.claimHeroButtonLabel }}
</span>
</a>
{% elseif content.claimHeroButtonType == 'text' %}
<a href="{{ content.claimHeroActionLink }}"
class="text-button text-button--{{ content.claimHeroTextButtonColor }} {% if content.uppercase %} uppercase {% endif %}">
{{ content.claimHeroButtonLabel }}
<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 class="claim-hero__graphic" x-ref="graphic">
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 50 25">
<path fill-rule="evenodd" clip-rule="evenodd" d="M25 25L50 0H25v25z" fill="#00F"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M25 0H0l25 25V0z" fill="#FF73F5"/>
</svg>
</div>
</div>
</div>