custom/plugins/SchrammTheme/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. {% block layout_header_logo_inner %}
  3.     <div class="header-logo-main">
  4.         {% block layout_header_logo_link %}
  5. <a class="header-logo-main-link" href="{{ path('frontend.home.page') }}" title="{{ " header.logoLink"|trans|striptags }}">
  6.                 {% block layout_header_logo_image %}
  7.                     <picture class="header-logo-picture">
  8.                         {% block layout_header_logo_image_tablet %}
  9.                             {% if theme_config('sw-logo-tablet') and theme_config('sw-logo-tablet') != theme_config('sw-logo-desktop') %}
  10.                                 <source srcset="{{ theme_config('sw-logo-tablet') |sw_encode_url }}" media="(min-width: {{ theme_config('breakpoint.md') }}px) and (max-width: {{ theme_config('breakpoint.lg') - 1 }}px)">
  11.                                 {% endif %}
  12.                             {% endblock %}
  13.                             {% block layout_header_logo_image_mobile %}
  14.                                 {% if theme_config('sw-logo-mobile') and theme_config('sw-logo-mobile') != theme_config('sw-logo-desktop') %}
  15.                                     <source srcset="{{ theme_config('sw-logo-mobile') |sw_encode_url }}" media="(max-width: {{ theme_config('breakpoint.md') - 1 }}px)">
  16.                                     {% endif %}
  17.                                 {% endblock %}
  18.                                 {% block layout_header_logo_image_default %}
  19.                                     {% if theme_config('sw-logo-desktop') %}
  20.                                         <img src="{{ theme_config('sw-logo-desktop') |sw_encode_url }}" alt="{{ " header.logoLink"|trans|striptags }}" class="img-fluid header-logo-main-img" />
  21.                                     {% endif %}
  22.                                 {% endblock %}
  23.                             </picture>
  24.                         {% endblock %}
  25.                     </a>
  26.                 {% endblock %}
  27.             </div>
  28.         {% endblock %}
  29.