templates/bundles/MLDevBaseBundle/layout/partials/header.html.twig line 1

Open in your IDE?
  1. {% set header_warning_message = mldev_base_block('header-warning-message')|default %}
  2. {% if header_warning_message %}
  3.     {{ header_warning_message|raw }}
  4. {% endif %}
  5. <header class="header compensate-for-scrollbar">
  6.     <div class="container-fluid">
  7.         <div class="header__content">
  8.             <div class="header__col header__col_logo">
  9.                 <a class="header__logo" href="/">
  10.                     <img src="{{ asset('img/logo.svg') }}" alt=""></a>
  11.             </div>
  12.             <div class="header__col header__col_nav">
  13.                 <nav class="header__nav">
  14.                     <ul class="header-menu">
  15.                         {% for index, value in mldev_base_menu('default-top') %}
  16.                             <li>
  17.                                 <a href="{{ value.uri }}">{{ value.name|lower }}</a>
  18.                             </li>
  19.                         {% endfor %}
  20.                     </ul>
  21.                 </nav>
  22.                 {# <div class="header__search search">
  23.                     <div class="search-inner">
  24.                         <div class="search-wrap">
  25.                             <input class="search-input" type="text" placeholder="хочу купить">
  26.                             <button class="search-btn"> найти </button>
  27.                         </div>
  28.                     </div>
  29.                     <div class="search-controls">
  30.                         <button class="search-disable-btn btn-control btn-control-small-close" type="button">
  31.                             <span class="btn-control__icon">
  32.                                 <svg class="icon icon-small-close">
  33.                                     <use xlink:href="/img/sprite.svg#icon-small-close"></use>
  34.                                 </svg>
  35.                             </span>
  36.                         </button>
  37.                     </div>
  38.                 </div>
  39.                 <button class="header__search-btn btn-control btn-control-search" type="button">
  40.                     <span class="btn-control__icon">
  41.                         <svg class="icon icon-search">
  42.                             <use xlink:href="/img/sprite.svg#icon-search"></use>
  43.                         </svg>
  44.                     </span>
  45.                 </button> #}
  46.             </div>
  47.             <div class="header__col header__col_controls">
  48.                 {% set count = app.session.get('mldev-cart-storage')|default([])|reduce((count, v) => count + v, 0) %}
  49.                 <div class="header__controls">
  50.                     <a class="header__controls-item btn-control btn-control-fav" href="{{ path('mldev-front-account') }}">
  51.                         <span class="btn-control__icon">
  52.                             <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
  53.                                 <path d="M20.0364 19.5245C20.6825 19.5245 21.4407 19.2965 21.8251 19.86C22.1054 20.2709 22.4302 20.6935 22.5569 21.1886C22.6336 21.4887 22.6382 21.7529 22.6382 22.0671C22.6382 22.3351 22.1506 22.3141 21.9471 22.4246C21.5669 22.631 20.5117 22.854 20.2984 22.3849C19.9671 21.6565 20.9035 20.5973 21.256 20.0807" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>
  54.                                 <path d="M26.3785 20.3985C26.8371 20.3367 27.2243 20.1921 27.562 20.5221C27.8071 20.7616 28.15 21.0403 28.2666 21.3696C28.4271 21.8227 28.6417 22.8833 28.1492 23.1794C27.8495 23.3596 27.3147 23.2589 26.9838 23.2589C26.4935 23.2589 25.9475 23.138 25.6467 22.7203C25.4506 22.4479 24.7135 20.6368 25.4841 20.6368" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>
  55.                                 <path d="M19.1421 26.6755C20.1961 27.3557 21.3643 28.0615 22.557 28.4854C23.895 28.9608 25.2571 28.9003 26.6539 28.9003C27.3929 28.9003 28.1325 28.3289 28.8176 28.1057" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>
  56.                                 <path d="M24.5897 12.7151C25.8218 12.7151 27.1495 12.5136 28.2846 13.0682C29.1398 13.4861 29.9896 13.9399 30.6696 14.6044C32.1289 16.0305 33.4806 17.494 34.4097 19.3099C35.0638 20.5883 35.6461 22.0007 35.792 23.4416C35.8896 24.4066 35.81 25.4107 35.81 26.3815C35.81 27.8226 34.53 29.3235 33.678 30.4337C32.2073 32.35 30.2201 33.7854 28.2485 35.1393C27.348 35.7576 25.7641 35.9956 24.671 35.9956C23.4964 35.9956 22.3442 36.0441 21.1929 35.819C18.4349 35.28 16.2708 33.1942 14.6702 31.0694C13.5322 29.5585 12.7695 27.9098 12.3485 26.0813C12.12 25.0891 12.0684 24.0587 12.0684 23.0443C12.0684 22.2143 11.9031 21.2288 12.0865 20.4223C12.3399 19.3076 13.0365 18.2042 13.7759 17.3412C14.1886 16.8594 14.7975 16.5417 15.2213 16.0522C15.6488 15.5585 16.1464 15.1533 16.6216 14.7015C17.5665 13.803 19.0388 12.9037 20.2804 12.4767C21.3758 12.1001 22.5422 12 23.6953 12" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>
  57.                             </svg>
  58.                         </span>
  59.                     </a>
  60.                     <a class="header__controls-item btn-control btn-control-cart {% if count > 0 %}active{% endif %}" href="{{ path('mldev-front-cart-index') }}">
  61.                         <span class="btn-control__icon">
  62.                             <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
  63.                                 <path d="M15.3888 19.7004C15.3888 21.3353 15.4427 22.9589 15.2376 24.5789C15.0708 25.8966 14.9496 27.8908 15.2916 29.1663C15.4992 29.9405 14.9044 34 15.8749 34C18.7199 34 21.5243 33.5972 24.3971 33.5972C26.7877 33.5972 29.1784 33.5972 31.5691 33.5972C32.3228 33.5972 33.1619 33.8411 33.859 33.7986C34.2818 33.7728 33.6245 32.6506 33.5673 32.4335C33.1272 30.7618 33.011 28.9669 32.8004 27.253C32.5499 25.2139 32.2298 23.2175 32.3036 21.155C32.3126 20.9033 32.8197 19.2088 32.3792 19.1074C31.3583 18.8724 30.0174 19.0962 28.9768 19.0962C26.7834 19.0962 24.5806 19.0349 22.388 19.0962C20.8135 19.1403 19.1158 19.2836 17.5383 19.4879C16.6589 19.6017 15.8415 19.4099 15 19.7004" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>
  64.                                 <path d="M20.5 22C20.5 20.921 20 20.0845 20 18.9412C20 18.0196 20 17.098 20 16.1765C20 14.2428 21.5057 13 23.1944 13C24.1502 13 26.1476 15.9948 26.25 16.9706C26.3114 17.5558 26.6701 20.7665 27 20.9412" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>
  65.                                 </svg>
  66.                             <div class="counter-cart">{{ count }}</div>
  67.                         </span>
  68.                     </a>
  69.                     <div class="cart-popup">
  70.                         
  71.                     </div>
  72.                     <button class="header__controls-item btn-control btn-control-menu" type="button">
  73.                         <span class="btn-control__icon">
  74.                             <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
  75.                                 <path d="M32.5589 16.1276H26.1762C24.2154 16.1276 21.4501 16.5066 19.4881 16.5066C18.9915 16.5066 18.4904 16.5243 17.9942 16.5066C17.5589 16.491 17.176 16.2256 16.7667 16.1346C16.0618 15.9778 15.3188 16.0012 14.5573 16.0012M14.3787 21.2444C19.1353 21.2444 23.8735 21.1181 28.617 21.1181C29.4589 21.1181 30.2907 20.8654 31.107 20.8654C31.5396 20.8654 31.814 20.7011 32.3064 20.8654M33.9477 26.9822C31.4539 26.9822 29.1125 26.593 26.6532 26.2522C26.1178 26.178 25.5949 26.2838 25.082 26.1259C24.3629 25.9044 23.2453 26.0978 22.5149 26.0978H20.06C18.8501 26.0978 17.5934 26.0503 16.3988 25.8732C15.6226 25.7581 14.7797 25.5924 14 25.5924M34 31.8155C31.0804 32.1357 29.7368 31.9419 26.8042 31.9419H23.1289C22.7973 31.9419 22.4074 32.0005 22.0908 31.8787C20.9796 31.451 19.6735 31.4273 18.5207 31.0855C17.372 30.7449 15.6801 31.3277 14.7052 31.8155" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"/>
  76.                             </svg>
  77.                         </span>
  78.                     </button>
  79.                 </div>
  80.             </div>
  81.         </div>
  82.     </div>
  83.     <div class="side-menu">
  84.         <div class="side-menu__content">
  85.             <div class="side-menu__header">
  86.                 <div class="side-menu__controls">
  87.                     <button class="side-menu__control side-menu__close-btn btn-control btn-control-close" type="button">
  88.                         <span class="btn-control__icon">
  89.                             <svg class="icon icon-close">
  90.                                 <use xlink:href="/img/sprite.svg#icon-close"></use>
  91.                             </svg>
  92.                         </span>
  93.                     </button>
  94.                     <div class="side-menu__control side-menu__search search">
  95.                         <div class="search-inner">
  96.                             <div class="search-wrap">
  97.                                 <input class="search-input" type="text" placeholder="хочу купить">
  98.                                 <button class="search-btn"> найти </button>
  99.                             </div>
  100.                         </div>
  101.                         <div class="search-controls">
  102.                             <button class="search-disable-btn btn-control btn-control-small-close" type="button">
  103.                                 <span class="btn-control__icon">
  104.                                     <svg class="icon icon-small-close">
  105.                                         <use xlink:href="/img/sprite.svg#icon-small-close"></use>
  106.                                     </svg>
  107.                                 </span>
  108.                             </button>
  109.                         </div>
  110.                     </div>
  111.                     {# <button class="side-menu__search-btn btn-control btn-control-search" type="button">
  112.                         <span class="btn-control__icon">
  113.                             <svg class="icon icon-search">
  114.                                 <use xlink:href="/img/sprite.svg#icon-search"></use>
  115.                             </svg>
  116.                         </span>
  117.                     </button> #}
  118.                 </div>
  119.             </div>
  120.             <div class="side-menu__body">
  121.                 <nav class="side-nav">
  122.                     {% for index, value in mldev_base_menu('catalog-root') %}
  123.                         {% if value.isActive %}
  124.                             <div class="side-nav__col side-nav__col_full-catalog">
  125.                                 <a class="side-nav__link" href="{{ value.uri }}"> {{ value.name|lower }} </a>
  126.                             </div>
  127.                         {% endif %}
  128.                     {% endfor %}
  129.                     <div class="side-nav__col side-nav__col_catalog">
  130.                         <ul>
  131.                             {% for index, value in mldev_base_menu('catalog-category') %}
  132.                                 {% if value.isActive %}
  133.                                     <li>
  134.                                         <a class="side-nav__link" href="{{ value.uri }}">{{ value.name|lower }}</a>
  135.                                     </li>
  136.                                 {% endif %}
  137.                             {% endfor %}
  138.                         </ul>
  139.                     </div>
  140.                     <div class="side-nav__col side-nav__col_pages">
  141.                         <ul>
  142.                             {#{% if mldev_base_bundle_exists('MLDevOrderBundle')  %}
  143.                                 {% if is_granted('ROLE_USER_ACCOUNT') %}
  144.                                     <li>
  145.                                         <a class="side-nav__link" href="{{ path('mldev-front-account-login') }}">Кабинет</a>
  146.                                     </li>
  147.                                 {% else %}
  148.                                     <li>
  149.                                         <a class="side-nav__link" href="{{ path('mldev-front-account-login') }}">войти</a>
  150.                                     </li>
  151.                                 {% endif %}
  152.                             {% endif %}#}
  153.                             {% if mldev_base_bundle_exists('MLDevOrderBundle')  %}
  154.                                 <li>
  155.                                     <a class="side-nav__link" href="{{ path('mldev-front-cart-index') }}">корзина</a>
  156.                                 </li>
  157.                             {% endif %}
  158.                             <li>
  159.                                 <a class="side-nav__link" href="{{ path('mldev-front-favourites-index') }}">избранное</a>
  160.                             </li>
  161.                             {% for index, value in mldev_base_menu('additional-sidebar') %}
  162.                                 {% if value.isActive %}
  163.                                     <li>
  164.                                         <a class="side-nav__link" href="{{ value.uri }}">{{ value.name|lower }}</a>
  165.                                     </li>
  166.                                 {% endif %}
  167.                             {% endfor %}
  168.                         </ul>
  169.                     </div>
  170.                 </nav>
  171.             </div>
  172.             <div class="side-menu__footer">
  173.                 <div class="side-menu__contacts contacts-info ">
  174.                     <a class="contacts-info__item contacts-info__logo" href="/">
  175.                         <img src="{{ asset('img/logo.svg') }}" alt="" />
  176.                     </a>
  177.                     <div class="contacts-info__item contacts-info__group">
  178.                         <div class="contacts-info__group-items">
  179.                             {{ mldev_base_block('contact-phone-list')|raw }}
  180.                         </div>
  181.                         <span class="contacts-info__shedule">
  182.                             {{ mldev_base_block('contact-worktime')|raw }}
  183.                         </span>
  184.                     </div>
  185.                     {{ mldev_base_block('contact-email')|raw }}
  186.                     <div class="contacts-info__item contacts-info__socials">
  187.                         {{ mldev_base_block('social-networks')|raw }}
  188.                     </div>
  189.                 </div>
  190.             </div>
  191.         </div>
  192.     </div>
  193. </header>
  194. <nav class="header__nav header__nav-mobile">
  195.     <ul class="header-menu">
  196.         {% for index, value in mldev_base_menu('default-top') %}
  197.             <li>
  198.                 <a href="{{ value.uri }}">{{ value.name|lower }}</a>
  199.             </li>
  200.         {% endfor %}
  201.     </ul>
  202. </nav>
  203. {#
  204. <header class="header">
  205.     <div class="container">
  206.         <div class="header-top">
  207.             <div class="header-logo">
  208.                 <a href="/" class="header-logo__link">
  209.                     <img src="{{ asset('img/content/logotype.svg') }}" alt="">
  210.                 </a>
  211.             </div>
  212.             <nav class="header-navbar">
  213.                 {% for index, value in mldev_base_menu('default-top') %}
  214.                     <a href="{{ value.uri }}" class="header-navbar__link">{{ value.name }}</a>
  215.                 {% endfor %}
  216.             </nav>
  217.             <div class="header-contacts">
  218.                 <div class="header-city">
  219.                     <button class="header-city__toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
  220.                         {{ mldev_seo_site_current().name|default('Не выбран') }}
  221.                     </button>
  222.                     <div class="dropdown-menu">
  223.                         {% for index, site in mldev_seo_site_sites() %}
  224.                             <div>
  225.                                 <a class="dropdown-item {{ site.isCurrent ? 'active' }}" href="{{ site.url ~ app.request.requestUri }}">
  226.                                     {{ site.name|striptags }}
  227.                                 </a>
  228.                             </div>
  229.                         {% endfor %}
  230.                     </div>
  231.                 </div>
  232.                 {{ mldev_base_block('header-phone')|raw }}
  233.             </div>
  234.         </div>
  235.         <div class="header-middle">
  236.             <div class="header-catalog">
  237.                 <a class="header-catalog__toggle" data-bs-toggle="offcanvas" href="#offcanvasCatalog" role="button" aria-controls="offcanvasCatalog">
  238.                     <svg class="icon icon-catalog-toggle">
  239.                         <use xlink:href="/img/sprite.svg#icon-catalog-toggle"></use>
  240.                     </svg> Каталог
  241.                 </a>
  242.                 <div class="offcanvas offcanvas-catalog offcanvas-start" tabindex="-1" id="offcanvasCatalog" aria-labelledby="offcanvasCatalogLabel">
  243.                     <div class="offcanvas-header">
  244.                         <div class="header-logo">
  245.                             <a href="/" class="header-logo__link">
  246.                                 <img src="{{ asset('img/content/logotype.svg') }}" alt="">
  247.                             </a>
  248.                         </div>
  249.                         <div class="offcanvas-header__controls">
  250.                             <form class="input-group form-search" action="/search">
  251.                                 <input class="header-search__input form-control form-control-lg" type="text" placeholder="Поиск по товарам или артикулу" data-url="data/search.json" name="q" dir="ltr" spellcheck=false autocorrect="off" autocomplete="off" autocapitalize="off">
  252.                             </form>
  253.                             <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
  254.                         </div>
  255.                     </div>
  256.                     <div class="offcanvas-body">
  257.                         <div class="offcanvas-catalog__title">Каталог товаров</div>
  258.                         <div class="offcanvas-catalog__list">
  259.                             <div class="offcanvas-catalog__nav nav" id="v-pills-tab" role="tablist" aria-orientation="vertical">
  260.                                 {% for index, value in mldev_base_menu('catalog') %}
  261.                                     <button class="{{ loop.first ? 'active' }}" id="v-pills-tab-{{ value.id }}" data-bs-toggle="pill" data-bs-target="#v-pills-{{ value.id }}" type="button" role="tab" aria-controls="v-pills-{{ value.id }}" aria-selected="true">
  262.                                         {% if value.image %}
  263.                                             <img src="{{ value.image }}" alt="{{ value.name }}"> {{ value.name }}
  264.                                         {% else %}
  265.                                             {{ value.name }}
  266.                                         {% endif %}
  267.                                     </button>
  268.                                 {% endfor %}
  269.                             </div>
  270.                             <div class="tab-content" id="v-pills-tabContent">
  271.                                 {% for index, value in mldev_base_menu('catalog') %}
  272.                                     <div class="tab-pane fade {{ loop.first ? 'show active' }}" id="v-pills-{{ value.id }}" role="tabpanel" aria-labelledby="v-pills-tab-{{ value.id }}">
  273.                                         {% if value.childrens|length > 0 %}
  274.                                             <div class="offcanvas-catalog__nav-list">
  275.                                                 {% for child_index, child_item in value.childrens %}
  276.                                                     {% if child_item.isActive %}
  277.                                                         <a href="{{ child_item.uri }}" class="offcanvas-catalog__nav-link">{{ child_item.name }}</a>
  278.                                                     {% endif %}
  279.                                                 {% endfor %}
  280.                                             </div>
  281.                                         {% endif %}
  282.                                     </div>
  283.                                 {% endfor %}
  284.                             </div>
  285.                         </div>
  286.                     </div>
  287.                 </div>
  288.             </div>
  289.             <div class="header-search">
  290.                 <form class="input-group form-search" action="/search">
  291.                     <input class="header-search__input form-control form-control-lg" type="text"
  292.                            placeholder="Поиск по товарам или артикулу" data-url="{{ path('app-bundle-search-product-by-name') }}"
  293.                            name="q" dir="ltr" spellcheck=false autocorrect="off" autocomplete="off" autocapitalize="off"
  294.                            value="{{ app.request.query.get('q', '') }}">
  295.                 </form>
  296.             </div>
  297.             <div class="header-controls">
  298.                 <a href="{{ path('mldev-front-favourites-index') }}" class="header-controls__item header-controls__item_favorite">
  299.                     <svg class="icon icon-favorite">
  300.                         <use xlink:href="/img/sprite.svg#icon-favorite"></use>
  301.                     </svg> Избранное
  302.                 </a>
  303.                 {% if is_granted('ROLE_USER_ACCOUNT') %}
  304.                     <a href="{{ path('mldev-front-account-login') }}" class="header-controls__item header-controls__item_cabinet">
  305.                         <svg class="icon icon-user">
  306.                             <use xlink:href="/img/sprite.svg#icon-user"></use>
  307.                         </svg> Кабинет
  308.                     </a>
  309.                 {% else %}
  310.                     <a href="{{ path('mldev-front-account-login') }}" class="header-controls__item header-controls__item_cabinet">
  311.                         <svg class="icon icon-user">
  312.                             <use xlink:href="/img/sprite.svg#icon-user"></use>
  313.                         </svg> Вход
  314.                     </a>
  315.                 {% endif %}
  316.                 {% if mldev_base_bundle_exists('MLDevOrderBundle')  %}
  317.                     <a href="{{ path('mldev-front-cart-index') }}" class="header-controls__item  header-controls__item_cart">
  318.                         {% set count = app.session.get('mldev-cart-storage')|default([])|reduce((count, v) => count + v, 0) %}
  319.                         <svg class="icon icon-cart">
  320.                             <use xlink:href="/img/sprite.svg#icon-cart"></use>
  321.                         </svg> Корзина <div class="header-controls__item_counter">{{ count }}</div>
  322.                     </a>
  323.                 {% endif %}
  324.             </div>
  325.         </div>
  326.     </div>
  327. </header>
  328. <div class="mobile-header">
  329.     <div class="container">
  330.         <div class="mobile-header__grid">
  331.             <a href="#mmenu" class="mobile-header__toggle">
  332.                 <svg class="icon icon-catalog-toggle">
  333.                     <use xlink:href="/img/sprite.svg#icon-catalog-toggle"></use>
  334.                 </svg>
  335.             </a>
  336.             <div class="header-logo">
  337.                 <a href="/" class="header-logo__link">
  338.                     <img src="{{ asset('img/content/logotype.svg') }}" alt="">
  339.                 </a>
  340.             </div>
  341.             <div class="header-controls">
  342.                 <a href="{{ path('mldev-front-favourites-index') }}" class="header-controls__item header-controls__item_favorite">
  343.                     <svg class="icon icon-favorite">
  344.                         <use xlink:href="/img/sprite.svg#icon-favorite"></use>
  345.                     </svg> Избранное
  346.                 </a>
  347.                 {% if is_granted('ROLE_USER_ACCOUNT') %}
  348.                     <a href="{{ path('mldev-front-account-login') }}" class="header-controls__item header-controls__item_cabinet">
  349.                         <svg class="icon icon-user">
  350.                             <use xlink:href="/img/sprite.svg#icon-user"></use>
  351.                         </svg> Кабинет
  352.                     </a>
  353.                 {% else %}
  354.                     <a href="{{ path('mldev-front-account-login') }}" data-bs-toggle="modal" data-bs-target="#loginModal" class="header-controls__item header-controls__item_cabinet">
  355.                         <svg class="icon icon-user">
  356.                             <use xlink:href="/img/sprite.svg#icon-user"></use>
  357.                         </svg> Вход
  358.                     </a>
  359.                 {% endif %}
  360.                 {% if mldev_base_bundle_exists('MLDevOrderBundle')  %}
  361.                     <a href="{{ path('mldev-front-cart-index') }}" class="header-controls__item  header-controls__item_cart">
  362.                         {% set count = app.session.get('mldev-cart-storage')|length %}
  363.                         <svg class="icon icon-cart">
  364.                             <use xlink:href="/img/sprite.svg#icon-cart"></use>
  365.                         </svg> Корзина
  366.                         <div class="header-controls__item_counter">{{ count }}</div>
  367.                     </a>
  368.                 {% endif %}
  369.             </div>
  370.         </div>
  371.         <div class="mobile-header__search">
  372.             <form class="input-group form-search" action="/search">
  373.                 <input class="header-search__input form-control form-control-lg" type="text"
  374.                        placeholder="Поиск по товарам или артикулу" data-url="{{ path('app-bundle-search-product-by-name') }}"
  375.                        name="q" dir="ltr" spellcheck=false autocorrect="off" autocomplete="off" autocapitalize="off"
  376.                        value="{{ app.request.query.get('q', '') }}">
  377.             </form>
  378.         </div>
  379.     </div>
  380. </div>
  381. <nav class="mmenu__list" id="mmenu">
  382.     <div class="mmenu__header">
  383.         <div class="header-contacts">
  384.             <div class="header-city">
  385.                 <button class="header-city__toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
  386.                     {{ mldev_seo_site_current().name|default('Не выбран') }}
  387.                 </button>
  388.                 <div class="dropdown-menu">
  389.                     {% for index, site in mldev_seo_site_sites() %}
  390.                         <div>
  391.                             <a class="dropdown-item {{ site.isCurrent ? 'active' }}" href="{{ site.url ~ app.request.requestUri }}">
  392.                                 {{ site.name|striptags }}
  393.                             </a>
  394.                         </div>
  395.                     {% endfor %}
  396.                 </div>
  397.             </div>
  398.             {{ mldev_base_block('header-phone')|raw }}
  399.         </div>
  400.     </div>
  401.     <ul>
  402.         {% for index, value in mldev_base_menu('default-mobile') %}
  403.             <li>
  404.                 <a href="{{ value.uri }}">{{ value.name }}</a>
  405.             </li>
  406.         {% endfor %}
  407.     </ul>
  408. </nav>
  409. #}