<?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/casestudies/casestudy.html.twig */
class __TwigTemplate_3de4f13768e6f2168009c33356008161 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->parent = false;
$this->blocks = [
];
}
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/casestudies/casestudy.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/casestudies/casestudy.html.twig"));
// line 1
yield "<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Article\",
\"headline\": \"";
// line 5
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 5, $this->source); })()), "title", [], "any", false, false, false, 5), "html", null, true);
yield "\",
\"author\": {
\"@type\": \"Organization\",
\"name\": \"";
// line 8
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.', 8, $this->source); })()), "html", null, true);
yield "\"
},
\"datePublished\": \"";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 10, $this->source); })()), "createdAt", [], "any", false, false, false, 10), "c"), "html", null, true);
yield "\",
\"dateModified\": \"";
// line 11
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 11, $this->source); })()), "updatedAt", [], "any", false, false, false, 11), "c"), "html", null, true);
yield "\",
\"image\": {
\"@type\": \"ImageObject\",
\"url\": \"";
// line 14
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["siteurl"]) || array_key_exists("siteurl", $context) ? $context["siteurl"] : (function () { throw new RuntimeError('Variable "siteurl" does not exist.', 14, $this->source); })()), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 14, $this->source); })()), "getFullImage2Path", [], "any", false, false, false, 14)), "zoomCrop", 800, 600), "html", null, true);
yield "\",
\"width\": 800,
\"height\": 600
},
\"about\": {
\"@type\": \"Project\",
\"name\": \"";
// line 20
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 20, $this->source); })()), "projectName", [], "any", false, false, false, 20), "html", null, true);
yield "\",
\"startDate\": \"";
// line 21
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 21, $this->source); })()), "projectStartDate", [], "any", false, false, false, 21), "F n, Y"), "html", null, true);
yield "\",
\"location\": {
\"@type\": \"Place\"";
// line 23
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 23, $this->source); })()), "projectLocation", [], "any", false, false, false, 23)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield ",
\"name\": \"";
// line 24
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 24, $this->source); })()), "projectLocation", [], "any", false, false, false, 24), "html", null, true);
yield "\"";
}
// line 25
yield " },
\"description\": \"";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(Twig\Extension\CoreExtension::nl2br(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 26, $this->source); })()), "kicker", [], "any", false, false, false, 26))), "html", null, true);
yield "\"
},
\"articleBody\": \"";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(Twig\Extension\CoreExtension::replace($this->env->getFilter('html_entity_decode')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 28, $this->source); })()), "detailContent", [], "any", false, false, false, 28)), ["
" => " ", "
" => " "])), "html", null, true);
yield "\"
}
</script>
<div class=\"case-study-banner flex items-end pb-12 mb-12 text-white lazyBackgroundImage\" data-mobile=\"";
// line 32
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 32, $this->source); })()), "getFullImage5Path", [], "any", false, false, false, 32)), "zoomCrop", 1566, 822), "html", null, true);
yield "\" data-desktop=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 32, $this->source); })()), "getFullImage5Path", [], "any", false, false, false, 32)), "zoomCrop", 3200, 1680), "html", null, true);
yield "\">
<div class=\"container relative z-20\">
<div class=\"row\">
<div class=\"xl:col-4 lg:col-6\">
<h1>";
// line 36
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 36, $this->source); })()), "title");
yield "</h1>
</div>
</div>
<div class=\"row\">
<div class=\"xl:col-6 lg:col-8 text-lg\">
";
// line 41
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 41, $this->source); })()), "kicker");
yield "
</div>
</div>
</div>
</div>
<section class=\"mb-12\">
<div class=\"container\">
<div class=\"row\">
";
// line 50
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 50, $this->source); })()), "image", [], "any", false, false, false, 50)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 51
yield " <div class=\"md:col-4 mb-6 md:mb-0\">
<img class=\"h-auto max-h-[60px] w-auto max-w-full mb-3\" src=\"";
// line 52
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 52, $this->source); })()), "getFullImagePath", [], "any", false, false, false, 52)), "cropResize", 200, 200), "html", null, true);
yield "\" height=\"100\" width=\"100\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 52, $this->source); })()), "clientName", [], "any", false, false, false, 52), "html", null, true);
yield "\" loading=\"lazy\" />
</div>
";
}
// line 55
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 55, $this->source); })()), "projectName", [], "any", false, false, false, 55)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 56
yield " <div class=\"md:col-4 md:border-l md:border-dark md:pl-4 md:flex md:flex-col md:justify-center mb-6 md:mb-0\">
<p class=\"text-sm mb-0 text-secondary\"><strong>Project</strong></p>
<h3 class=\"capitalize text-dark mt-0 mb-0\">";
// line 58
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 58, $this->source); })()), "projectName");
yield "</h3>
</div>
";
}
// line 61
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 61, $this->source); })()), "projectType", [], "any", false, false, false, 61)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 62
yield " <div class=\"md:col-4 md:border-l md:border-dark md:pl-4 md:flex md:flex-col md:justify-center\">
<p class=\"text-sm mb-0 text-secondary\"><strong>Project Type</strong></p>
<h3 class=\"capitalize text-dark mt-0 mb-0\">";
// line 64
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 64, $this->source); })()), "projectType", [], "any", false, false, false, 64), "html", null, true);
yield "</h3>
</div>
";
}
// line 67
yield " </div>
</div>
</section>
";
// line 71
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 71, $this->source); })()), "detailContent", [], "any", false, false, false, 71)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 72
yield " <section class=\"mb-12\">
<div class=\"container\">
<div class=\"row\">
<div class=\"md:col-6 mb-6 md:mb-0\">
<img class=\"max-w-full h-auto\" src=\"";
// line 76
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 76, $this->source); })()), "getFullImage2Path", [], "any", false, false, false, 76)), "zoomCrop", 1140, 840), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 76, $this->source); })()), "detailSubtitle", [], "any", false, false, false, 76), "html", null, true);
yield "\" loading=\"lazy\" />
</div>
<div class=\"md:col-6 text-lg cms-area\">
";
// line 80
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 80, $this->source); })()), "detailSubtitle", [], "any", false, false, false, 80)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 81
yield " ";
// line 82
yield " <h2 class=\"text-3xl mt-0 mb-8\">";
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 82, $this->source); })()), "detailSubtitle");
yield "</h2>
";
}
// line 84
yield " ";
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 84, $this->source); })()), "detailContent");
yield "
</div>
</div>
</div>
</section>
";
}
// line 90
yield "
";
// line 91
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 91, $this->source); })()), "challengesContent", [], "any", false, false, false, 91)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 92
yield " <section class=\"bg-primary text-white py-16 mb-12\">
<div class=\"container\">
<div class=\"row\">
<div class=\"md:col-6 text-lg order-2 md:order-1 cms-area\">
";
// line 96
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 96, $this->source); })()), "challengesSubtitle", [], "any", false, false, false, 96)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 97
yield " ";
// line 98
yield " <h2 class=\"text-3xl mt-0 mb-8 text-white\">";
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 98, $this->source); })()), "challengesSubtitle");
yield "</h2>
";
}
// line 100
yield " ";
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 100, $this->source); })()), "challengesContent");
yield "
</div>
<div class=\"md:col-6 order-1 md:order-2 mb-12 md:mb-0\">
<img class=\"max-w-full h-auto\" src=\"";
// line 103
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 103, $this->source); })()), "getFullImage3Path", [], "any", false, false, false, 103)), "zoomCrop", 1140, 840), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 103, $this->source); })()), "challengesSubtitle", [], "any", false, false, false, 103), "html", null, true);
yield "\" loading=\"lazy\" />
</div>
</div>
</div>
</section>
";
}
// line 109
yield "
";
// line 110
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 110, $this->source); })()), "solutionContent", [], "any", false, false, false, 110)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 111
yield " <section class=\"mb-12\">
<div class=\"container\">
<div class=\"row\">
<div class=\"md:col-6 mb-6 md:mb-0\">
<img class=\"max-w-full h-auto\" src=\"";
// line 115
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 115, $this->source); })()), "getFullImage4Path", [], "any", false, false, false, 115)), "zoomCrop", 1140, 840), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 115, $this->source); })()), "solutionSubtitle", [], "any", false, false, false, 115), "html", null, true);
yield "\" loading=\"lazy\" />
</div>
<div class=\"md:col-6 text-lg cms-area\">
";
// line 118
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 118, $this->source); })()), "solutionSubtitle", [], "any", false, false, false, 118)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 119
yield " ";
// line 120
yield " <h2 class=\"text-3xl mt-0 mb-8\">";
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 120, $this->source); })()), "solutionSubtitle");
yield "</h2>
";
}
// line 122
yield " ";
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 122, $this->source); })()), "solutionContent");
yield "
</div>
</div>
</div>
</section>
";
}
// line 128
yield "
";
// line 129
if ((((CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 129, $this->source); })()), "projectStartDate", [], "any", false, false, false, 129) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 129, $this->source); })()), "projectDuration", [], "any", false, false, false, 129)) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 129, $this->source); })()), "projectBudget", [], "any", false, false, false, 129)) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 129, $this->source); })()), "projectLocation", [], "any", false, false, false, 129))) {
// line 130
yield " <section class=\"bg-dark py-16 mb-12 text-white text-center\">
<div class=\"container\">
<div class=\"row\">
";
// line 133
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 133, $this->source); })()), "projectStartDate", [], "any", false, false, false, 133)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 134
yield " <div class=\"md:col-3 sm:col-6 mb-12 md:mb-0\">
<i class=\"fa-solid fa-calendar-days text-green text-5xl mb-6\"></i>
<h5 class=\"uppercase text-white mb-0\">";
// line 136
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 136, $this->source); })()), "projectStartDate", [], "any", false, false, false, 136), "M Y"), "html", null, true);
yield "</h5>
</div>
";
}
// line 139
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 139, $this->source); })()), "projectDuration", [], "any", false, false, false, 139)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 140
yield " <div class=\"md:col-3 sm:col-6 mb-12 md:mb-0\">
<i class=\"fa-solid fa-clock text-green text-5xl mb-6\"></i>
<h5 class=\"uppercase text-white mb-0\">";
// line 142
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 142, $this->source); })()), "projectDuration");
yield "</h5>
</div>
";
}
// line 145
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 145, $this->source); })()), "projectBudget", [], "any", false, false, false, 145)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 146
yield " <div class=\"md:col-3 sm:col-6 mb-12 sm:mb-0\">
<i class=\"fa-solid fa-coin text-green text-5xl mb-6\"></i>
<h5 class=\"uppercase text-white mb-0\">";
// line 148
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 148, $this->source); })()), "projectBudget");
yield "</h5>
</div>
";
}
// line 151
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 151, $this->source); })()), "projectLocation", [], "any", false, false, false, 151)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 152
yield " <div class=\"md:col-3 sm:col-6\">
<i class=\"fa-solid fa-location-crosshairs text-green text-5xl mb-6\"></i>
<h5 class=\"uppercase text-white mb-0\">";
// line 154
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 154, $this->source); })()), "projectLocation");
yield "</h5>
</div>
";
}
// line 157
yield " </div>
</div>
</section>
";
}
// line 161
yield "
";
// line 162
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 162, $this->source); })()), "gallery", [], "any", false, false, false, 162) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 162, $this->source); })()), "gallery", [], "any", false, false, false, 162), "galleryImages", [], "any", false, false, false, 162)) > 0))) {
// line 163
yield " <div class=\"container mb-4\">
<div class=\"row\">
<div class=\"col-12 text-center\">
<h3 class=\"text-green mb-8 mt-0\">Project Gallery</h3>
";
// line 167
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 167, $this->source); })()), "gallery", [], "any", false, false, false, 167), "content", [], "any", false, false, false, 167)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 168
yield " <div class=\"mb-12\">
";
// line 169
yield $this->env->getFunction('allowInlineEditor')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 169, $this->source); })()), "gallery", [], "any", false, false, false, 169), "content");
yield "
</div>
";
}
// line 172
yield " </div>
</div>
<div class=\"row\">
";
// line 175
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 175, $this->source); })()), "gallery", [], "any", false, false, false, 175), "galleryImages", [], "any", false, false, false, 175));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 176
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["image"], "file", [], "any", false, false, false, 176)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 177
yield " <div class=\"lg:col-6 mb-8\">
<video class=\"w-full h-auto\" src=\"";
// line 178
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getFileUrl", [], "method", false, false, false, 178), "html", null, true);
yield "\" controls></video>
</div>
";
} else {
// line 181
yield " <div class=\"lg:col-6 mb-8\">
<img class=\"max-w-full h-auto\" src=\"";
// line 182
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getFullImagePath", [], "any", false, false, false, 182)), "zoomCrop", 1140, 640), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "title", [], "any", false, false, false, 182), "html", null, true);
yield "\" loading=\"lazy\" />
</div>
";
}
// line 185
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 186
yield " </div>
</div>
";
}
// line 189
yield "
";
// line 190
if (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 190, $this->source); })()), "testimonial", [], "any", false, false, false, 190) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 190, $this->source); })()), "testimonial", [], "any", false, false, false, 190), "active", [], "any", false, false, false, 190)) && !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 190, $this->source); })()), "testimonial", [], "any", false, false, false, 190), "deleted", [], "any", false, false, false, 190))) {
// line 191
yield " <section class=\"mb-12\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"w-full flex flex-col justify-center items-center text-center\">
<h3 class=\"mb-8 mt-0 text-green\">What the Client Said</h3>
";
// line 197
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 197, $this->source); })()), "testimonial", [], "any", false, false, false, 197), "image", [], "any", false, false, false, 197)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 198
yield " <img class=\"h-auto max-h-[60px] w-auto max-w-full mb-3\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 198, $this->source); })()), "testimonial", [], "any", false, false, false, 198), "getFullImagePath", [], "any", false, false, false, 198)), "cropResize", 150, 150), "html", null, true);
yield "\" height=\"60\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 198, $this->source); })()), "testimonial", [], "any", false, false, false, 198), "clientName", [], "any", false, false, false, 198), "html", null, true);
yield "\" loading=\"lazy\" />
";
}
// line 200
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('generatePath')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 200, $this->source); })()), "request", [], "any", false, false, false, 200), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 200, $this->source); })()), "testimonial", [], "any", false, false, false, 200), "linkedPageId", [], "any", false, false, false, 200), ["testimonial_slug" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 200, $this->source); })()), "testimonial", [], "any", false, false, false, 200), "slug", [], "any", false, false, false, 200)]), "html", null, true);
yield "\" class=\"text-dark\">
<p class=\"text-xl font-light mb-2\">";
// line 201
yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('allowInlineEditor')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 201, $this->source); })()), "testimonial", [], "any", false, false, false, 201), "content"), "html", null, true));
yield "</p>
<p class=\"text-sm font-bold mb-0 text-secondary\">";
// line 202
yield $this->env->getFunction('allowInlineEditor')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 202, $this->source); })()), "testimonial", [], "any", false, false, false, 202), "attestant");
yield "</p>
<p class=\"text-sm text-secondary\">";
// line 203
yield $this->env->getFunction('allowInlineEditor')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["study"]) || array_key_exists("study", $context) ? $context["study"] : (function () { throw new RuntimeError('Variable "study" does not exist.', 203, $this->source); })()), "testimonial", [], "any", false, false, false, 203), "jobTitle");
yield "</p>
</a>
</div>
</div>
</div>
</div>
</section>
";
}
// line 211
yield "
<div class=\"bg-secondary mb-12 relative text-white py-7\">
<div class=\"container\">
";
// line 214
if (((isset($context["prev"]) || array_key_exists("prev", $context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.', 214, $this->source); })()) || (isset($context["next"]) || array_key_exists("next", $context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.', 214, $this->source); })()))) {
// line 215
yield " <div class=\"row team-pagination\">
";
// line 216
if ((($tmp = (isset($context["prev"]) || array_key_exists("prev", $context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.', 216, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 217
yield " <div class=\"";
if ((($tmp = (isset($context["next"]) || array_key_exists("next", $context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.', 217, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield "col-6";
} else {
yield "col-12";
}
yield "\">
<a class=\"prev\" href=\"";
// line 218
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('generatePath')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 218, $this->source); })()), "request", [], "any", false, false, false, 218), CoreExtension::getAttribute($this->env, $this->source, (isset($context["prev"]) || array_key_exists("prev", $context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.', 218, $this->source); })()), "linkedPageId", [], "any", false, false, false, 218), ["caseStudy_slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["prev"]) || array_key_exists("prev", $context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.', 218, $this->source); })()), "slug", [], "any", false, false, false, 218)]), "html", null, true);
yield "\">
Previous <span class=\"hidden md:inline-block\">Case Study</span>
</a>
</div>
";
}
// line 223
yield "
";
// line 224
if ((($tmp = (isset($context["next"]) || array_key_exists("next", $context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.', 224, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 225
yield " <div class=\"";
if ((($tmp = (isset($context["prev"]) || array_key_exists("prev", $context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.', 225, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield "col-6";
} else {
yield "col-12";
}
yield " text-right\">
<a class=\"next\" href=\"";
// line 226
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('generatePath')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 226, $this->source); })()), "request", [], "any", false, false, false, 226), CoreExtension::getAttribute($this->env, $this->source, (isset($context["next"]) || array_key_exists("next", $context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.', 226, $this->source); })()), "linkedPageId", [], "any", false, false, false, 226), ["caseStudy_slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["next"]) || array_key_exists("next", $context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.', 226, $this->source); })()), "slug", [], "any", false, false, false, 226)]), "html", null, true);
yield "\">
Next <span class=\"hidden md:inline-block\">Case Study</span>
</a>
</div>
";
}
// line 231
yield " </div>
";
}
// line 233
yield " </div>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themes/theme/casestudies/casestudy.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 541 => 233, 537 => 231, 529 => 226, 520 => 225, 518 => 224, 515 => 223, 507 => 218, 498 => 217, 496 => 216, 493 => 215, 491 => 214, 486 => 211, 475 => 203, 471 => 202, 467 => 201, 462 => 200, 454 => 198, 452 => 197, 444 => 191, 442 => 190, 439 => 189, 434 => 186, 428 => 185, 420 => 182, 417 => 181, 411 => 178, 408 => 177, 405 => 176, 401 => 175, 396 => 172, 390 => 169, 387 => 168, 385 => 167, 379 => 163, 377 => 162, 374 => 161, 368 => 157, 362 => 154, 358 => 152, 355 => 151, 349 => 148, 345 => 146, 342 => 145, 336 => 142, 332 => 140, 329 => 139, 323 => 136, 319 => 134, 317 => 133, 312 => 130, 310 => 129, 307 => 128, 297 => 122, 291 => 120, 289 => 119, 287 => 118, 279 => 115, 273 => 111, 271 => 110, 268 => 109, 257 => 103, 250 => 100, 244 => 98, 242 => 97, 240 => 96, 234 => 92, 232 => 91, 229 => 90, 219 => 84, 213 => 82, 211 => 81, 208 => 80, 200 => 76, 194 => 72, 192 => 71, 186 => 67, 180 => 64, 176 => 62, 173 => 61, 167 => 58, 163 => 56, 160 => 55, 152 => 52, 149 => 51, 147 => 50, 135 => 41, 127 => 36, 118 => 32, 110 => 28, 105 => 26, 102 => 25, 98 => 24, 94 => 23, 89 => 21, 85 => 20, 75 => 14, 69 => 11, 65 => 10, 60 => 8, 54 => 5, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Article\",
\"headline\": \"{{ study.title }}\",
\"author\": {
\"@type\": \"Organization\",
\"name\": \"{{ sitename }}\"
},
\"datePublished\": \"{{ study.createdAt|date('c') }}\",
\"dateModified\": \"{{ study.updatedAt|date('c') }}\",
\"image\": {
\"@type\": \"ImageObject\",
\"url\": \"{{ siteurl }}{{ imageCache('/' ~ study.getFullImage2Path, 'zoomCrop', 800, 600) }}\",
\"width\": 800,
\"height\": 600
},
\"about\": {
\"@type\": \"Project\",
\"name\": \"{{ study.projectName }}\",
\"startDate\": \"{{ study.projectStartDate|date('F n, Y') }}\",
\"location\": {
\"@type\": \"Place\"{% if study.projectLocation %},
\"name\": \"{{ study.projectLocation }}\"{% endif %}
},
\"description\": \"{{ study.kicker|raw|nl2br|striptags }}\"
},
\"articleBody\": \"{{ study.detailContent|html_entity_decode|replace({'\\n': ' ', '\\r': ' '})|striptags }}\"
}
</script>
<div class=\"case-study-banner flex items-end pb-12 mb-12 text-white lazyBackgroundImage\" data-mobile=\"{{ imageCache('/' ~ study.getFullImage5Path, 'zoomCrop', 1566, 822) }}\" data-desktop=\"{{ imageCache('/' ~ study.getFullImage5Path, 'zoomCrop', 3200, 1680) }}\">
<div class=\"container relative z-20\">
<div class=\"row\">
<div class=\"xl:col-4 lg:col-6\">
<h1>{{ allowInlineEditor(study, 'title')|raw }}</h1>
</div>
</div>
<div class=\"row\">
<div class=\"xl:col-6 lg:col-8 text-lg\">
{{ allowInlineEditor(study, 'kicker')|raw }}
</div>
</div>
</div>
</div>
<section class=\"mb-12\">
<div class=\"container\">
<div class=\"row\">
{% if study.image %}
<div class=\"md:col-4 mb-6 md:mb-0\">
<img class=\"h-auto max-h-[60px] w-auto max-w-full mb-3\" src=\"{{ imageCache('/'~ study.getFullImagePath, \"cropResize\", 200, 200) }}\" height=\"100\" width=\"100\" alt=\"{{ study.clientName }}\" loading=\"lazy\" />
</div>
{% endif %}
{% if study.projectName %}
<div class=\"md:col-4 md:border-l md:border-dark md:pl-4 md:flex md:flex-col md:justify-center mb-6 md:mb-0\">
<p class=\"text-sm mb-0 text-secondary\"><strong>Project</strong></p>
<h3 class=\"capitalize text-dark mt-0 mb-0\">{{ allowInlineEditor(study, 'projectName')|raw }}</h3>
</div>
{% endif %}
{% if study.projectType %}
<div class=\"md:col-4 md:border-l md:border-dark md:pl-4 md:flex md:flex-col md:justify-center\">
<p class=\"text-sm mb-0 text-secondary\"><strong>Project Type</strong></p>
<h3 class=\"capitalize text-dark mt-0 mb-0\">{{ study.projectType }}</h3>
</div>
{% endif %}
</div>
</div>
</section>
{% if study.detailContent %}
<section class=\"mb-12\">
<div class=\"container\">
<div class=\"row\">
<div class=\"md:col-6 mb-6 md:mb-0\">
<img class=\"max-w-full h-auto\" src=\"{{ imageCache('/' ~ study.getFullImage2Path, 'zoomCrop', 1140, 840) }}\" alt=\"{{ study.detailSubtitle }}\" loading=\"lazy\" />
</div>
<div class=\"md:col-6 text-lg cms-area\">
{# THE DETAIL #}
{% if study.detailSubtitle %}
{# <p class=\"text-sm mb-0 uppercase text-secondary\"><strong>{{ allowInlineEditor(study, 'detailSubtitle')|raw }}</strong></p> #}
<h2 class=\"text-3xl mt-0 mb-8\">{{ allowInlineEditor(study, 'detailSubtitle')|raw }}</h2>
{% endif %}
{{ allowInlineEditor(study, 'detailContent')|raw }}
</div>
</div>
</div>
</section>
{% endif %}
{% if study.challengesContent %}
<section class=\"bg-primary text-white py-16 mb-12\">
<div class=\"container\">
<div class=\"row\">
<div class=\"md:col-6 text-lg order-2 md:order-1 cms-area\">
{% if study.challengesSubtitle %}
{# <p class=\"text-sm mb-0 text-white uppercase\"><strong>The Challenges</strong></p> #}
<h2 class=\"text-3xl mt-0 mb-8 text-white\">{{ allowInlineEditor(study, 'challengesSubtitle')|raw }}</h2>
{% endif %}
{{ allowInlineEditor(study, 'challengesContent')|raw }}
</div>
<div class=\"md:col-6 order-1 md:order-2 mb-12 md:mb-0\">
<img class=\"max-w-full h-auto\" src=\"{{ imageCache('/' ~ study.getFullImage3Path, 'zoomCrop', 1140, 840) }}\" alt=\"{{ study.challengesSubtitle }}\" loading=\"lazy\" />
</div>
</div>
</div>
</section>
{% endif %}
{% if study.solutionContent %}
<section class=\"mb-12\">
<div class=\"container\">
<div class=\"row\">
<div class=\"md:col-6 mb-6 md:mb-0\">
<img class=\"max-w-full h-auto\" src=\"{{ imageCache('/' ~ study.getFullImage4Path, 'zoomCrop', 1140, 840) }}\" alt=\"{{ study.solutionSubtitle }}\" loading=\"lazy\" />
</div>
<div class=\"md:col-6 text-lg cms-area\">
{% if study.solutionSubtitle %}
{# <p class=\"text-sm mb-0 uppercase text-secondary\"><strong>The Solution</strong></p> #}
<h2 class=\"text-3xl mt-0 mb-8\">{{ allowInlineEditor(study, 'solutionSubtitle')|raw }}</h2>
{% endif %}
{{ allowInlineEditor(study, 'solutionContent')|raw }}
</div>
</div>
</div>
</section>
{% endif %}
{% if study.projectStartDate or study.projectDuration or study.projectBudget or study.projectLocation %}
<section class=\"bg-dark py-16 mb-12 text-white text-center\">
<div class=\"container\">
<div class=\"row\">
{% if study.projectStartDate %}
<div class=\"md:col-3 sm:col-6 mb-12 md:mb-0\">
<i class=\"fa-solid fa-calendar-days text-green text-5xl mb-6\"></i>
<h5 class=\"uppercase text-white mb-0\">{{ study.projectStartDate|date('M Y') }}</h5>
</div>
{% endif %}
{% if study.projectDuration %}
<div class=\"md:col-3 sm:col-6 mb-12 md:mb-0\">
<i class=\"fa-solid fa-clock text-green text-5xl mb-6\"></i>
<h5 class=\"uppercase text-white mb-0\">{{ allowInlineEditor(study, 'projectDuration')|raw }}</h5>
</div>
{% endif %}
{% if study.projectBudget %}
<div class=\"md:col-3 sm:col-6 mb-12 sm:mb-0\">
<i class=\"fa-solid fa-coin text-green text-5xl mb-6\"></i>
<h5 class=\"uppercase text-white mb-0\">{{ allowInlineEditor(study, 'projectBudget')|raw }}</h5>
</div>
{% endif %}
{% if study.projectLocation %}
<div class=\"md:col-3 sm:col-6\">
<i class=\"fa-solid fa-location-crosshairs text-green text-5xl mb-6\"></i>
<h5 class=\"uppercase text-white mb-0\">{{ allowInlineEditor(study, 'projectLocation')|raw }}</h5>
</div>
{% endif %}
</div>
</div>
</section>
{% endif %}
{% if study.gallery and study.gallery.galleryImages|length > 0 %}
<div class=\"container mb-4\">
<div class=\"row\">
<div class=\"col-12 text-center\">
<h3 class=\"text-green mb-8 mt-0\">Project Gallery</h3>
{% if study.gallery.content %}
<div class=\"mb-12\">
{{ allowInlineEditor(study.gallery, 'content')|raw }}
</div>
{% endif %}
</div>
</div>
<div class=\"row\">
{% for image in study.gallery.galleryImages %}
{% if image.file %}
<div class=\"lg:col-6 mb-8\">
<video class=\"w-full h-auto\" src=\"{{ image.getFileUrl() }}\" controls></video>
</div>
{% else %}
<div class=\"lg:col-6 mb-8\">
<img class=\"max-w-full h-auto\" src=\"{{ imageCache('/'~ image.getFullImagePath, 'zoomCrop', 1140, 640) }}\" alt=\"{{ image.title }}\" loading=\"lazy\" />
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if study.testimonial and study.testimonial.active and not study.testimonial.deleted %}
<section class=\"mb-12\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"w-full flex flex-col justify-center items-center text-center\">
<h3 class=\"mb-8 mt-0 text-green\">What the Client Said</h3>
{% if study.testimonial.image %}
<img class=\"h-auto max-h-[60px] w-auto max-w-full mb-3\" src=\"{{ imageCache('/'~ study.testimonial.getFullImagePath, 'cropResize', 150, 150) }}\" height=\"60\" alt=\"{{ study.testimonial.clientName }}\" loading=\"lazy\" />
{% endif %}
<a href=\"{{ generatePath(app.request, study.testimonial.linkedPageId, { 'testimonial_slug': study.testimonial.slug }) }}\" class=\"text-dark\">
<p class=\"text-xl font-light mb-2\">{{ allowInlineEditor(study.testimonial, 'content')|nl2br }}</p>
<p class=\"text-sm font-bold mb-0 text-secondary\">{{ allowInlineEditor(study.testimonial, 'attestant')|raw }}</p>
<p class=\"text-sm text-secondary\">{{ allowInlineEditor(study.testimonial, 'jobTitle')|raw }}</p>
</a>
</div>
</div>
</div>
</div>
</section>
{% endif %}
<div class=\"bg-secondary mb-12 relative text-white py-7\">
<div class=\"container\">
{% if prev or next %}
<div class=\"row team-pagination\">
{% if prev %}
<div class=\"{% if next %}col-6{% else %}col-12{% endif %}\">
<a class=\"prev\" href=\"{{ generatePath( app.request, prev.linkedPageId, {'caseStudy_slug' : prev.slug } ) }}\">
Previous <span class=\"hidden md:inline-block\">Case Study</span>
</a>
</div>
{% endif %}
{% if next %}
<div class=\"{% if prev %}col-6{% else %}col-12{% endif %} text-right\">
<a class=\"next\" href=\"{{ generatePath( app.request, next.linkedPageId, {'caseStudy_slug' : next.slug } ) }}\">
Next <span class=\"hidden md:inline-block\">Case Study</span>
</a>
</div>
{% endif %}
</div>
{% endif %}
</div>
</div>
", "themes/theme/casestudies/casestudy.html.twig", "/var/www/html/k/kasscaffolding/templates/themes/theme/casestudies/casestudy.html.twig");
}
}