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

var/cache/dev/twig/54/5424855a78dbdf23cef96e05cecbc00a.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @theme/common/site-header.html.twig */
  14. class __TwigTemplate_9732b6b79bee572896b84a4ef58c70c5 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/common/site-header.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/common/site-header.html.twig"));
  33.         // line 1
  34.         $context["templateId"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'1$this->source); })()), "template", [], "any"falsefalsefalse1), "id", [], "any"falsefalsefalse1);
  35.         // line 2
  36.         $context["lightTheme"] = (((isset($context["templateId"]) || array_key_exists("templateId"$context) ? $context["templateId"] : (function () { throw new RuntimeError('Variable "templateId" does not exist.'2$this->source); })()) == 7) || ((isset($context["templateId"]) || array_key_exists("templateId"$context) ? $context["templateId"] : (function () { throw new RuntimeError('Variable "templateId" does not exist.'2$this->source); })()) == 8));
  37.         // line 3
  38.         echo "
  39. <header class=\"";
  40.         // line 4
  41.         echo (((isset($context["lightTheme"]) || array_key_exists("lightTheme"$context) ? $context["lightTheme"] : (function () { throw new RuntimeError('Variable "lightTheme" does not exist.'4$this->source); })())) ? ("site-header site-header--light") : ("site-header"));
  42.         echo "\">
  43.   <div class=\"site-header__container\">
  44.     <a class=\"site-header__logo\" href=\"/\">
  45.       ";
  46.         // line 7
  47.         if ((isset($context["lightTheme"]) || array_key_exists("lightTheme"$context) ? $context["lightTheme"] : (function () { throw new RuntimeError('Variable "lightTheme" does not exist.'7$this->source); })())) {
  48.             // line 8
  49.             echo "        <img
  50.           class=\"logo-icon\"
  51.           src=\"";
  52.             // line 10
  53.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo-mark.svg"), "html"nulltrue);
  54.             echo "\"
  55.           alt=\"Taurus HR logo mark\"
  56.           width=\"87\"
  57.           height=\"55\"
  58.           loading=\"lazy\"
  59.         >
  60.         <img
  61.           class=\"logo-text\"
  62.           src=\"";
  63.             // line 18
  64.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo-text.svg"), "html"nulltrue);
  65.             echo "\"
  66.           alt=\"Taurus HR logo text\"
  67.           width=\"165\"
  68.           height=\"48\"
  69.           loading=\"lazy\"
  70.         >
  71.       ";
  72.         } else {
  73.             // line 25
  74.             echo "        <img
  75.           class=\"logo-icon\"
  76.           src=\"";
  77.             // line 27
  78.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo-mark-light.svg"), "html"nulltrue);
  79.             echo "\"
  80.           alt=\"Taurus HR logo mark\"
  81.           width=\"87\"
  82.           height=\"55\"
  83.           loading=\"lazy\"
  84.         >
  85.         <img
  86.           class=\"logo-text\"
  87.           src=\"";
  88.             // line 35
  89.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo-text-light.svg"), "html"nulltrue);
  90.             echo "\"
  91.           alt=\"Taurus HR logo text\"
  92.           width=\"165\"
  93.           height=\"48\"
  94.           loading=\"lazy\"
  95.         >
  96.       ";
  97.         }
  98.         // line 42
  99.         echo "    </a>
  100.     <div class=\"site-header__contact\">
  101.       <a href=\"tel:";
  102.         // line 44
  103.         echo twig_escape_filter($this->envtwig_striptags($this->env->getFunction('renderSetting')->getCallable()(2"content")), "html"nulltrue);
  104.         echo "\"
  105.         ><i class=\"fa-solid fa-phone\"></i> ";
  106.         // line 45
  107.         echo twig_escape_filter($this->envtwig_striptags($this->env->getFunction('renderSetting')->getCallable()(2"content")), "html"nulltrue);
  108.         echo "</a
  109.       >
  110.       <a href=\"mailto:";
  111.         // line 47
  112.         echo twig_escape_filter($this->envtwig_striptags($this->env->getFunction('renderSetting')->getCallable()(3"content")), "html"nulltrue);
  113.         echo "\"
  114.         ><i class=\"fa-solid fa-paper-plane\"></i> ";
  115.         // line 48
  116.         echo twig_escape_filter($this->envtwig_striptags($this->env->getFunction('renderSetting')->getCallable()(3"content")), "html"nulltrue);
  117.         echo "</a
  118.       >
  119.       ";
  120.         // line 50
  121.         echo $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("SocialLinks");
  122.         echo "
  123.     </div>
  124.     <div class=\"site-header__list\" id=\"top_menu\">
  125.       ";
  126.         // line 53
  127.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\MenuDefaultController::fetchMenu", ["identifier" => "Top""currentUrl" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'53$this->source); })()), "request", [], "any"falsefalsefalse53), "pathinfo", [], "any"falsefalsefalse53)]));
  128.         echo "
  129.       <button class=\"site-header__search site-header__desktop-search\">
  130.         <i class=\"fa-regular fa-magnifying-glass\"></i>
  131.         <span class=\"sr-only\">Search</span>
  132.       </button>
  133.     </div>
  134.     <div class=\"site-header__actions\">
  135.       <button class=\"site-header__search site-header__mobile-search\">
  136.         <i class=\"fa-regular fa-magnifying-glass\"></i>
  137.         <span class=\"sr-only\">Search</span>
  138.       </button>
  139.       <button
  140.         class=\"site-header__toggler\"
  141.         type=\"button\"
  142.         data-toggle=\"collapse\"
  143.         data-target=\"#top-menu\"
  144.         aria-controls=\"top-menu\"
  145.         aria-expanded=\"false\"
  146.         aria-label=\"Toggle navigation\"
  147.       >
  148.         <span class=\"sr-only\">Toggle navigation</span>
  149.         <i class=\"fa-regular fa-bars\"></i>
  150.       </button>
  151.     </div>
  152.   </div>
  153. </header>
  154. ";
  155.         
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  157.         
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  159.     }
  160.     /**
  161.      * @codeCoverageIgnore
  162.      */
  163.     public function getTemplateName()
  164.     {
  165.         return "@theme/common/site-header.html.twig";
  166.     }
  167.     /**
  168.      * @codeCoverageIgnore
  169.      */
  170.     public function isTraitable()
  171.     {
  172.         return false;
  173.     }
  174.     /**
  175.      * @codeCoverageIgnore
  176.      */
  177.     public function getDebugInfo()
  178.     {
  179.         return array (  136 => 53,  130 => 50,  125 => 48,  121 => 47,  116 => 45,  112 => 44,  108 => 42,  98 => 35,  87 => 27,  83 => 25,  73 => 18,  62 => 10,  58 => 8,  56 => 7,  50 => 4,  47 => 3,  45 => 2,  43 => 1,);
  180.     }
  181.     public function getSourceContext()
  182.     {
  183.         return new Source("{% set templateId = page.template.id %}
  184. {% set lightTheme = templateId == 7 or templateId == 8 %}
  185. <header class=\"{{ lightTheme ? 'site-header site-header--light' : 'site-header' }}\">
  186.   <div class=\"site-header__container\">
  187.     <a class=\"site-header__logo\" href=\"/\">
  188.       {% if lightTheme %}
  189.         <img
  190.           class=\"logo-icon\"
  191.           src=\"{{ asset('build/images/logo-mark.svg') }}\"
  192.           alt=\"Taurus HR logo mark\"
  193.           width=\"87\"
  194.           height=\"55\"
  195.           loading=\"lazy\"
  196.         >
  197.         <img
  198.           class=\"logo-text\"
  199.           src=\"{{ asset('build/images/logo-text.svg') }}\"
  200.           alt=\"Taurus HR logo text\"
  201.           width=\"165\"
  202.           height=\"48\"
  203.           loading=\"lazy\"
  204.         >
  205.       {% else %}
  206.         <img
  207.           class=\"logo-icon\"
  208.           src=\"{{ asset('build/images/logo-mark-light.svg') }}\"
  209.           alt=\"Taurus HR logo mark\"
  210.           width=\"87\"
  211.           height=\"55\"
  212.           loading=\"lazy\"
  213.         >
  214.         <img
  215.           class=\"logo-text\"
  216.           src=\"{{ asset('build/images/logo-text-light.svg') }}\"
  217.           alt=\"Taurus HR logo text\"
  218.           width=\"165\"
  219.           height=\"48\"
  220.           loading=\"lazy\"
  221.         >
  222.       {% endif %}
  223.     </a>
  224.     <div class=\"site-header__contact\">
  225.       <a href=\"tel:{{ renderSetting(2, 'content')|striptags }}\"
  226.         ><i class=\"fa-solid fa-phone\"></i> {{ renderSetting(2, 'content')|striptags }}</a
  227.       >
  228.       <a href=\"mailto:{{ renderSetting(3, 'content')|striptags }}\"
  229.         ><i class=\"fa-solid fa-paper-plane\"></i> {{ renderSetting(3, 'content')|striptags }}</a
  230.       >
  231.       {{ component('SocialLinks') }}
  232.     </div>
  233.     <div class=\"site-header__list\" id=\"top_menu\">
  234.       {{ render(controller('App\\\\Controller\\\\MenuDefaultController::fetchMenu', { 'identifier':'Top', 'currentUrl': app.request.pathinfo })) }}
  235.       <button class=\"site-header__search site-header__desktop-search\">
  236.         <i class=\"fa-regular fa-magnifying-glass\"></i>
  237.         <span class=\"sr-only\">Search</span>
  238.       </button>
  239.     </div>
  240.     <div class=\"site-header__actions\">
  241.       <button class=\"site-header__search site-header__mobile-search\">
  242.         <i class=\"fa-regular fa-magnifying-glass\"></i>
  243.         <span class=\"sr-only\">Search</span>
  244.       </button>
  245.       <button
  246.         class=\"site-header__toggler\"
  247.         type=\"button\"
  248.         data-toggle=\"collapse\"
  249.         data-target=\"#top-menu\"
  250.         aria-controls=\"top-menu\"
  251.         aria-expanded=\"false\"
  252.         aria-label=\"Toggle navigation\"
  253.       >
  254.         <span class=\"sr-only\">Toggle navigation</span>
  255.         <i class=\"fa-regular fa-bars\"></i>
  256.       </button>
  257.     </div>
  258.   </div>
  259. </header>
  260. ""@theme/common/site-header.html.twig""/var/www/html/t/taurushr/templates/themes/theme/common/site-header.html.twig");
  261.     }
  262. }