templates/front/include/mobile_menu.html.twig line 1
{#<div class="mobile-menu d-sm-none">#}
{# <ul>#}
{# <li>#}
{# <a href="{{ path('pocetna') }}" class="active">#}
{# <i data-feather="home"></i>#}
{# <span>Početna</span>#}
{# </a>#}
{# </li>#}
{# <li>#}
{# <a href="javascript:void(0)" class="toggle-category">#}
{# <i data-feather="align-justify"></i>#}
{# <span>Category</span>#}
{# </a>#}
{# </li>#}
{# <li>#}
{# <a href="{{ path('korpa') }}">#}
{# <i data-feather="shopping-bag"></i>#}
{# <span>Korpa</span>#}
{# </a>#}
{# </li>#}
{# <li>#}
{# <a href="wishlist.html">#}
{# <i data-feather="heart"></i>#}
{# <span>Wishlist</span>#}
{# </a>#}
{# </li>#}
{# <li><a href="#}
{# {% if app.user %}#}
{# {% if app.user.FirmaIliFizickoLice == 1 %}#}
{# {{ path('app_firma') }}#}
{# {% else %}#}
{# {{ path('app_profil') }}#}
{# {% endif %}#}
{# {% else %}#}
{# {{ path('app_login') }}#}
{# {% endif %}#}
{# ">#}
{# <i data-feather="user"></i>#}
{# <span>Profil</span>#}
{# </a>#}
{# </li>#}
{# </ul>#}
{#</div>#}
<!-- mobile fix menu start -->
<div class="mobile-menu d-sm-none d-print-none">
<ul>
<li>
<a href="{{ path('app_shop_home') }}" class="{{ app.request.attributes.get('_route') == 'app_shop_home' ? 'active' : '' }}">
<i data-feather="home"></i>
<span>Početna</span>
</a>
</li>
<li>
<a href="{{ path('app_shop_all') }}" class="{{ app.request.attributes.get('_route') == 'app_shop_all' ? 'active' : '' }}">
<i data-feather="align-justify"></i>
<span>Prodavnica</span>
</a>
</li>
<li>
<a href="{{ path('app_cart') }}" class="{{ app.request.attributes.get('_route') == 'app_cart' ? 'active' : '' }}">
<i data-feather="shopping-cart"></i>
<span>Korpa</span>
</a>
</li>
{% if app.user %}
{# <li>#}
{# <a href="{{ path('app_profile_view') }}#wish" class="{{ app.request.attributes.get('_route') == 'app_profile_view' ? 'active' : '' }}">#}
{# <i data-feather="heart"></i>#}
{# <span>Omiljeni</span>#}
{# </a>#}
{# </li>#}
<li>
<a href="{{ path('app_profile_view') }}" class="{{ app.request.attributes.get('_route') == 'app_profile_view' ? 'active' : '' }}">
<i data-feather="user"></i>
<span>Profil</span>
</a>
</li>
{% else %}
<li>
<a href="{{ path('app_login') }}" class="{{ app.request.attributes.get('_route') == 'app_login' ? 'active' : '' }}">
<i data-feather="user"></i>
<span>Prijava</span>
</a>
</li>
{% endif %}
</ul>
</div>
<!-- mobile fix menu end -->