{% set route = app.request.get('_route') %}
{% set activeTheme = app.session.get('theme', 'horse') %}
<nav class="main-menu navbar-expand-md navbar-light">
<div class="collapse navbar-collapse show clearfix" id="navbarSupportedContent">
<ul class="navigation clearfix">
<li class="{% if route == 'front_about' %} current {% endif %}">
<a href="{{ path('front_about') }}">{{ 'app.menu.about_us'|trans }}</a>
</li>
<li class="{% if route == 'front_service_index' %} current {% endif %}">
<a href="{{ path('front_service_index') }}">{{ 'app.menu.services'|trans }}</a>
</li>
{% if 'horse' == activeTheme %}
<li class="{% if route == 'front_event_competitions' %} current {% endif %}">
<a href="{{ path('front_event_competitions') }}">{{ 'app.menu.competitions'|trans }}</a>
</li>
{# <li class="dropdown{% if 'front_event_' in route %} current {% endif %}">
<a href="#">{{ 'app.menu.events'|trans }}</a>
<ul class="megamenu">
<li class="{% if route == 'front_event_index' %} current {% endif %}">
<a href="{{ path('front_event_index') }}">{{ 'app.menu.events'|trans }}</a>
</li>
<li>
<a href="{{ path('front_event_competitions') }}">{{ 'app.menu.competitions'|trans }}</a>
</li>
</ul>
</li> #}
{% endif %}
<li class="{% if route == 'front_gallery_index' %} current {% endif %}">
<a href="{{ path('front_gallery_index') }}">{{ 'app.menu.gallery'|trans }}</a>
</li>
<li class="{% if route == 'front_blog_index' %} current {% endif %}">
<a href="{{ path('front_blog_index') }}">{{ 'app.menu.blog'|trans }}</a>
</li>
<li class="{% if route == 'front_contact' %} current {% endif %}">
<a href="{{ path('front_contact') }}">{{ 'app.menu.contact_us'|trans }}</a>
</li>
</ul>
</div>
</nav>