<?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 "
<div class=\"banner-block pb-6 lazyBackgroundImage\" data-mobile=\"";
// line 8
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.', 8, $this->source); })()), "image", [], "any", false, false, false, 8)), "zoomCrop", 900, 405), "html", null, true);
echo "\" data-desktop=\"";
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.', 8, $this->source); })()), "image", [], "any", false, false, false, 8)), "zoomCrop", 3200, 1440), "html", null, true);
echo "\">
<div class=\"container h-full\">
<div class=\"flex items-end h-full\">
<h1>";
// line 11
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.', 11, $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.', 11, $this->source); })()), "title", [], "any", false, false, false, 11)), "html", null, true);
echo "</h1>
</div>
</div>
</div>
<section class=\"page-content overflow-x-hidden\">
<div class=\"container\">
<div class=\"row\">
<div class=\"lg:col-6 large-para pt-6 lg:pt-0 pb-6 lg:pb-0 xl:pr-12 lg:flex lg:items-center\">
";
// line 20
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.', 20, $this->source); })()), "content");
echo "
</div>
<div class=\"lg:col-6 cms-area\">
<div class=\"bg-black black-full text-white lg:px-10 pt-10 pb-12\">
";
// line 24
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.', 24, $this->source); })()), "content2");
echo "
</div>
</div>
</div>
</div>
</section>
<section class=\"bg-primary pt-12 mb-12 text-white team-block\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
";
// line 35
echo $this->env->getFunction('renderComponents')->getCallable()("After Content", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 35, $this->source); })()));
echo "
</div>
</div>
</div>
</section>
";
// line 41
echo $this->extensions['App\Twig\TwigExtension']->renderHtmlBlock($this->env, "Further Content", (isset($context["pageHtmlBlocks"]) || array_key_exists("pageHtmlBlocks", $context) ? $context["pageHtmlBlocks"] : (function () { throw new RuntimeError('Variable "pageHtmlBlocks" does not exist.', 41, $this->source); })()));
echo "
<section class=\"bg-grey pt-12 pb-6 lg:pb-12\">
<div class=\"container\">
<h3 class=\"text-center text-black mb-6\">Why Choose Stable Scaffolding Ltd?</h3>
<div class=\"row\">
<div class=\"lg:col-3 sm:col-6 text-center mb-6 lg:mb-0\">
<div class=\"text-5xl text-primary mb-6\">";
// line 48
echo $this->env->getFunction('renderSetting')->getCallable()(17, "iconClass");
echo "</div>
<h5 class=\"text-lg text-primary capitalize mb-0\">";
// line 49
echo $this->env->getFunction('renderSetting')->getCallable()(17, "displayText");
echo "</h5>
<p class=\"font-medium\">";
// line 50
echo $this->env->getFunction('renderSetting')->getCallable()(17, "content");
echo "</p>
</div>
<div class=\"lg:col-3 sm:col-6 text-center mb-6 lg:mb-0\">
<div class=\"text-5xl text-primary mb-6\">";
// line 53
echo $this->env->getFunction('renderSetting')->getCallable()(18, "iconClass");
echo "</div>
<h5 class=\"text-lg text-primary capitalize mb-0\">";
// line 54
echo $this->env->getFunction('renderSetting')->getCallable()(18, "displayText");
echo "</h5>
<p class=\"font-medium\">";
// line 55
echo $this->env->getFunction('renderSetting')->getCallable()(18, "content");
echo "</p>
</div>
<div class=\"lg:col-3 sm:col-6 text-center mb-6 lg:mb-0\">
<div class=\"text-5xl text-primary mb-6\">";
// line 58
echo $this->env->getFunction('renderSetting')->getCallable()(19, "iconClass");
echo "</div>
<h5 class=\"text-lg text-primary capitalize mb-0\">";
// line 59
echo $this->env->getFunction('renderSetting')->getCallable()(19, "displayText");
echo "</h5>
<p class=\"font-medium\">";
// line 60
echo $this->env->getFunction('renderSetting')->getCallable()(19, "content");
echo "</p>
</div>
<div class=\"lg:col-3 sm:col-6 text-center mb-6 lg:mb-0\">
<div class=\"text-5xl text-primary mb-6\">";
// line 63
echo $this->env->getFunction('renderSetting')->getCallable()(20, "iconClass");
echo "</div>
<h5 class=\"text-lg text-primary capitalize mb-0\">";
// line 64
echo $this->env->getFunction('renderSetting')->getCallable()(20, "displayText");
echo "</h5>
<p class=\"font-medium\">";
// line 65
echo $this->env->getFunction('renderSetting')->getCallable()(20, "content");
echo "</p>
</div>
</div>
</div>
</section>
";
// line 71
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.', 71, $this->source); })()), "image2", [], "any", false, false, false, 71)) {
// line 72
echo "<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<picture>
<source srcset=\"";
// line 76
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.', 76, $this->source); })()), "image2", [], "any", false, false, false, 76)), "zoomCrop", 900, 500), "html", null, true);
echo "\" media=\"(max-width: 767px)\">
<img class=\"max-w-full h-auto mt-12\" src=\"";
// line 77
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.', 77, $this->source); })()), "image2", [], "any", false, false, false, 77)), "zoomCrop", 2560, 1200), "html", null, true);
echo "\" 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.', 77, $this->source); })()), "title", [], "any", false, false, false, 77), "html", null, true);
echo "\" loading=\"lazy\">
</picture>
</div>
</div>
</div>
";
}
// line 83
echo "
";
// line 84
echo $this->extensions['App\Twig\TwigExtension']->renderHtmlBlock($this->env, "CTA", (isset($context["pageHtmlBlocks"]) || array_key_exists("pageHtmlBlocks", $context) ? $context["pageHtmlBlocks"] : (function () { throw new RuntimeError('Variable "pageHtmlBlocks" does not exist.', 84, $this->source); })()));
echo "
";
// line 86
echo $this->env->getFunction('renderComponents')->getCallable()("Bottom 1", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 86, $this->source); })()));
echo "
";
// line 88
echo $this->env->getFunction('renderComponents')->getCallable()("Bottom 2", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 88, $this->source); })()));
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 92
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 ( 281 => 92, 268 => 88, 263 => 86, 258 => 84, 255 => 83, 244 => 77, 240 => 76, 234 => 72, 232 => 71, 223 => 65, 219 => 64, 215 => 63, 209 => 60, 205 => 59, 201 => 58, 195 => 55, 191 => 54, 187 => 53, 181 => 50, 177 => 49, 173 => 48, 163 => 41, 154 => 35, 140 => 24, 133 => 20, 121 => 11, 113 => 8, 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 %}
<div class=\"banner-block pb-6 lazyBackgroundImage\" data-mobile=\"{{ imageCache('/userfiles/images/page/' ~ page.image, 'zoomCrop', 900, 405) }}\" data-desktop=\"{{ imageCache('/userfiles/images/page/' ~ page.image, 'zoomCrop', 3200, 1440) }}\">
<div class=\"container h-full\">
<div class=\"flex items-end h-full\">
<h1>{{ replaceIfComponentDataExists(pageComponents, \"title\", page.title) }}</h1>
</div>
</div>
</div>
<section class=\"page-content overflow-x-hidden\">
<div class=\"container\">
<div class=\"row\">
<div class=\"lg:col-6 large-para pt-6 lg:pt-0 pb-6 lg:pb-0 xl:pr-12 lg:flex lg:items-center\">
{{ allowInlineEditor(page, 'content')|raw }}
</div>
<div class=\"lg:col-6 cms-area\">
<div class=\"bg-black black-full text-white lg:px-10 pt-10 pb-12\">
{{ allowInlineEditor(page, 'content2')|raw }}
</div>
</div>
</div>
</div>
</section>
<section class=\"bg-primary pt-12 mb-12 text-white team-block\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
{{ renderComponents('After Content', pageComponents)|raw }}
</div>
</div>
</div>
</section>
{{ renderHtmlBlock('Further Content', pageHtmlBlocks)|raw }}
<section class=\"bg-grey pt-12 pb-6 lg:pb-12\">
<div class=\"container\">
<h3 class=\"text-center text-black mb-6\">Why Choose Stable Scaffolding Ltd?</h3>
<div class=\"row\">
<div class=\"lg:col-3 sm:col-6 text-center mb-6 lg:mb-0\">
<div class=\"text-5xl text-primary mb-6\">{{ renderSetting(17, 'iconClass') }}</div>
<h5 class=\"text-lg text-primary capitalize mb-0\">{{ renderSetting(17, 'displayText') }}</h5>
<p class=\"font-medium\">{{ renderSetting(17, 'content') }}</p>
</div>
<div class=\"lg:col-3 sm:col-6 text-center mb-6 lg:mb-0\">
<div class=\"text-5xl text-primary mb-6\">{{ renderSetting(18, 'iconClass') }}</div>
<h5 class=\"text-lg text-primary capitalize mb-0\">{{ renderSetting(18, 'displayText') }}</h5>
<p class=\"font-medium\">{{ renderSetting(18, 'content') }}</p>
</div>
<div class=\"lg:col-3 sm:col-6 text-center mb-6 lg:mb-0\">
<div class=\"text-5xl text-primary mb-6\">{{ renderSetting(19, 'iconClass') }}</div>
<h5 class=\"text-lg text-primary capitalize mb-0\">{{ renderSetting(19, 'displayText') }}</h5>
<p class=\"font-medium\">{{ renderSetting(19, 'content') }}</p>
</div>
<div class=\"lg:col-3 sm:col-6 text-center mb-6 lg:mb-0\">
<div class=\"text-5xl text-primary mb-6\">{{ renderSetting(20, 'iconClass') }}</div>
<h5 class=\"text-lg text-primary capitalize mb-0\">{{ renderSetting(20, 'displayText') }}</h5>
<p class=\"font-medium\">{{ renderSetting(20, 'content') }}</p>
</div>
</div>
</div>
</section>
{% if page.image2 %}
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<picture>
<source srcset=\"{{ imageCache('/userfiles/images/page/' ~ page.image2, 'zoomCrop', 900, 500) }}\" media=\"(max-width: 767px)\">
<img class=\"max-w-full h-auto mt-12\" src=\"{{ imageCache('/userfiles/images/page/' ~ page.image2, 'zoomCrop', 2560, 1200) }}\" alt=\"{{ page.title }}\" loading=\"lazy\">
</picture>
</div>
</div>
</div>
{% endif %}
{{ renderHtmlBlock('CTA', pageHtmlBlocks)|raw }}
{{ renderComponents('Bottom 1', pageComponents)|raw }}
{{ renderComponents('Bottom 2', pageComponents)|raw }}
{% endblock %}
{% block stylesheets %}
{% endblock %}
", "@theme/templates/cmspage-about.html.twig", "/var/www/html/s/stablescaffolding/templates/themes/theme/templates/cmspage-about.html.twig");
}
}