templates/includes/blocks/actions.html.twig line 1
{% if content.actionsLinkedItem == 'actionsModal' %}
<div class="modal" :class="{'modal--show': show}" x-data="modal">
<div class="actions {% if content.centered %} actions--center {% endif %} {{ content.top }} {{ content.bottom }}
{% if content.inverted %} actions--inverted {% endif %}">
<div class="actions__container">
{% include('/includes/popup-cta.html.twig') with { label: content.actionsButtonLabel, buttonColor: content.actionsButtonColor, buttonSize: content.actionsButtonSize } %}
</div>
</div>
{% if content.actionsDownloadFormBlock %}
{% include('/includes/blocks/' ~ content.actionsDownloadFormBlock.type ~ '.html.twig') with { content: content.actionsDownloadFormBlock, view: view.actionsDownloadFormBlock } %}
{% endif %}
</div>
{% elseif content.actionsLinkedItem == 'actionsModalCalendly' %}
<div class="modal" :class="{'modal--show': show}" x-data="modal">
<div class="actions {% if content.centered %} actions--center {% endif %} {{ content.top }} {{ content.bottom }}
{% if content.inverted %} actions--inverted {% endif %}">
<div class="actions__container">
{% include('/includes/popup-cta.html.twig') with { label: content.actionsButtonLabel, buttonColor: content.actionsButtonColor, buttonSize: content.actionsButtonSize, icon: false } %}
</div>
</div>
{% if content.actionsCalendlyFormBlock %}
{% include('/includes/blocks/' ~ content.actionsCalendlyFormBlock.type ~ '.html.twig') with { content: content.actionsCalendlyFormBlock, view: view.actionsCalendlyFormBlock } %}
{% endif %}
</div>
{% elseif content.actionsActionLink %}
<div class="actions {% if content.centered %} actions--center {% endif %} {{ content.top }} {{ content.bottom }}
{% if content.inverted %} actions--inverted {% endif %}">
<div class="actions__container">
{% if content.actionsButtonType == 'box' %}
<a href="{{ content.actionsActionLink }}"
class="button button--{{ content.actionsButtonColor }} button--size-{{ content.actionsButtonSize }}">
<span class="button__inner">
{{ content.actionsButtonLabel }}
</span>
</a>
{% elseif content.actionsButtonType == 'text' %}
<a href="{{ content.actionsActionLink }}"
class="text-button text-button--{{ content.actionsTextButtonColor }}
{% if content.uppercase %} uppercase {% endif %}">
{{ content.actionsButtonLabel }}
<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>
</div>
{% endif %}