templates/front/partials/button-arrow.html.twig line 1

Open in your IDE?
  1. {% set target = cta.target %}
  2. {% if cta.internal is defined and cta.internal is not null %}
  3.     {% set href = page_url(cta.internal, "front") %}
  4. {% else %}
  5.     {% set href = cta.external %}
  6. {% endif %}
  7. <a href="{{ href }}" target="{{ target }}" class="relative button button--arrow button--rounded {{ class }}">
  8.     <span class="font-weight-bold">{{ cta.label }}</span>
  9.     <svg width="12" height="12" class="picto icon ml-2 flex-shrink-0">
  10.         <use href="#icon-arrow" xlink:href="#icon-arrow"></use>
  11.     </svg>
  12. </a>