var/cache/dev/twig/dc/dcbd4e2a9badbe790a5da56f04f60a35.php line 42

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @theme/templates/home.html.twig */
  14. class __TwigTemplate_a9f3b983c4ac5574627daf7984ae7e58 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'metatitle' => [$this'block_metatitle'],
  25.             'metadescription' => [$this'block_metadescription'],
  26.             'body' => [$this'block_body'],
  27.             'stylesheets' => [$this'block_stylesheets'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "@theme/base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/home.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/home.html.twig"));
  42.         $this->parent $this->loadTemplate("@theme/base.html.twig""@theme/templates/home.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 2
  50.     public function block_title($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         echo twig_escape_filter($this->envtwig_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); })()), "title", [], "any"falsefalsefalse2), "html"nulltrue);
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.     }
  63.     // line 3
  64.     public function block_metatitle($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatitle"));
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatitle"));
  71.         echo twig_escape_filter($this->envtwig_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); })()), "metatitle", [], "any"falsefalsefalse3), "html"nulltrue);
  72.         
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  74.         
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  76.     }
  77.     // line 4
  78.     public function block_metadescription($context, array $blocks = [])
  79.     {
  80.         $macros $this->macros;
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  85.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_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.'4$this->source); })()), "metadescription", [], "any"falsefalsefalse4)), 0160), "html"nulltrue);
  86.         
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  88.         
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  90.     }
  91.     // line 6
  92.     public function block_body($context, array $blocks = [])
  93.     {
  94.         $macros $this->macros;
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  99.         // line 7
  100.         echo "
  101. <script type=\"application/ld+json\">
  102.     {
  103.         \"@context\": \"https://schema.org\",
  104.         \"@type\": \"LocalBusiness\",
  105.         \"name\": \"";
  106.         // line 12
  107.         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.'12$this->source); })()), "html"nulltrue);
  108.         echo "\",
  109.         \"url\": \"";
  110.         // line 13
  111.         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.'13$this->source); })()), "html"nulltrue);
  112.         echo "\",
  113.         \"image\": \"";
  114.         // line 14
  115.         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.'14$this->source); })()), "html"nulltrue);
  116.         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"600232), "html"nulltrue);
  117.         echo "\",
  118.         \"description\": \"";
  119.         // line 15
  120.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_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.'15$this->source); })()), "metadescription", [], "any"falsefalsefalse15)), 0160), "html"nulltrue);
  121.         echo "\",
  122.         \"address\": {
  123.             \"@type\": \"PostalAddress\",
  124.             \"streetAddress\": \"42 Readmans Industrial Estate\",
  125.             \"addressLocality\": \"East Tilbury\",
  126.             \"addressRegion\": \"Essex\",
  127.             \"postalCode\": \"RM18 8QR\",
  128.             \"addressCountry\": \"GB\"
  129.         },
  130.         \"telephone\": \"";
  131.         // line 24
  132.         echo $this->env->getFunction('renderSetting')->getCallable()(2"content");
  133.         echo "\",
  134.         \"email\": \"";
  135.         // line 25
  136.         echo $this->env->getFunction('renderSetting')->getCallable()(3"content");
  137.         echo "\",
  138.         \"geo\": {
  139.             \"@type\": \"GeoCoordinates\",
  140.             \"latitude\": \"";
  141.         // line 28
  142.         echo $this->env->getFunction('renderSetting')->getCallable()(4"content");
  143.         echo "\",
  144.             \"longitude\": \"";
  145.         // line 29
  146.         echo $this->env->getFunction('renderSetting')->getCallable()(5"content");
  147.         echo "\"
  148.         },
  149.         \"sameAs\": [
  150.             \"";
  151.         // line 32
  152.         echo $this->env->getFunction('renderSetting')->getCallable()(7"content");
  153.         echo "\",
  154.             \"";
  155.         // line 33
  156.         echo $this->env->getFunction('renderSetting')->getCallable()(8"content");
  157.         echo "\",
  158.             \"";
  159.         // line 34
  160.         echo $this->env->getFunction('renderSetting')->getCallable()(9"content");
  161.         echo "\"
  162.         ]
  163.     }
  164. </script>
  165. <section class=\"video w-full flex items-center text-white\">
  166.     ";
  167.         // line 40
  168.         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.'40$this->source); })()), "file", [], "any"falsefalsefalse40)) {
  169.             // line 41
  170.             echo "    <video autoplay muted playsinline loop id=\"myVideo\">
  171.         <source src=\"";
  172.             // line 42
  173.             echo twig_escape_filter($this->envtwig_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.'42$this->source); })()), "getFileUrl", [], "any"falsefalsefalse42), "html"nulltrue);
  174.             echo "\" type=\"video/mp4\">
  175.         Your browser does not support the video tag.
  176.     </video>
  177.      ";
  178.         }
  179.         // line 46
  180.         echo "    <div class=\"container relative z-20\">
  181.         <div class=\"row\">
  182.             <div class=\"lg:col-8 md:col-10 sm:col-12 col-12\">
  183.                 <h1>";
  184.         // line 49
  185.         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.'49$this->source); })()), "title");
  186.         echo "</h1>
  187.             </div>
  188.         </div>
  189.         <div class=\"row\">
  190.             <div class=\"lg:col-7 md:col-8 sm:col-12 col-12\">
  191.                 ";
  192.         // line 54
  193.         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.'54$this->source); })()), "kicker");
  194.         echo "
  195.                 <a class=\"btn btn-primary\" href=\"";
  196.         // line 55
  197.         echo $this->env->getFunction('renderSetting')->getCallable()(21"content");
  198.         echo "\">";
  199.         echo $this->env->getFunction('renderSetting')->getCallable()(21"title");
  200.         echo "</a>
  201.             </div>
  202.         </div>
  203.         <a href=\"/nasc-membership\" class=\"absolute bottom-0 right-4 z-20 block\">
  204.             <img src=\"";
  205.         // line 59
  206.         echo twig_escape_filter($this->env$this->env->getFunction('imageCache')->getCallable()($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/nasc-logo.png"), "cropResize"34080), "html"nulltrue);
  207.         echo "\" width=\"170\" height=\"40\" alt=\"NASC accredited logo\" loading=\"lazy\" />
  208.         </a>
  209.     </div>
  210. </section>
  211. <section class=\"pt-10\">
  212.      ";
  213.         // line 65
  214.         echo $this->env->getFunction('renderComponents')->getCallable()("Before Content", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'65$this->source); })()));
  215.         echo "
  216.     <div class=\"container\">
  217.         <div class=\"row flex items-center\">
  218.             <div class=\"lg:col-3 hidden lg:block\">
  219.                 <div>
  220.                     <div class=\"img-top\"></div>
  221.                     <div class=\"lg:-mr-72 relative z-30\">
  222.                         <img class=\"max-w-full h-auto\" src=\"";
  223.         // line 73
  224.         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.'73$this->source); })()), "image", [], "any"falsefalsefalse73)), "zoomCrop"900840), "html"nulltrue);
  225.         echo "\" width=\"608\" height=\"568\" alt=\"";
  226.         echo twig_escape_filter($this->envtwig_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.'73$this->source); })()), "title", [], "any"falsefalsefalse73), "html"nulltrue);
  227.         echo "\" loading=\"lazy\" />
  228.                     </div>
  229.                     <div class=\"img-btm\"></div>
  230.                 </div>
  231.             </div>
  232.             <div class=\"lg:col-9\">
  233.                 <div class=\"bg-extend bg-primary text-white text-xl font-light py-12 lg:py-24 lg:pl-80 lg:pr-8 relative z-20 cms-area\">
  234.                     ";
  235.         // line 80
  236.         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.'80$this->source); })()), "content");
  237.         echo "
  238.                     <a class=\"btn btn-white mt-12\" href=\"";
  239.         // line 81
  240.         echo $this->env->getFunction('renderSetting')->getCallable()(20"content");
  241.         echo "\">";
  242.         echo $this->env->getFunction('renderSetting')->getCallable()(20"title");
  243.         echo "</a>
  244.                     ";
  245.         // line 82
  246.         $this->loadTemplate("@theme/common/certified.html.twig""@theme/templates/home.html.twig"82)->display($context);
  247.         // line 83
  248.         echo "                </div>
  249.             </div>
  250.         </div>
  251.     </div>
  252.     ";
  253.         // line 88
  254.         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.'88$this->source); })()));
  255.         echo "
  256. </section>
  257. <section class=\"split mb-16 relative\">
  258.     <div class=\"container\">
  259.         <div class=\"split-wrapper text-white md:flex md:flex-row\">
  260.             <div class=\"split-left md:w-1/2 bg-secondary py-12 pr-4\">
  261.                 ";
  262.         // line 95
  263.         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.'95$this->source); })()), "content2");
  264.         echo "
  265.                 <a class=\"btn btn-white mt-12\" href=\"";
  266.         // line 96
  267.         echo $this->env->getFunction('renderSetting')->getCallable()(22"content");
  268.         echo "\">";
  269.         echo $this->env->getFunction('renderSetting')->getCallable()(22"title");
  270.         echo "</a>
  271.             </div>
  272.             <div class=\"split-right md:w-1/2 py-12 md:pl-36\">
  273.                 ";
  274.         // line 99
  275.         echo $this->env->getFunction('renderComponents')->getCallable()("Service List", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'99$this->source); })()));
  276.         echo "
  277.             </div>
  278.         </div>
  279.     </div>
  280. </section>
  281. <section class=\"featured-team-members text-center mb-12\">
  282.     <div class=\"container\">
  283.         ";
  284.         // line 107
  285.         echo $this->env->getFunction('renderComponents')->getCallable()("Team Members", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'107$this->source); })()));
  286.         echo "
  287.     </div>
  288. </section>
  289. ";
  290.         // line 111
  291.         echo $this->extensions['App\Twig\TwigExtension']->renderHtmlBlock($this->env"Content Block", (isset($context["pageHtmlBlocks"]) || array_key_exists("pageHtmlBlocks"$context) ? $context["pageHtmlBlocks"] : (function () { throw new RuntimeError('Variable "pageHtmlBlocks" does not exist.'111$this->source); })()), (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'111$this->source); })()));
  292.         echo "
  293. ";
  294.         // line 113
  295.         echo $this->env->getFunction('renderComponents')->getCallable()("Contact Form", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'113$this->source); })()));
  296.         echo "
  297. ";
  298.         
  299.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  300.         
  301.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  302.     }
  303.     // line 117
  304.     public function block_stylesheets($context, array $blocks = [])
  305.     {
  306.         $macros $this->macros;
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  308.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  309.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  310.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  311.         
  312.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  313.         
  314.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  315.     }
  316.     /**
  317.      * @codeCoverageIgnore
  318.      */
  319.     public function getTemplateName()
  320.     {
  321.         return "@theme/templates/home.html.twig";
  322.     }
  323.     /**
  324.      * @codeCoverageIgnore
  325.      */
  326.     public function isTraitable()
  327.     {
  328.         return false;
  329.     }
  330.     /**
  331.      * @codeCoverageIgnore
  332.      */
  333.     public function getDebugInfo()
  334.     {
  335.         return array (  345 => 117,  332 => 113,  327 => 111,  320 => 107,  309 => 99,  301 => 96,  297 => 95,  287 => 88,  280 => 83,  278 => 82,  272 => 81,  268 => 80,  256 => 73,  245 => 65,  236 => 59,  227 => 55,  223 => 54,  215 => 49,  210 => 46,  203 => 42,  200 => 41,  198 => 40,  189 => 34,  185 => 33,  181 => 32,  175 => 29,  171 => 28,  165 => 25,  161 => 24,  149 => 15,  144 => 14,  140 => 13,  136 => 12,  129 => 7,  119 => 6,  100 => 4,  81 => 3,  62 => 2,  39 => 1,);
  336.     }
  337.     public function getSourceContext()
  338.     {
  339.         return new Source("{% extends '@theme/base.html.twig' %}
  340. {% block title %}{{ page.title }}{% endblock %}
  341. {% block metatitle %}{{ page.metatitle }}{% endblock %}
  342. {% block metadescription %}{{ page.metadescription|striptags|slice(0, 160) }}{% endblock %}
  343. {% block body %}
  344. <script type=\"application/ld+json\">
  345.     {
  346.         \"@context\": \"https://schema.org\",
  347.         \"@type\": \"LocalBusiness\",
  348.         \"name\": \"{{ sitename }}\",
  349.         \"url\": \"{{ siteurl }}\",
  350.         \"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/kas-scaffolding-logo.png'), 'cropResize', 600, 232)  }}\",
  351.         \"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
  352.         \"address\": {
  353.             \"@type\": \"PostalAddress\",
  354.             \"streetAddress\": \"42 Readmans Industrial Estate\",
  355.             \"addressLocality\": \"East Tilbury\",
  356.             \"addressRegion\": \"Essex\",
  357.             \"postalCode\": \"RM18 8QR\",
  358.             \"addressCountry\": \"GB\"
  359.         },
  360.         \"telephone\": \"{{ renderSetting(2, 'content') }}\",
  361.         \"email\": \"{{ renderSetting(3, 'content') }}\",
  362.         \"geo\": {
  363.             \"@type\": \"GeoCoordinates\",
  364.             \"latitude\": \"{{ renderSetting(4, 'content') }}\",
  365.             \"longitude\": \"{{ renderSetting(5, 'content') }}\"
  366.         },
  367.         \"sameAs\": [
  368.             \"{{ renderSetting(7, 'content') }}\",
  369.             \"{{ renderSetting(8, 'content') }}\",
  370.             \"{{ renderSetting(9, 'content') }}\"
  371.         ]
  372.     }
  373. </script>
  374. <section class=\"video w-full flex items-center text-white\">
  375.     {% if page.file %}
  376.     <video autoplay muted playsinline loop id=\"myVideo\">
  377.         <source src=\"{{ page.getFileUrl }}\" type=\"video/mp4\">
  378.         Your browser does not support the video tag.
  379.     </video>
  380.      {% endif %}
  381.     <div class=\"container relative z-20\">
  382.         <div class=\"row\">
  383.             <div class=\"lg:col-8 md:col-10 sm:col-12 col-12\">
  384.                 <h1>{{ allowInlineEditor(page, 'title')|raw }}</h1>
  385.             </div>
  386.         </div>
  387.         <div class=\"row\">
  388.             <div class=\"lg:col-7 md:col-8 sm:col-12 col-12\">
  389.                 {{ allowInlineEditor(page, 'kicker')|raw }}
  390.                 <a class=\"btn btn-primary\" href=\"{{ renderSetting(21, 'content') }}\">{{ renderSetting(21, 'title') }}</a>
  391.             </div>
  392.         </div>
  393.         <a href=\"/nasc-membership\" class=\"absolute bottom-0 right-4 z-20 block\">
  394.             <img src=\"{{ imageCache(asset('build/images/nasc-logo.png'), 'cropResize', 340, 80)  }}\" width=\"170\" height=\"40\" alt=\"NASC accredited logo\" loading=\"lazy\" />
  395.         </a>
  396.     </div>
  397. </section>
  398. <section class=\"pt-10\">
  399.      {{ renderComponents('Before Content', pageComponents)|raw }}
  400.     <div class=\"container\">
  401.         <div class=\"row flex items-center\">
  402.             <div class=\"lg:col-3 hidden lg:block\">
  403.                 <div>
  404.                     <div class=\"img-top\"></div>
  405.                     <div class=\"lg:-mr-72 relative z-30\">
  406.                         <img class=\"max-w-full h-auto\" src=\"{{ imageCache('/userfiles/images/page/' ~ page.image, 'zoomCrop', 900, 840) }}\" width=\"608\" height=\"568\" alt=\"{{ page.title }}\" loading=\"lazy\" />
  407.                     </div>
  408.                     <div class=\"img-btm\"></div>
  409.                 </div>
  410.             </div>
  411.             <div class=\"lg:col-9\">
  412.                 <div class=\"bg-extend bg-primary text-white text-xl font-light py-12 lg:py-24 lg:pl-80 lg:pr-8 relative z-20 cms-area\">
  413.                     {{ allowInlineEditor(page, 'content')|raw }}
  414.                     <a class=\"btn btn-white mt-12\" href=\"{{ renderSetting(20, 'content') }}\">{{ renderSetting(20, 'title') }}</a>
  415.                     {% include '@theme/common/certified.html.twig' %}
  416.                 </div>
  417.             </div>
  418.         </div>
  419.     </div>
  420.     {{ renderComponents('After Content', pageComponents)|raw }}
  421. </section>
  422. <section class=\"split mb-16 relative\">
  423.     <div class=\"container\">
  424.         <div class=\"split-wrapper text-white md:flex md:flex-row\">
  425.             <div class=\"split-left md:w-1/2 bg-secondary py-12 pr-4\">
  426.                 {{ allowInlineEditor(page, 'content2')|raw }}
  427.                 <a class=\"btn btn-white mt-12\" href=\"{{ renderSetting(22, 'content') }}\">{{ renderSetting(22, 'title') }}</a>
  428.             </div>
  429.             <div class=\"split-right md:w-1/2 py-12 md:pl-36\">
  430.                 {{ renderComponents('Service List', pageComponents)|raw }}
  431.             </div>
  432.         </div>
  433.     </div>
  434. </section>
  435. <section class=\"featured-team-members text-center mb-12\">
  436.     <div class=\"container\">
  437.         {{ renderComponents('Team Members', pageComponents)|raw }}
  438.     </div>
  439. </section>
  440. {{ renderHtmlBlock('Content Block', pageHtmlBlocks, page)|raw }}
  441. {{ renderComponents('Contact Form', pageComponents)|raw }}
  442. {% endblock %}
  443. {% block stylesheets %}
  444. {% endblock %}
  445. ""@theme/templates/home.html.twig""/var/www/html/k/kasscaffolding/templates/themes/theme/templates/home.html.twig");
  446.     }
  447. }