custom/plugins/DecomTheme/src/Resources/views/storefront/base.html.twig line 42

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_header %}
  3.     <header class="header-main">
  4.         {% block base_header_inner %}
  5.             {% sw_include '@Storefront/storefront/layout/header/header.html.twig' %}
  6.         {% endblock %}
  7.     </header>
  8.     {% if theme_config('sw-contact-phone-link') or theme_config('sw-contact-email-link')  %}
  9.         <div class="floating-cta">
  10.             {% if theme_config('sw-contact-phone-link') %}
  11.                 <div class="cta-item">   
  12.                     <p><a href="tel:{{ theme_config('sw-contact-phone-link') }}">{{ theme_config('sw-contact-phone-link') }}</a></p>
  13.                     {% sw_icon 'phone-icon' style {'namespace': 'DecomTheme' } %}
  14.                 </div>
  15.             {% endif %}
  16.             {% if theme_config('sw-contact-email-link') %}
  17.                 <div class="cta-item">   
  18.                     <p><a href="mailto:{{ theme_config('sw-contact-email-link') }}">{{ theme_config('sw-contact-email-link') }}</a></p>
  19.                     {% sw_icon 'email-icon' style {'namespace': 'DecomTheme' } %}
  20.                 </div>
  21.             {% endif %}
  22.         </div>
  23.     {% endif %}
  24.     
  25. {% endblock %}
  26. {% block base_navigation %}
  27.     
  28. {% endblock %}
  29. {% block base_breadcrumb %}
  30.     {% if controllerName == 'Product' %}
  31.         {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  32.             context: context,
  33.             category: page.product.seoCategory,
  34.             misc: page.product
  35.         } only %}
  36.     {% else %}
  37.         
  38.         {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  39.             context: context,
  40.             category: page.product.seoCategory
  41.         } only %}   
  42.     {% endif %}
  43. {% endblock %}