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/article.html.twig */
class __TwigTemplate_9c96a5a9aaa33111eb997d3111392df8 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/article.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/article.html.twig" ));
// line 1
echo "<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Service\",
\"name\": \"";
// line 5
echo twig_escape_filter ( $this -> env , (isset( $context [ "sitename" ]) || array_key_exists ( "sitename" , $context ) ? $context [ "sitename" ] : (function () { throw new RuntimeError ( 'Variable "sitename" does not exist.' , 5 , $this -> source ); })()), "html" , null , true );
echo "\",
\"serviceType\": \"";
// line 6
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 6 , $this -> source ); })()), "title" , [], "any" , false , false , false , 6 ), "html" , null , true );
echo "\",
\"provider\": {
\"@type\": \"LocalBusiness\",
\"name\": \"";
// line 9
echo twig_escape_filter ( $this -> env , (isset( $context [ "sitename" ]) || array_key_exists ( "sitename" , $context ) ? $context [ "sitename" ] : (function () { throw new RuntimeError ( 'Variable "sitename" does not exist.' , 9 , $this -> source ); })()), "html" , null , true );
echo "\",
\"url\": \"";
// line 10
echo twig_escape_filter ( $this -> env , (isset( $context [ "siteurl" ]) || array_key_exists ( "siteurl" , $context ) ? $context [ "siteurl" ] : (function () { throw new RuntimeError ( 'Variable "siteurl" does not exist.' , 10 , $this -> source ); })()), "html" , null , true );
echo "\"
},
\"areaServed\": [
{
\"@type\": \"Place\",
\"name\": \"London\"
},
{
\"@type\": \"Place\",
\"name\": \"Esssex\"
},
{
\"@type\": \"Place\",
\"name\": \"Kent\"
},
{
\"@type\": \"Place\",
\"name\": \"Cambridge\"
},
{
\"@type\": \"Place\",
\"name\": \"Oxford\"
}
],
\"description\": \"";
// line 34
echo twig_escape_filter ( $this -> env , twig_striptags ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 34 , $this -> source ); })()), "kicker" , [], "any" , false , false , false , 34 )), "html" , null , true );
echo "\",
\"url\": \"";
// line 35
echo twig_escape_filter ( $this -> env , (isset( $context [ "siteurl" ]) || array_key_exists ( "siteurl" , $context ) ? $context [ "siteurl" ] : (function () { throw new RuntimeError ( 'Variable "siteurl" does not exist.' , 35 , $this -> source ); })()), "html" , null , true );
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.' , 35 , $this -> source ); })()), "request" , [], "any" , false , false , false , 35 ), twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 35 , $this -> source ); })()), "linkedPageId" , [], "any" , false , false , false , 35 ), [ "sector_slug" => twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 35 , $this -> source ); })()), "slug" , [], "any" , false , false , false , 35 )]), "html" , null , true );
echo "\"
}
</script>
";
// line 42
if ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 42 , $this -> source ); })()), "image" , [], "any" , false , false , false , 42 )) {
// line 43
echo " <div class=\"banner-image banner-image--gradient\" style=\"background-image:url('" ;
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 45 }(( "/" . twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 43 , $this -> source ); })()), "getFullImagePath" , [], "any" , false , false , false , 43 )), "zoomCrop" , 3200 , 1680 ), "html" , null , true );
echo "');\"></div>
";
}
// line 45
echo "
<section class=\"page-content";
// line 46
if (( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 46 , $this -> source ); })()), "image" , [], "any" , false , false , false , 46 ) == null )) {
echo " pt-[148px] md:pt-[163px]" ;
}
echo "\">
<div class=\"container\">
<div class=\"bg-primary text-center text-white p-10 relative z-20 mb-12 ";
// line 48
if (( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 48 , $this -> source ); })()), "image" , [], "any" , false , false , false , 48 ) != null )) {
echo " -mt-12 sm:-mt-24 md:-mt-52" ;
} else {
echo "mt-12" ;
}
echo "\">
";
// line 49
if ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 49 , $this -> source ); })()), "icon" , [], "any" , false , false , false , 49 )) {
// line 50
echo " <span class=\"text-5xl mb-6 block\">" ;
echo twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 50 , $this -> source ); })()), "icon" , [], "any" , false , false , false , 50 );
echo "</span>
";
}
// line 52
echo " <h1 class=\"text-white\">" ;
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 51 }((isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 52 , $this -> source ); })()), "title" );
echo "</h1>
";
// line 53
if ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 53 , $this -> source ); })()), "subtitle" , [], "any" , false , false , false , 53 )) {
// line 54
echo " <h3 class=\"text-white\">" ;
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 51 }((isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 54 , $this -> source ); })()), "subtitle" );
echo "</h3>
";
}
// line 56
echo " " ;
if (twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 56 , $this -> source ); })()), "kicker" , [], "any" , false , false , false , 56 )) {
// line 57
echo " " ;
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 51 }((isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 57 , $this -> source ); })()), "kicker" );
echo "
";
}
// line 59
echo " </div>
";
// line 60
if (( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 60 , $this -> source ); })()), "content" , [], "any" , false , false , false , 60 ) || twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 60 , $this -> source ); })()), "content2" , [], "any" , false , false , false , 60 ))) {
// line 61
echo " <div class=\"row cms-area mb-12\">
<div class=\"md:col-6 text-2xl font-bold mb-6 md:mb-0\">
";
// line 63
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 51 }((isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 63 , $this -> source ); })()), "content" );
echo "
</div>
<div class=\"md:col-6\">
";
// line 66
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 51 }((isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 66 , $this -> source ); })()), "content2" );
echo "
</div>
</div>
";
}
// line 70
echo " " ;
if (twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 70 , $this -> source ); })()), "content3" , [], "any" , false , false , false , 70 )) {
// line 71
echo " <div class=\"row cms-area mb-12\">
<div class=\"md:col-12\">
";
// line 73
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 51 }((isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 73 , $this -> source ); })()), "content3" );
echo "
</div>
</div>
";
}
// line 77
echo " " ;
if (((twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 77 , $this -> source ); })()), "image2" , [], "any" , false , false , false , 77 ) || twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 77 , $this -> source ); })()), "image3" , [], "any" , false , false , false , 77 )) || twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 77 , $this -> source ); })()), "image4" , [], "any" , false , false , false , 77 ))) {
// line 78
echo " <div class=\"row mb-12\">
";
// line 79
if ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 79 , $this -> source ); })()), "image2" , [], "any" , false , false , false , 79 )) {
// line 80
echo " <div class=\"" ;
if (twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 80 , $this -> source ); })()), "image4" , [], "any" , false , false , false , 80 )) {
echo "md:col-3" ;
} else {
echo " md:col-6" ;
}
echo " sm:col-6 mb-8 md:mb-0\">
<img src=\"";
// line 81
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 45 }(( "/" . twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 81 , $this -> source ); })()), "getFullImage2Path" , [], "any" , false , false , false , 81 )), "zoomCrop" , 540 , 640 ), "html" , null , true );
echo "\" width=\"370\" height=\"438\" alt=\"" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 81 , $this -> source ); })()), "title" , [], "any" , false , false , false , 81 ), "html" , null , true );
echo "\" loading=\"lazy\" />
</div>
";
}
// line 84
echo " " ;
if (twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 84 , $this -> source ); })()), "image3" , [], "any" , false , false , false , 84 )) {
// line 85
echo " <div class=\"" ;
if (twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 85 , $this -> source ); })()), "image4" , [], "any" , false , false , false , 85 )) {
echo "md:col-3" ;
} else {
echo " md:col-6" ;
}
echo " sm:col-6 mb-8 md:mb-0\">
<img src=\"";
// line 86
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 45 }(( "/" . twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 86 , $this -> source ); })()), "getFullImage3Path" , [], "any" , false , false , false , 86 )), "zoomCrop" , 540 , 640 ), "html" , null , true );
echo "\" width=\"370\" height=\"438\" alt=\"" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 86 , $this -> source ); })()), "title" , [], "any" , false , false , false , 86 ), "html" , null , true );
echo "\" loading=\"lazy\" />
</div>
";
}
// line 89
echo " " ;
if (twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 89 , $this -> source ); })()), "image4" , [], "any" , false , false , false , 89 )) {
// line 90
echo " <div class=\"md:col-6\">
<img src=\"";
// line 91
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 45 }(( "/" . twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 91 , $this -> source ); })()), "getFullImage4Path" , [], "any" , false , false , false , 91 )), "zoomCrop" , 1130 , 640 ), "html" , null , true );
echo "\" width=\"670\" height=\"380\" alt=\"" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 91 , $this -> source ); })()), "title" , [], "any" , false , false , false , 91 ), "html" , null , true );
echo "\" loading=\"lazy\" />
</div>
";
}
// line 94
echo " </div>
";
}
// line 96
echo " " ;
if (twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 96 , $this -> source ); })()), "content4" , [], "any" , false , false , false , 96 )) {
// line 97
echo " <div class=\"row cms-area mb-12\">
<div class=\"md:col-12\">
";
// line 99
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 51 }((isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 99 , $this -> source ); })()), "content4" );
echo "
</div>
</div>
";
}
// line 103
echo " </div>
</section>
";
// line 106
if (( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 106 , $this -> source ); })()), "gallery" , [], "any" , false , false , false , 106 ) && ( twig_length_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 106 , $this -> source ); })()), "gallery" , [], "any" , false , false , false , 106 ), "galleryImages" , [], "any" , false , false , false , 106 )) > 0 ))) {
// line 107
echo " <div class=\"container mb-4\">
<div class=\"row\">
<div class=\"col-12 text-center\">
<h3 class=\"text-green mb-8 mt-0\">Sector Gallery</h3>
";
// line 111
if ( twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 111 , $this -> source ); })()), "gallery" , [], "any" , false , false , false , 111 ), "content" , [], "any" , false , false , false , 111 )) {
// line 112
echo " <div class=\"mb-12\">
";
// line 113
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 51 }( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 113 , $this -> source ); })()), "gallery" , [], "any" , false , false , false , 113 ), "content" );
echo "
</div>
";
}
// line 116
echo " </div>
</div>
<div class=\"row\">
";
// line 119
$context [ '_parent' ] = $context ;
$context [ '_seq' ] = twig_ensure_traversable ( twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "sector" ]) || array_key_exists ( "sector" , $context ) ? $context [ "sector" ] : (function () { throw new RuntimeError ( 'Variable "sector" does not exist.' , 119 , $this -> source ); })()), "gallery" , [], "any" , false , false , false , 119 ), "galleryImages" , [], "any" , false , false , false , 119 ));
foreach ($context [ '_seq' ] as $context [ "_key" ] => $context [ "image" ]) {
// line 120
echo " " ;
if (twig_get_attribute ( $this -> env , $this -> source , $context [ "image" ], "file" , [], "any" , false , false , false , 120 )) {
// line 121
echo " <div class=\"lg:col-6 mb-8\">
<video class=\"w-full h-auto\" src=\"";
// line 122
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "image" ], "getFileUrl" , [], "method" , false , false , false , 122 ), "html" , null , true );
echo "\" controls></video>
</div>
";
} else {
// line 125
echo " <div class=\"lg:col-6 mb-8\">
<img class=\"max-w-full h-auto\" src=\"";
// line 126
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 45 }(( "/" . twig_get_attribute ( $this -> env , $this -> source , $context [ "image" ], "getFullImagePath" , [], "any" , false , false , false , 126 )), "zoomCrop" , 1140 , 640 ), "html" , null , true );
echo "\" alt=\"" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "image" ], "title" , [], "any" , false , false , false , 126 ), "html" , null , true );
echo "\" loading=\"lazy\" />
</div>
";
}
// line 129
echo " " ;
}
$_parent = $context [ '_parent' ];
unset($context [ '_seq' ], $context [ '_iterated' ], $context [ '_key' ], $context [ 'image' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
// line 130
echo " </div>
</div>
";
}
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@theme/sectors/article.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
return array ( 336 => 130 , 330 => 129 , 322 => 126 , 319 => 125 , 313 => 122 , 310 => 121 , 307 => 120 , 303 => 119 , 298 => 116 , 292 => 113 , 289 => 112 , 287 => 111 , 281 => 107 , 279 => 106 , 274 => 103 , 267 => 99 , 263 => 97 , 260 => 96 , 256 => 94 , 248 => 91 , 245 => 90 , 242 => 89 , 234 => 86 , 225 => 85 , 222 => 84 , 214 => 81 , 205 => 80 , 203 => 79 , 200 => 78 , 197 => 77 , 190 => 73 , 186 => 71 , 183 => 70 , 176 => 66 , 170 => 63 , 166 => 61 , 164 => 60 , 161 => 59 , 155 => 57 , 152 => 56 , 146 => 54 , 144 => 53 , 139 => 52 , 133 => 50 , 131 => 49 , 123 => 48 , 116 => 46 , 113 => 45 , 107 => 43 , 105 => 42 , 94 => 35 , 90 => 34 , 63 => 10 , 59 => 9 , 53 => 6 , 49 => 5 , 43 => 1 ,);
}
public function getSourceContext ()
{
return new Source ( "<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Service\",
\"name\": \"{{ sitename }}\",
\"serviceType\": \"{{ sector.title }}\",
\"provider\": {
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"url\": \"{{ siteurl }}\"
},
\"areaServed\": [
{
\"@type\": \"Place\",
\"name\": \"London\"
},
{
\"@type\": \"Place\",
\"name\": \"Esssex\"
},
{
\"@type\": \"Place\",
\"name\": \"Kent\"
},
{
\"@type\": \"Place\",
\"name\": \"Cambridge\"
},
{
\"@type\": \"Place\",
\"name\": \"Oxford\"
}
],
\"description\": \"{{ sector.kicker|raw|striptags }}\",
\"url\": \"{{ siteurl }}{{ generatePath(app.request, sector.linkedPageId, {sector_slug: sector.slug}) }}\"
}
</script>
{% if sector.image %}
<div class=\"banner-image banner-image--gradient\" style=\"background-image:url('{{ imageCache('/'~ sector.getFullImagePath, 'zoomCrop', 3200, 1680) }}');\"></div>
{% endif %}
<section class=\"page-content{% if sector.image == null %} pt-[148px] md:pt-[163px]{% endif %}\">
<div class=\"container\">
<div class=\"bg-primary text-center text-white p-10 relative z-20 mb-12 {% if sector.image != null %} -mt-12 sm:-mt-24 md:-mt-52{% else %}mt-12{% endif %}\">
{% if sector.icon %}
<span class=\"text-5xl mb-6 block\">{{ sector.icon|raw }}</span>
{% endif %}
<h1 class=\"text-white\">{{ allowInlineEditor(sector, 'title')|raw }}</h1>
{% if sector.subtitle %}
<h3 class=\"text-white\">{{ allowInlineEditor(sector, 'subtitle')|raw }}</h3>
{% endif %}
{% if sector.kicker %}
{{ allowInlineEditor(sector, 'kicker')|raw }}
{% endif %}
</div>
{% if sector.content or sector.content2 %}
<div class=\"row cms-area mb-12\">
<div class=\"md:col-6 text-2xl font-bold mb-6 md:mb-0\">
{{ allowInlineEditor(sector, 'content')|raw }}
</div>
<div class=\"md:col-6\">
{{ allowInlineEditor(sector, 'content2')|raw }}
</div>
</div>
{% endif %}
{% if sector.content3 %}
<div class=\"row cms-area mb-12\">
<div class=\"md:col-12\">
{{ allowInlineEditor(sector, 'content3')|raw }}
</div>
</div>
{% endif %}
{% if sector.image2 or sector.image3 or sector.image4 %}
<div class=\"row mb-12\">
{% if sector.image2 %}
<div class=\"{% if sector.image4 %}md:col-3{% else %} md:col-6{% endif %} sm:col-6 mb-8 md:mb-0\">
<img src=\"{{ imageCache('/'~ sector.getFullImage2Path, 'zoomCrop', 540, 640) }}\" width=\"370\" height=\"438\" alt=\"{{ sector.title }}\" loading=\"lazy\" />
</div>
{% endif %}
{% if sector.image3 %}
<div class=\"{% if sector.image4 %}md:col-3{% else %} md:col-6{% endif %} sm:col-6 mb-8 md:mb-0\">
<img src=\"{{ imageCache('/'~ sector.getFullImage3Path, 'zoomCrop', 540, 640) }}\" width=\"370\" height=\"438\" alt=\"{{ sector.title }}\" loading=\"lazy\" />
</div>
{% endif %}
{% if sector.image4 %}
<div class=\"md:col-6\">
<img src=\"{{ imageCache('/'~ sector.getFullImage4Path, 'zoomCrop', 1130, 640) }}\" width=\"670\" height=\"380\" alt=\"{{ sector.title }}\" loading=\"lazy\" />
</div>
{% endif %}
</div>
{% endif %}
{% if sector.content4 %}
<div class=\"row cms-area mb-12\">
<div class=\"md:col-12\">
{{ allowInlineEditor(sector, 'content4')|raw }}
</div>
</div>
{% endif %}
</div>
</section>
{% if sector.gallery and sector.gallery.galleryImages|length > 0 %}
<div class=\"container mb-4\">
<div class=\"row\">
<div class=\"col-12 text-center\">
<h3 class=\"text-green mb-8 mt-0\">Sector Gallery</h3>
{% if sector.gallery.content %}
<div class=\"mb-12\">
{{ allowInlineEditor(sector.gallery, 'content')|raw }}
</div>
{% endif %}
</div>
</div>
<div class=\"row\">
{% for image in sector.gallery.galleryImages %}
{% if image.file %}
<div class=\"lg:col-6 mb-8\">
<video class=\"w-full h-auto\" src=\"{{ image.getFileUrl() }}\" controls></video>
</div>
{% else %}
<div class=\"lg:col-6 mb-8\">
<img class=\"max-w-full h-auto\" src=\"{{ imageCache('/'~ image.getFullImagePath, 'zoomCrop', 1140, 640) }}\" alt=\"{{ image.title }}\" loading=\"lazy\" />
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
", "@theme/sectors/article.html.twig" , "/var/www/html/k/kasscaffolding/templates/themes/theme/sectors/article.html.twig" );
}
}