templates/menu/menucontainer.html.twig line 24

Open in your IDE?
  1. <div class="container">
  2.     <div class="d-flex">
  3.         <a class="navbar-brand" href="/">
  4.             <img class="navbar-brand-dark" src="{{ asset('assets/img/brand/bf_white.svg')}}" alt="Logo light">
  5.             <img class="navbar-brand-light" src="{{ asset('assets/img/brand/bf_black.svg')}}" alt="Logo dark">
  6.         </a>
  7.     </div>
  8.     <div class="navbar-collapse collapse" id="navbar_global">
  9.         <div class="navbar-collapse-header">
  10.             <div class="row">
  11.                 <div class="col-6 collapse-brand">
  12.                     <a href="{{ path('home', {}, relative = false) }}">
  13.                         <img src="{{ asset('assets/img/brand/bf_blue.svg')}}" alt="Menu logo">
  14.                     </a>
  15.                 </div>
  16.                 <div class="col-6 collapse-close">
  17.                     <a href="#navbar_global" class="fas fa-times" data-toggle="collapse" data-target="#navbar_global" aria-controls="navbar_global" aria-expanded="false" aria-label="Toggle navigation"></a>
  18.                 </div>
  19.             </div>
  20.         </div>
  21.         <ul class="navbar-nav navbar-nav-hover ml-3">
  22.             <li class="nav_item  d-lg-none ">
  23.                <div class="d-flex justify-content-around">
  24.                 {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  25.                 <a href="{{ path('app_logout', {}, relative = false) }}" class="btn btn-sm btn-danger animate-up-1"><i class="fas fa-sign-out-alt mr-2"></i>Déconnexion</a>
  26.                 {%else%}
  27.                 <a href="{{ path('app_login', {}, relative = false) }}" class="btn btn-sm btn-tertiary animate-up-1"><i class="fas fa-sign-in-alt mr-2"></i>Connexion</a>
  28.                 <a href="{{ path('home_route', {'routename':'signup'}, relative = false) }}" class="btn btn-sm btn-gray animate-up-1"><i class="fas fa-user-plus mr-2"></i>Compte</a>
  29.                 {%endif%}
  30.                 </div>
  31.             </li>
  32.             <li class="nav-item">
  33.                 <a href="{{ path('home', {}, relative = false) }}" class="nav-link">
  34.                     <span class="nav-link-inner-text">Accueil</span>
  35.                 </a>
  36.             </li>
  37.             <li class="nav-item dropdown">
  38.                 <a href="#" id="letsGoDropdown" class="nav-link dropdown-toggle" aria-expanded="false" data-toggle="dropdown">
  39.                     <span class="nav-link-inner-text mr-1">Allons-y !</span>
  40.                     <i class="fas fa-angle-down nav-link-arrow"></i>
  41.                 </a>
  42.                 <div class="dropdown-menu dropdown-megamenu p-3 p-lg-4" aria-labelledby="letsGoDropdown">
  43.                     <div class="row">
  44.                         <div class="col-6 col-lg-4">
  45.                             <h6 class="d-block mb-3 text-primary">Compte</h6>
  46.                             <ul class="list-style-none mb-4">
  47.                                 <li class="mb-2 megamenu-item">
  48.                                     <a class="megamenu-link" href="{{ path('home_route', {'routename':'account'}, relative = false) }}">Mon compte</a>
  49.                                 </li>
  50.                                 <li class="mb-2 megamenu-item">
  51.                                     <a class="megamenu-link" href="{{ path('account_subscription', {}, relative = false) }}">Mes abonnements</a>
  52.                                 </li>
  53.                                 <li class="mb-2 megamenu-item">
  54.                                     <a class="megamenu-link" href="{{ path('account_inscriptions', {}, relative = false) }}">Mes inscriptions</a>
  55.                                 </li>
  56.                                 <li class="mb-2 megamenu-item">
  57.                                     <a class="megamenu-link" href="{{ path('account_payments', {}, relative = false) }}">Mes paiements</a>
  58.                                 </li>
  59.                             </ul>
  60.                         </div>
  61.                         <div class="col-6 col-lg-4">
  62.                             <h6 class="d-block text-primary">Festivals</h6>
  63.                             <ul class="list-style-none mb-4">
  64.                                 <li class="mb-2 megamenu-item">
  65.                                     <a class="megamenu-link" href="{{ path('admin_festival_create', {}, relative = false) }}">Créer un festival</a>
  66.                                 </li>
  67.                                 {%if is_granted('IS_AUTHENTICATED_FULLY')%}
  68.                                 {{ render(controller('App\\Controller\\BFFestivalController::ShowBFFestivalMenuList')) }}
  69.                                 {%else%}
  70.                                 <li class="mb-2 megamenu-item">
  71.                                     <a class="megamenu-link" href="{{ path('home_route', {'routename':'account'}, relative = false) }}" class="dropdown-item">Mes festivals</a>
  72.                                 </li>
  73.                                 {%endif%}
  74.                             </ul>
  75.                         </div>
  76.                         <div class="col-6 col-lg-4">
  77.                             <h6 class="d-block text-primary">Challenges</h6>
  78.                             <ul class="list-style-none mb-4">
  79.                                 <li class="mb-2 megamenu-item">
  80.                                     <a class="megamenu-link" href="{{ path('admin_challenge_create', {}, relative = false) }}">Créer un challenge</a>
  81.                                 </li>
  82.                                 <li class="mb-2 megamenu-item">
  83.                                     <a class="megamenu-link" href="{{ path('home_route', {'routename':'allchallenges'}, relative = false) }}">Tous les challenges</a>
  84.                                 </li>
  85.                                 {%if is_granted('IS_AUTHENTICATED_FULLY')%}
  86.                                 {{ render(controller('App\\Controller\\BFChallengeController::ShowBFChallengeMenuList')) }}
  87.                                 {%else%}
  88.                                 <li class="mb-2 megamenu-item">
  89.                                     <a class="megamenu-link" href="{{ path('home_route', {'routename':'account'}, relative = false) }}" class="dropdown-item">Mes challenges</a>
  90.                                 </li>
  91.                                 {%endif%}
  92.                             </ul>
  93.                         </div>
  94.                     </div>
  95.                 </div>
  96.             </li>
  97.             <li class="nav-item dropdown">
  98.                 <a href="#" id="mainPagesDropdown" class="nav-link dropdown-toggle" aria-expanded="false" data-toggle="dropdown">
  99.                     <span class="nav-link-inner-text mr-1">A propos</span>
  100.                     <i class="fas fa-angle-down nav-link-arrow"></i>
  101.                 </a>
  102.                 <ul class="dropdown-menu">
  103.                     <li class="nav-item">
  104.                         <a href="{{ path('home_route', {'routename':'about'}, relative = false) }}" class="dropdown-item">Nos offres et options</a>
  105.                     </li>
  106.                     <li class="nav-item">
  107.                         <a href="{{ path('home_route', {'routename':'contact'}, relative = false) }}" class="dropdown-item">Contact</a>
  108.                     </li>
  109.                     <li class="nav-item">
  110.                         <a href="{{ path('home_route', {'routename':'termsofuse'}, relative = false) }}" class="dropdown-item">Mentions légales</a>
  111.                     </li>
  112.                     <li class="nav-item">
  113.                         <a href="https://bridgefestival.atlassian.net/wiki/spaces/GD/overview" target="_blank" class="dropdown-item">Documentation détaillée</a>
  114.                     </li>
  115.                 </ul>
  116.             </li>
  117.             <li class="nav-item">
  118.                 <a href="https://protect.bridgefestival.fr" target="_blank" class="nav-link">
  119.                     <span class="nav-link-inner-text">Protect</span>
  120.                 </a>
  121.             </li>
  122.         </ul>
  123.     </div>
  124.     <div class="d-none d-lg-block">
  125.         {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  126.         <a href="{{ path('app_logout', {}, relative = false) }}" class="btn btn-sm btn-danger animate-up-1 ml-3"><i class="fas fa-sign-out-alt mr-2"></i>Déconnexion</a>
  127.         {%else%}
  128.         <a href="{{ path('app_login', {}, relative = false) }}" class="btn btn-sm btn-tertiary animate-up-1 ml-3"><i class="fas fa-sign-in-alt mr-2"></i>Connexion</a>
  129.         <a href="{{ path('home_route', {'routename':'signup'}, relative = false) }}" class="btn btn-sm btn-white animate-up-1 ml-3"><i class="fas fa-user-plus mr-2"></i>Compte</a>
  130.         {%endif%}
  131.         <a href="{{ path('admin_festival_create', {}, relative = false) }}" class="btn btn-sm btn-outline-white ml-3"><i class="fas fa-plus mr-2"></i>Festival</a>
  132.     </div>
  133.     <div class="d-flex d-lg-none align-items-center">
  134.         <button class="navbar-toggler ml-2" type="button" data-toggle="collapse" data-target="#navbar_global" aria-controls="navbar_global" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
  135.     </div>
  136. </div>