templates/_structure/menu-navbar.html.twig line 1

Open in your IDE?
  1. <ul class="nav ml-1 no-gutters">
  2.     {% if is_granted('ROLE_MEMBER') and not is_granted('ROLE_AMATEUR') %}
  3.         <li class="nav-item col-12 d-md-none pulse-green {{ 'app_booking_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  4.             <a class="nav-link text-white" href="{{ path('app_booking_mainbooking_index') }}">
  5.                 <i class="fas fa-coins fa-lg mr-1"></i>
  6.                 Guthaben buchen
  7.             </a>
  8.         </li>
  9.     {% endif %}
  10.     <li class="nav-item col-12 col-md-auto {{ 'app_home_index' in app.request.attributes.get('_route') ? 'active' : '' }}">
  11.         <a class="nav-link frivol-xhr" href="{{ path('app_home_index') }}">
  12.             <i class="fas fa-home mr-1 d-md-none invisible"></i>
  13.             Start
  14.         </a>
  15.     </li>
  16.     <li class="nav-item col-12 col-md-auto {{ 'app_globalfeed_index' in app.request.attributes.get('_route') ? 'active' : '' }}">
  17.         <a class="nav-link frivol-xhr" href="{{ path('app_globalfeed_index') }}">
  18.             <i class="fas fa-home mr-1 d-md-none invisible"></i>
  19.             Aktuelles
  20.         </a>
  21.     </li>
  22.     <li class="nav-item d-inline d-lg-none col-12 col-md-auto {{ 'app_user_amateur_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  23.         <a class="nav-link frivol-xhr" href="{{ path('app_user_amateur_online') }}">
  24.             <i class="fas fa-user mr-1 d-md-none"></i>
  25.             Amateure
  26.         </a>
  27.     </li>
  28.     <li class="nav-item dropdown d-none d-lg-inline {{ 'app_user_amateur_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  29.         <a class="nav-link frivol-xhr" href="{{ path('app_user_amateur_online') }}">
  30.             Amateure
  31.         </a>
  32.         <div class="dropdown-menu bg-grey-10 rounded-0 mt-0 border-0" aria-labelledby="navbarDropdown">
  33.             <a class="dropdown-item frivol-xhr {{ 'app_user_amateur_online' in app.request.attributes.get('_route') ? 'active' : '' }}" href="{{ path('app_user_amateur_online') }}">Online Amateure</a>
  34.             <a class="dropdown-item frivol-xhr {{ 'app_user_amateur_top' in app.request.attributes.get('_route') ? 'active' : '' }}" href="{{ path('app_user_amateur_top') }}">Top Amateure</a>
  35.             <a class="dropdown-item frivol-xhr {{ 'app_user_amateur_recent' in app.request.attributes.get('_route') ? 'active' : '' }}" href="{{ path('app_user_amateur_recent') }}">Neue Amateure</a>
  36.             <a class="dropdown-item frivol-xhr" href="#">In deiner Nähe</a>
  37.             <a class="dropdown-item frivol-xhr" href="{{ path('app_user_amateur_search') }}">Amateure finden</a>
  38.         </div>
  39.     </li>
  40.     <li class="nav-item col-12 col-md-auto {{ 'app_livecam_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  41.         <a class="nav-link frivol-xhr" href="{{ path('app_livecam_index') }}">
  42.             <i class="fas fa-video mr-1 d-md-none"></i>
  43.             Live-Cams&nbsp;<span class="badge badge-danger pulse-red float-right position-relative">Neu</span>
  44.         </a>
  45.     </li>
  46.     <li class="nav-item dropdown d-none d-lg-inline {{ 'app_content_video_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  47.         <a class="nav-link frivol-xhr" href="{{ path('app_content_video_index') }}">Videos</a>
  48.         <div class="dropdown-menu bg-grey-10 rounded-0 mt-0 border-0" aria-labelledby="navbarDropdown">
  49.             <a class="dropdown-item frivol-xhr {{ 'app_content_video_index' in app.request.attributes.get('_route') ? 'active' : '' }}" href="{{ path('app_content_video_index') }}">Neue Videos</a>
  50.             <a class="dropdown-item frivol-xhr {{ 'app_content_video_topweek' in app.request.attributes.get('_route') ? 'active' : '' }}" href="{{ path('app_content_video_topweek') }}">Top der Woche</a>
  51.             <a class="dropdown-item frivol-xhr {{ 'app_content_video_topmonth' in app.request.attributes.get('_route') ? 'active' : '' }}" href="{{ path('app_content_video_topmonth') }}">Top des Monats</a>
  52.             <a class="dropdown-item frivol-xhr {{ 'app_content_video_categories' in app.request.attributes.get('_route') ? 'active' : '' }}" href="{{ path('app_content_video_categories') }}">Kategorien</a>
  53.             <a class="dropdown-item frivol-xhr" href="{{ path('app_content_video_search') }}">Videos finden</a>
  54.         </div>
  55.     </li>
  56.     <!-- mobile menu -->
  57.     <li class="nav-item col-12 col-md-auto d-lg-none {{ 'app_content_video_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  58.         <a class="nav-link frivol-xhr" href="{{ path('app_content_video_index') }}">
  59.             <i class="far fa-play-circle  d-md-none mr-1"></i>
  60.             Videos
  61.         </a>
  62.     </li>
  63.     <li class="nav-item col-12 col-md-auto d-lg-none {{ 'app_content_imageset_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  64.         <a class="nav-link frivol-xhr" href="{{ path('app_content_imageset_index') }}">
  65.             <i class="fas fa-camera  d-md-none mr-1"></i>
  66.             Bilder
  67.         </a>
  68.     </li>
  69.     <!-- large again -->
  70.     <li class="nav-item dropdown d-none d-lg-inline {{ 'app_content_imageset_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  71.         <a class="nav-link frivol-xhr" href="{{ path('app_content_imageset_index') }}">Bilder</a>
  72.         <div class="dropdown-menu bg-grey-10 rounded-0 mt-0 border-0" aria-labelledby="navbarDropdown">
  73.             <a class="dropdown-item frivol-xhr {{ 'app_content_imageset_index' in app.request.attributes.get('_route') ? 'active' : '' }}" href="{{ path('app_content_imageset_index') }}">Neue Bilder</a>
  74.             <a class="dropdown-item frivol-xhr {{ 'app_content_imageset_topmonth' in app.request.attributes.get('_route') ? 'active' : '' }}" href="{{ path('app_content_imageset_topmonth') }}">Top Bilder</a>
  75.             <a class="dropdown-item frivol-xhr {{ 'app_content_imageset_categories' in app.request.attributes.get('_route') ? 'active' : '' }}" href="{{ path('app_content_imageset_categories') }}">Kategorien</a>
  76.             <a class="dropdown-item frivol-xhr" href="{{ path('app_content_imageset_search') }}">Bilder finden</a>
  77.         </div>
  78.     </li>
  79.     <li class="nav-item col-12 col-md-auto {{ 'app_groups_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  80.         <a class="nav-link frivol-xhr" href="{{ path('app_groups_index_top') }}">
  81.             <i class="fas fa-users  d-md-none invisible"></i>
  82.             Gruppen
  83.         </a>
  84.     </li>
  85.     <li class="nav-item col-12 col-md-auto {{ 'app_content_category' in app.request.attributes.get('_route') ? 'active' : '' }}">
  86.         <a class="nav-link frivol-xhr" href="{{ path('app_content_categoryvideo_index') }}">
  87.             <i class="fas fa-grip-horizontal d-md-none mr-1"></i>
  88.             Kategorien
  89.         </a>
  90.     </li>
  91.     {% if is_granted('ROLE_MEMBER') %}
  92.         <li class="nav-item col-12 col-md-auto {{ 'app_mediacenter_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  93.             <a class="nav-link frivol-xhr" href="{{ path('app_mediacenter_index') }}">
  94.                 <i class="fas fa-photo-video d-md-none invisible"></i>
  95.                 Mediacenter
  96.             </a>
  97.         </li>
  98.         <li class="nav-item col-12 col-md-auto {{ 'app_home_contact' in app.request.attributes.get('_route') ? 'active' : '' }}">
  99.             <a class="nav-link" href="{{ path('app_home_contact') }}">
  100.                 <i class="fas fa-at mr-1 d-md-none invisible"></i>
  101.                 Kontakt
  102.             </a>
  103.         </li>
  104.     {% endif %}
  105.     {% if is_granted('ROLE_MEMBER') %}
  106.         <li class="nav-item col-12 col-md-auto {{ 'app_marketing_news_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  107.             <a class="nav-link frivol-xhr" href="{{ path('app_marketing_news_index') }}">
  108.                 <i class="fas fa-rss mr-1 d-md-none invisible"></i>
  109.                 News
  110.             </a>
  111.         </li>
  112.     {% endif %}
  113.     {% if is_granted('ROLE_MEMBER') and not is_granted('ROLE_AMATEUR') %}
  114.         <li class="nav-item col-12 col-md-auto d-none d-md-inline-block pulse-green {{ 'app_booking_' in app.request.attributes.get('_route') ? 'active' : '' }}">
  115.             <a class="nav-link text-white" href="{{ path('app_booking_mainbooking_index') }}">
  116.                 Guthaben buchen
  117.             </a>
  118.         </li>
  119.     {% endif %}
  120. </ul>