custom/plugins/SzShoppingExperiences/src/Resources/views/storefront/element/cms-element-categories-head.html.twig line 1

Open in your IDE?
  1. <div class="cms-element-categories-head">
  2.     <span class="cms-category-headline">{{ element.config.headline.value }}</span>
  3.         {% if isSlider %}
  4.             <a href="{{ element.config.buttonUrl.value }}" class="btn is-outline d-flex align-items-center justify-content-between">
  5.                 <span>{{ element.config.buttonText.value }}</span>
  6.             </a>
  7.         {% else %}
  8.     {% if block.slots|length > 7 %}
  9.         <button id="show-categories-button" class="btn is-outline d-flex align-items-center justify-content-between">
  10.                   <span>{{ element.config.buttonText.value }}</span>
  11.                   {% sw_icon 'arrow_up' style {
  12.                       'namespace': 'Tuerschild_2',
  13.                       'class': 'cms-category-headline-icon', }
  14.                   %}
  15.               </button>
  16.     {% endif %}
  17.         {% endif %}
  18. </div>