{# LIBRARIES #}
{{ attach_library('ui_patterns/sa_links_block.sa_links_block_lib') }}

{# VARIABLES #}
{% set icon_left = icon_left|default('fas fa-exclamation-triangle') %}
{% set icon_right = icon_right|default(global_icon_right|default('fas fa-chevron-right')) %}

{# TEMPLATE #}
<div class="lb sa-lb sa-{{ block_status }}">
  {% include "@atoms/tm-links/icon-bookended/icon-bookended.twig" with {
    "text": text,
    "url": url,
    "icon_left": icon_left,
    "icon_right": icon_right,
    "class": "lbl belianr ffl",
  } only %}
  {% if intro %}
    <div class="lbi">
      {{ intro|raw }}
    </div>
  {% endif %}
  <div class="lbe">
    {{ extra|raw }}
  </div>
</div>
