{# LIBRARIES #}
{{ attach_library('ui_patterns/sa_travel_updates.sa_travel_updates_lib') }}

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

{# TEMPLATE #}
<!-- Service announcements block -->
{% if links %}
  <div id="sa-block" class="mt-4">
    {% for link in links %}
      {% include "@atoms/tm-links/icon-bookended/icon-bookended.twig" with {
        "text": link['text'],
        "url": link['url'],
        "icon_left": icon_left,
        "icon_right": icon_right,
        "class": "sa-link belianr ffl"
      } %}
    {% endfor %}
  </div>
{% endif %}
<!-- / Service announcements block -->
