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
<?php
use Twig\Environment ;
use Twig\Error\LoaderError ;
use Twig\Error\RuntimeError ;
use Twig\Extension\SandboxExtension ;
use Twig\Markup ;
use Twig\Sandbox\SecurityError ;
use Twig\Sandbox\SecurityNotAllowedTagError ;
use Twig\Sandbox\SecurityNotAllowedFilterError ;
use Twig\Sandbox\SecurityNotAllowedFunctionError ;
use Twig\Source ;
use Twig\Template ;
/* @theme/common/site-header.html.twig */
class __TwigTemplate_9732b6b79bee572896b84a4ef58c70c5 extends Template
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> parent = false ;
$this -> blocks = [
];
}
protected function doDisplay (array $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "@theme/common/site-header.html.twig" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "@theme/common/site-header.html.twig" ));
// line 1
$context [ "templateId" ] = twig_get_attribute ( $this -> env , $this -> source , twig_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" , false , false , false , 1 ), "id" , [], "any" , false , false , false , 1 );
// line 2
$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 ));
// line 3
echo "
<header class=\"";
// line 4
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" ));
echo "\">
<div class=\"site-header__container\">
<a class=\"site-header__logo\" href=\"/\">
";
// line 7
if ((isset( $context [ "lightTheme" ]) || array_key_exists ( "lightTheme" , $context ) ? $context [ "lightTheme" ] : (function () { throw new RuntimeError ( 'Variable "lightTheme" does not exist.' , 7 , $this -> source ); })())) {
// line 8
echo " <img
class=\"logo-icon\"
src=\"";
// line 10
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\AssetExtension' ]-> getAssetUrl ( "build/images/logo-mark.svg" ), "html" , null , true );
echo "\"
alt=\"Taurus HR logo mark\"
width=\"87\"
height=\"55\"
loading=\"lazy\"
>
<img
class=\"logo-text\"
src=\"";
// line 18
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\AssetExtension' ]-> getAssetUrl ( "build/images/logo-text.svg" ), "html" , null , true );
echo "\"
alt=\"Taurus HR logo text\"
width=\"165\"
height=\"48\"
loading=\"lazy\"
>
";
} else {
// line 25
echo " <img
class=\"logo-icon\"
src=\"";
// line 27
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\AssetExtension' ]-> getAssetUrl ( "build/images/logo-mark-light.svg" ), "html" , null , true );
echo "\"
alt=\"Taurus HR logo mark\"
width=\"87\"
height=\"55\"
loading=\"lazy\"
>
<img
class=\"logo-text\"
src=\"";
// line 35
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\AssetExtension' ]-> getAssetUrl ( "build/images/logo-text-light.svg" ), "html" , null , true );
echo "\"
alt=\"Taurus HR logo text\"
width=\"165\"
height=\"48\"
loading=\"lazy\"
>
";
}
// line 42
echo " </a>
<div class=\"site-header__contact\">
<a href=\"tel:";
// line 44
echo twig_escape_filter ( $this -> env , twig_striptags ( $this -> env -> getFunction ( 'renderSetting' )-> getCallable ()( 2 , "content" )), "html" , null , true );
echo "\"
><i class=\"fa-solid fa-phone\"></i> ";
// line 45
echo twig_escape_filter ( $this -> env , twig_striptags ( $this -> env -> getFunction ( 'renderSetting' )-> getCallable ()( 2 , "content" )), "html" , null , true );
echo "</a
>
<a href=\"mailto:";
// line 47
echo twig_escape_filter ( $this -> env , twig_striptags ( $this -> env -> getFunction ( 'renderSetting' )-> getCallable ()( 3 , "content" )), "html" , null , true );
echo "\"
><i class=\"fa-solid fa-paper-plane\"></i> ";
// line 48
echo twig_escape_filter ( $this -> env , twig_striptags ( $this -> env -> getFunction ( 'renderSetting' )-> getCallable ()( 3 , "content" )), "html" , null , true );
echo "</a
>
";
// line 50
echo $this -> env -> getRuntime ( 'Symfony\UX\TwigComponent\Twig\ComponentRuntime' )-> render ( "SocialLinks" );
echo "
</div>
<div class=\"site-header__list\" id=\"top_menu\">
";
// line 53
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 -> source , twig_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" , false , false , false , 53 ), "pathinfo" , [], "any" , false , false , false , 53 )]));
echo "
<button class=\"site-header__search site-header__desktop-search\">
<i class=\"fa-regular fa-magnifying-glass\"></i>
<span class=\"sr-only\">Search</span>
</button>
</div>
<div class=\"site-header__actions\">
<button class=\"site-header__search site-header__mobile-search\">
<i class=\"fa-regular fa-magnifying-glass\"></i>
<span class=\"sr-only\">Search</span>
</button>
<button
class=\"site-header__toggler\"
type=\"button\"
data-toggle=\"collapse\"
data-target=\"#top-menu\"
aria-controls=\"top-menu\"
aria-expanded=\"false\"
aria-label=\"Toggle navigation\"
>
<span class=\"sr-only\">Toggle navigation</span>
<i class=\"fa-regular fa-bars\"></i>
</button>
</div>
</div>
</header>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@theme/common/site-header.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
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 ,);
}
public function getSourceContext ()
{
return new Source ( "{% set templateId = page.template.id %}
{% set lightTheme = templateId == 7 or templateId == 8 %}
<header class=\"{{ lightTheme ? 'site-header site-header--light' : 'site-header' }}\">
<div class=\"site-header__container\">
<a class=\"site-header__logo\" href=\"/\">
{% if lightTheme %}
<img
class=\"logo-icon\"
src=\"{{ asset('build/images/logo-mark.svg') }}\"
alt=\"Taurus HR logo mark\"
width=\"87\"
height=\"55\"
loading=\"lazy\"
>
<img
class=\"logo-text\"
src=\"{{ asset('build/images/logo-text.svg') }}\"
alt=\"Taurus HR logo text\"
width=\"165\"
height=\"48\"
loading=\"lazy\"
>
{% else %}
<img
class=\"logo-icon\"
src=\"{{ asset('build/images/logo-mark-light.svg') }}\"
alt=\"Taurus HR logo mark\"
width=\"87\"
height=\"55\"
loading=\"lazy\"
>
<img
class=\"logo-text\"
src=\"{{ asset('build/images/logo-text-light.svg') }}\"
alt=\"Taurus HR logo text\"
width=\"165\"
height=\"48\"
loading=\"lazy\"
>
{% endif %}
</a>
<div class=\"site-header__contact\">
<a href=\"tel:{{ renderSetting(2, 'content')|striptags }}\"
><i class=\"fa-solid fa-phone\"></i> {{ renderSetting(2, 'content')|striptags }}</a
>
<a href=\"mailto:{{ renderSetting(3, 'content')|striptags }}\"
><i class=\"fa-solid fa-paper-plane\"></i> {{ renderSetting(3, 'content')|striptags }}</a
>
{{ component('SocialLinks') }}
</div>
<div class=\"site-header__list\" id=\"top_menu\">
{{ render(controller('App\\\\Controller\\\\MenuDefaultController::fetchMenu', { 'identifier':'Top', 'currentUrl': app.request.pathinfo })) }}
<button class=\"site-header__search site-header__desktop-search\">
<i class=\"fa-regular fa-magnifying-glass\"></i>
<span class=\"sr-only\">Search</span>
</button>
</div>
<div class=\"site-header__actions\">
<button class=\"site-header__search site-header__mobile-search\">
<i class=\"fa-regular fa-magnifying-glass\"></i>
<span class=\"sr-only\">Search</span>
</button>
<button
class=\"site-header__toggler\"
type=\"button\"
data-toggle=\"collapse\"
data-target=\"#top-menu\"
aria-controls=\"top-menu\"
aria-expanded=\"false\"
aria-label=\"Toggle navigation\"
>
<span class=\"sr-only\">Toggle navigation</span>
<i class=\"fa-regular fa-bars\"></i>
</button>
</div>
</div>
</header>
", "@theme/common/site-header.html.twig" , "/var/www/html/t/taurushr/templates/themes/theme/common/site-header.html.twig" );
}
}