custom/static-plugins/Ldscustomise/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_image_tablet %}
  3.     {% if theme_config('sw-logo-tablet') and theme_config('sw-logo-tablet') != theme_config('sw-logo-desktop') %}
  4.         <source srcset="{{ theme_config('sw-logo-tablet') |sw_encode_url|replace({'http:': "https:"}) }}" media="(min-width: {{ theme_config('breakpoint.md') }}px) and (max-width: {{ theme_config('breakpoint.lg') - 1 }}px)">
  5.     {% endif %}
  6. {% endblock %}
  7. {% block layout_header_logo_image_mobile %}
  8.     {% if theme_config('sw-logo-mobile') and theme_config('sw-logo-mobile') != theme_config('sw-logo-desktop') %}
  9.         <source srcset="{{ theme_config('sw-logo-mobile') |sw_encode_url|replace({'http:': "https:"}) }}" media="(max-width: {{ theme_config('breakpoint.md') - 1 }}px)">
  10.     {% endif %}
  11. {% endblock %}
  12. {% block layout_header_logo_image_default %}
  13.     {% if theme_config('sw-logo-desktop') %}
  14.         <img src="{{ theme_config('sw-logo-desktop') |sw_encode_url|replace({'http:': "https:"}) }}" alt="{{ "header.logoLink"|trans|striptags }}" class="img-fluid header-logo-main-img"/>
  15.     {% endif %}
  16. {% endblock %}