<?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/templates/cmspage-about.html.twig */
class __TwigTemplate_c7bde4bc2d2eb38b24db2090954b8c5c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'metatitle' => [$this, 'block_metatitle'],
'metadescription' => [$this, 'block_metadescription'],
'body' => [$this, 'block_body'],
'stylesheets' => [$this, 'block_stylesheets'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@theme/base.html.twig";
}
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/templates/cmspage-about.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/templates/cmspage-about.html.twig"));
$this->parent = $this->loadTemplate("@theme/base.html.twig", "@theme/templates/cmspage-about.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
public function block_metatitle($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(), "block", "metatitle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatitle"));
echo twig_escape_filter($this->env, 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.', 2, $this->source); })()), "metatitle", [], "any", false, false, false, 2), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 3
public function block_metadescription($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(), "block", "metadescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));
echo twig_escape_filter($this->env, twig_slice($this->env, twig_striptags(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.', 3, $this->source); })()), "metadescription", [], "any", false, false, false, 3)), 0, 160), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_body($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(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo "
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AboutPage\",
\"name\": \"";
// line 11
echo twig_escape_filter($this->env, 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.', 11, $this->source); })()), "metatitle", [], "any", false, false, false, 11), "html", null, true);
echo "\",
\"url\": \"";
// line 12
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.', 12, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, 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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "attributes", [], "any", false, false, false, 12), "get", ["_route"], "method", false, false, false, 12), twig_get_attribute($this->env, $this->source, 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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "attributes", [], "any", false, false, false, 12), "get", ["_route_params"], "method", false, false, false, 12)), "html", null, true);
echo "\",
\"mainEntity\": {
\"@type\": \"LocalBusiness\",
\"name\": \"";
// line 15
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.', 15, $this->source); })()), "html", null, true);
echo "\",
\"description\": \"";
// line 16
echo twig_escape_filter($this->env, twig_slice($this->env, twig_striptags(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.', 16, $this->source); })()), "metadescription", [], "any", false, false, false, 16)), 0, 160), "html", null, true);
echo "\",
\"url\": \"";
// line 17
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.', 17, $this->source); })()), "html", null, true);
echo "\",
\"logo\": {
\"@type\": \"ImageObject\",
\"url\": \"";
// line 20
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.', 20, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, $this->env->getFunction('imageCache')->getCallable()($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kas-scaffolding-logo.png"), "cropResize", 600, 232), "html", null, true);
echo "\",
\"width\": 600,
\"height\": 232
},
\"address\": {
\"@type\": \"PostalAddress\",
\"streetAddress\": \"42 Readmans Industrial Estate\",
\"addressLocality\": \"East Tilbury\",
\"addressRegion\": \"Essex\",
\"postalCode\": \"RM18 8QR\",
\"addressCountry\": \"GB\"
},
\"telephone\": \"";
// line 32
echo $this->env->getFunction('renderSetting')->getCallable()(2, "content");
echo "\",
\"email\": \"";
// line 33
echo $this->env->getFunction('renderSetting')->getCallable()(3, "content");
echo "\",
\"areaServed\": [
{
\"@type\": \"Place\",
\"name\": \"London\"
},
{
\"@type\": \"Place\",
\"name\": \"Esssex\"
},
{
\"@type\": \"Place\",
\"name\": \"Kent\"
},
{
\"@type\": \"Place\",
\"name\": \"Cambridge\"
},
{
\"@type\": \"Place\",
\"name\": \"Oxford\"
}
],
\"sameAs\": [
\"";
// line 57
echo $this->env->getFunction('renderSetting')->getCallable()(7, "content");
echo "\",
\"";
// line 58
echo $this->env->getFunction('renderSetting')->getCallable()(8, "content");
echo "\",
\"";
// line 59
echo $this->env->getFunction('renderSetting')->getCallable()(9, "content");
echo "\"
]
}
}
</script>
<section class=\"bg-pattern-light mb-12 pt-[148px] md:pt-[163px] mt-12\">
<div class=\"container relative z-10\">
<div class=\"row\">
<div class=\"col-12\">
<picture>
<source srcset=\"";
// line 70
echo twig_escape_filter($this->env, $this->env->getFunction('imageCache')->getCallable()(("/userfiles/images/page/" . 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.', 70, $this->source); })()), "image", [], "any", false, false, false, 70)), "zoomCrop", 1566, 535), "html", null, true);
echo "\" media=\"(max-width: 767px)\">
<img class=\"max-w-full h-auto\" src=\"";
// line 71
echo twig_escape_filter($this->env, $this->env->getFunction('imageCache')->getCallable()(("/userfiles/images/page/" . 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.', 71, $this->source); })()), "image", [], "any", false, false, false, 71)), "zoomCrop", 2340, 800), "html", null, true);
echo "\" width=\"1370\" height=\"468\" alt=\"";
echo twig_escape_filter($this->env, 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.', 71, $this->source); })()), "title", [], "any", false, false, false, 71), "html", null, true);
echo "\" loading=\"lazy\" />
</picture>
</div>
</div>
</div>
</section>
<section class=\"content\">
<div class=\"container\">
<div class=\"row\">
<div class=\"lg:col-6 order-2 lg:order-1\">
<img class=\"max-w-full h-auto\" src=\"";
// line 82
echo twig_escape_filter($this->env, $this->env->getFunction('imageCache')->getCallable()(("/userfiles/images/page/" . 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.', 82, $this->source); })()), "image2", [], "any", false, false, false, 82)), "zoomCrop", 1140, 1200), "html", null, true);
echo "\" width=\"670\" height=\"706\" alt=\"";
echo twig_escape_filter($this->env, 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.', 82, $this->source); })()), "title", [], "any", false, false, false, 82), "html", null, true);
echo "\" loading=\"lazy\" />
</div>
<div class=\"xl:col-5 xl:offset-1 lg:col-6 order-1 lg:order-2 flex flex-col justify-between mb-12 lg:mb-0\">
<div class=\"text-lg\">
";
// line 86
if (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.', 86, $this->source); })()), "subtitle", [], "any", false, false, false, 86)) {
// line 87
echo " <h3 class=\"text-green\">";
echo 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.', 87, $this->source); })()), "subtitle", [], "any", false, false, false, 87);
echo "</h3>
";
}
// line 89
echo " <h1>";
echo twig_escape_filter($this->env, $this->env->getFunction('replaceIfComponentDataExists')->getCallable()((isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 89, $this->source); })()), "title", 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.', 89, $this->source); })()), "title", [], "any", false, false, false, 89)), "html", null, true);
echo "</h1>
";
// line 90
echo $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 90, $this->source); })()), "content");
echo "
</div>
<div>
<a class=\"btn btn-primary mt-12\" href=\"";
// line 93
echo $this->env->getFunction('renderSetting')->getCallable()(18, "content");
echo "\">";
echo $this->env->getFunction('renderSetting')->getCallable()(18, "title");
echo "</a>
</div>
</div>
</div>
</div>
</section>
";
// line 100
$this->loadTemplate("@theme/common/company-info.html.twig", "@theme/templates/cmspage-about.html.twig", 100)->display($context);
// line 101
echo "
<div class=\"container text-center mb-12\">
";
// line 103
echo $this->env->getFunction('renderComponents')->getCallable()("Sector Slider", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 103, $this->source); })()));
echo "
";
// line 105
echo $this->env->getFunction('renderComponents')->getCallable()("Team", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 105, $this->source); })()));
echo "
</div>
";
// line 108
echo $this->env->getFunction('renderComponents')->getCallable()("FAQs", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 108, $this->source); })()));
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 112
public function block_stylesheets($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(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@theme/templates/cmspage-about.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 300 => 112, 287 => 108, 281 => 105, 276 => 103, 272 => 101, 270 => 100, 258 => 93, 252 => 90, 247 => 89, 241 => 87, 239 => 86, 230 => 82, 214 => 71, 210 => 70, 196 => 59, 192 => 58, 188 => 57, 161 => 33, 157 => 32, 141 => 20, 135 => 17, 131 => 16, 127 => 15, 120 => 12, 116 => 11, 109 => 6, 99 => 5, 80 => 3, 61 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@theme/base.html.twig' %}
{% block metatitle %}{{page.metatitle}}{% endblock %}
{% block metadescription %}{{page.metadescription|striptags|slice(0, 160)}}{% endblock %}
{% block body %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AboutPage\",
\"name\": \"{{ page.metatitle }}\",
\"url\": \"{{ siteurl }}{{ path(app.request.attributes.get('_route'),app.request.attributes.get('_route_params')) }}\",
\"mainEntity\": {
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
\"url\": \"{{ siteurl }}\",
\"logo\": {
\"@type\": \"ImageObject\",
\"url\": \"{{ siteurl }}{{ imageCache(asset('build/images/kas-scaffolding-logo.png'), 'cropResize', 600, 232) }}\",
\"width\": 600,
\"height\": 232
},
\"address\": {
\"@type\": \"PostalAddress\",
\"streetAddress\": \"42 Readmans Industrial Estate\",
\"addressLocality\": \"East Tilbury\",
\"addressRegion\": \"Essex\",
\"postalCode\": \"RM18 8QR\",
\"addressCountry\": \"GB\"
},
\"telephone\": \"{{ renderSetting(2, 'content') }}\",
\"email\": \"{{ renderSetting(3, 'content') }}\",
\"areaServed\": [
{
\"@type\": \"Place\",
\"name\": \"London\"
},
{
\"@type\": \"Place\",
\"name\": \"Esssex\"
},
{
\"@type\": \"Place\",
\"name\": \"Kent\"
},
{
\"@type\": \"Place\",
\"name\": \"Cambridge\"
},
{
\"@type\": \"Place\",
\"name\": \"Oxford\"
}
],
\"sameAs\": [
\"{{ renderSetting(7, 'content') }}\",
\"{{ renderSetting(8, 'content') }}\",
\"{{ renderSetting(9, 'content') }}\"
]
}
}
</script>
<section class=\"bg-pattern-light mb-12 pt-[148px] md:pt-[163px] mt-12\">
<div class=\"container relative z-10\">
<div class=\"row\">
<div class=\"col-12\">
<picture>
<source srcset=\"{{ imageCache('/userfiles/images/page/' ~ page.image, 'zoomCrop', 1566, 535) }}\" media=\"(max-width: 767px)\">
<img class=\"max-w-full h-auto\" src=\"{{ imageCache('/userfiles/images/page/' ~ page.image, 'zoomCrop', 2340, 800) }}\" width=\"1370\" height=\"468\" alt=\"{{ page.title }}\" loading=\"lazy\" />
</picture>
</div>
</div>
</div>
</section>
<section class=\"content\">
<div class=\"container\">
<div class=\"row\">
<div class=\"lg:col-6 order-2 lg:order-1\">
<img class=\"max-w-full h-auto\" src=\"{{ imageCache('/userfiles/images/page/' ~ page.image2, 'zoomCrop', 1140, 1200) }}\" width=\"670\" height=\"706\" alt=\"{{ page.title }}\" loading=\"lazy\" />
</div>
<div class=\"xl:col-5 xl:offset-1 lg:col-6 order-1 lg:order-2 flex flex-col justify-between mb-12 lg:mb-0\">
<div class=\"text-lg\">
{% if page.subtitle %}
<h3 class=\"text-green\">{{ page.subtitle|raw }}</h3>
{% endif %}
<h1>{{ replaceIfComponentDataExists(pageComponents, \"title\", page.title) }}</h1>
{{ allowInlineEditor(page, 'content')|raw }}
</div>
<div>
<a class=\"btn btn-primary mt-12\" href=\"{{ renderSetting(18, 'content') }}\">{{ renderSetting(18, 'title') }}</a>
</div>
</div>
</div>
</div>
</section>
{% include '@theme/common/company-info.html.twig' %}
<div class=\"container text-center mb-12\">
{{ renderComponents('Sector Slider', pageComponents)|raw }}
{{ renderComponents('Team', pageComponents)|raw }}
</div>
{{ renderComponents('FAQs', pageComponents)|raw }}
{% endblock %}
{% block stylesheets %}
{% endblock %}
", "@theme/templates/cmspage-about.html.twig", "/var/www/html/k/kasscaffolding/templates/themes/theme/templates/cmspage-about.html.twig");
}
}