vendor/zenit/gravity-set-2/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
  11.                                 class="header-logo" 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)">
  12.                                 {# Logo white #}
  13.                                 <source class="header-logo-white" srcset="/bundles/zenitplatformgravityset2/assets/logo/jomalogo-wit.png" media="(min-width: {{ theme_config('breakpoint.md') }}px) and (max-width: {{ theme_config('breakpoint.lg') - 1 }}px)">
  14.                             {% endif %}
  15.                         {% endblock %}
  16.                         {% block layout_header_logo_image_mobile %}
  17.                             {% if theme_config('sw-logo-mobile') and theme_config('sw-logo-mobile') != theme_config('sw-logo-desktop') %}
  18.                                 <source
  19.                                 class="header-logo" srcset="{{ theme_config('sw-logo-mobile') |sw_encode_url }}" media="(max-width:
  20.                                                                                                                                                 {{ theme_config('breakpoint.md') - 1 }}px)">
  21.                                 {# Logo white #}
  22.                                 <source class="header-logo-white" srcset="/bundles/zenitplatformgravityset2/assets/logo/jomalogo-wit.png" media="(max-width: {{ theme_config('breakpoint.md') - 1 }}px)">
  23.                             {% endif %}
  24.                         {% endblock %}
  25.                         {% block layout_header_logo_image_default %}
  26.                             {% if theme_config('sw-logo-desktop') %}
  27.                                 <img
  28.                                 src="{{ theme_config('sw-logo-desktop') |sw_encode_url }}" alt="{{ "header.logoLink"|trans|striptags }}" class="img-fluid header-logo-main-img header-logo"/>
  29.                                 {# Logo white #}
  30.                                 <img src="/bundles/zenitplatformgravityset2/assets/logo/jomalogo-wit.png" alt="Joma logo" class="img-fluid header-logo-main-img header-logo-white"/>
  31.                             {% endif %}
  32.                         {% endblock %}
  33.                     </picture>
  34.                 {% endblock %}
  35.             </a>
  36.         {% endblock %}
  37.     </div>
  38. {% endblock %}