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

Open in your IDE?
  1. {#
  2. # Project:      www.betten-abc.de
  3. # Company:      arboro GmbH
  4. # Created by:   Daniel Geike
  5. # Created on:   21.09.22
  6. # Description:
  7. #}
  8. {% sw_extends "@Storefront/storefront/layout/header/logo.html.twig" %}
  9. {% block layout_header_logo_image_tablet %}
  10.     {{ parent() }}
  11.     {% block layout_header_logo_image_tablet_dark_mode %}
  12.         {% if theme_config('sw-logo-tablet-light-light') and theme_config('sw-logo-tablet-light') != theme_config('sw-logo-desktop-light') %}
  13.             <source srcset="{{ theme_config('sw-logo-tablet-light') |sw_encode_url }}"
  14.                     media="(max-width: {{ theme_config('breakpoint.md') - 1 }}px) and (prefers-color-scheme: dark)">
  15.         {% endif %}
  16.     {% endblock %}
  17. {% endblock %}
  18. {% block layout_header_logo_image_mobile %}
  19.     {{ parent() }}
  20.     {% block layout_header_logo_image_mobile_dark_mode %}
  21.         {% if theme_config('sw-logo-mobile-light') and theme_config('sw-logo-mobile-light') != theme_config('sw-logo-desktop-light') %}
  22.             <source srcset="{{ theme_config('sw-logo-mobile-light') |sw_encode_url }}"
  23.                     media="(max-width: {{ theme_config('breakpoint.md') - 1 }}px) and (prefers-color-scheme: dark)">
  24.         {% endif %}
  25.     {% endblock %}
  26. {% endblock %}
  27. {% block layout_header_logo_image_default %}
  28.     {% block layout_header_logo_image_default_dark_mode %}
  29.         {% if theme_config('sw-logo-desktop-light') %}
  30.             <source srcset="{{ theme_config('sw-logo-desktop-light') |sw_encode_url }}"
  31.                     media="(max-width: {{ theme_config('breakpoint.md') - 1 }}px) and (prefers-color-scheme: dark)">
  32.         {% endif %}
  33.     {% endblock %}
  34.     {{ parent() }}
  35. {% endblock %}