templates/client/common/parts/mobile.html.twig line 1

Open in your IDE?
  1. <div class="tm-header-mobile uk-hidden@l">
  2.     <div uk-sticky cls-active="uk-navbar-sticky" sel-target=".uk-navbar-container">
  3.         <div class="uk-navbar-container">
  4.             <nav uk-navbar="container: .tm-header-mobile">
  5.                 <div class="uk-navbar-left">
  6.                     <a class="uk-navbar-toggle" href="#tm-mobile" uk-toggle="animation: true">
  7.                         <div uk-navbar-toggle-icon></div>
  8.                     </a>
  9.                 </div>
  10.                 <div class="uk-navbar-center">
  11.                     <a href="{{ path('homepage') }}" class="uk-navbar-item uk-logo">
  12.                         <img width="200" height="60" src="{{ asset("/assets/images/logo.svg") }}" alt="{{ asset("/assets/images/logo.svg") }}" />
  13.                     </a>
  14.                 </div>
  15.                 <div class="uk-navbar-right">
  16.                     {% if not is_granted('ROLE_CLIENT') %}
  17.                     <div><a href="{{ path('app_login') }}" class="uk-icon-button" uk-icon="icon: sign-in"></a></div>
  18.                     {% else %}
  19.                     <div>
  20.                         {{ include("/client/common/parts/minicart.html.twig") }}
  21.                     </div>
  22.                     <div><a href="{{ path('app_logout') }}" class="uk-icon-button" uk-icon="icon: sign-out"></a></div>
  23.                     {% endif %}
  24.                 </div>
  25.             </nav>
  26.         </div>
  27.         <div class="uk-position-relative tm-header-mobile-slide">
  28.             <div id="tm-mobile" class="uk-position-top" hidden>
  29.                 <div class="uk-background-default uk-padding">
  30.                     <div class="uk-child-width-1-1" uk-grid>
  31.                         <div>
  32.                             <div class="uk-panel" id="module-menu-mobile">
  33.                                 <ul class="uk-nav uk-nav-default uk-nav-divider uk-nav-parent-icon uk-nav-accordion" uk-nav="targets: > .js-accordion">
  34.                                     <li {% if (app.request.get('_route') matches '/^homepage/')  %}class="uk-active"{% endif %}><a {% if (app.request.get('_route') matches '/^homepage/')  %}class="uk-active"{% endif %} href="{{ path('homepage') }}">Home</a></li>
  35.                                     <li class="js-accordion uk-parent">
  36.                                         <a href>Career Path</a>
  37.                                         <ul class="uk-nav-sub">
  38.                                             <li><a href="{{ path('client_career_path_list') }}">All Career Paths</a></li>
  39.                                             {% for item in menuCareerPaths %}
  40.                                             <li><a href="{{ item.path }}" class="elementor-sub-item menu-link">{{ item.title }}</a></li>
  41.                                             {% endfor %}
  42.                                         </ul>
  43.                                     </li>
  44.                                     <li class="js-accordion uk-parent">
  45.                                         <a href="#">Courses</a>
  46.                                         <ul class="uk-nav-sub">
  47.                                             <li><a href="{{ path('client_course_list') }}">All Courses</a></li>
  48.                                             {% for item in menuCourses %}
  49.                                             <li><a href="{{ item.path }}" class="elementor-sub-item menu-link">{{ item.title }}</a></li>
  50.                                             {% endfor %}
  51.                                         </ul>
  52.                                     </li>
  53.                                     <li {% if (app.request.get('_route') matches '/^client_blog/')  %}class="uk-active"{% endif %}><a href="{{ path('client_blog_article_list') }}">Our Blog</a></li>
  54.                                     <li><a href="https://dreamjob.services/" target="_blank">Dream Job</a></li>
  55.                                     <li class="item-148">
  56.                                         <a href="#"> Login</a>
  57.                                     </li>
  58.                                 </ul>
  59.                             </div>
  60.                         </div>
  61.                         <div>
  62.                             <div class="uk-panel" id="module-93">
  63.                                 <div class="uk-margin-remove-last-child custom" >
  64.                                     {% if not is_granted('ROLE_CLIENT') %}
  65.                                     <div class="uk-margin-small">
  66.                                         <a class="uk-button uk-button-secondary uk-button-large uk-width-1-1" href="{{ path('app_login') }}">Login</a>
  67.                                     </div>
  68.                                     <div class="uk-margin-small">
  69.                                         <a class="uk-button uk-button-primary uk-button-large uk-width-1-1" href="{{ path('app_register') }}">Register</a>
  70.                                     </div>
  71.                                     {% else %}
  72.                                     <div class="uk-margin-small">
  73.                                         <a class="uk-button uk-button-primary uk-button-large uk-width-1-1" href="{{ path('client_profile') }}">My Profile</a>
  74.                                     </div>
  75.                                     <div class="uk-margin-small">
  76.                                         <a class="uk-button uk-button-primary uk-button-large uk-width-1-1" href="{{ path('app_logout') }}">Logout</a>
  77.                                     </div>
  78.                                     {% endif %}
  79.                                     <hr />
  80.                                     <p class="uk-text-meta uk-text-center">Copyright &copy; 2022 Learn with Us.</p>
  81.                                     <div class="uk-child-width-auto uk-grid-small uk-flex uk-flex-center" uk-grid>
  82.                                         <div><a class="uk-icon-link uk-icon" href="#" uk-icon="icon: facebook;"></a></div>
  83.                                         <div><a class="uk-icon-link uk-icon" href="#" uk-icon="icon: twitter;"></a></div>
  84.                                         <div><a class="uk-icon-link uk-icon" href="#" uk-icon="icon: github;"></a></div>
  85.                                         <div><a class="uk-icon-link uk-icon" href="#" uk-icon="icon: discord;"></a></div>
  86.                                     </div>
  87.                                 </div>
  88.                             </div>
  89.                         </div>
  90.                     </div>
  91.                 </div>
  92.             </div>
  93.         </div>
  94.     </div>
  95. </div>