var/cache/dev/twig/5a/5aa6da84aa75bfdc746aa381a9a370ed.php line 47

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