templates/includes/blocks/quote.html.twig line 1
<div class="quote {% if content.inverted %}quote--inverted {% endif %} {{ content.top }} {{ content.bottom }}"
x-data="quote">
{% if content.background %}
<div class="quote__background">
<svg preserveaspectratio="xMidYMid slice" fill="none" xmlns="http://www.w3.org/2000/svg"
viewbox="0 0 2650 1872">
<path d="M-2.046 342.242 2650 1872M2147.95 0 2650 1872M2147.95 0v1872M1568.21 0l-.01 1872M2650-1.164 1568.21 1872M-2.046 1529.73 2650 0M2147.94 1872 2650 0M2147.95 1872V0M1568.2 1872l.01-1872M2650 1873.13 1568.21 0M2652.42 1529.95 0 0M502.055 1872 0 0M502.055 1872V0M1081.79 1872V0M-.002 1873.13 1081.79 0M2651.04 342.838 0 1872M502.055 0-.001 1872M502.055 0v1872M1081.79 0v1872M-.002-1.164 1081.79 1872"
stroke="currentColor" stroke-miterlimit="10"/>
</svg>
</div>
{% endif %}
<div class="quote__container {{ content.top }} {{ content.bottom }}" itemscope itemtype="https://schema.org/Quotation">
<div class="quote__quote" x-ref="quote" itemprop="text">
{{ content.quote|raw }}
</div>
<div class="quote__author" x-ref="author" itemprop="spokenByCharacter" itemscope itemtype="https://schema.org/Person">
{% if content.image %}
<div class="quote__media">
<img class="quote__image" itemprop="image" src ="{{ content.image|thumbnailUrl('640x') }}"
srcset ="{{ content.image|thumbnailUrl('320x') }} 320w, {{ content.image|thumbnailUrl('1280x') }} 1280w, "
alt="{{ content.quoteImageALT|default(content.image.description|striptags) }}" x-ref="image" sizes="150px">
</div>
{% endif %}
<div class="quote__info">
<div class="quote__name" itemprop="name">
{{ content.quoteName }}
</div>
<div class="quote__title" itemprop="jobTitle">
{{ content.quoteTitle }}
</div>
</div>
</div>
{% if content.quoteActionLink != null %}
<div class="quote__actions" x-ref="actions">
{% if content.quoteButtonType == 'box' %}
<a href="{{ content.quoteActionLink }}"
class="button button--{{ content.quoteButtonColor }} button--size-{{ content.quoteButtonSize }}">
<span class="button__inner">
{{ content.quoteButtonLabel }}
</span>
</a>
{% elseif content.quoteButtonType == 'text' %}
<a href="{{ content.quoteActionLink }}"
class="text-button text-button--{{ content.quoteTextButtonColor }}
{% if content.uppercase %} uppercase {% endif %}">
{{ content.quoteButtonLabel }}
<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>
</div>