var/cache/dev/twig/a7/a746f7ca0c2c78da0773943c4ce82a6c.php line 148

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_e560db139b086360d22f64da38282f5b 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. // line 3
  64. yield " ";
  65. 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); })()), "title", [], "any", false, false, false, 3), "html", null, true);
  66. yield "
  67. ";
  68. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70. yield from [];
  71. }
  72. // line 5
  73. /**
  74. * @return iterable<null|scalar|\Stringable>
  75. */
  76. public function block_metatitle(array $context, array $blocks = []): iterable
  77. {
  78. $macros = $this->macros;
  79. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatitle"));
  81. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatitle"));
  83. // line 6
  84. yield " ";
  85. 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.', 6, $this->source); })()), "metatitle", [], "any", false, false, false, 6), "html", null, true);
  86. yield "
  87. ";
  88. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  89. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  90. yield from [];
  91. }
  92. // line 8
  93. /**
  94. * @return iterable<null|scalar|\Stringable>
  95. */
  96. public function block_metadescription(array $context, array $blocks = []): iterable
  97. {
  98. $macros = $this->macros;
  99. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  100. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));
  101. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  102. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));
  103. // line 9
  104. 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.', 9, $this->source); })()), "metadescription", [], "any", false, false, false, 9)), 0, 160), "html", null, true);
  105. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  106. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  107. yield from [];
  108. }
  109. // line 12
  110. /**
  111. * @return iterable<null|scalar|\Stringable>
  112. */
  113. public function block_body(array $context, array $blocks = []): iterable
  114. {
  115. $macros = $this->macros;
  116. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  118. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  120. // line 13
  121. yield "
  122. <script type=\"application/ld+json\">
  123. {
  124. \"@context\": \"https://schema.org\",
  125. \"@type\": \"LocalBusiness\",
  126. \"name\": \"";
  127. // line 18
  128. 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.', 18, $this->source); })()), "html", null, true);
  129. yield "\",
  130. \"url\": \"";
  131. // line 19
  132. 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.', 19, $this->source); })()), "html", null, true);
  133. yield "\",
  134. \"image\": \"";
  135. // line 20
  136. 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.', 20, $this->source); })()), "html", null, true);
  137. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.png"), "cropResize", 560, 120), "html", null, true);
  138. yield "\",
  139. \"description\": \"";
  140. // line 21
  141. 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.', 21, $this->source); })()), "metadescription", [], "any", false, false, false, 21)), 0, 160), "html", null, true);
  142. yield "\",
  143. \"telephone\": \"";
  144. // line 22
  145. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(2, "content")), "html", null, true);
  146. yield "\",
  147. \"email\": \"";
  148. // line 23
  149. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(3, "content")), "html", null, true);
  150. yield "\",
  151. \"sameAs\": [
  152. \"";
  153. // line 25
  154. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(4, "content")), "html", null, true);
  155. yield "\",
  156. \"";
  157. // line 26
  158. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(5, "content")), "html", null, true);
  159. yield "\",
  160. \"";
  161. // line 27
  162. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(6, "content")), "html", null, true);
  163. yield "\"
  164. ]
  165. }
  166. </script>
  167. ";
  168. // line 32
  169. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("home");
  170. yield "
  171. ";
  172. // line 33
  173. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("home");
  174. yield "
  175. ";
  176. // line 34
  177. $_v0 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
  178. $preRendered = $_v0->preRender("HomeHero", Twig\Extension\CoreExtension::toArray(["title" => 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.', 34, $this->source); })()), "title", [], "any", false, false, false, 34)]));
  179. if (null !== $preRendered) {
  180. yield $preRendered;
  181. } else {
  182. $preRenderEvent = $_v0->startEmbedComponent("HomeHero", Twig\Extension\CoreExtension::toArray(["title" => 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.', 34, $this->source); })()), "title", [], "any", false, false, false, 34)]), $context, "themes/theme/templates/home.html.twig", 37495565681);
  183. $embeddedContext = $preRenderEvent->getVariables();
  184. $embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
  185. $embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
  186. $embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 37495565681);
  187. $this->load("themes/theme/templates/home.html.twig", 34, "37495565681")->display($embeddedContext, $embeddedBlocks);
  188. $_v0->finishEmbedComponent();
  189. }
  190. // line 60
  191. yield " ";
  192. $_v1 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
  193. $preRendered = $_v1->preRender("CompanyValues", Twig\Extension\CoreExtension::toArray([]));
  194. if (null !== $preRendered) {
  195. yield $preRendered;
  196. } else {
  197. $preRenderEvent = $_v1->startEmbedComponent("CompanyValues", Twig\Extension\CoreExtension::toArray([]), $context, "themes/theme/templates/home.html.twig", 27750238761);
  198. $embeddedContext = $preRenderEvent->getVariables();
  199. $embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
  200. $embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
  201. $embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 27750238761);
  202. $this->load("themes/theme/templates/home.html.twig", 60, "27750238761")->display($embeddedContext, $embeddedBlocks);
  203. $_v1->finishEmbedComponent();
  204. }
  205. // line 71
  206. yield " ";
  207. yield $this->env->getFunction('renderPcgcComponents')->getCallable()("Page Top", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 71, $this->source); })()));
  208. yield "
  209. <main class=\"home-page-content\">
  210. <div class=\"container\">
  211. <div class=\"cms-area\">
  212. ";
  213. // line 75
  214. 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.', 75, $this->source); })()), "content");
  215. yield "
  216. </div>
  217. </div>
  218. </main>
  219. ";
  220. // line 80
  221. 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); })()), "content3");
  222. yield "
  223. ";
  224. // line 82
  225. 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.', 82, $this->source); })()), "testimonial", [], "any", false, false, false, 82)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  226. // line 83
  227. yield " <div class=\"bg-black text-white p-4\">
  228. ";
  229. // line 84
  230. yield CoreExtension::getAttribute($this->env, $this->source, 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.', 84, $this->source); })()), "testimonial", [], "any", false, false, false, 84), "content", [], "any", false, false, false, 84);
  231. yield "
  232. <div class=\"flex items-center justify-between\">
  233. <div>
  234. ";
  235. // line 88
  236. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 88, $this->source); })()), "testimonial", [], "any", false, false, false, 88), "author", [], "any", false, false, false, 88), "html", null, true);
  237. yield " - ";
  238. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 88, $this->source); })()), "testimonial", [], "any", false, false, false, 88), "company", [], "any", false, false, false, 88), "html", null, true);
  239. yield "
  240. </div>
  241. <a href=\"";
  242. // line 90
  243. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "testimonials"]);
  244. yield "\"
  245. >All Testimonials</a
  246. >
  247. </div>
  248. </div>
  249. ";
  250. }
  251. // line 96
  252. yield "
  253. ";
  254. // line 97
  255. if ((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.', 97, $this->source); })()), "ctaText", [], "any", false, false, false, 97) && 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.', 97, $this->source); })()), "ctaLink", [], "any", false, false, false, 97))) {
  256. // line 98
  257. yield " <a href=\"";
  258. 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.', 98, $this->source); })()), "ctaLink", [], "any", false, false, false, 98), "html", null, true);
  259. yield "\" class=\"btn btn-primary\">";
  260. 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.', 98, $this->source); })()), "ctaText", [], "any", false, false, false, 98), "html", null, true);
  261. yield "</a>
  262. ";
  263. }
  264. // line 100
  265. yield "
  266. <section class=\"services-block\">
  267. <div class=\"services-block-cta\">
  268. <div class=\"container\">
  269. <div
  270. class=\"services-block-cta__image breakout-image\"
  271. style=\"--min-height: 370px;\"
  272. >
  273. <img
  274. class=\"breakout-image__image\"
  275. src=\"";
  276. // line 110
  277. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/cta-bg.jpg"), "html", null, true);
  278. yield "\"
  279. role=\"presentation\"
  280. >
  281. <img
  282. class=\"services-block-cta__image-foreground\"
  283. src=\"";
  284. // line 115
  285. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/cta-person.png"), "html", null, true);
  286. yield "\"
  287. alt=\"Stressed woman holding a laptop\"
  288. width=\"470\"
  289. height=\"440\"
  290. >
  291. </div>
  292. <div class=\"services-block-cta__content\">
  293. ";
  294. // line 122
  295. yield $this->env->getFunction('forceRenderPcgcHtmlBlockByIdentifier')->getCallable()(3);
  296. yield "
  297. <div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
  298. <a
  299. href=\"";
  300. // line 126
  301. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "areas-of-expertise/employer-services"]);
  302. yield "\"
  303. class=\"button button-dark\"
  304. >Employer</a
  305. >
  306. <a
  307. href=\"";
  308. // line 131
  309. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "areas-of-expertise/employee-services"]);
  310. yield "\"
  311. class=\"button\"
  312. >Employee</a
  313. >
  314. </div>
  315. </div>
  316. </div>
  317. </div>
  318. ";
  319. // line 139
  320. if ((($tmp = $this->env->getFunction('renderPcgcComponents')->getCallable()("Services Slider", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 139, $this->source); })()))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  321. // line 140
  322. yield " <div class=\"services-block-slider\">
  323. ";
  324. // line 141
  325. yield $this->env->getFunction('renderPcgcComponents')->getCallable()("Services Slider", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 141, $this->source); })()));
  326. yield "
  327. </div>
  328. ";
  329. }
  330. // line 144
  331. yield " </section>
  332. ";
  333. // line 145
  334. if ((($tmp = $this->env->getFunction('forceRenderPcgcHtmlBlockByIdentifier')->getCallable()(4)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  335. // line 146
  336. yield " <section class=\"home-page-case-studies-block\">
  337. <div class=\"container\">
  338. ";
  339. // line 148
  340. yield $this->env->getFunction('forceRenderPcgcHtmlBlockByIdentifier')->getCallable()(4);
  341. yield "
  342. ";
  343. // line 149
  344. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\CaseStudiesDefaultController::embedFeaturedCasestudies"));
  345. yield "
  346. <a
  347. href=\"";
  348. // line 151
  349. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "case-studies"]);
  350. yield "\"
  351. class=\"button button-white\"
  352. >View all Case Studies</a
  353. >
  354. </div>
  355. </section>
  356. ";
  357. }
  358. // line 158
  359. yield " ";
  360. yield $this->env->getFunction('renderPcgcComponents')->getCallable()("Accreditations", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 158, $this->source); })()));
  361. yield "
  362. ";
  363. // line 159
  364. yield $this->env->getFunction('renderPcgcComponents')->getCallable()("Team Members", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 159, $this->source); })()));
  365. yield "
  366. ";
  367. // line 160
  368. yield $this->env->getFunction('renderPcgcComponents')->getCallable()("Below Content", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 160, $this->source); })()));
  369. // line 161
  370. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\WisdomController::index"));
  371. yield "
  372. ";
  373. // line 163
  374. yield from $this->load("@theme/landing_page_blocks/index.html.twig", 163)->unwrap()->yield(CoreExtension::merge($context, ["blocks" => 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.', 163, $this->source); })()), "landingPageBlocks", [], "any", false, false, false, 163)]));
  375. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  376. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  377. yield from [];
  378. }
  379. // line 165
  380. /**
  381. * @return iterable<null|scalar|\Stringable>
  382. */
  383. public function block_stylesheets(array $context, array $blocks = []): iterable
  384. {
  385. $macros = $this->macros;
  386. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  387. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  388. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  389. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  390. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  391. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  392. yield from [];
  393. }
  394. /**
  395. * @codeCoverageIgnore
  396. */
  397. public function getTemplateName(): string
  398. {
  399. return "themes/theme/templates/home.html.twig";
  400. }
  401. /**
  402. * @codeCoverageIgnore
  403. */
  404. public function isTraitable(): bool
  405. {
  406. return false;
  407. }
  408. /**
  409. * @codeCoverageIgnore
  410. */
  411. public function getDebugInfo(): array
  412. {
  413. return array ( 428 => 165, 417 => 163, 412 => 161, 410 => 160, 406 => 159, 401 => 158, 391 => 151, 386 => 149, 382 => 148, 378 => 146, 376 => 145, 373 => 144, 367 => 141, 364 => 140, 362 => 139, 351 => 131, 343 => 126, 336 => 122, 326 => 115, 318 => 110, 306 => 100, 298 => 98, 296 => 97, 293 => 96, 284 => 90, 277 => 88, 270 => 84, 267 => 83, 265 => 82, 260 => 80, 252 => 75, 244 => 71, 229 => 60, 215 => 34, 211 => 33, 207 => 32, 199 => 27, 195 => 26, 191 => 25, 186 => 23, 182 => 22, 178 => 21, 173 => 20, 169 => 19, 165 => 18, 158 => 13, 145 => 12, 134 => 9, 121 => 8, 107 => 6, 94 => 5, 80 => 3, 67 => 2, 44 => 1,);
  414. }
  415. public function getSourceContext(): Source
  416. {
  417. return new Source("{% extends '@theme/base.html.twig' %}
  418. {% block title %}
  419. {{ page.title }}
  420. {% endblock %}
  421. {% block metatitle %}
  422. {{ page.metatitle }}
  423. {% endblock %}
  424. {% block metadescription -%}
  425. {{- page.metadescription|striptags|slice(0, 160) -}}
  426. {%- endblock -%}
  427. {%- block body %}
  428. <script type=\"application/ld+json\">
  429. {
  430. \"@context\": \"https://schema.org\",
  431. \"@type\": \"LocalBusiness\",
  432. \"name\": \"{{ sitename }}\",
  433. \"url\": \"{{ siteurl }}\",
  434. \"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
  435. \"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
  436. \"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
  437. \"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
  438. \"sameAs\": [
  439. \"{{ renderSetting(4, 'content')|striptags }}\",
  440. \"{{ renderSetting(5, 'content')|striptags }}\",
  441. \"{{ renderSetting(6, 'content')|striptags }}\"
  442. ]
  443. }
  444. </script>
  445. {{ encore_entry_link_tags('home') }}
  446. {{ encore_entry_script_tags('home') }}
  447. {% component 'HomeHero' with { title: page.title } %}
  448. {% block content %}{{ allowInlineEditor(page, 'subtitle')|raw }}
  449. {# <button data-sa-url=\"https://01cd99c5-d305-4baa-9921-11e04b8a9c45.scoreapp.com/?sa_target=_top\" data-sa-view=\"popup\" data-sa-size=\"full\" style=\"box-sizing: border-box; min-width: 10rem; box-shadow: none; padding: 0.75rem 2rem; background-color: #8037b5; color: #FFFFFF; font-size: 16px; cursor: pointer; text-align: center; text-decoration: none; font-weight: 400; font-family: Average Sans; line-height: 1.5; border-radius: 5px; text-transform: inherit; border: none; margin: 0; outline: 0; user-select: none\"><span>Start the quiz</span></button>
  450. <script src=\"https://static.scoreapp.com/js/integration/v1/embedding.js?v=Ys75bg\"></script> #}
  451. {% endblock %}{% block image %}
  452. <img
  453. src=\"{{ asset('build/images/hero-image-laura.png') }}\"
  454. alt=\"Home Hero Image\"
  455. loading=\"lazy\"
  456. >
  457. {% endblock %}
  458. {% block buttons %}
  459. {% component 'HeroBigButton' with { colour: 'primary', text: 'For Employers', description: 'HR & Employment Law Services for Employers', url: '/areas-of-expertise/employer-services' } %}
  460. {% block icon %}
  461. <i class=\"fa-solid fa-building\"></i>
  462. {% endblock %}
  463. {% endcomponent %}
  464. {% component 'HeroBigButton' with { colour: 'secondary', text: 'For Employees', description: 'HR & Employment Law Services for Employees', url: '/areas-of-expertise/employee-services' } %}
  465. {% block icon %}
  466. <i class=\"fa-solid fa-user-tie\"></i>
  467. {% endblock %}
  468. {% endcomponent %}
  469. {% endblock %}
  470. {% endcomponent %}
  471. {% component 'CompanyValues' %}
  472. {% block values %}
  473. {{ forceRenderPcgcHtmlBlockByIdentifier(2)|raw }}
  474. {% endblock %}
  475. {% block content %}<div class=\"cms-area\">
  476. {{ allowInlineEditor(page, 'content2')|raw }}
  477. <a href=\"{{ path('router', { slug: 'about' }) }}\" class=\"button mt-12\"
  478. >About us</a
  479. >
  480. </div>
  481. {% endblock %}{% endcomponent %}
  482. {{ renderPcgcComponents('Page Top', pageComponents)|raw }}
  483. <main class=\"home-page-content\">
  484. <div class=\"container\">
  485. <div class=\"cms-area\">
  486. {{ allowInlineEditor(page, 'content')|raw }}
  487. </div>
  488. </div>
  489. </main>
  490. {{ allowInlineEditor(page, 'content3')|raw }}
  491. {% if page.testimonial %}
  492. <div class=\"bg-black text-white p-4\">
  493. {{ page.testimonial.content | raw }}
  494. <div class=\"flex items-center justify-between\">
  495. <div>
  496. {{ page.testimonial.author }} - {{ page.testimonial.company }}
  497. </div>
  498. <a href=\"{{ path('router', { slug: 'testimonials' }) }}\"
  499. >All Testimonials</a
  500. >
  501. </div>
  502. </div>
  503. {% endif %}
  504. {% if page.ctaText and page.ctaLink %}
  505. <a href=\"{{ page.ctaLink }}\" class=\"btn btn-primary\">{{ page.ctaText }}</a>
  506. {% endif %}
  507. <section class=\"services-block\">
  508. <div class=\"services-block-cta\">
  509. <div class=\"container\">
  510. <div
  511. class=\"services-block-cta__image breakout-image\"
  512. style=\"--min-height: 370px;\"
  513. >
  514. <img
  515. class=\"breakout-image__image\"
  516. src=\"{{ asset('build/images/cta-bg.jpg') }}\"
  517. role=\"presentation\"
  518. >
  519. <img
  520. class=\"services-block-cta__image-foreground\"
  521. src=\"{{ asset('build/images/cta-person.png') }}\"
  522. alt=\"Stressed woman holding a laptop\"
  523. width=\"470\"
  524. height=\"440\"
  525. >
  526. </div>
  527. <div class=\"services-block-cta__content\">
  528. {{ forceRenderPcgcHtmlBlockByIdentifier(3)|raw }}
  529. <div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
  530. <a
  531. href=\"{{ path('router', { slug: 'areas-of-expertise/employer-services' }) }}\"
  532. class=\"button button-dark\"
  533. >Employer</a
  534. >
  535. <a
  536. href=\"{{ path('router', { slug: 'areas-of-expertise/employee-services' }) }}\"
  537. class=\"button\"
  538. >Employee</a
  539. >
  540. </div>
  541. </div>
  542. </div>
  543. </div>
  544. {% if renderPcgcComponents('Services Slider', pageComponents)|raw %}
  545. <div class=\"services-block-slider\">
  546. {{ renderPcgcComponents('Services Slider', pageComponents)|raw }}
  547. </div>
  548. {% endif %}
  549. </section>
  550. {% if forceRenderPcgcHtmlBlockByIdentifier(4)|raw %}
  551. <section class=\"home-page-case-studies-block\">
  552. <div class=\"container\">
  553. {{ forceRenderPcgcHtmlBlockByIdentifier(4)|raw }}
  554. {{ render(controller('App\\\\Controller\\\\CaseStudiesDefaultController::embedFeaturedCasestudies')) }}
  555. <a
  556. href=\"{{ path('router', { slug: 'case-studies' }) }}\"
  557. class=\"button button-white\"
  558. >View all Case Studies</a
  559. >
  560. </div>
  561. </section>
  562. {% endif %}
  563. {{ renderPcgcComponents('Accreditations', pageComponents)|raw }}
  564. {{ renderPcgcComponents('Team Members', pageComponents)|raw }}
  565. {{ renderPcgcComponents('Below Content', pageComponents)|raw -}}
  566. {{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
  567. {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  568. {%- endblock -%}
  569. {%- block stylesheets %}{% endblock %}
  570. ", "themes/theme/templates/home.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/home.html.twig");
  571. }
  572. }
  573. /* themes/theme/templates/home.html.twig */
  574. class __TwigTemplate_e560db139b086360d22f64da38282f5b___37495565681 extends Template
  575. {
  576. private Source $source;
  577. /**
  578. * @var array<string, Template>
  579. */
  580. private array $macros = [];
  581. public function __construct(Environment $env)
  582. {
  583. parent::__construct($env);
  584. $this->source = $this->getSourceContext();
  585. $this->blocks = [
  586. 'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
  587. 'content' => [$this, 'block_content'],
  588. 'image' => [$this, 'block_image'],
  589. 'buttons' => [$this, 'block_buttons'],
  590. ];
  591. }
  592. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  593. {
  594. // line 34
  595. return $this->load((isset($context["__parent__"]) || array_key_exists("__parent__", $context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.', 34, $this->source); })()), 34);
  596. }
  597. protected function doDisplay(array $context, array $blocks = []): iterable
  598. {
  599. $macros = $this->macros;
  600. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  601. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
  602. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  603. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
  604. yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  605. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  606. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  607. }
  608. /**
  609. * @return iterable<null|scalar|\Stringable>
  610. */
  611. public function block_outer__block_fallback(array $context, array $blocks = []): iterable
  612. {
  613. $macros = $this->macros;
  614. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  615. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
  616. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  617. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
  618. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  619. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  620. yield from [];
  621. }
  622. // line 35
  623. /**
  624. * @return iterable<null|scalar|\Stringable>
  625. */
  626. public function block_content(array $context, array $blocks = []): iterable
  627. {
  628. $macros = $this->macros;
  629. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  630. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  631. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  632. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  633. 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.', 35, $this->source); })()), "subtitle");
  634. yield "
  635. ";
  636. // line 39
  637. yield "
  638. ";
  639. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  640. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  641. yield from [];
  642. }
  643. // line 40
  644. /**
  645. * @return iterable<null|scalar|\Stringable>
  646. */
  647. public function block_image(array $context, array $blocks = []): iterable
  648. {
  649. $macros = $this->macros;
  650. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  651. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "image"));
  652. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  653. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "image"));
  654. // line 41
  655. yield " <img
  656. src=\"";
  657. // line 42
  658. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/hero-image-laura.png"), "html", null, true);
  659. yield "\"
  660. alt=\"Home Hero Image\"
  661. loading=\"lazy\"
  662. >
  663. ";
  664. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  665. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  666. yield from [];
  667. }
  668. // line 47
  669. /**
  670. * @return iterable<null|scalar|\Stringable>
  671. */
  672. public function block_buttons(array $context, array $blocks = []): iterable
  673. {
  674. $macros = $this->macros;
  675. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  676. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "buttons"));
  677. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  678. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "buttons"));
  679. // line 48
  680. yield " ";
  681. $_v2 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
  682. $preRendered = $_v2->preRender("HeroBigButton", Twig\Extension\CoreExtension::toArray(["colour" => "primary", "text" => "For Employers", "description" => "HR & Employment Law Services for Employers", "url" => "/areas-of-expertise/employer-services"]));
  683. if (null !== $preRendered) {
  684. yield $preRendered;
  685. } else {
  686. $preRenderEvent = $_v2->startEmbedComponent("HeroBigButton", Twig\Extension\CoreExtension::toArray(["colour" => "primary", "text" => "For Employers", "description" => "HR & Employment Law Services for Employers", "url" => "/areas-of-expertise/employer-services"]), $context, "themes/theme/templates/home.html.twig", 25759855881);
  687. $embeddedContext = $preRenderEvent->getVariables();
  688. $embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
  689. $embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
  690. $embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 25759855881);
  691. $this->load("themes/theme/templates/home.html.twig", 48, "25759855881")->display($embeddedContext, $embeddedBlocks);
  692. $_v2->finishEmbedComponent();
  693. }
  694. // line 53
  695. yield " ";
  696. $_v3 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
  697. $preRendered = $_v3->preRender("HeroBigButton", Twig\Extension\CoreExtension::toArray(["colour" => "secondary", "text" => "For Employees", "description" => "HR & Employment Law Services for Employees", "url" => "/areas-of-expertise/employee-services"]));
  698. if (null !== $preRendered) {
  699. yield $preRendered;
  700. } else {
  701. $preRenderEvent = $_v3->startEmbedComponent("HeroBigButton", Twig\Extension\CoreExtension::toArray(["colour" => "secondary", "text" => "For Employees", "description" => "HR & Employment Law Services for Employees", "url" => "/areas-of-expertise/employee-services"]), $context, "themes/theme/templates/home.html.twig", 3903005411);
  702. $embeddedContext = $preRenderEvent->getVariables();
  703. $embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
  704. $embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
  705. $embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 3903005411);
  706. $this->load("themes/theme/templates/home.html.twig", 53, "3903005411")->display($embeddedContext, $embeddedBlocks);
  707. $_v3->finishEmbedComponent();
  708. }
  709. // line 58
  710. yield " ";
  711. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  712. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  713. yield from [];
  714. }
  715. /**
  716. * @codeCoverageIgnore
  717. */
  718. public function getTemplateName(): string
  719. {
  720. return "themes/theme/templates/home.html.twig";
  721. }
  722. /**
  723. * @codeCoverageIgnore
  724. */
  725. public function isTraitable(): bool
  726. {
  727. return false;
  728. }
  729. /**
  730. * @codeCoverageIgnore
  731. */
  732. public function getDebugInfo(): array
  733. {
  734. return array ( 818 => 58, 803 => 53, 788 => 48, 775 => 47, 759 => 42, 756 => 41, 743 => 40, 731 => 39, 714 => 35, 671 => 34, 428 => 165, 417 => 163, 412 => 161, 410 => 160, 406 => 159, 401 => 158, 391 => 151, 386 => 149, 382 => 148, 378 => 146, 376 => 145, 373 => 144, 367 => 141, 364 => 140, 362 => 139, 351 => 131, 343 => 126, 336 => 122, 326 => 115, 318 => 110, 306 => 100, 298 => 98, 296 => 97, 293 => 96, 284 => 90, 277 => 88, 270 => 84, 267 => 83, 265 => 82, 260 => 80, 252 => 75, 244 => 71, 229 => 60, 215 => 34, 211 => 33, 207 => 32, 199 => 27, 195 => 26, 191 => 25, 186 => 23, 182 => 22, 178 => 21, 173 => 20, 169 => 19, 165 => 18, 158 => 13, 145 => 12, 134 => 9, 121 => 8, 107 => 6, 94 => 5, 80 => 3, 67 => 2, 44 => 1,);
  735. }
  736. public function getSourceContext(): Source
  737. {
  738. return new Source("{% extends '@theme/base.html.twig' %}
  739. {% block title %}
  740. {{ page.title }}
  741. {% endblock %}
  742. {% block metatitle %}
  743. {{ page.metatitle }}
  744. {% endblock %}
  745. {% block metadescription -%}
  746. {{- page.metadescription|striptags|slice(0, 160) -}}
  747. {%- endblock -%}
  748. {%- block body %}
  749. <script type=\"application/ld+json\">
  750. {
  751. \"@context\": \"https://schema.org\",
  752. \"@type\": \"LocalBusiness\",
  753. \"name\": \"{{ sitename }}\",
  754. \"url\": \"{{ siteurl }}\",
  755. \"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
  756. \"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
  757. \"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
  758. \"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
  759. \"sameAs\": [
  760. \"{{ renderSetting(4, 'content')|striptags }}\",
  761. \"{{ renderSetting(5, 'content')|striptags }}\",
  762. \"{{ renderSetting(6, 'content')|striptags }}\"
  763. ]
  764. }
  765. </script>
  766. {{ encore_entry_link_tags('home') }}
  767. {{ encore_entry_script_tags('home') }}
  768. {% component 'HomeHero' with { title: page.title } %}
  769. {% block content %}{{ allowInlineEditor(page, 'subtitle')|raw }}
  770. {# <button data-sa-url=\"https://01cd99c5-d305-4baa-9921-11e04b8a9c45.scoreapp.com/?sa_target=_top\" data-sa-view=\"popup\" data-sa-size=\"full\" style=\"box-sizing: border-box; min-width: 10rem; box-shadow: none; padding: 0.75rem 2rem; background-color: #8037b5; color: #FFFFFF; font-size: 16px; cursor: pointer; text-align: center; text-decoration: none; font-weight: 400; font-family: Average Sans; line-height: 1.5; border-radius: 5px; text-transform: inherit; border: none; margin: 0; outline: 0; user-select: none\"><span>Start the quiz</span></button>
  771. <script src=\"https://static.scoreapp.com/js/integration/v1/embedding.js?v=Ys75bg\"></script> #}
  772. {% endblock %}{% block image %}
  773. <img
  774. src=\"{{ asset('build/images/hero-image-laura.png') }}\"
  775. alt=\"Home Hero Image\"
  776. loading=\"lazy\"
  777. >
  778. {% endblock %}
  779. {% block buttons %}
  780. {% component 'HeroBigButton' with { colour: 'primary', text: 'For Employers', description: 'HR & Employment Law Services for Employers', url: '/areas-of-expertise/employer-services' } %}
  781. {% block icon %}
  782. <i class=\"fa-solid fa-building\"></i>
  783. {% endblock %}
  784. {% endcomponent %}
  785. {% component 'HeroBigButton' with { colour: 'secondary', text: 'For Employees', description: 'HR & Employment Law Services for Employees', url: '/areas-of-expertise/employee-services' } %}
  786. {% block icon %}
  787. <i class=\"fa-solid fa-user-tie\"></i>
  788. {% endblock %}
  789. {% endcomponent %}
  790. {% endblock %}
  791. {% endcomponent %}
  792. {% component 'CompanyValues' %}
  793. {% block values %}
  794. {{ forceRenderPcgcHtmlBlockByIdentifier(2)|raw }}
  795. {% endblock %}
  796. {% block content %}<div class=\"cms-area\">
  797. {{ allowInlineEditor(page, 'content2')|raw }}
  798. <a href=\"{{ path('router', { slug: 'about' }) }}\" class=\"button mt-12\"
  799. >About us</a
  800. >
  801. </div>
  802. {% endblock %}{% endcomponent %}
  803. {{ renderPcgcComponents('Page Top', pageComponents)|raw }}
  804. <main class=\"home-page-content\">
  805. <div class=\"container\">
  806. <div class=\"cms-area\">
  807. {{ allowInlineEditor(page, 'content')|raw }}
  808. </div>
  809. </div>
  810. </main>
  811. {{ allowInlineEditor(page, 'content3')|raw }}
  812. {% if page.testimonial %}
  813. <div class=\"bg-black text-white p-4\">
  814. {{ page.testimonial.content | raw }}
  815. <div class=\"flex items-center justify-between\">
  816. <div>
  817. {{ page.testimonial.author }} - {{ page.testimonial.company }}
  818. </div>
  819. <a href=\"{{ path('router', { slug: 'testimonials' }) }}\"
  820. >All Testimonials</a
  821. >
  822. </div>
  823. </div>
  824. {% endif %}
  825. {% if page.ctaText and page.ctaLink %}
  826. <a href=\"{{ page.ctaLink }}\" class=\"btn btn-primary\">{{ page.ctaText }}</a>
  827. {% endif %}
  828. <section class=\"services-block\">
  829. <div class=\"services-block-cta\">
  830. <div class=\"container\">
  831. <div
  832. class=\"services-block-cta__image breakout-image\"
  833. style=\"--min-height: 370px;\"
  834. >
  835. <img
  836. class=\"breakout-image__image\"
  837. src=\"{{ asset('build/images/cta-bg.jpg') }}\"
  838. role=\"presentation\"
  839. >
  840. <img
  841. class=\"services-block-cta__image-foreground\"
  842. src=\"{{ asset('build/images/cta-person.png') }}\"
  843. alt=\"Stressed woman holding a laptop\"
  844. width=\"470\"
  845. height=\"440\"
  846. >
  847. </div>
  848. <div class=\"services-block-cta__content\">
  849. {{ forceRenderPcgcHtmlBlockByIdentifier(3)|raw }}
  850. <div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
  851. <a
  852. href=\"{{ path('router', { slug: 'areas-of-expertise/employer-services' }) }}\"
  853. class=\"button button-dark\"
  854. >Employer</a
  855. >
  856. <a
  857. href=\"{{ path('router', { slug: 'areas-of-expertise/employee-services' }) }}\"
  858. class=\"button\"
  859. >Employee</a
  860. >
  861. </div>
  862. </div>
  863. </div>
  864. </div>
  865. {% if renderPcgcComponents('Services Slider', pageComponents)|raw %}
  866. <div class=\"services-block-slider\">
  867. {{ renderPcgcComponents('Services Slider', pageComponents)|raw }}
  868. </div>
  869. {% endif %}
  870. </section>
  871. {% if forceRenderPcgcHtmlBlockByIdentifier(4)|raw %}
  872. <section class=\"home-page-case-studies-block\">
  873. <div class=\"container\">
  874. {{ forceRenderPcgcHtmlBlockByIdentifier(4)|raw }}
  875. {{ render(controller('App\\\\Controller\\\\CaseStudiesDefaultController::embedFeaturedCasestudies')) }}
  876. <a
  877. href=\"{{ path('router', { slug: 'case-studies' }) }}\"
  878. class=\"button button-white\"
  879. >View all Case Studies</a
  880. >
  881. </div>
  882. </section>
  883. {% endif %}
  884. {{ renderPcgcComponents('Accreditations', pageComponents)|raw }}
  885. {{ renderPcgcComponents('Team Members', pageComponents)|raw }}
  886. {{ renderPcgcComponents('Below Content', pageComponents)|raw -}}
  887. {{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
  888. {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  889. {%- endblock -%}
  890. {%- block stylesheets %}{% endblock %}
  891. ", "themes/theme/templates/home.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/home.html.twig");
  892. }
  893. }
  894. /* themes/theme/templates/home.html.twig */
  895. class __TwigTemplate_e560db139b086360d22f64da38282f5b___25759855881 extends Template
  896. {
  897. private Source $source;
  898. /**
  899. * @var array<string, Template>
  900. */
  901. private array $macros = [];
  902. public function __construct(Environment $env)
  903. {
  904. parent::__construct($env);
  905. $this->source = $this->getSourceContext();
  906. $this->blocks = [
  907. 'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
  908. 'icon' => [$this, 'block_icon'],
  909. ];
  910. }
  911. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  912. {
  913. // line 48
  914. return $this->load((isset($context["__parent__"]) || array_key_exists("__parent__", $context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.', 48, $this->source); })()), 48);
  915. }
  916. protected function doDisplay(array $context, array $blocks = []): iterable
  917. {
  918. $macros = $this->macros;
  919. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  920. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
  921. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  922. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
  923. yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  924. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  925. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  926. }
  927. /**
  928. * @return iterable<null|scalar|\Stringable>
  929. */
  930. public function block_outer__block_fallback(array $context, array $blocks = []): iterable
  931. {
  932. $macros = $this->macros;
  933. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  934. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
  935. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  936. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
  937. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  938. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  939. yield from [];
  940. }
  941. // line 49
  942. /**
  943. * @return iterable<null|scalar|\Stringable>
  944. */
  945. public function block_icon(array $context, array $blocks = []): iterable
  946. {
  947. $macros = $this->macros;
  948. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  949. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "icon"));
  950. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  951. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "icon"));
  952. // line 50
  953. yield " <i class=\"fa-solid fa-building\"></i>
  954. ";
  955. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  956. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  957. yield from [];
  958. }
  959. /**
  960. * @codeCoverageIgnore
  961. */
  962. public function getTemplateName(): string
  963. {
  964. return "themes/theme/templates/home.html.twig";
  965. }
  966. /**
  967. * @codeCoverageIgnore
  968. */
  969. public function isTraitable(): bool
  970. {
  971. return false;
  972. }
  973. /**
  974. * @codeCoverageIgnore
  975. */
  976. public function getDebugInfo(): array
  977. {
  978. return array ( 1104 => 50, 1091 => 49, 1048 => 48, 818 => 58, 803 => 53, 788 => 48, 775 => 47, 759 => 42, 756 => 41, 743 => 40, 731 => 39, 714 => 35, 671 => 34, 428 => 165, 417 => 163, 412 => 161, 410 => 160, 406 => 159, 401 => 158, 391 => 151, 386 => 149, 382 => 148, 378 => 146, 376 => 145, 373 => 144, 367 => 141, 364 => 140, 362 => 139, 351 => 131, 343 => 126, 336 => 122, 326 => 115, 318 => 110, 306 => 100, 298 => 98, 296 => 97, 293 => 96, 284 => 90, 277 => 88, 270 => 84, 267 => 83, 265 => 82, 260 => 80, 252 => 75, 244 => 71, 229 => 60, 215 => 34, 211 => 33, 207 => 32, 199 => 27, 195 => 26, 191 => 25, 186 => 23, 182 => 22, 178 => 21, 173 => 20, 169 => 19, 165 => 18, 158 => 13, 145 => 12, 134 => 9, 121 => 8, 107 => 6, 94 => 5, 80 => 3, 67 => 2, 44 => 1,);
  979. }
  980. public function getSourceContext(): Source
  981. {
  982. return new Source("{% extends '@theme/base.html.twig' %}
  983. {% block title %}
  984. {{ page.title }}
  985. {% endblock %}
  986. {% block metatitle %}
  987. {{ page.metatitle }}
  988. {% endblock %}
  989. {% block metadescription -%}
  990. {{- page.metadescription|striptags|slice(0, 160) -}}
  991. {%- endblock -%}
  992. {%- block body %}
  993. <script type=\"application/ld+json\">
  994. {
  995. \"@context\": \"https://schema.org\",
  996. \"@type\": \"LocalBusiness\",
  997. \"name\": \"{{ sitename }}\",
  998. \"url\": \"{{ siteurl }}\",
  999. \"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
  1000. \"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
  1001. \"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
  1002. \"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
  1003. \"sameAs\": [
  1004. \"{{ renderSetting(4, 'content')|striptags }}\",
  1005. \"{{ renderSetting(5, 'content')|striptags }}\",
  1006. \"{{ renderSetting(6, 'content')|striptags }}\"
  1007. ]
  1008. }
  1009. </script>
  1010. {{ encore_entry_link_tags('home') }}
  1011. {{ encore_entry_script_tags('home') }}
  1012. {% component 'HomeHero' with { title: page.title } %}
  1013. {% block content %}{{ allowInlineEditor(page, 'subtitle')|raw }}
  1014. {# <button data-sa-url=\"https://01cd99c5-d305-4baa-9921-11e04b8a9c45.scoreapp.com/?sa_target=_top\" data-sa-view=\"popup\" data-sa-size=\"full\" style=\"box-sizing: border-box; min-width: 10rem; box-shadow: none; padding: 0.75rem 2rem; background-color: #8037b5; color: #FFFFFF; font-size: 16px; cursor: pointer; text-align: center; text-decoration: none; font-weight: 400; font-family: Average Sans; line-height: 1.5; border-radius: 5px; text-transform: inherit; border: none; margin: 0; outline: 0; user-select: none\"><span>Start the quiz</span></button>
  1015. <script src=\"https://static.scoreapp.com/js/integration/v1/embedding.js?v=Ys75bg\"></script> #}
  1016. {% endblock %}{% block image %}
  1017. <img
  1018. src=\"{{ asset('build/images/hero-image-laura.png') }}\"
  1019. alt=\"Home Hero Image\"
  1020. loading=\"lazy\"
  1021. >
  1022. {% endblock %}
  1023. {% block buttons %}
  1024. {% component 'HeroBigButton' with { colour: 'primary', text: 'For Employers', description: 'HR & Employment Law Services for Employers', url: '/areas-of-expertise/employer-services' } %}
  1025. {% block icon %}
  1026. <i class=\"fa-solid fa-building\"></i>
  1027. {% endblock %}
  1028. {% endcomponent %}
  1029. {% component 'HeroBigButton' with { colour: 'secondary', text: 'For Employees', description: 'HR & Employment Law Services for Employees', url: '/areas-of-expertise/employee-services' } %}
  1030. {% block icon %}
  1031. <i class=\"fa-solid fa-user-tie\"></i>
  1032. {% endblock %}
  1033. {% endcomponent %}
  1034. {% endblock %}
  1035. {% endcomponent %}
  1036. {% component 'CompanyValues' %}
  1037. {% block values %}
  1038. {{ forceRenderPcgcHtmlBlockByIdentifier(2)|raw }}
  1039. {% endblock %}
  1040. {% block content %}<div class=\"cms-area\">
  1041. {{ allowInlineEditor(page, 'content2')|raw }}
  1042. <a href=\"{{ path('router', { slug: 'about' }) }}\" class=\"button mt-12\"
  1043. >About us</a
  1044. >
  1045. </div>
  1046. {% endblock %}{% endcomponent %}
  1047. {{ renderPcgcComponents('Page Top', pageComponents)|raw }}
  1048. <main class=\"home-page-content\">
  1049. <div class=\"container\">
  1050. <div class=\"cms-area\">
  1051. {{ allowInlineEditor(page, 'content')|raw }}
  1052. </div>
  1053. </div>
  1054. </main>
  1055. {{ allowInlineEditor(page, 'content3')|raw }}
  1056. {% if page.testimonial %}
  1057. <div class=\"bg-black text-white p-4\">
  1058. {{ page.testimonial.content | raw }}
  1059. <div class=\"flex items-center justify-between\">
  1060. <div>
  1061. {{ page.testimonial.author }} - {{ page.testimonial.company }}
  1062. </div>
  1063. <a href=\"{{ path('router', { slug: 'testimonials' }) }}\"
  1064. >All Testimonials</a
  1065. >
  1066. </div>
  1067. </div>
  1068. {% endif %}
  1069. {% if page.ctaText and page.ctaLink %}
  1070. <a href=\"{{ page.ctaLink }}\" class=\"btn btn-primary\">{{ page.ctaText }}</a>
  1071. {% endif %}
  1072. <section class=\"services-block\">
  1073. <div class=\"services-block-cta\">
  1074. <div class=\"container\">
  1075. <div
  1076. class=\"services-block-cta__image breakout-image\"
  1077. style=\"--min-height: 370px;\"
  1078. >
  1079. <img
  1080. class=\"breakout-image__image\"
  1081. src=\"{{ asset('build/images/cta-bg.jpg') }}\"
  1082. role=\"presentation\"
  1083. >
  1084. <img
  1085. class=\"services-block-cta__image-foreground\"
  1086. src=\"{{ asset('build/images/cta-person.png') }}\"
  1087. alt=\"Stressed woman holding a laptop\"
  1088. width=\"470\"
  1089. height=\"440\"
  1090. >
  1091. </div>
  1092. <div class=\"services-block-cta__content\">
  1093. {{ forceRenderPcgcHtmlBlockByIdentifier(3)|raw }}
  1094. <div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
  1095. <a
  1096. href=\"{{ path('router', { slug: 'areas-of-expertise/employer-services' }) }}\"
  1097. class=\"button button-dark\"
  1098. >Employer</a
  1099. >
  1100. <a
  1101. href=\"{{ path('router', { slug: 'areas-of-expertise/employee-services' }) }}\"
  1102. class=\"button\"
  1103. >Employee</a
  1104. >
  1105. </div>
  1106. </div>
  1107. </div>
  1108. </div>
  1109. {% if renderPcgcComponents('Services Slider', pageComponents)|raw %}
  1110. <div class=\"services-block-slider\">
  1111. {{ renderPcgcComponents('Services Slider', pageComponents)|raw }}
  1112. </div>
  1113. {% endif %}
  1114. </section>
  1115. {% if forceRenderPcgcHtmlBlockByIdentifier(4)|raw %}
  1116. <section class=\"home-page-case-studies-block\">
  1117. <div class=\"container\">
  1118. {{ forceRenderPcgcHtmlBlockByIdentifier(4)|raw }}
  1119. {{ render(controller('App\\\\Controller\\\\CaseStudiesDefaultController::embedFeaturedCasestudies')) }}
  1120. <a
  1121. href=\"{{ path('router', { slug: 'case-studies' }) }}\"
  1122. class=\"button button-white\"
  1123. >View all Case Studies</a
  1124. >
  1125. </div>
  1126. </section>
  1127. {% endif %}
  1128. {{ renderPcgcComponents('Accreditations', pageComponents)|raw }}
  1129. {{ renderPcgcComponents('Team Members', pageComponents)|raw }}
  1130. {{ renderPcgcComponents('Below Content', pageComponents)|raw -}}
  1131. {{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
  1132. {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  1133. {%- endblock -%}
  1134. {%- block stylesheets %}{% endblock %}
  1135. ", "themes/theme/templates/home.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/home.html.twig");
  1136. }
  1137. }
  1138. /* themes/theme/templates/home.html.twig */
  1139. class __TwigTemplate_e560db139b086360d22f64da38282f5b___3903005411 extends Template
  1140. {
  1141. private Source $source;
  1142. /**
  1143. * @var array<string, Template>
  1144. */
  1145. private array $macros = [];
  1146. public function __construct(Environment $env)
  1147. {
  1148. parent::__construct($env);
  1149. $this->source = $this->getSourceContext();
  1150. $this->blocks = [
  1151. 'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
  1152. 'icon' => [$this, 'block_icon'],
  1153. ];
  1154. }
  1155. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  1156. {
  1157. // line 53
  1158. return $this->load((isset($context["__parent__"]) || array_key_exists("__parent__", $context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.', 53, $this->source); })()), 53);
  1159. }
  1160. protected function doDisplay(array $context, array $blocks = []): iterable
  1161. {
  1162. $macros = $this->macros;
  1163. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1164. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
  1165. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1166. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
  1167. yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  1168. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1169. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1170. }
  1171. /**
  1172. * @return iterable<null|scalar|\Stringable>
  1173. */
  1174. public function block_outer__block_fallback(array $context, array $blocks = []): iterable
  1175. {
  1176. $macros = $this->macros;
  1177. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1178. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
  1179. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1180. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
  1181. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1182. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1183. yield from [];
  1184. }
  1185. // line 54
  1186. /**
  1187. * @return iterable<null|scalar|\Stringable>
  1188. */
  1189. public function block_icon(array $context, array $blocks = []): iterable
  1190. {
  1191. $macros = $this->macros;
  1192. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1193. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "icon"));
  1194. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1195. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "icon"));
  1196. // line 55
  1197. yield " <i class=\"fa-solid fa-user-tie\"></i>
  1198. ";
  1199. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1200. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1201. yield from [];
  1202. }
  1203. /**
  1204. * @codeCoverageIgnore
  1205. */
  1206. public function getTemplateName(): string
  1207. {
  1208. return "themes/theme/templates/home.html.twig";
  1209. }
  1210. /**
  1211. * @codeCoverageIgnore
  1212. */
  1213. public function isTraitable(): bool
  1214. {
  1215. return false;
  1216. }
  1217. /**
  1218. * @codeCoverageIgnore
  1219. */
  1220. public function getDebugInfo(): array
  1221. {
  1222. return array ( 1391 => 55, 1378 => 54, 1335 => 53, 1104 => 50, 1091 => 49, 1048 => 48, 818 => 58, 803 => 53, 788 => 48, 775 => 47, 759 => 42, 756 => 41, 743 => 40, 731 => 39, 714 => 35, 671 => 34, 428 => 165, 417 => 163, 412 => 161, 410 => 160, 406 => 159, 401 => 158, 391 => 151, 386 => 149, 382 => 148, 378 => 146, 376 => 145, 373 => 144, 367 => 141, 364 => 140, 362 => 139, 351 => 131, 343 => 126, 336 => 122, 326 => 115, 318 => 110, 306 => 100, 298 => 98, 296 => 97, 293 => 96, 284 => 90, 277 => 88, 270 => 84, 267 => 83, 265 => 82, 260 => 80, 252 => 75, 244 => 71, 229 => 60, 215 => 34, 211 => 33, 207 => 32, 199 => 27, 195 => 26, 191 => 25, 186 => 23, 182 => 22, 178 => 21, 173 => 20, 169 => 19, 165 => 18, 158 => 13, 145 => 12, 134 => 9, 121 => 8, 107 => 6, 94 => 5, 80 => 3, 67 => 2, 44 => 1,);
  1223. }
  1224. public function getSourceContext(): Source
  1225. {
  1226. return new Source("{% extends '@theme/base.html.twig' %}
  1227. {% block title %}
  1228. {{ page.title }}
  1229. {% endblock %}
  1230. {% block metatitle %}
  1231. {{ page.metatitle }}
  1232. {% endblock %}
  1233. {% block metadescription -%}
  1234. {{- page.metadescription|striptags|slice(0, 160) -}}
  1235. {%- endblock -%}
  1236. {%- block body %}
  1237. <script type=\"application/ld+json\">
  1238. {
  1239. \"@context\": \"https://schema.org\",
  1240. \"@type\": \"LocalBusiness\",
  1241. \"name\": \"{{ sitename }}\",
  1242. \"url\": \"{{ siteurl }}\",
  1243. \"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
  1244. \"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
  1245. \"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
  1246. \"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
  1247. \"sameAs\": [
  1248. \"{{ renderSetting(4, 'content')|striptags }}\",
  1249. \"{{ renderSetting(5, 'content')|striptags }}\",
  1250. \"{{ renderSetting(6, 'content')|striptags }}\"
  1251. ]
  1252. }
  1253. </script>
  1254. {{ encore_entry_link_tags('home') }}
  1255. {{ encore_entry_script_tags('home') }}
  1256. {% component 'HomeHero' with { title: page.title } %}
  1257. {% block content %}{{ allowInlineEditor(page, 'subtitle')|raw }}
  1258. {# <button data-sa-url=\"https://01cd99c5-d305-4baa-9921-11e04b8a9c45.scoreapp.com/?sa_target=_top\" data-sa-view=\"popup\" data-sa-size=\"full\" style=\"box-sizing: border-box; min-width: 10rem; box-shadow: none; padding: 0.75rem 2rem; background-color: #8037b5; color: #FFFFFF; font-size: 16px; cursor: pointer; text-align: center; text-decoration: none; font-weight: 400; font-family: Average Sans; line-height: 1.5; border-radius: 5px; text-transform: inherit; border: none; margin: 0; outline: 0; user-select: none\"><span>Start the quiz</span></button>
  1259. <script src=\"https://static.scoreapp.com/js/integration/v1/embedding.js?v=Ys75bg\"></script> #}
  1260. {% endblock %}{% block image %}
  1261. <img
  1262. src=\"{{ asset('build/images/hero-image-laura.png') }}\"
  1263. alt=\"Home Hero Image\"
  1264. loading=\"lazy\"
  1265. >
  1266. {% endblock %}
  1267. {% block buttons %}
  1268. {% component 'HeroBigButton' with { colour: 'primary', text: 'For Employers', description: 'HR & Employment Law Services for Employers', url: '/areas-of-expertise/employer-services' } %}
  1269. {% block icon %}
  1270. <i class=\"fa-solid fa-building\"></i>
  1271. {% endblock %}
  1272. {% endcomponent %}
  1273. {% component 'HeroBigButton' with { colour: 'secondary', text: 'For Employees', description: 'HR & Employment Law Services for Employees', url: '/areas-of-expertise/employee-services' } %}
  1274. {% block icon %}
  1275. <i class=\"fa-solid fa-user-tie\"></i>
  1276. {% endblock %}
  1277. {% endcomponent %}
  1278. {% endblock %}
  1279. {% endcomponent %}
  1280. {% component 'CompanyValues' %}
  1281. {% block values %}
  1282. {{ forceRenderPcgcHtmlBlockByIdentifier(2)|raw }}
  1283. {% endblock %}
  1284. {% block content %}<div class=\"cms-area\">
  1285. {{ allowInlineEditor(page, 'content2')|raw }}
  1286. <a href=\"{{ path('router', { slug: 'about' }) }}\" class=\"button mt-12\"
  1287. >About us</a
  1288. >
  1289. </div>
  1290. {% endblock %}{% endcomponent %}
  1291. {{ renderPcgcComponents('Page Top', pageComponents)|raw }}
  1292. <main class=\"home-page-content\">
  1293. <div class=\"container\">
  1294. <div class=\"cms-area\">
  1295. {{ allowInlineEditor(page, 'content')|raw }}
  1296. </div>
  1297. </div>
  1298. </main>
  1299. {{ allowInlineEditor(page, 'content3')|raw }}
  1300. {% if page.testimonial %}
  1301. <div class=\"bg-black text-white p-4\">
  1302. {{ page.testimonial.content | raw }}
  1303. <div class=\"flex items-center justify-between\">
  1304. <div>
  1305. {{ page.testimonial.author }} - {{ page.testimonial.company }}
  1306. </div>
  1307. <a href=\"{{ path('router', { slug: 'testimonials' }) }}\"
  1308. >All Testimonials</a
  1309. >
  1310. </div>
  1311. </div>
  1312. {% endif %}
  1313. {% if page.ctaText and page.ctaLink %}
  1314. <a href=\"{{ page.ctaLink }}\" class=\"btn btn-primary\">{{ page.ctaText }}</a>
  1315. {% endif %}
  1316. <section class=\"services-block\">
  1317. <div class=\"services-block-cta\">
  1318. <div class=\"container\">
  1319. <div
  1320. class=\"services-block-cta__image breakout-image\"
  1321. style=\"--min-height: 370px;\"
  1322. >
  1323. <img
  1324. class=\"breakout-image__image\"
  1325. src=\"{{ asset('build/images/cta-bg.jpg') }}\"
  1326. role=\"presentation\"
  1327. >
  1328. <img
  1329. class=\"services-block-cta__image-foreground\"
  1330. src=\"{{ asset('build/images/cta-person.png') }}\"
  1331. alt=\"Stressed woman holding a laptop\"
  1332. width=\"470\"
  1333. height=\"440\"
  1334. >
  1335. </div>
  1336. <div class=\"services-block-cta__content\">
  1337. {{ forceRenderPcgcHtmlBlockByIdentifier(3)|raw }}
  1338. <div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
  1339. <a
  1340. href=\"{{ path('router', { slug: 'areas-of-expertise/employer-services' }) }}\"
  1341. class=\"button button-dark\"
  1342. >Employer</a
  1343. >
  1344. <a
  1345. href=\"{{ path('router', { slug: 'areas-of-expertise/employee-services' }) }}\"
  1346. class=\"button\"
  1347. >Employee</a
  1348. >
  1349. </div>
  1350. </div>
  1351. </div>
  1352. </div>
  1353. {% if renderPcgcComponents('Services Slider', pageComponents)|raw %}
  1354. <div class=\"services-block-slider\">
  1355. {{ renderPcgcComponents('Services Slider', pageComponents)|raw }}
  1356. </div>
  1357. {% endif %}
  1358. </section>
  1359. {% if forceRenderPcgcHtmlBlockByIdentifier(4)|raw %}
  1360. <section class=\"home-page-case-studies-block\">
  1361. <div class=\"container\">
  1362. {{ forceRenderPcgcHtmlBlockByIdentifier(4)|raw }}
  1363. {{ render(controller('App\\\\Controller\\\\CaseStudiesDefaultController::embedFeaturedCasestudies')) }}
  1364. <a
  1365. href=\"{{ path('router', { slug: 'case-studies' }) }}\"
  1366. class=\"button button-white\"
  1367. >View all Case Studies</a
  1368. >
  1369. </div>
  1370. </section>
  1371. {% endif %}
  1372. {{ renderPcgcComponents('Accreditations', pageComponents)|raw }}
  1373. {{ renderPcgcComponents('Team Members', pageComponents)|raw }}
  1374. {{ renderPcgcComponents('Below Content', pageComponents)|raw -}}
  1375. {{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
  1376. {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  1377. {%- endblock -%}
  1378. {%- block stylesheets %}{% endblock %}
  1379. ", "themes/theme/templates/home.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/home.html.twig");
  1380. }
  1381. }
  1382. /* themes/theme/templates/home.html.twig */
  1383. class __TwigTemplate_e560db139b086360d22f64da38282f5b___27750238761 extends Template
  1384. {
  1385. private Source $source;
  1386. /**
  1387. * @var array<string, Template>
  1388. */
  1389. private array $macros = [];
  1390. public function __construct(Environment $env)
  1391. {
  1392. parent::__construct($env);
  1393. $this->source = $this->getSourceContext();
  1394. $this->blocks = [
  1395. 'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
  1396. 'values' => [$this, 'block_values'],
  1397. 'content' => [$this, 'block_content'],
  1398. ];
  1399. }
  1400. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  1401. {
  1402. // line 60
  1403. return $this->load((isset($context["__parent__"]) || array_key_exists("__parent__", $context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.', 60, $this->source); })()), 60);
  1404. }
  1405. protected function doDisplay(array $context, array $blocks = []): iterable
  1406. {
  1407. $macros = $this->macros;
  1408. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1409. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
  1410. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1411. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
  1412. yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  1413. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1414. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1415. }
  1416. /**
  1417. * @return iterable<null|scalar|\Stringable>
  1418. */
  1419. public function block_outer__block_fallback(array $context, array $blocks = []): iterable
  1420. {
  1421. $macros = $this->macros;
  1422. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1423. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
  1424. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1425. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
  1426. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1427. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1428. yield from [];
  1429. }
  1430. // line 61
  1431. /**
  1432. * @return iterable<null|scalar|\Stringable>
  1433. */
  1434. public function block_values(array $context, array $blocks = []): iterable
  1435. {
  1436. $macros = $this->macros;
  1437. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1438. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "values"));
  1439. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1440. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "values"));
  1441. // line 62
  1442. yield " ";
  1443. yield $this->env->getFunction('forceRenderPcgcHtmlBlockByIdentifier')->getCallable()(2);
  1444. yield "
  1445. ";
  1446. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1447. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1448. yield from [];
  1449. }
  1450. // line 64
  1451. /**
  1452. * @return iterable<null|scalar|\Stringable>
  1453. */
  1454. public function block_content(array $context, array $blocks = []): iterable
  1455. {
  1456. $macros = $this->macros;
  1457. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1458. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  1459. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1460. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  1461. yield "<div class=\"cms-area\">
  1462. ";
  1463. // line 65
  1464. 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.', 65, $this->source); })()), "content2");
  1465. yield "
  1466. <a href=\"";
  1467. // line 66
  1468. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "about"]);
  1469. yield "\" class=\"button mt-12\"
  1470. >About us</a
  1471. >
  1472. </div>
  1473. ";
  1474. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1475. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1476. yield from [];
  1477. }
  1478. /**
  1479. * @codeCoverageIgnore
  1480. */
  1481. public function getTemplateName(): string
  1482. {
  1483. return "themes/theme/templates/home.html.twig";
  1484. }
  1485. /**
  1486. * @codeCoverageIgnore
  1487. */
  1488. public function isTraitable(): bool
  1489. {
  1490. return false;
  1491. }
  1492. /**
  1493. * @codeCoverageIgnore
  1494. */
  1495. public function getDebugInfo(): array
  1496. {
  1497. return array ( 1712 => 66, 1708 => 65, 1693 => 64, 1679 => 62, 1666 => 61, 1623 => 60, 1391 => 55, 1378 => 54, 1335 => 53, 1104 => 50, 1091 => 49, 1048 => 48, 818 => 58, 803 => 53, 788 => 48, 775 => 47, 759 => 42, 756 => 41, 743 => 40, 731 => 39, 714 => 35, 671 => 34, 428 => 165, 417 => 163, 412 => 161, 410 => 160, 406 => 159, 401 => 158, 391 => 151, 386 => 149, 382 => 148, 378 => 146, 376 => 145, 373 => 144, 367 => 141, 364 => 140, 362 => 139, 351 => 131, 343 => 126, 336 => 122, 326 => 115, 318 => 110, 306 => 100, 298 => 98, 296 => 97, 293 => 96, 284 => 90, 277 => 88, 270 => 84, 267 => 83, 265 => 82, 260 => 80, 252 => 75, 244 => 71, 229 => 60, 215 => 34, 211 => 33, 207 => 32, 199 => 27, 195 => 26, 191 => 25, 186 => 23, 182 => 22, 178 => 21, 173 => 20, 169 => 19, 165 => 18, 158 => 13, 145 => 12, 134 => 9, 121 => 8, 107 => 6, 94 => 5, 80 => 3, 67 => 2, 44 => 1,);
  1498. }
  1499. public function getSourceContext(): Source
  1500. {
  1501. return new Source("{% extends '@theme/base.html.twig' %}
  1502. {% block title %}
  1503. {{ page.title }}
  1504. {% endblock %}
  1505. {% block metatitle %}
  1506. {{ page.metatitle }}
  1507. {% endblock %}
  1508. {% block metadescription -%}
  1509. {{- page.metadescription|striptags|slice(0, 160) -}}
  1510. {%- endblock -%}
  1511. {%- block body %}
  1512. <script type=\"application/ld+json\">
  1513. {
  1514. \"@context\": \"https://schema.org\",
  1515. \"@type\": \"LocalBusiness\",
  1516. \"name\": \"{{ sitename }}\",
  1517. \"url\": \"{{ siteurl }}\",
  1518. \"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
  1519. \"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
  1520. \"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
  1521. \"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
  1522. \"sameAs\": [
  1523. \"{{ renderSetting(4, 'content')|striptags }}\",
  1524. \"{{ renderSetting(5, 'content')|striptags }}\",
  1525. \"{{ renderSetting(6, 'content')|striptags }}\"
  1526. ]
  1527. }
  1528. </script>
  1529. {{ encore_entry_link_tags('home') }}
  1530. {{ encore_entry_script_tags('home') }}
  1531. {% component 'HomeHero' with { title: page.title } %}
  1532. {% block content %}{{ allowInlineEditor(page, 'subtitle')|raw }}
  1533. {# <button data-sa-url=\"https://01cd99c5-d305-4baa-9921-11e04b8a9c45.scoreapp.com/?sa_target=_top\" data-sa-view=\"popup\" data-sa-size=\"full\" style=\"box-sizing: border-box; min-width: 10rem; box-shadow: none; padding: 0.75rem 2rem; background-color: #8037b5; color: #FFFFFF; font-size: 16px; cursor: pointer; text-align: center; text-decoration: none; font-weight: 400; font-family: Average Sans; line-height: 1.5; border-radius: 5px; text-transform: inherit; border: none; margin: 0; outline: 0; user-select: none\"><span>Start the quiz</span></button>
  1534. <script src=\"https://static.scoreapp.com/js/integration/v1/embedding.js?v=Ys75bg\"></script> #}
  1535. {% endblock %}{% block image %}
  1536. <img
  1537. src=\"{{ asset('build/images/hero-image-laura.png') }}\"
  1538. alt=\"Home Hero Image\"
  1539. loading=\"lazy\"
  1540. >
  1541. {% endblock %}
  1542. {% block buttons %}
  1543. {% component 'HeroBigButton' with { colour: 'primary', text: 'For Employers', description: 'HR & Employment Law Services for Employers', url: '/areas-of-expertise/employer-services' } %}
  1544. {% block icon %}
  1545. <i class=\"fa-solid fa-building\"></i>
  1546. {% endblock %}
  1547. {% endcomponent %}
  1548. {% component 'HeroBigButton' with { colour: 'secondary', text: 'For Employees', description: 'HR & Employment Law Services for Employees', url: '/areas-of-expertise/employee-services' } %}
  1549. {% block icon %}
  1550. <i class=\"fa-solid fa-user-tie\"></i>
  1551. {% endblock %}
  1552. {% endcomponent %}
  1553. {% endblock %}
  1554. {% endcomponent %}
  1555. {% component 'CompanyValues' %}
  1556. {% block values %}
  1557. {{ forceRenderPcgcHtmlBlockByIdentifier(2)|raw }}
  1558. {% endblock %}
  1559. {% block content %}<div class=\"cms-area\">
  1560. {{ allowInlineEditor(page, 'content2')|raw }}
  1561. <a href=\"{{ path('router', { slug: 'about' }) }}\" class=\"button mt-12\"
  1562. >About us</a
  1563. >
  1564. </div>
  1565. {% endblock %}{% endcomponent %}
  1566. {{ renderPcgcComponents('Page Top', pageComponents)|raw }}
  1567. <main class=\"home-page-content\">
  1568. <div class=\"container\">
  1569. <div class=\"cms-area\">
  1570. {{ allowInlineEditor(page, 'content')|raw }}
  1571. </div>
  1572. </div>
  1573. </main>
  1574. {{ allowInlineEditor(page, 'content3')|raw }}
  1575. {% if page.testimonial %}
  1576. <div class=\"bg-black text-white p-4\">
  1577. {{ page.testimonial.content | raw }}
  1578. <div class=\"flex items-center justify-between\">
  1579. <div>
  1580. {{ page.testimonial.author }} - {{ page.testimonial.company }}
  1581. </div>
  1582. <a href=\"{{ path('router', { slug: 'testimonials' }) }}\"
  1583. >All Testimonials</a
  1584. >
  1585. </div>
  1586. </div>
  1587. {% endif %}
  1588. {% if page.ctaText and page.ctaLink %}
  1589. <a href=\"{{ page.ctaLink }}\" class=\"btn btn-primary\">{{ page.ctaText }}</a>
  1590. {% endif %}
  1591. <section class=\"services-block\">
  1592. <div class=\"services-block-cta\">
  1593. <div class=\"container\">
  1594. <div
  1595. class=\"services-block-cta__image breakout-image\"
  1596. style=\"--min-height: 370px;\"
  1597. >
  1598. <img
  1599. class=\"breakout-image__image\"
  1600. src=\"{{ asset('build/images/cta-bg.jpg') }}\"
  1601. role=\"presentation\"
  1602. >
  1603. <img
  1604. class=\"services-block-cta__image-foreground\"
  1605. src=\"{{ asset('build/images/cta-person.png') }}\"
  1606. alt=\"Stressed woman holding a laptop\"
  1607. width=\"470\"
  1608. height=\"440\"
  1609. >
  1610. </div>
  1611. <div class=\"services-block-cta__content\">
  1612. {{ forceRenderPcgcHtmlBlockByIdentifier(3)|raw }}
  1613. <div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
  1614. <a
  1615. href=\"{{ path('router', { slug: 'areas-of-expertise/employer-services' }) }}\"
  1616. class=\"button button-dark\"
  1617. >Employer</a
  1618. >
  1619. <a
  1620. href=\"{{ path('router', { slug: 'areas-of-expertise/employee-services' }) }}\"
  1621. class=\"button\"
  1622. >Employee</a
  1623. >
  1624. </div>
  1625. </div>
  1626. </div>
  1627. </div>
  1628. {% if renderPcgcComponents('Services Slider', pageComponents)|raw %}
  1629. <div class=\"services-block-slider\">
  1630. {{ renderPcgcComponents('Services Slider', pageComponents)|raw }}
  1631. </div>
  1632. {% endif %}
  1633. </section>
  1634. {% if forceRenderPcgcHtmlBlockByIdentifier(4)|raw %}
  1635. <section class=\"home-page-case-studies-block\">
  1636. <div class=\"container\">
  1637. {{ forceRenderPcgcHtmlBlockByIdentifier(4)|raw }}
  1638. {{ render(controller('App\\\\Controller\\\\CaseStudiesDefaultController::embedFeaturedCasestudies')) }}
  1639. <a
  1640. href=\"{{ path('router', { slug: 'case-studies' }) }}\"
  1641. class=\"button button-white\"
  1642. >View all Case Studies</a
  1643. >
  1644. </div>
  1645. </section>
  1646. {% endif %}
  1647. {{ renderPcgcComponents('Accreditations', pageComponents)|raw }}
  1648. {{ renderPcgcComponents('Team Members', pageComponents)|raw }}
  1649. {{ renderPcgcComponents('Below Content', pageComponents)|raw -}}
  1650. {{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
  1651. {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  1652. {%- endblock -%}
  1653. {%- block stylesheets %}{% endblock %}
  1654. ", "themes/theme/templates/home.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/home.html.twig");
  1655. }
  1656. }