<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* themes/theme/templates/home.html.twig */
class __TwigTemplate_e560db139b086360d22f64da38282f5b extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'metatitle' => [$this, 'block_metatitle'],
'metadescription' => [$this, 'block_metadescription'],
'body' => [$this, 'block_body'],
'stylesheets' => [$this, 'block_stylesheets'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@theme/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
$this->parent = $this->load("@theme/base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 3
yield " ";
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);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metatitle(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatitle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatitle"));
// line 6
yield " ";
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);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 8
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metadescription(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));
// line 9
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);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 12
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 13
yield "
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"LocalBusiness\",
\"name\": \"";
// line 18
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);
yield "\",
\"url\": \"";
// line 19
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);
yield "\",
\"image\": \"";
// line 20
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);
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);
yield "\",
\"description\": \"";
// line 21
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);
yield "\",
\"telephone\": \"";
// line 22
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(2, "content")), "html", null, true);
yield "\",
\"email\": \"";
// line 23
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(3, "content")), "html", null, true);
yield "\",
\"sameAs\": [
\"";
// line 25
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(4, "content")), "html", null, true);
yield "\",
\"";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(5, "content")), "html", null, true);
yield "\",
\"";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(6, "content")), "html", null, true);
yield "\"
]
}
</script>
";
// line 32
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("home");
yield "
";
// line 33
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("home");
yield "
";
// line 34
$_v0 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
$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)]));
if (null !== $preRendered) {
yield $preRendered;
} else {
$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);
$embeddedContext = $preRenderEvent->getVariables();
$embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
$embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
$embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 37495565681);
$this->load("themes/theme/templates/home.html.twig", 34, "37495565681")->display($embeddedContext, $embeddedBlocks);
$_v0->finishEmbedComponent();
}
// line 60
yield " ";
$_v1 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
$preRendered = $_v1->preRender("CompanyValues", Twig\Extension\CoreExtension::toArray([]));
if (null !== $preRendered) {
yield $preRendered;
} else {
$preRenderEvent = $_v1->startEmbedComponent("CompanyValues", Twig\Extension\CoreExtension::toArray([]), $context, "themes/theme/templates/home.html.twig", 27750238761);
$embeddedContext = $preRenderEvent->getVariables();
$embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
$embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
$embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 27750238761);
$this->load("themes/theme/templates/home.html.twig", 60, "27750238761")->display($embeddedContext, $embeddedBlocks);
$_v1->finishEmbedComponent();
}
// line 71
yield " ";
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); })()));
yield "
<main class=\"home-page-content\">
<div class=\"container\">
<div class=\"cms-area\">
";
// line 75
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");
yield "
</div>
</div>
</main>
";
// line 80
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");
yield "
";
// line 82
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)) {
// line 83
yield " <div class=\"bg-black text-white p-4\">
";
// line 84
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);
yield "
<div class=\"flex items-center justify-between\">
<div>
";
// line 88
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);
yield " - ";
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);
yield "
</div>
<a href=\"";
// line 90
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "testimonials"]);
yield "\"
>All Testimonials</a
>
</div>
</div>
";
}
// line 96
yield "
";
// line 97
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))) {
// line 98
yield " <a href=\"";
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);
yield "\" class=\"btn btn-primary\">";
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);
yield "</a>
";
}
// line 100
yield "
<section class=\"services-block\">
<div class=\"services-block-cta\">
<div class=\"container\">
<div
class=\"services-block-cta__image breakout-image\"
style=\"--min-height: 370px;\"
>
<img
class=\"breakout-image__image\"
src=\"";
// line 110
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/cta-bg.jpg"), "html", null, true);
yield "\"
role=\"presentation\"
>
<img
class=\"services-block-cta__image-foreground\"
src=\"";
// line 115
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/cta-person.png"), "html", null, true);
yield "\"
alt=\"Stressed woman holding a laptop\"
width=\"470\"
height=\"440\"
>
</div>
<div class=\"services-block-cta__content\">
";
// line 122
yield $this->env->getFunction('forceRenderPcgcHtmlBlockByIdentifier')->getCallable()(3);
yield "
<div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
<a
href=\"";
// line 126
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "areas-of-expertise/employer-services"]);
yield "\"
class=\"button button-dark\"
>Employer</a
>
<a
href=\"";
// line 131
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "areas-of-expertise/employee-services"]);
yield "\"
class=\"button\"
>Employee</a
>
</div>
</div>
</div>
</div>
";
// line 139
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)) {
// line 140
yield " <div class=\"services-block-slider\">
";
// line 141
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); })()));
yield "
</div>
";
}
// line 144
yield " </section>
";
// line 145
if ((($tmp = $this->env->getFunction('forceRenderPcgcHtmlBlockByIdentifier')->getCallable()(4)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 146
yield " <section class=\"home-page-case-studies-block\">
<div class=\"container\">
";
// line 148
yield $this->env->getFunction('forceRenderPcgcHtmlBlockByIdentifier')->getCallable()(4);
yield "
";
// line 149
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\CaseStudiesDefaultController::embedFeaturedCasestudies"));
yield "
<a
href=\"";
// line 151
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "case-studies"]);
yield "\"
class=\"button button-white\"
>View all Case Studies</a
>
</div>
</section>
";
}
// line 158
yield " ";
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); })()));
yield "
";
// line 159
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); })()));
yield "
";
// line 160
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); })()));
// line 161
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\WisdomController::index"));
yield "
";
// line 163
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)]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 165
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themes/theme/templates/home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@theme/base.html.twig' %}
{% block title %}
{{ page.title }}
{% endblock %}
{% block metatitle %}
{{ page.metatitle }}
{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock -%}
{%- block body %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"url\": \"{{ siteurl }}\",
\"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
\"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
\"sameAs\": [
\"{{ renderSetting(4, 'content')|striptags }}\",
\"{{ renderSetting(5, 'content')|striptags }}\",
\"{{ renderSetting(6, 'content')|striptags }}\"
]
}
</script>
{{ encore_entry_link_tags('home') }}
{{ encore_entry_script_tags('home') }}
{% component 'HomeHero' with { title: page.title } %}
{% block content %}{{ allowInlineEditor(page, 'subtitle')|raw }}
{# <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>
<script src=\"https://static.scoreapp.com/js/integration/v1/embedding.js?v=Ys75bg\"></script> #}
{% endblock %}{% block image %}
<img
src=\"{{ asset('build/images/hero-image-laura.png') }}\"
alt=\"Home Hero Image\"
loading=\"lazy\"
>
{% endblock %}
{% block buttons %}
{% component 'HeroBigButton' with { colour: 'primary', text: 'For Employers', description: 'HR & Employment Law Services for Employers', url: '/areas-of-expertise/employer-services' } %}
{% block icon %}
<i class=\"fa-solid fa-building\"></i>
{% endblock %}
{% endcomponent %}
{% component 'HeroBigButton' with { colour: 'secondary', text: 'For Employees', description: 'HR & Employment Law Services for Employees', url: '/areas-of-expertise/employee-services' } %}
{% block icon %}
<i class=\"fa-solid fa-user-tie\"></i>
{% endblock %}
{% endcomponent %}
{% endblock %}
{% endcomponent %}
{% component 'CompanyValues' %}
{% block values %}
{{ forceRenderPcgcHtmlBlockByIdentifier(2)|raw }}
{% endblock %}
{% block content %}<div class=\"cms-area\">
{{ allowInlineEditor(page, 'content2')|raw }}
<a href=\"{{ path('router', { slug: 'about' }) }}\" class=\"button mt-12\"
>About us</a
>
</div>
{% endblock %}{% endcomponent %}
{{ renderPcgcComponents('Page Top', pageComponents)|raw }}
<main class=\"home-page-content\">
<div class=\"container\">
<div class=\"cms-area\">
{{ allowInlineEditor(page, 'content')|raw }}
</div>
</div>
</main>
{{ allowInlineEditor(page, 'content3')|raw }}
{% if page.testimonial %}
<div class=\"bg-black text-white p-4\">
{{ page.testimonial.content | raw }}
<div class=\"flex items-center justify-between\">
<div>
{{ page.testimonial.author }} - {{ page.testimonial.company }}
</div>
<a href=\"{{ path('router', { slug: 'testimonials' }) }}\"
>All Testimonials</a
>
</div>
</div>
{% endif %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"btn btn-primary\">{{ page.ctaText }}</a>
{% endif %}
<section class=\"services-block\">
<div class=\"services-block-cta\">
<div class=\"container\">
<div
class=\"services-block-cta__image breakout-image\"
style=\"--min-height: 370px;\"
>
<img
class=\"breakout-image__image\"
src=\"{{ asset('build/images/cta-bg.jpg') }}\"
role=\"presentation\"
>
<img
class=\"services-block-cta__image-foreground\"
src=\"{{ asset('build/images/cta-person.png') }}\"
alt=\"Stressed woman holding a laptop\"
width=\"470\"
height=\"440\"
>
</div>
<div class=\"services-block-cta__content\">
{{ forceRenderPcgcHtmlBlockByIdentifier(3)|raw }}
<div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
<a
href=\"{{ path('router', { slug: 'areas-of-expertise/employer-services' }) }}\"
class=\"button button-dark\"
>Employer</a
>
<a
href=\"{{ path('router', { slug: 'areas-of-expertise/employee-services' }) }}\"
class=\"button\"
>Employee</a
>
</div>
</div>
</div>
</div>
{% if renderPcgcComponents('Services Slider', pageComponents)|raw %}
<div class=\"services-block-slider\">
{{ renderPcgcComponents('Services Slider', pageComponents)|raw }}
</div>
{% endif %}
</section>
{% if forceRenderPcgcHtmlBlockByIdentifier(4)|raw %}
<section class=\"home-page-case-studies-block\">
<div class=\"container\">
{{ forceRenderPcgcHtmlBlockByIdentifier(4)|raw }}
{{ render(controller('App\\\\Controller\\\\CaseStudiesDefaultController::embedFeaturedCasestudies')) }}
<a
href=\"{{ path('router', { slug: 'case-studies' }) }}\"
class=\"button button-white\"
>View all Case Studies</a
>
</div>
</section>
{% endif %}
{{ renderPcgcComponents('Accreditations', pageComponents)|raw }}
{{ renderPcgcComponents('Team Members', pageComponents)|raw }}
{{ renderPcgcComponents('Below Content', pageComponents)|raw -}}
{{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
{%- endblock -%}
{%- block stylesheets %}{% endblock %}
", "themes/theme/templates/home.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/home.html.twig");
}
}
/* themes/theme/templates/home.html.twig */
class __TwigTemplate_e560db139b086360d22f64da38282f5b___37495565681 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
'content' => [$this, 'block_content'],
'image' => [$this, 'block_image'],
'buttons' => [$this, 'block_buttons'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 34
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);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_outer__block_fallback(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 35
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
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");
yield "
";
// line 39
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 40
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_image(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "image"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "image"));
// line 41
yield " <img
src=\"";
// line 42
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);
yield "\"
alt=\"Home Hero Image\"
loading=\"lazy\"
>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 47
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_buttons(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "buttons"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "buttons"));
// line 48
yield " ";
$_v2 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
$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"]));
if (null !== $preRendered) {
yield $preRendered;
} else {
$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);
$embeddedContext = $preRenderEvent->getVariables();
$embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
$embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
$embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 25759855881);
$this->load("themes/theme/templates/home.html.twig", 48, "25759855881")->display($embeddedContext, $embeddedBlocks);
$_v2->finishEmbedComponent();
}
// line 53
yield " ";
$_v3 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
$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"]));
if (null !== $preRendered) {
yield $preRendered;
} else {
$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);
$embeddedContext = $preRenderEvent->getVariables();
$embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
$embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
$embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 3903005411);
$this->load("themes/theme/templates/home.html.twig", 53, "3903005411")->display($embeddedContext, $embeddedBlocks);
$_v3->finishEmbedComponent();
}
// line 58
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themes/theme/templates/home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@theme/base.html.twig' %}
{% block title %}
{{ page.title }}
{% endblock %}
{% block metatitle %}
{{ page.metatitle }}
{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock -%}
{%- block body %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"url\": \"{{ siteurl }}\",
\"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
\"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
\"sameAs\": [
\"{{ renderSetting(4, 'content')|striptags }}\",
\"{{ renderSetting(5, 'content')|striptags }}\",
\"{{ renderSetting(6, 'content')|striptags }}\"
]
}
</script>
{{ encore_entry_link_tags('home') }}
{{ encore_entry_script_tags('home') }}
{% component 'HomeHero' with { title: page.title } %}
{% block content %}{{ allowInlineEditor(page, 'subtitle')|raw }}
{# <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>
<script src=\"https://static.scoreapp.com/js/integration/v1/embedding.js?v=Ys75bg\"></script> #}
{% endblock %}{% block image %}
<img
src=\"{{ asset('build/images/hero-image-laura.png') }}\"
alt=\"Home Hero Image\"
loading=\"lazy\"
>
{% endblock %}
{% block buttons %}
{% component 'HeroBigButton' with { colour: 'primary', text: 'For Employers', description: 'HR & Employment Law Services for Employers', url: '/areas-of-expertise/employer-services' } %}
{% block icon %}
<i class=\"fa-solid fa-building\"></i>
{% endblock %}
{% endcomponent %}
{% component 'HeroBigButton' with { colour: 'secondary', text: 'For Employees', description: 'HR & Employment Law Services for Employees', url: '/areas-of-expertise/employee-services' } %}
{% block icon %}
<i class=\"fa-solid fa-user-tie\"></i>
{% endblock %}
{% endcomponent %}
{% endblock %}
{% endcomponent %}
{% component 'CompanyValues' %}
{% block values %}
{{ forceRenderPcgcHtmlBlockByIdentifier(2)|raw }}
{% endblock %}
{% block content %}<div class=\"cms-area\">
{{ allowInlineEditor(page, 'content2')|raw }}
<a href=\"{{ path('router', { slug: 'about' }) }}\" class=\"button mt-12\"
>About us</a
>
</div>
{% endblock %}{% endcomponent %}
{{ renderPcgcComponents('Page Top', pageComponents)|raw }}
<main class=\"home-page-content\">
<div class=\"container\">
<div class=\"cms-area\">
{{ allowInlineEditor(page, 'content')|raw }}
</div>
</div>
</main>
{{ allowInlineEditor(page, 'content3')|raw }}
{% if page.testimonial %}
<div class=\"bg-black text-white p-4\">
{{ page.testimonial.content | raw }}
<div class=\"flex items-center justify-between\">
<div>
{{ page.testimonial.author }} - {{ page.testimonial.company }}
</div>
<a href=\"{{ path('router', { slug: 'testimonials' }) }}\"
>All Testimonials</a
>
</div>
</div>
{% endif %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"btn btn-primary\">{{ page.ctaText }}</a>
{% endif %}
<section class=\"services-block\">
<div class=\"services-block-cta\">
<div class=\"container\">
<div
class=\"services-block-cta__image breakout-image\"
style=\"--min-height: 370px;\"
>
<img
class=\"breakout-image__image\"
src=\"{{ asset('build/images/cta-bg.jpg') }}\"
role=\"presentation\"
>
<img
class=\"services-block-cta__image-foreground\"
src=\"{{ asset('build/images/cta-person.png') }}\"
alt=\"Stressed woman holding a laptop\"
width=\"470\"
height=\"440\"
>
</div>
<div class=\"services-block-cta__content\">
{{ forceRenderPcgcHtmlBlockByIdentifier(3)|raw }}
<div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
<a
href=\"{{ path('router', { slug: 'areas-of-expertise/employer-services' }) }}\"
class=\"button button-dark\"
>Employer</a
>
<a
href=\"{{ path('router', { slug: 'areas-of-expertise/employee-services' }) }}\"
class=\"button\"
>Employee</a
>
</div>
</div>
</div>
</div>
{% if renderPcgcComponents('Services Slider', pageComponents)|raw %}
<div class=\"services-block-slider\">
{{ renderPcgcComponents('Services Slider', pageComponents)|raw }}
</div>
{% endif %}
</section>
{% if forceRenderPcgcHtmlBlockByIdentifier(4)|raw %}
<section class=\"home-page-case-studies-block\">
<div class=\"container\">
{{ forceRenderPcgcHtmlBlockByIdentifier(4)|raw }}
{{ render(controller('App\\\\Controller\\\\CaseStudiesDefaultController::embedFeaturedCasestudies')) }}
<a
href=\"{{ path('router', { slug: 'case-studies' }) }}\"
class=\"button button-white\"
>View all Case Studies</a
>
</div>
</section>
{% endif %}
{{ renderPcgcComponents('Accreditations', pageComponents)|raw }}
{{ renderPcgcComponents('Team Members', pageComponents)|raw }}
{{ renderPcgcComponents('Below Content', pageComponents)|raw -}}
{{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
{%- endblock -%}
{%- block stylesheets %}{% endblock %}
", "themes/theme/templates/home.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/home.html.twig");
}
}
/* themes/theme/templates/home.html.twig */
class __TwigTemplate_e560db139b086360d22f64da38282f5b___25759855881 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
'icon' => [$this, 'block_icon'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 48
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);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_outer__block_fallback(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 49
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_icon(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "icon"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "icon"));
// line 50
yield " <i class=\"fa-solid fa-building\"></i>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themes/theme/templates/home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@theme/base.html.twig' %}
{% block title %}
{{ page.title }}
{% endblock %}
{% block metatitle %}
{{ page.metatitle }}
{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock -%}
{%- block body %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"url\": \"{{ siteurl }}\",
\"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
\"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
\"sameAs\": [
\"{{ renderSetting(4, 'content')|striptags }}\",
\"{{ renderSetting(5, 'content')|striptags }}\",
\"{{ renderSetting(6, 'content')|striptags }}\"
]
}
</script>
{{ encore_entry_link_tags('home') }}
{{ encore_entry_script_tags('home') }}
{% component 'HomeHero' with { title: page.title } %}
{% block content %}{{ allowInlineEditor(page, 'subtitle')|raw }}
{# <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>
<script src=\"https://static.scoreapp.com/js/integration/v1/embedding.js?v=Ys75bg\"></script> #}
{% endblock %}{% block image %}
<img
src=\"{{ asset('build/images/hero-image-laura.png') }}\"
alt=\"Home Hero Image\"
loading=\"lazy\"
>
{% endblock %}
{% block buttons %}
{% component 'HeroBigButton' with { colour: 'primary', text: 'For Employers', description: 'HR & Employment Law Services for Employers', url: '/areas-of-expertise/employer-services' } %}
{% block icon %}
<i class=\"fa-solid fa-building\"></i>
{% endblock %}
{% endcomponent %}
{% component 'HeroBigButton' with { colour: 'secondary', text: 'For Employees', description: 'HR & Employment Law Services for Employees', url: '/areas-of-expertise/employee-services' } %}
{% block icon %}
<i class=\"fa-solid fa-user-tie\"></i>
{% endblock %}
{% endcomponent %}
{% endblock %}
{% endcomponent %}
{% component 'CompanyValues' %}
{% block values %}
{{ forceRenderPcgcHtmlBlockByIdentifier(2)|raw }}
{% endblock %}
{% block content %}<div class=\"cms-area\">
{{ allowInlineEditor(page, 'content2')|raw }}
<a href=\"{{ path('router', { slug: 'about' }) }}\" class=\"button mt-12\"
>About us</a
>
</div>
{% endblock %}{% endcomponent %}
{{ renderPcgcComponents('Page Top', pageComponents)|raw }}
<main class=\"home-page-content\">
<div class=\"container\">
<div class=\"cms-area\">
{{ allowInlineEditor(page, 'content')|raw }}
</div>
</div>
</main>
{{ allowInlineEditor(page, 'content3')|raw }}
{% if page.testimonial %}
<div class=\"bg-black text-white p-4\">
{{ page.testimonial.content | raw }}
<div class=\"flex items-center justify-between\">
<div>
{{ page.testimonial.author }} - {{ page.testimonial.company }}
</div>
<a href=\"{{ path('router', { slug: 'testimonials' }) }}\"
>All Testimonials</a
>
</div>
</div>
{% endif %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"btn btn-primary\">{{ page.ctaText }}</a>
{% endif %}
<section class=\"services-block\">
<div class=\"services-block-cta\">
<div class=\"container\">
<div
class=\"services-block-cta__image breakout-image\"
style=\"--min-height: 370px;\"
>
<img
class=\"breakout-image__image\"
src=\"{{ asset('build/images/cta-bg.jpg') }}\"
role=\"presentation\"
>
<img
class=\"services-block-cta__image-foreground\"
src=\"{{ asset('build/images/cta-person.png') }}\"
alt=\"Stressed woman holding a laptop\"
width=\"470\"
height=\"440\"
>
</div>
<div class=\"services-block-cta__content\">
{{ forceRenderPcgcHtmlBlockByIdentifier(3)|raw }}
<div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
<a
href=\"{{ path('router', { slug: 'areas-of-expertise/employer-services' }) }}\"
class=\"button button-dark\"
>Employer</a
>
<a
href=\"{{ path('router', { slug: 'areas-of-expertise/employee-services' }) }}\"
class=\"button\"
>Employee</a
>
</div>
</div>
</div>
</div>
{% if renderPcgcComponents('Services Slider', pageComponents)|raw %}
<div class=\"services-block-slider\">
{{ renderPcgcComponents('Services Slider', pageComponents)|raw }}
</div>
{% endif %}
</section>
{% if forceRenderPcgcHtmlBlockByIdentifier(4)|raw %}
<section class=\"home-page-case-studies-block\">
<div class=\"container\">
{{ forceRenderPcgcHtmlBlockByIdentifier(4)|raw }}
{{ render(controller('App\\\\Controller\\\\CaseStudiesDefaultController::embedFeaturedCasestudies')) }}
<a
href=\"{{ path('router', { slug: 'case-studies' }) }}\"
class=\"button button-white\"
>View all Case Studies</a
>
</div>
</section>
{% endif %}
{{ renderPcgcComponents('Accreditations', pageComponents)|raw }}
{{ renderPcgcComponents('Team Members', pageComponents)|raw }}
{{ renderPcgcComponents('Below Content', pageComponents)|raw -}}
{{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
{%- endblock -%}
{%- block stylesheets %}{% endblock %}
", "themes/theme/templates/home.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/home.html.twig");
}
}
/* themes/theme/templates/home.html.twig */
class __TwigTemplate_e560db139b086360d22f64da38282f5b___3903005411 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
'icon' => [$this, 'block_icon'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 53
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);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_outer__block_fallback(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 54
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_icon(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "icon"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "icon"));
// line 55
yield " <i class=\"fa-solid fa-user-tie\"></i>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themes/theme/templates/home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@theme/base.html.twig' %}
{% block title %}
{{ page.title }}
{% endblock %}
{% block metatitle %}
{{ page.metatitle }}
{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock -%}
{%- block body %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"url\": \"{{ siteurl }}\",
\"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
\"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
\"sameAs\": [
\"{{ renderSetting(4, 'content')|striptags }}\",
\"{{ renderSetting(5, 'content')|striptags }}\",
\"{{ renderSetting(6, 'content')|striptags }}\"
]
}
</script>
{{ encore_entry_link_tags('home') }}
{{ encore_entry_script_tags('home') }}
{% component 'HomeHero' with { title: page.title } %}
{% block content %}{{ allowInlineEditor(page, 'subtitle')|raw }}
{# <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>
<script src=\"https://static.scoreapp.com/js/integration/v1/embedding.js?v=Ys75bg\"></script> #}
{% endblock %}{% block image %}
<img
src=\"{{ asset('build/images/hero-image-laura.png') }}\"
alt=\"Home Hero Image\"
loading=\"lazy\"
>
{% endblock %}
{% block buttons %}
{% component 'HeroBigButton' with { colour: 'primary', text: 'For Employers', description: 'HR & Employment Law Services for Employers', url: '/areas-of-expertise/employer-services' } %}
{% block icon %}
<i class=\"fa-solid fa-building\"></i>
{% endblock %}
{% endcomponent %}
{% component 'HeroBigButton' with { colour: 'secondary', text: 'For Employees', description: 'HR & Employment Law Services for Employees', url: '/areas-of-expertise/employee-services' } %}
{% block icon %}
<i class=\"fa-solid fa-user-tie\"></i>
{% endblock %}
{% endcomponent %}
{% endblock %}
{% endcomponent %}
{% component 'CompanyValues' %}
{% block values %}
{{ forceRenderPcgcHtmlBlockByIdentifier(2)|raw }}
{% endblock %}
{% block content %}<div class=\"cms-area\">
{{ allowInlineEditor(page, 'content2')|raw }}
<a href=\"{{ path('router', { slug: 'about' }) }}\" class=\"button mt-12\"
>About us</a
>
</div>
{% endblock %}{% endcomponent %}
{{ renderPcgcComponents('Page Top', pageComponents)|raw }}
<main class=\"home-page-content\">
<div class=\"container\">
<div class=\"cms-area\">
{{ allowInlineEditor(page, 'content')|raw }}
</div>
</div>
</main>
{{ allowInlineEditor(page, 'content3')|raw }}
{% if page.testimonial %}
<div class=\"bg-black text-white p-4\">
{{ page.testimonial.content | raw }}
<div class=\"flex items-center justify-between\">
<div>
{{ page.testimonial.author }} - {{ page.testimonial.company }}
</div>
<a href=\"{{ path('router', { slug: 'testimonials' }) }}\"
>All Testimonials</a
>
</div>
</div>
{% endif %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"btn btn-primary\">{{ page.ctaText }}</a>
{% endif %}
<section class=\"services-block\">
<div class=\"services-block-cta\">
<div class=\"container\">
<div
class=\"services-block-cta__image breakout-image\"
style=\"--min-height: 370px;\"
>
<img
class=\"breakout-image__image\"
src=\"{{ asset('build/images/cta-bg.jpg') }}\"
role=\"presentation\"
>
<img
class=\"services-block-cta__image-foreground\"
src=\"{{ asset('build/images/cta-person.png') }}\"
alt=\"Stressed woman holding a laptop\"
width=\"470\"
height=\"440\"
>
</div>
<div class=\"services-block-cta__content\">
{{ forceRenderPcgcHtmlBlockByIdentifier(3)|raw }}
<div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
<a
href=\"{{ path('router', { slug: 'areas-of-expertise/employer-services' }) }}\"
class=\"button button-dark\"
>Employer</a
>
<a
href=\"{{ path('router', { slug: 'areas-of-expertise/employee-services' }) }}\"
class=\"button\"
>Employee</a
>
</div>
</div>
</div>
</div>
{% if renderPcgcComponents('Services Slider', pageComponents)|raw %}
<div class=\"services-block-slider\">
{{ renderPcgcComponents('Services Slider', pageComponents)|raw }}
</div>
{% endif %}
</section>
{% if forceRenderPcgcHtmlBlockByIdentifier(4)|raw %}
<section class=\"home-page-case-studies-block\">
<div class=\"container\">
{{ forceRenderPcgcHtmlBlockByIdentifier(4)|raw }}
{{ render(controller('App\\\\Controller\\\\CaseStudiesDefaultController::embedFeaturedCasestudies')) }}
<a
href=\"{{ path('router', { slug: 'case-studies' }) }}\"
class=\"button button-white\"
>View all Case Studies</a
>
</div>
</section>
{% endif %}
{{ renderPcgcComponents('Accreditations', pageComponents)|raw }}
{{ renderPcgcComponents('Team Members', pageComponents)|raw }}
{{ renderPcgcComponents('Below Content', pageComponents)|raw -}}
{{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
{%- endblock -%}
{%- block stylesheets %}{% endblock %}
", "themes/theme/templates/home.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/home.html.twig");
}
}
/* themes/theme/templates/home.html.twig */
class __TwigTemplate_e560db139b086360d22f64da38282f5b___27750238761 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
'values' => [$this, 'block_values'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 60
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);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/templates/home.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_outer__block_fallback(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 61
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_values(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "values"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "values"));
// line 62
yield " ";
yield $this->env->getFunction('forceRenderPcgcHtmlBlockByIdentifier')->getCallable()(2);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 64
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
yield "<div class=\"cms-area\">
";
// line 65
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");
yield "
<a href=\"";
// line 66
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "about"]);
yield "\" class=\"button mt-12\"
>About us</a
>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themes/theme/templates/home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@theme/base.html.twig' %}
{% block title %}
{{ page.title }}
{% endblock %}
{% block metatitle %}
{{ page.metatitle }}
{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock -%}
{%- block body %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"url\": \"{{ siteurl }}\",
\"image\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
\"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
\"sameAs\": [
\"{{ renderSetting(4, 'content')|striptags }}\",
\"{{ renderSetting(5, 'content')|striptags }}\",
\"{{ renderSetting(6, 'content')|striptags }}\"
]
}
</script>
{{ encore_entry_link_tags('home') }}
{{ encore_entry_script_tags('home') }}
{% component 'HomeHero' with { title: page.title } %}
{% block content %}{{ allowInlineEditor(page, 'subtitle')|raw }}
{# <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>
<script src=\"https://static.scoreapp.com/js/integration/v1/embedding.js?v=Ys75bg\"></script> #}
{% endblock %}{% block image %}
<img
src=\"{{ asset('build/images/hero-image-laura.png') }}\"
alt=\"Home Hero Image\"
loading=\"lazy\"
>
{% endblock %}
{% block buttons %}
{% component 'HeroBigButton' with { colour: 'primary', text: 'For Employers', description: 'HR & Employment Law Services for Employers', url: '/areas-of-expertise/employer-services' } %}
{% block icon %}
<i class=\"fa-solid fa-building\"></i>
{% endblock %}
{% endcomponent %}
{% component 'HeroBigButton' with { colour: 'secondary', text: 'For Employees', description: 'HR & Employment Law Services for Employees', url: '/areas-of-expertise/employee-services' } %}
{% block icon %}
<i class=\"fa-solid fa-user-tie\"></i>
{% endblock %}
{% endcomponent %}
{% endblock %}
{% endcomponent %}
{% component 'CompanyValues' %}
{% block values %}
{{ forceRenderPcgcHtmlBlockByIdentifier(2)|raw }}
{% endblock %}
{% block content %}<div class=\"cms-area\">
{{ allowInlineEditor(page, 'content2')|raw }}
<a href=\"{{ path('router', { slug: 'about' }) }}\" class=\"button mt-12\"
>About us</a
>
</div>
{% endblock %}{% endcomponent %}
{{ renderPcgcComponents('Page Top', pageComponents)|raw }}
<main class=\"home-page-content\">
<div class=\"container\">
<div class=\"cms-area\">
{{ allowInlineEditor(page, 'content')|raw }}
</div>
</div>
</main>
{{ allowInlineEditor(page, 'content3')|raw }}
{% if page.testimonial %}
<div class=\"bg-black text-white p-4\">
{{ page.testimonial.content | raw }}
<div class=\"flex items-center justify-between\">
<div>
{{ page.testimonial.author }} - {{ page.testimonial.company }}
</div>
<a href=\"{{ path('router', { slug: 'testimonials' }) }}\"
>All Testimonials</a
>
</div>
</div>
{% endif %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"btn btn-primary\">{{ page.ctaText }}</a>
{% endif %}
<section class=\"services-block\">
<div class=\"services-block-cta\">
<div class=\"container\">
<div
class=\"services-block-cta__image breakout-image\"
style=\"--min-height: 370px;\"
>
<img
class=\"breakout-image__image\"
src=\"{{ asset('build/images/cta-bg.jpg') }}\"
role=\"presentation\"
>
<img
class=\"services-block-cta__image-foreground\"
src=\"{{ asset('build/images/cta-person.png') }}\"
alt=\"Stressed woman holding a laptop\"
width=\"470\"
height=\"440\"
>
</div>
<div class=\"services-block-cta__content\">
{{ forceRenderPcgcHtmlBlockByIdentifier(3)|raw }}
<div class=\"flex flex-col xl:flex-row gap-4 mt-4\">
<a
href=\"{{ path('router', { slug: 'areas-of-expertise/employer-services' }) }}\"
class=\"button button-dark\"
>Employer</a
>
<a
href=\"{{ path('router', { slug: 'areas-of-expertise/employee-services' }) }}\"
class=\"button\"
>Employee</a
>
</div>
</div>
</div>
</div>
{% if renderPcgcComponents('Services Slider', pageComponents)|raw %}
<div class=\"services-block-slider\">
{{ renderPcgcComponents('Services Slider', pageComponents)|raw }}
</div>
{% endif %}
</section>
{% if forceRenderPcgcHtmlBlockByIdentifier(4)|raw %}
<section class=\"home-page-case-studies-block\">
<div class=\"container\">
{{ forceRenderPcgcHtmlBlockByIdentifier(4)|raw }}
{{ render(controller('App\\\\Controller\\\\CaseStudiesDefaultController::embedFeaturedCasestudies')) }}
<a
href=\"{{ path('router', { slug: 'case-studies' }) }}\"
class=\"button button-white\"
>View all Case Studies</a
>
</div>
</section>
{% endif %}
{{ renderPcgcComponents('Accreditations', pageComponents)|raw }}
{{ renderPcgcComponents('Team Members', pageComponents)|raw }}
{{ renderPcgcComponents('Below Content', pageComponents)|raw -}}
{{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
{%- endblock -%}
{%- block stylesheets %}{% endblock %}
", "themes/theme/templates/home.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/home.html.twig");
}
}