Deprecated : Constant E_STRICT is deprecated in /var/www/html/k/kasscaffolding/vendor/symfony/error-handler/ErrorHandler.php on line 58
Deprecated : Constant E_STRICT is deprecated in /var/www/html/k/kasscaffolding/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/sectors/slider.html.twig */
class __TwigTemplate_f44f6be3cd76b2c2d01ceb8ba395151c 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/sectors/slider.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/sectors/slider.html.twig" ));
// line 1
echo "
";
// line 2
if (( twig_length_filter ( $this -> env , (isset( $context [ "sectors" ]) || array_key_exists ( "sectors" , $context ) ? $context [ "sectors" ] : (function () { throw new RuntimeError ( 'Variable "sectors" does not exist.' , 2 , $this -> source ); })())) > 0 )) {
// line 3
echo " <div class=\"container\">
<p class=\"h3 text-center text-primary mb-0\">Search by Sector</p>
<div class=\"relative sector-slider-controls lg:border-secondary lg:border-b mb-8 lg:mb-12\">
<div class=\"slider-80 overflow-x-hidden pt-8 pb-4 lg:pb-12 px-4\">
<section class=\"slider\">
<div class=\"sector-slider\">
<div class=\"swiper-wrapper\">
";
// line 10
$context [ '_parent' ] = $context ;
$context [ '_seq' ] = twig_ensure_traversable ((isset( $context [ "sectors" ]) || array_key_exists ( "sectors" , $context ) ? $context [ "sectors" ] : (function () { throw new RuntimeError ( 'Variable "sectors" does not exist.' , 10 , $this -> source ); })()));
foreach ($context [ '_seq' ] as $context [ "_key" ] => $context [ "sector" ]) {
// line 11
echo " <div class=\"swiper-slide\">
<a class=\"w-full flex flex-col justify-center items-center bg-primary text-white py-6 px-8 text-center rounded-lg min-h-[155px]\" href=\"";
// line 12
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 44 }( 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.' , 12 , $this -> source ); })()), "request" , [], "any" , false , false , false , 12 ), twig_get_attribute ( $this -> env , $this -> source , $context [ "sector" ], "linkedPageId" , [], "any" , false , false , false , 12 ), [ "sector_slug" => twig_get_attribute ( $this -> env , $this -> source , $context [ "sector" ], "slug" , [], "any" , false , false , false , 12 )]), "html" , null , true );
echo "\">
<div class=\"text-5xl mb-2\">";
// line 13
echo twig_get_attribute ( $this -> env , $this -> source , $context [ "sector" ], "icon" , [], "any" , false , false , false , 13 );
echo "</div>
<p class=\"font-light\">";
// line 14
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "sector" ], "title" , [], "any" , false , false , false , 14 ), "html" , null , true );
echo "</p>
</a>
</div>
";
}
$_parent = $context [ '_parent' ];
unset($context [ '_seq' ], $context [ '_iterated' ], $context [ '_key' ], $context [ 'sector' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
// line 18
echo " </div>
</div>
</section>
</div>
<div class=\"swiper-button-prev\"></div>
<div class=\"swiper-button-next\"></div>
</div>
</div>
";
}
// line 27
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@theme/sectors/slider.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
return array ( 93 => 27 , 82 => 18 , 72 => 14 , 68 => 13 , 64 => 12 , 61 => 11 , 57 => 10 , 48 => 3 , 46 => 2 , 43 => 1 ,);
}
public function getSourceContext ()
{
return new Source ( "
{% if sectors|length > 0 %}
<div class=\"container\">
<p class=\"h3 text-center text-primary mb-0\">Search by Sector</p>
<div class=\"relative sector-slider-controls lg:border-secondary lg:border-b mb-8 lg:mb-12\">
<div class=\"slider-80 overflow-x-hidden pt-8 pb-4 lg:pb-12 px-4\">
<section class=\"slider\">
<div class=\"sector-slider\">
<div class=\"swiper-wrapper\">
{% for sector in sectors %}
<div class=\"swiper-slide\">
<a class=\"w-full flex flex-col justify-center items-center bg-primary text-white py-6 px-8 text-center rounded-lg min-h-[155px]\" href=\"{{ generatePath(app.request, sector.linkedPageId, {sector_slug: sector.slug}) }}\">
<div class=\"text-5xl mb-2\">{{ sector.icon|raw }}</div>
<p class=\"font-light\">{{ sector.title }}</p>
</a>
</div>
{% endfor %}
</div>
</div>
</section>
</div>
<div class=\"swiper-button-prev\"></div>
<div class=\"swiper-button-next\"></div>
</div>
</div>
{% endif %}
", "@theme/sectors/slider.html.twig" , "/var/www/html/k/kasscaffolding/templates/themes/theme/sectors/slider.html.twig" );
}
}