templates/main/_tpl.html.twig line 116

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block head %}
  3.     <link rel="prerender" href="{{ path('tariff.ru') }}">
  4. {% endblock %}
  5. {% block stylesheets %}
  6.     <link rel="preload" href="{{ asset('src/assets/fonts/Gilroy-Bold.woff', 'main') }}" as="font" crossOrigin="anonymous">
  7.     <link rel="preload" href="{{ asset('src/assets/fonts/Gilroy-Semibold.woff', 'main') }}" as="font" crossOrigin="anonymous">
  8.     <link rel="preload" href="{{ asset('src/assets/fonts/Gilroy-Regular.woff', 'main') }}" as="font" crossOrigin="anonymous">
  9.     <link rel="preload" href="{{ asset('src/assets/fonts/Gilroy-Medium.woff', 'main') }}" as="font" crossOrigin="anonymous">
  10.     <link href="{{ asset('js/vendor.css', 'main') }}" rel="stylesheet">
  11.     <link href="{{ asset('js/main.css', 'main') }}" rel="stylesheet">
  12. {% endblock %}
  13. {% block javascripts_body %}
  14.     <script src="{{ asset('js/vendor.js', 'main') }}"></script>
  15.     <script src="{{ asset('js/i18n/'~locale~'.js', 'main') }}"></script>
  16.     <script src="{{ asset('js/main.js', 'main') }}"></script>
  17. {% endblock %}
  18. {% block body %}
  19.     {% if not fullwidth_page|default(false) %}
  20.         <a href="#" class="totop"></a>
  21.         <div class="wrapper">
  22.             <div class="header">
  23.                 <div class="block"><a class="header__logo" href="/"></a><a class="header__toggle" href="/"><span></span></a>
  24.                     <div class="header__container">
  25.                         <div class="header__menu">
  26.                             <ul class="menu__list">
  27.                                 <li class="menu__entry"><span class="menu__lnk">Решения</span>
  28.                                     <div class="submenu">
  29.                                         <div class="submenu__part">
  30.                                             <div class="submenu__title">ПРОГРАММА ЛОЯЛЬНОСТИ</div>
  31.                                             <ul>
  32.                                                 <li class="submenu__entry">
  33.                                                     <a class="submenu__lnk" href="{{ path('mobile_app_index.ru') }}">
  34.                                                         <img src="{{ asset('img/menu_ic_01.svg', 'main') }}" alt="">
  35.                                                         Мобильное приложение <br>для&nbsp;вашего бизнеса</a></li>
  36.                                                 <li class="submenu__entry">
  37.                                                     <a class="submenu__lnk" href="{{ path('wallet_index') }}">
  38.                                                         <img src="{{ asset('img/menu_ic_02.svg', 'main') }}" alt="">
  39.                                                         Электронные карты лояльности</a></li>
  40.                                                 <li class="submenu__entry">
  41.                                                     <a class="submenu__lnk" href="{{ path('shop.ru') }}">
  42.                                                         <img src="{{ asset('img/menu_ic_03.svg', 'main') }}" alt="">
  43.                                                         Онлайн-магазин</a></li>
  44.                                             </ul>
  45.                                         </div>
  46.                                         <div class="submenu__part">
  47.                                             <div class="submenu__title">CФЕРЫ</div>
  48.                                             <ul>
  49.                                                 <li class="submenu__entry">
  50.                                                     <a class="submenu__lnk" href="/business/restaurants">
  51.                                                         <img src="{{ asset('img/menu_ic_04.svg', 'main') }}" alt="">
  52.                                                         Рестораны и&nbsp;кафе</a></li>
  53.                                                 <li class="submenu__entry">
  54.                                                     <a class="submenu__lnk" href="/business/retail">
  55.                                                         <img src="{{ asset('img/menu_ic_05.svg', 'main') }}" alt="">
  56.                                                         Ритейл</a></li>
  57.                                             </ul>
  58.                                         </div>
  59.                                     </div>
  60.                                 </li>
  61.                                 <li class="menu__entry"><a class="menu__lnk" href="{{ path('tariff.ru') }}">Тарифы</a></li>
  62.                                 {% if is_granted('ROLE_ADMIN') %}
  63.                                     <li class="menu__entry"><a class="menu__lnk" href="{{ path('admin') }}">Admin</a></li>
  64.                                 {% endif %}
  65.                                 <li class="menu__entry"><span class="menu__lnk">Возможности</span>
  66.                                     <div class="submenu">
  67.                                         <div class="submenu__part">
  68.                                             <ul>
  69.                                                 {% for slug,val in moduleMenu.menuLinks %}
  70.                                                     <li class="submenu__entry"><a class="submenu__lnk" href="{{ path('module_page.ru', {slug: slug}) }}">{{ val.title }}</a></li>
  71.                                                 {% endfor %}
  72.                                             </ul>
  73.                                         </div>
  74.                                     </div>
  75.                                 </li>
  76.                                 <li class="menu__entry"><a class="menu__lnk" href="{{ path('blog_index.ru') }}">Блог</a></li>
  77.                             </ul>
  78.                         </div>
  79.                         <div class="header__buttons">
  80.                             <div class="header__lang"><a class="lang__lnk ru" href="#">Ru</a>
  81.                                 <ul class="lang__dropdown">
  82.                                     <li><a href="#">Ru</a></li>
  83.                                     <li><a href="#">En</a></li>
  84.                                 </ul>
  85.                             </div><a class="btn btn_sm btn-o" href="{{ path('register') }}" onclick="{{ YM.goal('free') }}">Попробовать бесплатно</a><a class="btn btn_sm js-login" href="#">Войти</a>
  86.                         </div>
  87.                         <div class="header__contacts">
  88.                             <a class="contacts__phone" href="tel:{{ phone_link }}">{{ phone_display }}</a>
  89.                             <a class="contacts__callback" onclick="{{ YM.goal('connect') }}" href="{{ path('register', {_fragment: 'step-consult'}) }}">Заказать обратный звонок</a>
  90.                         </div>
  91.                     </div>
  92.                 </div>
  93.                 <div class="flmenu">
  94.                     <div class="block">
  95.                         <a href="#features" class="flmenu__lnk">Функции</a>
  96.                         <a href="#blog" class="flmenu__lnk">Кейсы</a>
  97.                         <a href="#reviews" class="flmenu__lnk">Отзывы</a>
  98.                         <a href="#integr" class="flmenu__lnk">Интеграции</a>
  99.                         <a href="#tariff" class="flmenu__lnk">Стоимость</a>
  100.                     </div>
  101.                 </div>
  102.                 <a href="/register#step-consult?promocode=X2" onclick="{{ YM.goal('march') }}" class="header__line">
  103.                     <div class="block">Получите двойную скидку
  104.                         на подписку до 15 марта!
  105.                         <span >Узнать подробнее</span>
  106.                     </div>
  107.                 </a>
  108.             </div>
  109.             {% block content %}{% endblock %}
  110.         </div>
  111.         {% include 'common/footer.html.twig' %}
  112.     {% else %}
  113.         {{ block('content') }}
  114.     {% endif %}
  115.     {% include 'common/popup.html.twig' %}
  116. {% endblock %}