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