{# LIBRARIES #}
{{ attach_library('ui_patterns/intro.intro_lib') }}

{# VARIABLES #}
{% set alt_colour = alt_colour|default(false) %}

{# TEMPLATE #}
<div class="sf-intro{% if alt_colour %} sf-alt{% endif %}">
  <div class="mb-3">
    {{ content|raw }}
  </div>
  {% if link %}
    {% include '@atoms/tm-links/standard/standard.twig' with {
      'text': link['title'],
      'url': link['url'],
      'attributes': link['attributes'],
      'class': 'btn btn-outline-custom-color',
    } only %}
  {% endif %}
</div>
