custom/plugins/SLSTuningTheme/src/Resources/views/storefront/layout/header/logo.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/header/logo.html.twig' %}
  2. {#
  3. {% block layout_header_logo_inner %}
  4.     <div class="header-logo-main">
  5.         {% block layout_header_logo_link %}
  6.             <a class="header-logo-main-link"
  7.                href="{{ path('frontend.home.page') }}"
  8.                title="{{ "header.logoLink"|trans|striptags }}">
  9.                 {% block layout_header_logo_image %}
  10.                     <picture class="header-logo-picture">
  11.                             {% block layout_header_logo_image_tablet %}
  12.                             {% if theme_config('sw-logo-tablet') and theme_config('sw-logo-tablet') != theme_config('sw-logo-desktop') %}
  13.                                 <source srcset="{{ theme_config('sw-logo-tablet') |sw_encode_url }}"
  14.                                         media="(min-width: {{ theme_config('breakpoint.md') }}px) and (max-width: {{ theme_config('breakpoint.lg') - 1 }}px)">
  15.                             {% endif %}
  16.                         {% endblock %}
  17.                         {% block layout_header_logo_image_mobile %}
  18.                             {% if theme_config('sw-logo-mobile') and theme_config('sw-logo-mobile') != theme_config('sw-logo-desktop') %}
  19.                                 <source srcset="{{ theme_config('sw-logo-mobile') |sw_encode_url }}"
  20.                                         media="(max-width: {{ theme_config('breakpoint.md') - 1 }}px)">
  21.                             {% endif %}
  22.                         {% endblock %}
  23.                         {% block layout_header_logo_image_default %}
  24.                             {% if theme_config('sw-logo-desktop') %}
  25.                                 <img src="{{ theme_config('sw-logo-desktop') |sw_encode_url }}"
  26.                                      alt="{{ "header.logoLink"|trans|striptags }}"
  27.                                      class="img-fluid header-logo-main-img"/>
  28.                             {% endif %}
  29.                         {% endblock %}
  30.                     </picture>
  31.                 {% endblock %}
  32.             </a>
  33.         {% endblock %}
  34.     </div>
  35. {% endblock %}
  36. #}