templates/application/whileresume/website/articles/components/header.html.twig line 1

Open in your IDE?
  1. <div class="nav-header bg-white shadow-xs border-0">
  2.     <div class="nav-top">
  3.         <a href="{% if app.request.locale == "en" %}{{ path('whileresume_homepage') }}{% else %}{{ path('locale_whileresume_homepage',{'_locale':app.request.locale}) }}{% endif %}">
  4.             <img src="/uploads/logo.png" style="width:180px;" alt="{{ websitename }}" />
  5.         </a>
  6.         {% if connectUser %}
  7.             <a href="#" class="mob-menu ms-auto me-2 chat-active-btn">
  8.                 <i class="feather-message-circle text-grey-900 font-sm btn-round-md bg-greylight"></i>
  9.             </a>
  10.         {% endif %}
  11.         <button class="nav-menu me-0 ms-2"></button>
  12.     </div>
  13.     <a href="{% if app.request.locale == "en" %}{{ path('whileresume_homepage') }}{% else %}{{ path('locale_whileresume_homepage',{'_locale':app.request.locale}) }}{% endif %}" class="p-2 text-center ms-3 menu-icon center-menu-icon">
  14.         <i class="feather-home font-lg bg-greylight btn-round-lg theme-dark-bg text-grey-500"></i>
  15.     </a>
  16.     <a href="{{ ios }}" class="p-2 text-center menu-icon center-menu-icon">
  17.         <i class="feather-ios font-lg bg-greylight btn-round-lg theme-dark-bg text-grey-500">
  18.             <svg style="margin-top:-4px;" fill="#adb5bc" width="25px" height="25px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.71 19.5C17.88 20.74 17 21.95 15.66 21.97C14.32 22 13.89 21.18 12.37 21.18C10.84 21.18 10.37 21.95 9.09997 22C7.78997 22.05 6.79997 20.68 5.95997 19.47C4.24997 17 2.93997 12.45 4.69997 9.39C5.56997 7.87 7.12997 6.91 8.81997 6.88C10.1 6.86 11.32 7.75 12.11 7.75C12.89 7.75 14.37 6.68 15.92 6.84C16.57 6.87 18.39 7.1 19.56 8.82C19.47 8.88 17.39 10.1 17.41 12.63C17.44 15.65 20.06 16.66 20.09 16.67C20.06 16.74 19.67 18.11 18.71 19.5ZM13 3.5C13.73 2.67 14.94 2.04 15.94 2C16.07 3.17 15.6 4.35 14.9 5.19C14.21 6.04 13.07 6.7 11.95 6.61C11.8 5.46 12.36 4.26 13 3.5Z"/></svg>
  19.         </i>
  20.     </a>
  21.     <a href="{{ android }}" class="p-2 text-center menu-icon center-menu-icon">
  22.         <i class="feather-android font-lg bg-greylight btn-round-lg theme-dark-bg text-grey-500">
  23.             <svg style="margin-top:-4px; margin-left:7px;" height="20px" width="20px" viewBox="0 0 512 512"><g><path style="fill:#3A9BC8;" d="M225.656,256.052L14.016,485.451l-6.442,7.052c-4.005-5.919-6.704-12.972-7.313-20.806C0.087,470.305,0,468.91,0,467.518V44.499c0-9.488,2.873-18.02,7.574-24.987L225.656,256.052z"/><path style="fill:#9BCD83;" d="M320.811,152.8l-95.155,103.253L7.574,19.512C19.936,1.405,45.183-6.342,66.6,6.02L320.811,152.8z"/><path style="fill:#EEB84C;" d="M455.056,257.27c-0.348,14.453-7.748,28.904-22.113,37.174l-112.132,64.771l-95.155-103.163L320.811,152.8l70.518,40.745l41.614,24.026C448.178,226.366,455.579,241.861,455.056,257.27z"/><path style="fill:#B43F70;" d="M7.591,492.492c12.368,18.116,37.599,25.838,58.976,13.496L320.775,359.22l-95.156-103.209L7.591,492.492z"/></g></svg>
  24.         </i>
  25.     </a>
  26.     {% if connectUser %}
  27.         <a href="#" class="p-2 text-center ms-auto menu-icon chat-active-btn">
  28.             <i class="feather-message-square font-xl text-current"></i>
  29.         </a>
  30.         {% set profileRoute = isCandidateUser ? 'cvs_gestion_candidates_dashboard' : 'cvs_gestion_enterprises_profile_profile' %}
  31.         {% set localeProfileRoute = isCandidateUser ? 'locale_cvs_gestion_candidates_dashboard' : 'locale_cvs_gestion_enterprises_profile_profile' %}
  32.         <a href="{% if app.request.locale == 'en' %}{{ path(profileRoute) }}{% else %}{{ path(localeProfileRoute,{'_locale':app.request.locale}) }}{% endif %}" class="p-0 ms-3 menu-icon">
  33.             <img src="/uploads/no_avatar.png" alt="user" class="w40 mt--1">
  34.         </a>
  35.     {% else %}
  36.         <a href="{% if app.request.locale == 'en' %}{{ path('app_login') }}{% else %}{{ path('locale_app_login',{'_locale':app.request.locale}) }}{% endif %}"
  37.            class="ms-auto me-2 px-3 py-2 d-inline-flex align-items-center fw-600 font-xssss text-white"
  38.            style="background:#000;border-radius:10px;text-decoration:none;">
  39.             <i class="feather-log-in me-2"></i>
  40.             <span class="d-none d-md-inline">{{ 'layout.signin'|trans({}, 'whr-public') }}</span>
  41.         </a>
  42.     {% endif %}
  43. </div>