templates/front/include/mobile_menu.html.twig line 1

  1. {#<div class="mobile-menu d-sm-none">#}
  2. {#    <ul>#}
  3. {#        <li>#}
  4. {#            <a href="{{ path('pocetna') }}" class="active">#}
  5. {#                <i data-feather="home"></i>#}
  6. {#                <span>Početna</span>#}
  7. {#            </a>#}
  8. {#        </li>#}
  9. {#        <li>#}
  10. {#            <a href="javascript:void(0)" class="toggle-category">#}
  11. {#                <i data-feather="align-justify"></i>#}
  12. {#                <span>Category</span>#}
  13. {#            </a>#}
  14. {#        </li>#}
  15. {#        <li>#}
  16. {#            <a href="{{ path('korpa') }}">#}
  17. {#                <i data-feather="shopping-bag"></i>#}
  18. {#                <span>Korpa</span>#}
  19. {#            </a>#}
  20. {#        </li>#}
  21. {#        <li>#}
  22. {#            <a href="wishlist.html">#}
  23. {#                <i data-feather="heart"></i>#}
  24. {#                <span>Wishlist</span>#}
  25. {#            </a>#}
  26. {#        </li>#}
  27. {#        <li><a href="#}
  28. {#            {% if app.user %}#}
  29. {#                {% if app.user.FirmaIliFizickoLice == 1  %}#}
  30. {#                    {{ path('app_firma') }}#}
  31. {#                {% else %}#}
  32. {#                    {{ path('app_profil') }}#}
  33. {#                {% endif %}#}
  34. {#            {% else %}#}
  35. {#                {{ path('app_login') }}#}
  36. {#            {% endif %}#}
  37. {#            ">#}
  38. {#                <i data-feather="user"></i>#}
  39. {#                <span>Profil</span>#}
  40. {#            </a>#}
  41. {#        </li>#}
  42. {#    </ul>#}
  43. {#</div>#}
  44. <!-- mobile fix menu start -->
  45. <div class="mobile-menu d-sm-none d-print-none">
  46.     <ul>
  47.         <li>
  48.             <a href="{{ path('app_shop_home') }}" class="{{ app.request.attributes.get('_route') == 'app_shop_home' ? 'active' : '' }}">
  49.                 <i data-feather="home"></i>
  50.                 <span>Početna</span>
  51.             </a>
  52.         </li>
  53.         <li>
  54.             <a href="{{ path('app_shop_all') }}" class="{{ app.request.attributes.get('_route') == 'app_shop_all' ? 'active' : '' }}">
  55.                 <i data-feather="align-justify"></i>
  56.                 <span>Prodavnica</span>
  57.             </a>
  58.         </li>
  59.         <li>
  60.             <a href="{{ path('app_cart') }}" class="{{ app.request.attributes.get('_route') == 'app_cart' ? 'active' : '' }}">
  61.                 <i data-feather="shopping-cart"></i>
  62.                 <span>Korpa</span>
  63.             </a>
  64.         </li>
  65.         {% if app.user %}
  66. {#            <li>#}
  67. {#                <a href="{{ path('app_profile_view') }}#wish" class="{{ app.request.attributes.get('_route') == 'app_profile_view' ? 'active' : '' }}">#}
  68. {#                    <i data-feather="heart"></i>#}
  69. {#                    <span>Omiljeni</span>#}
  70. {#                </a>#}
  71. {#            </li>#}
  72.             <li>
  73.                 <a href="{{ path('app_profile_view') }}" class="{{ app.request.attributes.get('_route') == 'app_profile_view' ? 'active' : '' }}">
  74.                     <i data-feather="user"></i>
  75.                     <span>Profil</span>
  76.                 </a>
  77.             </li>
  78.         {% else %}
  79.             <li>
  80.                 <a href="{{ path('app_login') }}" class="{{ app.request.attributes.get('_route') == 'app_login' ? 'active' : '' }}">
  81.                     <i data-feather="user"></i>
  82.                     <span>Prijava</span>
  83.                 </a>
  84.             </li>
  85.         {% endif %}
  86.     </ul>
  87. </div>
  88. <!-- mobile fix menu end -->