custom/plugins/BDLCustomThemeChanges/src/Resources/views/storefront/layout/header/top-bar.html.twig line 1

Open in your IDE?
  1. {% block layout_header_top_bar %}
  2.     <div class="top-bar rhweb-topbar">
  3.         <div class="container">
  4.             <nav class="row align-items-center">
  5.                 <div class="col-lg-8 text-sm-left text-left d-md-flex align-items-left">
  6.                     <div class="d-none d-lg-block">
  7.                         {% block layout_header_top_bar_message %}
  8.                             {% if bdlCustomThemeSettings.BDL_topbar_content %}
  9.                                 <span>{{ bdlCustomThemeSettings.BDL_topbar_content|trans|sw_sanitize }}</span>
  10.                             {% endif %}
  11.                         {% endblock %}
  12.                     </div>
  13.                 </div>
  14.                 <div class="col-lg-4 text-sm-right text-center d-md-flex align-items-center justify-content-end">
  15.                     <div class="d-none d-lg-block">
  16.                         {% block layout_header_top_bar_service %}
  17.                             {% sw_include '@Storefront/storefront/layout/header/actions/service-menu-widget.html.twig' %}
  18.                         {% endblock %}
  19.                     </div>
  20.                     <div class="d-none d-lg-block contact-menu-topbar">
  21.                         {% block layout_header_top_bar_contact %}
  22.                             {% if bdlTopbarContactMenu|length > 0 %}
  23.                                 <ul class="service-menu-top topbar-service-menu list-inline m-0">
  24.                                     {% for category in bdlTopbarContactMenu %}
  25.                                         <li class="list-inline-item">
  26.                                             <a class="rhweb-topbar-linkcolor top-bar-list-item" href="{% if externalLink %}{{ externalLink }}{% else %}{{ seoUrl('frontend.navigation.page', { navigationId: category.id }) }}{% endif %}">
  27.                                                 {{ category.translated.name }}
  28.                                             </a>
  29.                                         </li>
  30.                                     {% endfor %}
  31.                                 </ul>
  32.                             {% endif %}
  33.                         {% endblock %}
  34.                     </div>
  35.                     <div class="d-none d-lg-block">
  36.                         {% block layout_header_top_bar_currency %}
  37.                             {# {% if shopware.theme['rhweb-header-layout-topbar-currency'] %} #}
  38.                                 {% sw_include '@Storefront/storefront/layout/header/actions/currency-widget.html.twig' %}
  39.                             {# {% endif %} #}
  40.                         {% endblock %}
  41.                     </div>
  42.                     <div class="d-block test">
  43.                         {% block layout_header_top_bar_language %}
  44.                             {# {% if shopware.theme['rhweb-header-layout-topbar-language'] %} #}
  45.                                 {% sw_include '@Storefront/storefront/layout/header/actions/language-widget.html.twig' %}
  46.                             {# {% endif %} #}
  47.                         {% endblock %}
  48.                     </div>
  49.                     <div class="d-none d-lg-block">
  50.                         {% block layout_header_actions_account %}
  51.                             {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  52.                         {% endblock %}
  53.                     </div>
  54.                 </div>
  55.             </nav>
  56.         </div>
  57.     </div>
  58. {% endblock %}