templates/pages/main_navbar.html.twig line 1

Open in your IDE?
  1. <div class="navbar">
  2.     <nav class="header_navbar">
  3.         <ul id="slide-out" class="sidenav">
  4.             <li>
  5.                 <div class="row slide-out_logo_row">
  6.                     <img alt="logo puush creation site internet" id="slide-out_logo" src="/images/puush_logo_name.png">
  7.                     <br>
  8.                 </div>
  9.             </li>
  10.             <li class="sidenav_menu"><a href="{{ path('home') }}">Accueil</a>
  11.             </li>
  12.             <li class="sidenav_menu"><a href="{{ path('app_expert') }}">{% trans %}Expertises{% endtrans %}</a></li>
  13.             <li class="sidenav_menu"><a href="{{ path('galery') }}">Projets</a></li>
  14.             <li class="sidenav_menu"><a href="{{ path('app_blog') }}">{% trans %}Blog{% endtrans %}</a></li>
  15.             <li class="sidenav_menu"><a href="{{ path('contact_create') }}">{% trans %}Contact{% endtrans %}</a></li>
  16.         </ul>
  17.         <a href="#" data-target="slide-out" class="sidenav-trigger"><i class="material-icons">menu</i></a>
  18.         <div class="nav-wrapper" {{ app.session.flashbag.peek('success')|length > 0 ? '' : 'mb-5' }}>
  19.             <div class="row" id="logo_row_container">
  20.                 {#***** only for large screens ****#}
  21.                 <a href="{{ path('home') }}"><img src="{{ asset ('/images/puush_logo_name.png') }}" id="navbar_title_logo"></a>
  22.                 <ul class="right hide-on-med-and-down">
  23.                     {#<li id="navbar_lang"><a href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'en'})) }}">EN</a>#}
  24.                     {#| <a href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'fr'})) }}">FR</a>#}
  25.                     {#</li>#}
  26.                     <li class="home_li_text">
  27.                         <a id="navbar_home" href="{{ path('home') }}" class="mobileMenu">
  28.                             {% trans %}Accueil{% endtrans %}
  29.                         </a>
  30.                     </li>
  31.                     <li class="home_li_text">
  32.                         <a id="navbar_home" href="{{ path('app_expert') }}" class="mobileMenu">
  33.                             {% trans %}Expertises{% endtrans %}
  34.                         </a>
  35.                     </li>
  36.                     <li class="home_li_text">
  37.                         <a id="navbar_galery" href="{{ path('galery') }}" class="mobileMenu">
  38.                             {% trans %}Projets{% endtrans %}
  39.                         </a>
  40.                     </li>
  41.                     <li class="home_li_text">
  42.                         <a id="navbar_home" href="{{ path('app_blog') }}" class="mobileMenu">
  43.                             {% trans %}Blog{% endtrans %}
  44.                         </a>
  45.                     </li>
  46.                     <li class="home_li_text">
  47.                         <a id="navbar_contact" href="{{ path('contact_create') }}" class="mobileMenu">
  48.                             {% trans %}Contact{% endtrans %}
  49.                         </a>
  50.                     </li>
  51.                     <li class="home_li_text_social">
  52.                         <a href="https://www.facebook.com/people/PUUSH/100091267292893/"
  53.                            class="mobileMenu">
  54.                             <img class="navbar_icon" alt="facebook icon in white" src="/images/icon_facebook.png">
  55.                         </a>
  56.                         {#<a href="{{ path('contact_create') }}"#}
  57.                            {#class="mobileMenu">#}
  58.                             {#<img class="navbar_icon" alt="instagram icon in white" src="/images/icon_instagram.png">#}
  59.                         {#</a>#}
  60.                         {#<a href="{{ path('contact_create') }}"#}
  61.                            {#class="mobileMenu">#}
  62.                             {#<img class="navbar_icon" alt="twitter icon in white" src="/images/icon_twitter.png">#}
  63.                         {#</a>#}
  64.                         <a href="https://www.linkedin.com/company/puush/"
  65.                            class="mobileMenu">
  66.                             <img class="navbar_icon" alt="linkedin icon in white" src="/images/icon_linkedin.png">
  67.                         </a>
  68.                     </li>
  69.                 </ul>
  70.             </div>
  71.         </div>
  72.     </nav>
  73. </div>
  74. {% if app.session.flashbag.peek('success') %}
  75. <nav class="nav-extended {{ app.session.flashbag.peek('success')|length > 0 ? '' : 'mb-5' }}" id="nav-extended_success">
  76.     {% for message in app.flashes('success') %}
  77.         <div>
  78.             {{ message }}
  79.         </div>
  80.         </nav>
  81.     {% endfor %}
  82. {% elseif app.session.flashbag.peek('error') %}
  83. <nav class="nav-extended {{ app.session.flashbag.peek('error')|length > 0 ? '' : 'mb-5' }}" id="nav-extended_error">
  84.     {% for message in app.flashes('error') %}
  85.         <div>
  86.             {{ message }}
  87.         </div>
  88.         </nav>
  89.     {% endfor %}
  90. {% elseif app.session.flashbag.peek('info') %}
  91. <nav class="nav-extended {{ app.session.flashbag.peek('info')|length > 0 ? '' : 'mb-5' }}" id="nav-extended_info">
  92.     {% for message in app.flashes('info') %}
  93.         <div>
  94.             {{ message }}
  95.         </div>
  96.         </nav>
  97.     {% endfor %}
  98. {% elseif app.session.flashbag.peek('warning') %}
  99. <nav class="nav-extended {{ app.session.flashbag.peek('warning')|length > 0 ? '' : 'mb-5' }}" id="nav-extended_warning">
  100.     {% for message in app.flashes('warning') %}
  101.         <div>
  102.             {{ message }}
  103.         </div>
  104.         </nav>
  105.     {% endfor %}
  106. {% endif %}
  107. {% block javascripts %}
  108.     {{ encore_entry_script_tags('app') }}
  109.     {{ encore_entry_script_tags('globalJs') }}
  110. {% endblock %}