{# EXTENDS #}
{% extends "@organisms/tm-line-info/line-info-base/line-info-base.twig" %}

{% set header = title %}
{% set show_view_icon = show_view_icon|default(false) %}
{% set carousel_class = 'bnr_crsl bnr_crsl_lg' %}
{% if show_view_icon %}
  {% set carousel_class = carousel_class ~ ' libs-view-icon' %}
{% endif %}

{% block content_block %}
  {{ attach_library('ui_patterns/line_info_banner_section.line_info_banner_section_lib') }}
  {{ attach_library('ui_patterns/page_banner.page_banner_lib') }}
  {% include '@organisms/tm-pb/page-banner.twig' with {
    'slides': [slide],
    'carousel_attributes': '',
    'carousel_class': carousel_class,
    'slide_classes': 'bnr_sld',
  } %}
{% endblock %}
