Deprecated : Constant E_STRICT is deprecated in /var/www/html/s/stablescaffolding/vendor/symfony/error-handler/ErrorHandler.php on line 58
Deprecated : Constant E_STRICT is deprecated in /var/www/html/s/stablescaffolding/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/slider/slider.html.twig */
class __TwigTemplate_03cc90bf8344953f2baddb4565a182d0 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/slider/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/slider/slider.html.twig" ));
// line 1
echo "<section class=\"slider\">
<div class=\"";
// line 2
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "slider" ]) || array_key_exists ( "slider" , $context ) ? $context [ "slider" ] : (function () { throw new RuntimeError ( 'Variable "slider" does not exist.' , 2 , $this -> source ); })()), "identifier" , [], "any" , false , false , false , 2 ), "html" , null , true );
echo "\">
<div class=\"swiper-wrapper\">
";
// line 4
$context [ '_parent' ] = $context ;
$context [ '_seq' ] = twig_ensure_traversable ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "slider" ]) || array_key_exists ( "slider" , $context ) ? $context [ "slider" ] : (function () { throw new RuntimeError ( 'Variable "slider" does not exist.' , 4 , $this -> source ); })()), "images" , [], "any" , false , false , false , 4 ));
foreach ($context [ '_seq' ] as $context [ "_key" ] => $context [ "slide" ]) {
// line 5
echo " <div class=\"swiper-slide lazyBackgroundImage\" data-mobile=\"" ;
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 44 }(( "/userfiles/images/sliderimages/" . twig_get_attribute ( $this -> env , $this -> source , $context [ "slide" ], "image" , [], "any" , false , false , false , 5 )), "zoomCrop" , 990 , 695 ), "html" , null , true );
echo "\" data-desktop=\"" ;
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 44 }(( "/userfiles/images/sliderimages/" . twig_get_attribute ( $this -> env , $this -> source , $context [ "slide" ], "image" , [], "any" , false , false , false , 5 )), "zoomCrop" , 2500 , 1750 ), "html" , null , true );
echo "\">
<div class=\"w-full h-full flex justify-center items-end pb-24 md:pb-0 md:items-center\">
<div class=\"container text-center\">
<div class=\"row\">
<div class=\"col\">
<span class=\"sr-only\">";
// line 10
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "slide" ], "title" , [], "any" , false , false , false , 10 ), "html" , null , true );
echo "</span>
<div class=\"slide-content sm:px-16\">
";
// line 12
echo twig_get_attribute ( $this -> env , $this -> source , $context [ "slide" ], "html" , [], "any" , false , false , false , 12 );
echo "
</div>
";
// line 14
if (( twig_get_attribute ( $this -> env , $this -> source , $context [ "slide" ], "buttontext" , [], "any" , false , false , false , 14 ) != null )) {
// line 15
echo " <a href=\"" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "slide" ], "link" , [], "any" , false , false , false , 15 ), "html" , null , true );
echo "\" class=\"btn btn-primary btn-darkbg !mt-8\">" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "slide" ], "buttontext" , [], "any" , false , false , false , 15 ), "html" , null , true );
echo "</a>
";
}
// line 17
echo " </div>
</div>
</div>
</div>
</div>
";
}
$_parent = $context [ '_parent' ];
unset($context [ '_seq' ], $context [ '_iterated' ], $context [ '_key' ], $context [ 'slide' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
// line 23
echo " </div>
<div class=\"swiper-pagination\"></div>
";
// line 27
echo " </div>
</section>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@theme/slider/slider.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
return array ( 101 => 27 , 97 => 23 , 86 => 17 , 78 => 15 , 76 => 14 , 71 => 12 , 66 => 10 , 55 => 5 , 51 => 4 , 46 => 2 , 43 => 1 ,);
}
public function getSourceContext ()
{
return new Source ( "<section class=\"slider\">
<div class=\"{{ slider.identifier }}\">
<div class=\"swiper-wrapper\">
{% for slide in slider.images %}
<div class=\"swiper-slide lazyBackgroundImage\" data-mobile=\"{{ imageCache('/userfiles/images/sliderimages/' ~ slide.image, 'zoomCrop', 990, 695) }}\" data-desktop=\"{{ imageCache('/userfiles/images/sliderimages/' ~ slide.image, 'zoomCrop', 2500, 1750) }}\">
<div class=\"w-full h-full flex justify-center items-end pb-24 md:pb-0 md:items-center\">
<div class=\"container text-center\">
<div class=\"row\">
<div class=\"col\">
<span class=\"sr-only\">{{ slide.title }}</span>
<div class=\"slide-content sm:px-16\">
{{ slide.html|raw }}
</div>
{% if slide.buttontext != null %}
<a href=\"{{ slide.link }}\" class=\"btn btn-primary btn-darkbg !mt-8\">{{ slide.buttontext }}</a>
{% endif %}
</div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
<div class=\"swiper-pagination\"></div>
{# <div class=\"swiper-button-prev\"></div>
<div class=\"swiper-button-next\"></div> #}
</div>
</section>
", "@theme/slider/slider.html.twig" , "/var/www/html/s/stablescaffolding/templates/themes/theme/slider/slider.html.twig" );
}
}