Deprecated: Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/translation/Resources/functions.php on line 18

Deprecated: Symfony\Component\Dotenv\Dotenv::loadEnv(): Implicitly marking parameter $envKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/dotenv/Dotenv.php on line 110

Deprecated: Symfony\Component\Runtime\GenericRuntime::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/GenericRuntime.php on line 89

Deprecated: Symfony\Component\Runtime\RuntimeInterface::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/RuntimeInterface.php on line 26

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/Input.php on line 36

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

templates/themes/theme/common/site-header.html.twig line 1

Open in your IDE?
  1. {% set templateId = page.template.id %}
  2. {% set lightTheme = templateId == 7 or templateId == 8 %}
  3. <header class="{{ lightTheme ? 'site-header site-header--light' : 'site-header' }}">
  4.   <div class="site-header__container">
  5.     <a class="site-header__logo" href="/">
  6.       {% if lightTheme %}
  7.         <img
  8.           class="logo-icon"
  9.           src="{{ asset('build/images/logo-mark.svg') }}"
  10.           alt="Taurus HR logo mark"
  11.           width="87"
  12.           height="55"
  13.           loading="lazy"
  14.         >
  15.         <img
  16.           class="logo-text"
  17.           src="{{ asset('build/images/logo-text.svg') }}"
  18.           alt="Taurus HR logo text"
  19.           width="165"
  20.           height="48"
  21.           loading="lazy"
  22.         >
  23.       {% else %}
  24.         <img
  25.           class="logo-icon"
  26.           src="{{ asset('build/images/logo-mark-light.svg') }}"
  27.           alt="Taurus HR logo mark"
  28.           width="87"
  29.           height="55"
  30.           loading="lazy"
  31.         >
  32.         <img
  33.           class="logo-text"
  34.           src="{{ asset('build/images/logo-text-light.svg') }}"
  35.           alt="Taurus HR logo text"
  36.           width="165"
  37.           height="48"
  38.           loading="lazy"
  39.         >
  40.       {% endif %}
  41.     </a>
  42.     <div class="site-header__contact">
  43.       <a href="tel:{{ renderSetting(2, 'content')|striptags }}"
  44.         ><i class="fa-solid fa-phone"></i> {{ renderSetting(2, 'content')|striptags }}</a
  45.       >
  46.       <a href="mailto:{{ renderSetting(3, 'content')|striptags }}"
  47.         ><i class="fa-solid fa-paper-plane"></i> {{ renderSetting(3, 'content')|striptags }}</a
  48.       >
  49.       <twig:SocialLinks />
  50.     </div>
  51.     <div class="site-header__list" id="top_menu">
  52.       {{ render(controller('App\\Controller\\MenuDefaultController::fetchMenu', { 'identifier':'Top', 'currentUrl': app.request.pathinfo })) }}
  53.       <button class="site-header__search site-header__desktop-search">
  54.         <i class="fa-regular fa-magnifying-glass"></i>
  55.         <span class="sr-only">Search</span>
  56.       </button>
  57.     </div>
  58.     <div class="site-header__actions">
  59.       <button class="site-header__search site-header__mobile-search">
  60.         <i class="fa-regular fa-magnifying-glass"></i>
  61.         <span class="sr-only">Search</span>
  62.       </button>
  63.       <button
  64.         class="site-header__toggler"
  65.         type="button"
  66.         data-toggle="collapse"
  67.         data-target="#top-menu"
  68.         aria-controls="top-menu"
  69.         aria-expanded="false"
  70.         aria-label="Toggle navigation"
  71.       >
  72.         <span class="sr-only">Toggle navigation</span>
  73.         <i class="fa-regular fa-bars"></i>
  74.       </button>
  75.     </div>
  76.   </div>
  77. </header>