templates/front/layouts/header.html.twig line 1

Open in your IDE?
  1.    <!-- header & navbar-->
  2.    <div class="header fixed-top">
  3.         <div class="row justify-content-end container-header-1">
  4.             <div class="col-lg-2 col-md-6 col-6 box-header-commercial">
  5.                 <img src="{{ asset('images//Menu/icone_mobile_menu.svg') }}"  class="icone-menu" /><span
  6.                 class="infoline-menu phone-number ">{{ 'front.infos.commercial'|trans({}, 'front') }} : {{ 'front.infos.tel_sales'|trans({}, 'front') }}</span>
  7.             </div>
  8.             <div class="col-lg-4 col-md-6 col-6 box-header-support">
  9.                 <img src="{{ asset('images//Menu/icone_mobile_menu.svg') }}" class="icone-menu" /><span
  10.                 class="infoline-menu phone-number ">
  11.                     {{ 'front.infos.support'|trans({}, 'front') }} : {{ 'front.infos.tel_support'|trans({}, 'front') }}
  12.                     <span class="heurs-travail">{{ 'front.infos.hours'|trans({}, 'front') }}</span>
  13.                 </span>
  14.             </div>
  15.         </div>
  16.         <div class="container container-header">
  17.             <nav class="navbar navbar-expand-lg bloc-navbar container-header-2">
  18.                 <a class="navbar-brand priority-img"  href="{{ path('front_home') }}" >
  19.                     {% if app.request.locale == "en"  %}
  20.                         <img src="{{ asset('images/logo_netisse_menu.svg') }}" alt="" class="img-fluid logo-header-en logohead" />
  21.                     {% else %}    
  22.                         <img src="{{ asset('images/logo_netisse_menu.svg') }}" alt="" class="img-fluid logo-header logohead" />
  23.                     {% endif %}
  24.                 </a>
  25.                 <button class="navbar-toggler hide" type="submit" data-toggle="collapse"
  26.                     data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
  27.                     aria-label="Toggle navigation">
  28.                     <span class="navbar-toggler-icon"></span>
  29.                 </button>
  30.                 <div class="collapse navbar-collapse align-items-center alignement-nav" id="navbarSupportedContent">
  31.                     <ul class="navbar-nav ml-auto menu-middle align-items-center">
  32.                         {% if id_qui_sommes_nous %}
  33.                             <li class="nav-item">
  34.                                 {{ menuMainHeaderSimple('page', id_qui_sommes_nous, 'front.menu.how_us'|trans({}, 'front')) }}
  35.                             </li>
  36.                         {% endif %}
  37.                         <li class="nav-item">
  38.                              {% if id_home_page %}
  39.                                 {{ menuMainHeaderSimple('page', id_home_page, 'front.menu.agency'|trans({}, 'front')) }}
  40.                             {% endif %}
  41.                         </li>
  42.                         <li class="nav-item dropdown  "> 
  43.                           
  44.                             {{ ClasseActive('page','Solutions') }}
  45.                             <div class="dropdown-menu" aria-labelledby="navbarDropdown">
  46.                                 {% if id_page_wts %}
  47.                                     <div class="dropdown-submenu">
  48.                                         {{ menuMainHeader('page', id_page_wts, 'Welcome Hospitality','dropped') }}
  49.                                         <ul class="dropdown-menu">
  50.                                             <li>
  51.                                                 {{ menuMainHeader('childPage', id_page_wts) }}
  52.                                             </li>
  53.                                         </ul>
  54.                                     </div>
  55.                                 {% endif %}
  56.                                  {% if id_page_wfo %}
  57.                                     {{ menuMainHeader('page', id_page_wfo, 'Welcome Workspaces') }}
  58.                                   {% endif %}
  59.                                   {% if id_page_we %}
  60.                                     {{ menuMainHeader('page', id_page_we, 'Welcome Event') }}
  61.                                   {% endif %}
  62.                                   {% if id_page_wp %}
  63.                                     {{ menuMainHeader('page', id_page_wp, 'Welcome Web & Platforms') }}
  64.                                   {% endif %}
  65.                                 {% if id_wma_page is defined and  id_wma_page %}
  66.                                     {{ menuMainHeader('page', id_wma_page, 'Welcome My Assets') }}
  67.                                   {% endif %}
  68.                                    
  69.                             </div>
  70.                         </li>
  71.                         <li class="nav-item">
  72.                           {% if id_category_page_ref %}
  73.                                 {{ menuMainHeaderSimple('category', id_category_page_ref, 'front.menu.references'|trans({}, 'front')) }}
  74.                             {% endif %}
  75.                         </li>
  76.                          <li class="nav-item">
  77.                             <a href="{{ path('contact_message') }}"  class="nav-link  {% if app.request.get('_route') == 'contact_message' %}active{% endif %}">Contact</a>
  78.                         </li>
  79.                     </ul>
  80.                     <ul class="navbar-nav ml-auto btn-language align-items-center box-language">
  81.                         {{ getLanguages() }} 
  82.                     </ul>
  83.                 </div>
  84.             </nav>
  85.         </div>
  86.     </div>