src/ApplicationBundle/Resources/views/inc/central_header.html.twig line 1

Open in your IDE?
  1. {# central landing page for honeybee #}
  2. {% if not include_html is defined %}
  3.     {% set include_html=1 %}
  4.     {% if  app.request.request.get('skipHTML') !='' %}
  5.         {% set include_html= 0 %}
  6.     {% endif %}
  7.     {% if  app.request.query.get('skipHTML') !='' %}
  8.         {% set include_html= 0 %}
  9.     {% endif %}
  10. {% endif %}
  11. {% if include_html==1 %}
  12. <!DOCTYPE html>
  13. <html lang="en">
  14. <head>
  15.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  16.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  17.     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
  18.     <meta name="description" content="HoneyBee Ecosystem is a Full Fledged Ecosystem adaptive for Every Type of business Needs Powered by HoneyBee IoT">
  19.     <meta name="keywords" content="HoneyBee Ecosystem, Honeybee, honey bee, Emrul Hasan, Mozibul Yasser, Business, Management, ">
  20.     <meta name="author" content="HoneyBee Ecosystem">
  21.     <title id="pageTitle">{{ page_title }}</title>
  22.     <meta property="og:title" content="{{ og_title is defined? og_title: page_title }}"/>
  23.     <meta property="og:description"
  24.           content="{{ og_description is defined? og_description: 'HoneyBee Ecosystem is a Full Fledged Ecosystem adaptive for Every Type of business Needs Powered by HoneyBee IoT' }}"/>
  25.     <meta property="og:image"
  26.           content="{{ og_image is defined? (absolute_url(path('dashboard'))~og_image):( absolute_url(path('dashboard'))~'images/honey_bee_icon_w_text.png') }}"/>
  27.     <meta name="robots" content="index, follow">
  28.     <link rel="shortcut icon" type="image/x-icon" href="{{ asset('favicon.ico') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  29.     <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('apple-icon.png') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  30.     <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('favicon-32x32.png') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  31.     <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('favicon-16x16.png') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  32.     <link rel="manifest" href="{{ asset('site.webmanifest') }}">
  33.     <link rel="mask-icon" href="{{ asset('safari-pinned-tab.svg') }}" color="#f2003a">
  34.     <meta name="msapplication-TileColor" content="#00aba9">
  35.     <meta name="theme-color" content="#ffffff">
  36.     <link rel="manifest" href="{{ asset('buddybee_assets/manifest.json') }}">
  37.     <meta name="msapplication-TileColor" content="#ffffff">
  38.     {#    <meta name="msapplication-TileImage" content="{{ asset('buddybee_assets/ms-icon-144x144.png') }}">#}
  39.     <link rel="mask-icon" href="{{ asset('safari-pinned-tab.svg') }}" color="#f2003a">
  40.     <meta name="theme-color" content="#ffffff">
  41.     {#<link rel="apple-touch-icon" href="pixinvent/images/favicon/apple-touch-icon-152x152.png">#}
  42.     {#<link rel="shortcut icon" type="image/x-icon" href="pixinvent/images/favicon/favicon-32x32.png">#}
  43.     {#<link href='fonts/css0a62.css?family=Roboto:300italic,400italic,300,400,500,700,900' rel='stylesheet' type='text/css'/>#}
  44.     <script>
  45.         var logger = function () {
  46.             var oldConsoleLog = null;
  47.             var pub = {};
  48.             pub.enableLogger = function enableLogger() {
  49.                 if (oldConsoleLog == null)
  50.                     return;
  51.                 window['console']['log'] = oldConsoleLog;
  52.             };
  53.             pub.disableLogger = function disableLogger() {
  54.                 oldConsoleLog = console.log;
  55.                 window['console']['log'] = function () {
  56.                 };
  57.             };
  58.             return pub;
  59.         }();
  60.         {% if app.session.get('devAdminMode') ==1 %}
  61.         {% else %}
  62.         window['console']['log'] = function () {
  63.         };
  64.         {% endif %}
  65.             
  66.     </script>
  67.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
  68.     <!-- Swiper CSS -->
  69.     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css">
  70.     <link rel="stylesheet" href=" {{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/bootstrap.css?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  71.     <!-- Preloader Font -->
  72.     <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap" rel="stylesheet">
  73.     <link rel="stylesheet" type="text/css"
  74.           href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.13.3/css/selectize.css?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}"/>
  75.     <link rel="stylesheet" href="{{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/style.css?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  76.     <link rel="stylesheet" id="dark-theme-css" href="{{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/dark.css?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}" disabled="true">
  77.    
  78.     <link rel="stylesheet" href="{{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/responsive.css?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  79.     <link rel="stylesheet" href="{{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/temporary_inline.css?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  80.     <style>
  81.         {% if app.session.get('devAdminMode') !=1 %}
  82.         .sf-toolbar {
  83.             display: none !important;
  84.         }
  85.         {% endif %}
  86.     </style>
  87.     <!-- Preloader Style -->
  88.     <style>
  89.       /* Preloader styles */
  90.       * {
  91.         box-sizing: border-box;
  92.       }
  93.       body {
  94.         font-family: 'Montserrat', sans-serif;
  95.         overflow: hidden;
  96.         margin: 0;
  97.       }
  98.       #preloader {
  99.         position: fixed;
  100.         top: 0;
  101.         left: 0;
  102.         width: 100%;
  103.         height: 100vh;
  104.         background-image: radial-gradient(circle at 10% 20%, #e6f8fa 0.1%, #e6f8fa 94.2%);
  105.         display: flex;
  106.         justify-content: center;
  107.         align-items: center;
  108.         z-index: 9999;
  109.         flex-direction: column;
  110.       }
  111.       .loading-container {
  112.         max-width: 520px;
  113.         text-align: center;
  114.         color: #fff;
  115.         position: relative;
  116.         margin: 0 32px;
  117.       }
  118.       .loading-container::before {
  119.         content: '';
  120.         position: absolute;
  121.         width: 100%;
  122.         height: 3px;
  123.         background-color: #fff;
  124.         bottom: 0;
  125.         left: 0;
  126.         border-radius: 10px;
  127.         animation: movingLine 2.4s infinite ease-in-out;
  128.       }
  129.       @keyframes movingLine {
  130.         0% { opacity: 0; width: 0; }
  131.         33.3%, 66% { opacity: 0.8; width: 100%; }
  132.         85% { width: 0; right: 0; opacity: 1; }
  133.         100% { opacity: 0; width: 0; }
  134.       }
  135.       .loading-text {
  136.         font-size: 5vw;
  137.         line-height: 64px;
  138.         letter-spacing: 10px;
  139.         margin-bottom: 32px;
  140.         display: flex;
  141.         justify-content: space-evenly;
  142.       }
  143.       .loading-text span {
  144.         animation: moveLetters 2.4s infinite ease-in-out;
  145.         transform: translateX(0);
  146.         position: relative;
  147.         display: inline-block;
  148.         opacity: 0;
  149.         text-shadow: 0px 2px 10px rgba(46, 74, 81, 0.3); 
  150.       }
  151.       .loading-text span:nth-child(1) { animation-delay: 0.1s; }
  152.       .loading-text span:nth-child(2) { animation-delay: 0.2s; }
  153.       .loading-text span:nth-child(3) { animation-delay: 0.3s; }
  154.       .loading-text span:nth-child(4) { animation-delay: 0.4s; }
  155.       .loading-text span:nth-child(5) { animation-delay: 0.5s; }
  156.       .loading-text span:nth-child(6) { animation-delay: 0.6s; }
  157.       .loading-text span:nth-child(7) { animation-delay: 0.7s; }
  158.       @keyframes moveLetters {
  159.         0%   { transform: translateX(-15vw); opacity: 0; }
  160.         33.3%, 66% { transform: translateX(0); opacity: 1; }
  161.         100% { transform: translateX(15vw); opacity: 0; }
  162.       }
  163.       .socials {
  164.         position: fixed;
  165.         bottom: 16px;
  166.         right: 16px;
  167.         display: flex;
  168.         align-items: center;
  169.       }
  170.       .social-link {
  171.         color: #fff;
  172.         margin-left: 12px;
  173.       }
  174.     </style>
  175.     <script>
  176.             function changeTheme(isDark){
  177.                     if(isDark)
  178.                         {
  179.                         
  180.                             const images = document.querySelectorAll(`img`);
  181.                             images.forEach(img => {
  182.                                 img.src = img.src.replace('/honeybee_web_assets/','/honeybee_web_assets/dark/');
  183.                             });
  184.                             document.getElementById('dark-theme-css').disabled = false
  185.                             document.getElementById('theme-toggle-checkbox').checked = true
  186.                             
  187.                         }
  188.                         else{
  189.         
  190.                             const images = document.querySelectorAll(`img`);
  191.                             images.forEach(img => {
  192.                                 img.src = img.src.replace('/honeybee_web_assets/dark/','/honeybee_web_assets/');
  193.                             });
  194.                             
  195.                             document.getElementById('dark-theme-css').disabled = true
  196.                             document.getElementById('theme-toggle-checkbox').checked = false
  197.                             
  198.                         }
  199.                         localStorage.setItem("theme", isDark?'dark':'light');
  200.             }
  201.     </script>
  202.     
  203.     <script>
  204.         if (typeof module === 'object') {
  205.             window.module = module;
  206.             module = undefined;
  207.         }
  208.         //    require('./preload');
  209.     </script>
  210.     <script src="https://code.jquery.com/jquery-3.4.1.min.js"
  211.             integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
  212.     <script data-ad-client="ca-pub-8286883017903771" async
  213.             src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  214.     <script>
  215.         var BaseURL = '{{ url('dashboard') }}';
  216.     </script>
  217. </head>
  218. <!-- Google tag (gtag.js) -->
  219. <script async src="https://www.googletagmanager.com/gtag/js?id=G-V22132YMJ3"></script>
  220. <script>
  221.     window.dataLayer = window.dataLayer || [];
  222.     function gtag() {
  223.         dataLayer.push(arguments);
  224.     }
  225.     gtag('js', new Date());
  226.     gtag('config', 'G-V22132YMJ3');
  227. </script>
  228. {#{% set BUDDYBEE_ADMIN_LEVEL= 0 %}#}
  229. {#{% set isConsultant= 0 %}#}
  230. {#{% if (session[UserConstants.USER_ID] is defined ) %}#}
  231. {#{% set isConsultant= session[UserConstants.IS_CONSULTANT] is defined? session[UserConstants.IS_CONSULTANT]:0 %}#}
  232. {#{% set BUDDYBEE_ADMIN_LEVEL= session[UserConstants.BUDDYBEE_ADMIN_LEVEL] is defined? session[UserConstants.BUDDYBEE_ADMIN_LEVEL]:0 %}#}
  233. {#{% endif %}#}
  234. {% set BUDDYBEE_ADMIN_LEVEL= 0 %}
  235. {% set isConsultant= 0 %}
  236. {% if (session[UserConstants.USER_ID] is defined ) %}
  237. {% set isConsultant= session[UserConstants.IS_CONSULTANT] is defined? session[UserConstants.IS_CONSULTANT]:0 %}
  238. {% set BUDDYBEE_ADMIN_LEVEL= session[UserConstants.BUDDYBEE_ADMIN_LEVEL] is defined? session[UserConstants.BUDDYBEE_ADMIN_LEVEL]:0 %}
  239. {% if BUDDYBEE_ADMIN_LEVEL>=3 %}
  240. <body class="buddybee_body has_admin_bar">
  241. {% elseif BUDDYBEE_ADMIN_LEVEL>=1 %}
  242. <body class="buddybee_body has_admin_bar">
  243. {% else %}
  244. <body class="buddybee_body">
  245. {% endif %}
  246. {% endif %}
  247. <body class="body-mask">
  248. <!--  Preloader -->
  249.   <div id="preloader">
  250.       <div class="loading-container">
  251.         <div class="loading-text">
  252.           <span>L</span>
  253.           <span>O</span>
  254.           <span>A</span>
  255.           <span>D</span>
  256.           <span>I</span>
  257.           <span>N</span>
  258.           <span>G</span>
  259.         </div>
  260.       </div>
  261.       <div class="socials">
  262.         <a class="social-link" href="https://twitter.com/aybukeceylan" target="_top">
  263.           <!-- Twitter icon -->
  264.           <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" ... class="feather feather-twitter"><path d="..."/></svg>
  265.         </a>
  266.         <a class="social-link" href="https://www.linkedin.com/in/ayb%C3%BCkeceylan/" target="_top">
  267.           <!-- LinkedIn icon -->
  268.           <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" ... class="feather feather-linkedin"><path d="..."/></svg>
  269.         </a>
  270.       </div>
  271.     </div>
  272. <!-- =========== Navbar Start =============== -->
  273. <!-- header v1 -->
  274. <nav class="navbar navbar-expand-lg">
  275.     <div class="container-fluid">
  276.         <a class="navbar-brand" href="{{ url('dashboard') }}">
  277.             <img src="{{ absolute_url(path('dashboard')) }}honeybee_web_assets/icons/honeybeeicon.svg?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}" alt="Logo" class="logo">
  278.         </a>
  279.         <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
  280.             <span class="navbar-toggler-icon"></span>
  281.         </button>
  282.         {# navigation  #}
  283.         <div class="collapse navbar-collapse transition-collapse" id="navbarNav">
  284.             <ul class="navbar-nav me-auto">
  285.                 {# home #}
  286.                 {# <li class="nav-item">
  287.                     <a class="nav-link trn {% if app.request.get('_route') == 'dashboard' %}active{% endif %} "  href="{{ url('dashboard') }}" data-trn-key="_HOME_">Home</a>
  288.                 </li> #}
  289.                 {# services #}
  290.                 <li class="nav-item">
  291.                     <a class="nav-link trn {% if app.request.get('_route') == 'honeybee_services' %}active{% endif %}" href="{{ url('honeybee_services') }}" data-trn-key="_SERVICES_">Services</a>
  292.                 </li>
  293.                 {# Pricing #}
  294.                 <li class="nav-item ">
  295.                     <a class="nav-link trn {% if app.request.get('_route') == 'honeybee_pricing' %}active{% endif %}" href="{{ url('honeybee_pricing') }}" data-trn-key="_PRICING_">Pricing</a>
  296.                 </li>
  297.                 {# about us #}
  298.                 <li class="nav-item">
  299.                     {# <a class="nav-link {% if app.request.get('_route') == 'honeybee_about_us' %}active{% endif %}" href="{{ url('honeybee_about_us') }}">About Us</a> #}
  300.                     <a class="nav-link trn {{ app.request.pathInfo == '/about' ? 'active' : '' }}" href="{{ url('honeybee_about_us') }}" data-trn-key="_ABOUT_US_"> About Us </a>                    
  301.                 </li>
  302.                 
  303.                 {# hire #}
  304.                 <li class="nav-item">
  305.                     <a class="nav-link trn {% if app.request.get('_route') == 'honeybee_hire' %}active{% endif %}" href="{{ url('honeybee_hire') }}" data-trn-key="_HIRE_">Hire</a>
  306.                 </li>
  307.                 
  308.                 {# more option. others pages dropdown #}
  309.                 <li class="nav-item dropdown d-none d-lg-block">
  310.                     <a class="nav-link dropdown-toggle text-decoration-none" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
  311.                         <span class="trn" data-trn-key="_MORE_">More</span> <span class="fs-6">&#9662;</span>
  312.                     </a>
  313.                     <ul class="dropdown-menu bg-white text-black border border-secondary shadow w-50 mx-auto">
  314.                         
  315.                         {# get hired #}
  316.                   <li class="nav-item">
  317.                         <a class="dropdown-item text-black text-start fs-7 px-4 nav-link trn{% if app.request.get('_route') == 'honeybee_get_hire' %}active{% endif %}" href="{{ url('honeybee_get_hire') }}" style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-trn-key="_GET_HIRED_">Get Hired</a>
  318.                     </li>
  319.                         <li><hr class="dropdown-divider"></li>
  320.                         {# product #}
  321.                    <li class="nav-item">
  322.     <a class="dropdown-item text-black text-start fs-7 px-4 nav-link trn {% if app.request.get('_route') == 'honeybee_product' %}active{% endif %}" href="{{ url('honeybee_product') }}" style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-trn-key="_PRODUCT_">Product</a>
  323. </li>
  324.                         <li><hr class="dropdown-divider"></li>
  325.                         {# blogs #}
  326.                    <li class="nav-item">
  327.     <a class="dropdown-item text-black text-start fs-7 px-4 nav-link trn {% if app.request.get('_route') == 'honeybee_blogs' %}active{% endif %}" href="{{ url('honeybee_blogs') }}" style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-trn-key="_BLOGS_">Blogs</a>
  328. </li>
  329.                         <li><hr class="dropdown-divider"></li>
  330.                         {# faq #}
  331.              <li class="nav-item">
  332.     <a class="dropdown-item text-black text-start fs-7 px-4 nav-link trn {% if app.request.get('_route') == 'honeybee_FAQ' %}active{% endif %}" href="{{ url('honeybee_FAQ') }}" style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-trn-key="_FAQ_">FAQ</a>
  333. </li>
  334.                         <li><hr class="dropdown-divider"></li>
  335.                         {# career #}
  336.                  <li class="nav-item">
  337.     <a class="dropdown-item text-black text-start fs-7 px-4 nav-link trn {% if app.request.get('_route') == 'honeybee_career' %}active{% endif %}" href="{{ url('honeybee_career') }}" style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-trn-key="_CAREER_">Career</a>
  338. </li>
  339.                         <li><hr class="dropdown-divider"></li>
  340.                         {# contact #}
  341.                     <li class="nav-item">
  342.     <a class="dropdown-item text-black text-start fs-7 px-4 nav-link trn {% if app.request.get('_route') == 'honeybee_contact' %}active{% endif %}" href="{{ url('honeybee_contact') }}" style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-trn-key="_CONTACT_">Contact</a>
  343. </li>
  344.                     </ul>
  345.                 </li>
  346.                 {# more option. others dropdown end #}
  347.                 <!--****** responsive menus. Show as regular nav items on small devices****** -->
  348.                 {# get hired #}
  349.                 <li class="nav-item d-lg-none">
  350.                     <a class="nav-link {% if app.request.get('_route') == 'honeybee_get_hire' %}active{% endif %}" href="{{ url('honeybee_get_hire') }}">Get Hired</a>
  351.                 </li>
  352.                 {# product #}
  353.                 <li class="nav-item d-lg-none">
  354.                     <a class="nav-link {% if app.request.get('_route') == 'honeybee_product' %}active{% endif %}" href="{{ url('honeybee_product') }}">Product</a>
  355.                 </li>
  356.                 {# blog #}
  357.                 <li class="nav-item d-lg-none">
  358.                     <a class="nav-link {% if app.request.get('_route') == 'honeybee_blogs' %}active{% endif %}" href="{{ url('honeybee_blogs') }}">Blogs</a>
  359.                 </li>
  360.                 {# faq #}
  361.                 <li class="nav-item d-lg-none">
  362.                     <a class="nav-link {% if app.request.get('_route') == 'honeybee_FAQ' %}active{% endif %}" href="{{ url('honeybee_FAQ') }}">FAQ</a>
  363.                 </li>
  364.                 {# career #}
  365.                 <li class="nav-item d-lg-none">
  366.                     <a class="nav-link {% if app.request.get('_route') == 'honeybee_career' %}active{% endif %}" href="{{ url('honeybee_career') }}">Career</a>
  367.                 </li>
  368.                 {# contact #}
  369.                 <li class="nav-item d-lg-none">
  370.                     <a class="nav-link {% if app.request.get('_route') == 'honeybee_contact' %}active{% endif %}" href="{{ url('honeybee_contact') }}">Contact</a>
  371.                 </li>
  372.                 {# language #}
  373.                 <!-- Mobile Only -->
  374.                 <li class="nav-item d-lg-none">
  375.                     <a class="nav-link d-flex justify-content-center align-items-center"
  376.                         data-bs-toggle="collapse"
  377.                         href="#mobileLang"
  378.                         role="button"
  379.                         aria-expanded="false">
  380.                         <span class='curr_locale_text'>
  381.                             <i class="fa-solid fa-globe mx-2"></i>
  382.                             Language
  383.                         </span>
  384.                         <i class="fa-solid fa-chevron-down small"></i>
  385.                     </a>
  386.                     <div class="collapse" id="mobileLang">
  387.                         <ul class="list-unstyled ps-4 " >
  388.                             <li>
  389.                                 <a href="#" class="nav-link locale_changer en" data-locale="en">
  390.                                     en
  391.                                 </a>
  392.                                 <a href="#" class="nav-link locale_changer bn" data-locale="bn">
  393.                                     bn
  394.                                 </a>
  395.                                 <a href="#" class="nav-link locale_changer it" data-locale="it">
  396.                                     it
  397.                                 </a>
  398.                                 <a href="#" class="nav-link locale_changer de" data-locale="de">
  399.                                     de
  400.                                 </a>
  401.                                 <a href="#" class="nav-link locale_changer fr" data-locale="it">
  402.                                     fr
  403.                                 </a>
  404.                                 <a href="#" class="nav-link locale_changer sp" data-locale="it">
  405.                                     sp
  406.                                 </a>
  407.                                 <a href="#" class="nav-link locale_changer cn" data-locale="it">
  408.                                     cn
  409.                                 </a>
  410.                             </li>
  411.                         </ul>
  412.                     </div>
  413.                 </li>
  414.         
  415.             </ul>
  416.             {# <a class="my-auto calendar" href="#"><i class="fa-solid fa-language"></i></a> #}
  417.             
  418.             {# language switch dropdown #}
  419.             <li class="nav-item dropdown d-none d-lg-block d-flex align-items-center ">
  420.                 
  421.                 <a class="nav-link dropdown-toggle d-flex align-items-center gap-1 text-decoration-none mx-1 "
  422.                     id="navbarDropdown"
  423.                     href="#"
  424.                     role="button"
  425.                     data-bs-toggle="dropdown"
  426.                     aria-expanded="false">
  427.                     <i class="fa-solid fa-globe"></i>
  428.                     <span class='curr_locale_text'>en</span>
  429.                 </a>
  430.                 
  431.                 <ul class="dropdown-menu bg-white text-black border border-secondary shadow w-50 mx-auto">
  432.                     <li class="nav-item">
  433.                         <a href="#" class="dropdown-item text-black text-start fs-7 px-4 nav-link  locale_changer en" 
  434.                             style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-locale="en">English</a>
  435.                     </li>
  436.                     <li><hr class="dropdown-divider"></li>
  437.                     <li class="nav-item">
  438.                         <a href="#" class="dropdown-item text-black text-start fs-7 px-4 nav-link locale_changer bn"
  439.                             style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-locale="bn">বাংলা</a>
  440.                     </li>
  441.                     <li><hr class="dropdown-divider"></li>
  442.                     <li class="nav-item">
  443.                         <a href="#" class="dropdown-item text-black text-start fs-7 px-4 nav-link locale_changer it"
  444.                             style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-locale="it">Italiano</a>
  445.                     </li>
  446.                     <li><hr class="dropdown-divider"></li>
  447.                     <li class="nav-item">
  448.                         <a href="#" class="dropdown-item text-black text-start fs-7 px-4 nav-link locale_changer de"
  449.                             style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-locale="de">Deutsch</a>
  450.                     </li>
  451.                     <li><hr class="dropdown-divider"></li>
  452.                     <li class="nav-item">
  453.                         <a href="#" class="dropdown-item text-black text-start fs-7 px-4 nav-link locale_changer fr"
  454.                             style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-locale="fr">Français</a>
  455.                     </li>
  456.                     <li><hr class="dropdown-divider"></li>
  457.                     <li class="nav-item">
  458.                         <a href="#" class="dropdown-item text-black text-start fs-7 px-4 nav-link locale_changer sp"
  459.                             style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-locale="sp">Español</a>
  460.                     </li>
  461.                     <li><hr class="dropdown-divider"></li>
  462.                     <li class="nav-item">
  463.                         <a href="#" class="dropdown-item text-black text-start fs-7 px-4 nav-link locale_changer cn"
  464.                             style="--bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: black;" data-locale="cn">中文</a>
  465.                     </li>
  466.                 </ul>
  467.             </li>
  468.             
  469.             {# previous language switch code #}
  470.             {# <div class="dropdown my-auto  mx-2">
  471.                 <a class="my-auto calendar" href="#"><i class="fa-solid fa-language"></i></a>
  472.                 <a class="dropdown-toggle curr_locale_text" href="#" id="navbarDropdown" role="button"
  473.                    data-bs-toggle="dropdown" aria-expanded="false">  English</a>
  474.                 <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  475.                     <li><a href="#" class="locale_changer en" data-locale="en">English</a></li>
  476.                     <li><a href="#" class="locale_changer bn" data-locale="bn">বাংলা</a></li>
  477.                 </ul>
  478.             </div> #}
  479.             {% if (session[UserConstants.USER_ID] is defined ) %}
  480.                 {% if BUDDYBEE_ADMIN_LEVEL>=1 or (session['actualUserIsAdmin'] is defined ) %}
  481.                     <div class="dropdown my-auto">
  482.                         <a class="dropdown-toggle" href="#" id="navbarDropdown" role="button"
  483.                            data-bs-toggle="dropdown"
  484.                            aria-expanded="false">Switch User</a>
  485.                         <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  486.                             <li>
  487.                                 <a href="{{ absolute_url(path('view_as_user_central')) }}/{{ session['actualUserId'] is defined?session['actualUserId']:session['userId'] }} ">
  488.                                     Back to Mine </a>
  489.                             </li>
  490.                             <li>
  491.                                 <select class="" aria-label="Default select example"
  492.                                         name="viewAsId" id="viewAsId">
  493.                                 </select>
  494.                             </li>
  495.                         </ul>
  496.                     </div>
  497.                 {% endif %}
  498.                 <div class="nav-profile-area d-flex align-items-center pe-lg-5 ">
  499.                 <div class="text-end">
  500.                     {# new: dropdown #}
  501.                     <div class="custom-dropdown">
  502.                         <ul class="nav nav-pills">
  503.                             <li class="nav-item dropdown">
  504.                                 <a class="nav-link dropdown-toggle pb-2 mb-0"
  505.                                    data-bs-toggle="dropdown"
  506.                                    href="#"
  507.                                    role="button"
  508.                                    aria-expanded="false">
  509.                                     {{ session[UserConstants.USER_NAME] }}
  510.                                 </a>
  511.                                 <ul class="dropdown-menu">
  512.                                     <li> <a class="dropdown-item {% if app.request.get('_route') == 'profile' %}active{% endif %}" href="{{ url('honeybee_my_freelancer_profile') }}">Profile </a> </li>
  513.                                     <li><hr class="dropdown-divider"></li>
  514.                                     <li>
  515.                                         <a class="dropdown-item {% if app.request.get('_route') == 'profile' %}active{% endif %}"
  516.                                            href="{{ url('user_logout') }}"  >
  517.                                             Logout
  518.                                         </a>
  519.                                     </li>
  520.                                 </ul>
  521.                             </li>
  522.                         </ul>
  523.                     </div>
  524.                     {# end dropdown #}
  525.                 </div>
  526.                 <div class="nav-img-container ms-3 mb-2"
  527.                 {% if session[UserConstants.USER_IMAGE] !='' and not session[UserConstants.USER_IMAGE] is null   %}
  528.                     style="background:url('{{ url('dashboard') }}{{ session[UserConstants.USER_IMAGE] }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}')"
  529.                 {% else %}
  530.                     style="background:url('{{ url('dashboard') }}honeybee_web_assets/images/profiles/profile.png?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}')"
  531.                 {% endif %} >
  532.                     {#                    {% if session[UserConstants.USER_IMAGE] !='' and not session[UserConstants.USER_IMAGE] is null   %}#}
  533.                     {#                    <a href="#"><img src="{{ url('dashboard') }}/{{ session[UserConstants.USER_IMAGE] }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}" alt="" class="img-fluid"></a>#}
  534.                     {#                    {% else %}#}
  535.                     {#                        <a href="#"><img src="{{ absolute_url(path('dashboard')) }}honeybee_web_assets/images/profiles/profile.png?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}" alt="" class="img-fluid"></a>#}
  536.                     {#                    {% endif %}#}
  537.                     {#                    <a href="#"><img src="{{ session[UserConstants.USER_IMAGE] }}" alt="" class="img-fluid"></a>#}
  538.                     {#                    <a href="#"><img src="{{ url('dashboard') }}/{{ session[UserConstants.USER_IMAGE] }}?1422538623" alt="" class="img-fluid"></a>#}
  539.                 </div>
  540.             </div>
  541.             
  542.             <div class="nav-btn-area d-flex align-items-center">
  543.                 <a href="{{ url('central_landing') }}" class="global-button fs-6 trn" data-trn-key="_COMPANIES_">Companies</a>
  544.             </div>
  545.             {% else %}
  546.             <div class="nav-btn-area d-flex align-items-center">
  547.                 <a href="{{ url('user_login') }}" class="global-outline-button fs-6">Login</a>
  548.                 <a href="{{ url('sign_up') }}" class=" global-button mx-2 fs-6">Create Account </a>
  549.             </div>
  550.             {% endif %}
  551.             {# light mode / dark mode toggle button #}
  552.             <div class="d-flex align-items-center gap-2 theme-toggle">
  553.                 <img class="theme-img" src="{{ absolute_url(asset('honeybee_web_assets/icons/sun.svg')) }}"
  554.                         alt="Sun Icon" class="sun-icon">
  555.                 <input type="checkbox" id="theme-toggle-checkbox" class="form-check-input ">
  556.                 <label for="theme-toggle-checkbox" class="theme-toggle-label"></label>
  557.                 <img class="theme-img" src="{{ absolute_url(asset('honeybee_web_assets/icons/moon.svg')) }}"
  558.                         alt="Moon Icon" class="moon-icon">
  559.             </div>
  560.             <script>
  561.                 document.getElementById('theme-toggle-checkbox').checked = ((localStorage.getItem("theme")||'light')=='dark')
  562.             </script>
  563.         </div>
  564.     </div>
  565. </nav>
  566. <div id="buddybee_processing_loader" style="">
  567.     <div>
  568.         <p>Processing</p>
  569.     </div>
  570. </div>
  571. {# preloader js #}
  572. <script>
  573.       window.addEventListener("load", function () {
  574.         const preloader = document.getElementById("preloader");
  575.         preloader.style.display = "none";
  576.         document.body.style.overflow = "auto";
  577.       });
  578. </script>
  579. <!--Start of Tawk.to Script-->
  580. <script type="text/javascript">
  581.     var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
  582.     (function(){
  583.     var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
  584.     s1.async=true;
  585.     s1.src='https://embed.tawk.to/696c5dc1452bfa197c8f95a1/1jf7ksfe5';
  586.     s1.charset='UTF-8';
  587.     s1.setAttribute('crossorigin','*');
  588.     s0.parentNode.insertBefore(s1,s0);
  589.     })();
  590. </script>
  591. {% set full_js_included=0 %}
  592. {% endif %}
  593. <input type="hidden" id="timeStampOnHeaderLoad" value="{{ 'now'|date('U') }}">