var/cache/dev/twig/17/17301e732223e228135c467eb99e07f0.php line 76

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* themes/theme/casestudies/casestudy.html.twig */
  16. class __TwigTemplate_3de4f13768e6f2168009c33356008161 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->parent = false;
  28. $this->blocks = [
  29. ];
  30. }
  31. protected function doDisplay(array $context, array $blocks = []): iterable
  32. {
  33. $macros = $this->macros;
  34. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/casestudies/casestudy.html.twig"));
  36. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/casestudies/casestudy.html.twig"));
  38. // line 1
  39. yield "<script type=\"application/ld+json\">
  40. {
  41. \"@context\": \"https://schema.org\",
  42. \"@type\": \"Article\",
  43. \"headline\": \"";
  44. // line 5
  45. 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);
  46. yield "\",
  47. \"author\": {
  48. \"@type\": \"Organization\",
  49. \"name\": \"";
  50. // line 8
  51. 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);
  52. yield "\"
  53. },
  54. \"datePublished\": \"";
  55. // line 10
  56. 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);
  57. yield "\",
  58. \"dateModified\": \"";
  59. // line 11
  60. 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);
  61. yield "\",
  62. \"image\": {
  63. \"@type\": \"ImageObject\",
  64. \"url\": \"";
  65. // line 14
  66. 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);
  67. 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);
  68. yield "\",
  69. \"width\": 800,
  70. \"height\": 600
  71. },
  72. \"about\": {
  73. \"@type\": \"Project\",
  74. \"name\": \"";
  75. // line 20
  76. 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);
  77. yield "\",
  78. \"startDate\": \"";
  79. // line 21
  80. 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);
  81. yield "\",
  82. \"location\": {
  83. \"@type\": \"Place\"";
  84. // line 23
  85. 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)) {
  86. yield ",
  87. \"name\": \"";
  88. // line 24
  89. 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);
  90. yield "\"";
  91. }
  92. // line 25
  93. yield " },
  94. \"description\": \"";
  95. // line 26
  96. 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);
  97. yield "\"
  98. },
  99. \"articleBody\": \"";
  100. // line 28
  101. 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)), ["
  102. " => " ", " " => " "])), "html", null, true);
  103. yield "\"
  104. }
  105. </script>
  106. <div class=\"case-study-banner flex items-end pb-12 mb-12 text-white lazyBackgroundImage\" data-mobile=\"";
  107. // line 32
  108. 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);
  109. yield "\" data-desktop=\"";
  110. 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);
  111. yield "\">
  112. <div class=\"container relative z-20\">
  113. <div class=\"row\">
  114. <div class=\"xl:col-4 lg:col-6\">
  115. <h1>";
  116. // line 36
  117. 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");
  118. yield "</h1>
  119. </div>
  120. </div>
  121. <div class=\"row\">
  122. <div class=\"xl:col-6 lg:col-8 text-lg\">
  123. ";
  124. // line 41
  125. 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");
  126. yield "
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. <section class=\"mb-12\">
  132. <div class=\"container\">
  133. <div class=\"row\">
  134. ";
  135. // line 50
  136. 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)) {
  137. // line 51
  138. yield " <div class=\"md:col-4 mb-6 md:mb-0\">
  139. <img class=\"h-auto max-h-[60px] w-auto max-w-full mb-3\" src=\"";
  140. // line 52
  141. 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);
  142. yield "\" height=\"100\" width=\"100\" alt=\"";
  143. 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);
  144. yield "\" loading=\"lazy\" />
  145. </div>
  146. ";
  147. }
  148. // line 55
  149. yield " ";
  150. 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)) {
  151. // line 56
  152. 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\">
  153. <p class=\"text-sm mb-0 text-secondary\"><strong>Project</strong></p>
  154. <h3 class=\"capitalize text-dark mt-0 mb-0\">";
  155. // line 58
  156. 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");
  157. yield "</h3>
  158. </div>
  159. ";
  160. }
  161. // line 61
  162. yield " ";
  163. 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)) {
  164. // line 62
  165. yield " <div class=\"md:col-4 md:border-l md:border-dark md:pl-4 md:flex md:flex-col md:justify-center\">
  166. <p class=\"text-sm mb-0 text-secondary\"><strong>Project Type</strong></p>
  167. <h3 class=\"capitalize text-dark mt-0 mb-0\">";
  168. // line 64
  169. 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);
  170. yield "</h3>
  171. </div>
  172. ";
  173. }
  174. // line 67
  175. yield " </div>
  176. </div>
  177. </section>
  178. ";
  179. // line 71
  180. 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)) {
  181. // line 72
  182. yield " <section class=\"mb-12\">
  183. <div class=\"container\">
  184. <div class=\"row\">
  185. <div class=\"md:col-6 mb-6 md:mb-0\">
  186. <img class=\"max-w-full h-auto\" src=\"";
  187. // line 76
  188. 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);
  189. yield "\" alt=\"";
  190. 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);
  191. yield "\" loading=\"lazy\" />
  192. </div>
  193. <div class=\"md:col-6 text-lg cms-area\">
  194. ";
  195. // line 80
  196. yield " ";
  197. 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)) {
  198. // line 81
  199. yield " ";
  200. // line 82
  201. yield " <h2 class=\"text-3xl mt-0 mb-8\">";
  202. 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");
  203. yield "</h2>
  204. ";
  205. }
  206. // line 84
  207. yield " ";
  208. 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");
  209. yield "
  210. </div>
  211. </div>
  212. </div>
  213. </section>
  214. ";
  215. }
  216. // line 90
  217. yield "
  218. ";
  219. // line 91
  220. 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)) {
  221. // line 92
  222. yield " <section class=\"bg-primary text-white py-16 mb-12\">
  223. <div class=\"container\">
  224. <div class=\"row\">
  225. <div class=\"md:col-6 text-lg order-2 md:order-1 cms-area\">
  226. ";
  227. // line 96
  228. 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)) {
  229. // line 97
  230. yield " ";
  231. // line 98
  232. yield " <h2 class=\"text-3xl mt-0 mb-8 text-white\">";
  233. 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");
  234. yield "</h2>
  235. ";
  236. }
  237. // line 100
  238. yield " ";
  239. 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");
  240. yield "
  241. </div>
  242. <div class=\"md:col-6 order-1 md:order-2 mb-12 md:mb-0\">
  243. <img class=\"max-w-full h-auto\" src=\"";
  244. // line 103
  245. 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);
  246. yield "\" alt=\"";
  247. 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);
  248. yield "\" loading=\"lazy\" />
  249. </div>
  250. </div>
  251. </div>
  252. </section>
  253. ";
  254. }
  255. // line 109
  256. yield "
  257. ";
  258. // line 110
  259. 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)) {
  260. // line 111
  261. yield " <section class=\"mb-12\">
  262. <div class=\"container\">
  263. <div class=\"row\">
  264. <div class=\"md:col-6 mb-6 md:mb-0\">
  265. <img class=\"max-w-full h-auto\" src=\"";
  266. // line 115
  267. 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);
  268. yield "\" alt=\"";
  269. 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);
  270. yield "\" loading=\"lazy\" />
  271. </div>
  272. <div class=\"md:col-6 text-lg cms-area\">
  273. ";
  274. // line 118
  275. 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)) {
  276. // line 119
  277. yield " ";
  278. // line 120
  279. yield " <h2 class=\"text-3xl mt-0 mb-8\">";
  280. 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");
  281. yield "</h2>
  282. ";
  283. }
  284. // line 122
  285. yield " ";
  286. 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");
  287. yield "
  288. </div>
  289. </div>
  290. </div>
  291. </section>
  292. ";
  293. }
  294. // line 128
  295. yield "
  296. ";
  297. // line 129
  298. 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))) {
  299. // line 130
  300. yield " <section class=\"bg-dark py-16 mb-12 text-white text-center\">
  301. <div class=\"container\">
  302. <div class=\"row\">
  303. ";
  304. // line 133
  305. 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)) {
  306. // line 134
  307. yield " <div class=\"md:col-3 sm:col-6 mb-12 md:mb-0\">
  308. <i class=\"fa-solid fa-calendar-days text-green text-5xl mb-6\"></i>
  309. <h5 class=\"uppercase text-white mb-0\">";
  310. // line 136
  311. 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);
  312. yield "</h5>
  313. </div>
  314. ";
  315. }
  316. // line 139
  317. yield " ";
  318. 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)) {
  319. // line 140
  320. yield " <div class=\"md:col-3 sm:col-6 mb-12 md:mb-0\">
  321. <i class=\"fa-solid fa-clock text-green text-5xl mb-6\"></i>
  322. <h5 class=\"uppercase text-white mb-0\">";
  323. // line 142
  324. 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");
  325. yield "</h5>
  326. </div>
  327. ";
  328. }
  329. // line 145
  330. yield " ";
  331. 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)) {
  332. // line 146
  333. yield " <div class=\"md:col-3 sm:col-6 mb-12 sm:mb-0\">
  334. <i class=\"fa-solid fa-coin text-green text-5xl mb-6\"></i>
  335. <h5 class=\"uppercase text-white mb-0\">";
  336. // line 148
  337. 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");
  338. yield "</h5>
  339. </div>
  340. ";
  341. }
  342. // line 151
  343. yield " ";
  344. 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)) {
  345. // line 152
  346. yield " <div class=\"md:col-3 sm:col-6\">
  347. <i class=\"fa-solid fa-location-crosshairs text-green text-5xl mb-6\"></i>
  348. <h5 class=\"uppercase text-white mb-0\">";
  349. // line 154
  350. 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");
  351. yield "</h5>
  352. </div>
  353. ";
  354. }
  355. // line 157
  356. yield " </div>
  357. </div>
  358. </section>
  359. ";
  360. }
  361. // line 161
  362. yield "
  363. ";
  364. // line 162
  365. 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))) {
  366. // line 163
  367. yield " <div class=\"container mb-4\">
  368. <div class=\"row\">
  369. <div class=\"col-12 text-center\">
  370. <h3 class=\"text-green mb-8 mt-0\">Project Gallery</h3>
  371. ";
  372. // line 167
  373. 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)) {
  374. // line 168
  375. yield " <div class=\"mb-12\">
  376. ";
  377. // line 169
  378. 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");
  379. yield "
  380. </div>
  381. ";
  382. }
  383. // line 172
  384. yield " </div>
  385. </div>
  386. <div class=\"row\">
  387. ";
  388. // line 175
  389. $context['_parent'] = $context;
  390. $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));
  391. foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  392. // line 176
  393. yield " ";
  394. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["image"], "file", [], "any", false, false, false, 176)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  395. // line 177
  396. yield " <div class=\"lg:col-6 mb-8\">
  397. <video class=\"w-full h-auto\" src=\"";
  398. // line 178
  399. 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);
  400. yield "\" controls></video>
  401. </div>
  402. ";
  403. } else {
  404. // line 181
  405. yield " <div class=\"lg:col-6 mb-8\">
  406. <img class=\"max-w-full h-auto\" src=\"";
  407. // line 182
  408. 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);
  409. yield "\" alt=\"";
  410. 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);
  411. yield "\" loading=\"lazy\" />
  412. </div>
  413. ";
  414. }
  415. // line 185
  416. yield " ";
  417. }
  418. $_parent = $context['_parent'];
  419. unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
  420. $context = array_intersect_key($context, $_parent) + $_parent;
  421. // line 186
  422. yield " </div>
  423. </div>
  424. ";
  425. }
  426. // line 189
  427. yield "
  428. ";
  429. // line 190
  430. 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))) {
  431. // line 191
  432. yield " <section class=\"mb-12\">
  433. <div class=\"container\">
  434. <div class=\"row\">
  435. <div class=\"col-12\">
  436. <div class=\"w-full flex flex-col justify-center items-center text-center\">
  437. <h3 class=\"mb-8 mt-0 text-green\">What the Client Said</h3>
  438. ";
  439. // line 197
  440. 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)) {
  441. // line 198
  442. yield " <img class=\"h-auto max-h-[60px] w-auto max-w-full mb-3\" src=\"";
  443. 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);
  444. yield "\" height=\"60\" alt=\"";
  445. 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);
  446. yield "\" loading=\"lazy\" />
  447. ";
  448. }
  449. // line 200
  450. yield " <a href=\"";
  451. 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);
  452. yield "\" class=\"text-dark\">
  453. <p class=\"text-xl font-light mb-2\">";
  454. // line 201
  455. 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));
  456. yield "</p>
  457. <p class=\"text-sm font-bold mb-0 text-secondary\">";
  458. // line 202
  459. 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");
  460. yield "</p>
  461. <p class=\"text-sm text-secondary\">";
  462. // line 203
  463. 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");
  464. yield "</p>
  465. </a>
  466. </div>
  467. </div>
  468. </div>
  469. </div>
  470. </section>
  471. ";
  472. }
  473. // line 211
  474. yield "
  475. <div class=\"bg-secondary mb-12 relative text-white py-7\">
  476. <div class=\"container\">
  477. ";
  478. // line 214
  479. 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); })()))) {
  480. // line 215
  481. yield " <div class=\"row team-pagination\">
  482. ";
  483. // line 216
  484. 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)) {
  485. // line 217
  486. yield " <div class=\"";
  487. 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)) {
  488. yield "col-6";
  489. } else {
  490. yield "col-12";
  491. }
  492. yield "\">
  493. <a class=\"prev\" href=\"";
  494. // line 218
  495. 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);
  496. yield "\">
  497. Previous <span class=\"hidden md:inline-block\">Case Study</span>
  498. </a>
  499. </div>
  500. ";
  501. }
  502. // line 223
  503. yield "
  504. ";
  505. // line 224
  506. 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)) {
  507. // line 225
  508. yield " <div class=\"";
  509. 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)) {
  510. yield "col-6";
  511. } else {
  512. yield "col-12";
  513. }
  514. yield " text-right\">
  515. <a class=\"next\" href=\"";
  516. // line 226
  517. 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);
  518. yield "\">
  519. Next <span class=\"hidden md:inline-block\">Case Study</span>
  520. </a>
  521. </div>
  522. ";
  523. }
  524. // line 231
  525. yield " </div>
  526. ";
  527. }
  528. // line 233
  529. yield " </div>
  530. </div>
  531. ";
  532. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  533. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  534. yield from [];
  535. }
  536. /**
  537. * @codeCoverageIgnore
  538. */
  539. public function getTemplateName(): string
  540. {
  541. return "themes/theme/casestudies/casestudy.html.twig";
  542. }
  543. /**
  544. * @codeCoverageIgnore
  545. */
  546. public function isTraitable(): bool
  547. {
  548. return false;
  549. }
  550. /**
  551. * @codeCoverageIgnore
  552. */
  553. public function getDebugInfo(): array
  554. {
  555. 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,);
  556. }
  557. public function getSourceContext(): Source
  558. {
  559. return new Source("<script type=\"application/ld+json\">
  560. {
  561. \"@context\": \"https://schema.org\",
  562. \"@type\": \"Article\",
  563. \"headline\": \"{{ study.title }}\",
  564. \"author\": {
  565. \"@type\": \"Organization\",
  566. \"name\": \"{{ sitename }}\"
  567. },
  568. \"datePublished\": \"{{ study.createdAt|date('c') }}\",
  569. \"dateModified\": \"{{ study.updatedAt|date('c') }}\",
  570. \"image\": {
  571. \"@type\": \"ImageObject\",
  572. \"url\": \"{{ siteurl }}{{ imageCache('/' ~ study.getFullImage2Path, 'zoomCrop', 800, 600) }}\",
  573. \"width\": 800,
  574. \"height\": 600
  575. },
  576. \"about\": {
  577. \"@type\": \"Project\",
  578. \"name\": \"{{ study.projectName }}\",
  579. \"startDate\": \"{{ study.projectStartDate|date('F n, Y') }}\",
  580. \"location\": {
  581. \"@type\": \"Place\"{% if study.projectLocation %},
  582. \"name\": \"{{ study.projectLocation }}\"{% endif %}
  583. },
  584. \"description\": \"{{ study.kicker|raw|nl2br|striptags }}\"
  585. },
  586. \"articleBody\": \"{{ study.detailContent|html_entity_decode|replace({'\\n': ' ', '\\r': ' '})|striptags }}\"
  587. }
  588. </script>
  589. <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) }}\">
  590. <div class=\"container relative z-20\">
  591. <div class=\"row\">
  592. <div class=\"xl:col-4 lg:col-6\">
  593. <h1>{{ allowInlineEditor(study, 'title')|raw }}</h1>
  594. </div>
  595. </div>
  596. <div class=\"row\">
  597. <div class=\"xl:col-6 lg:col-8 text-lg\">
  598. {{ allowInlineEditor(study, 'kicker')|raw }}
  599. </div>
  600. </div>
  601. </div>
  602. </div>
  603. <section class=\"mb-12\">
  604. <div class=\"container\">
  605. <div class=\"row\">
  606. {% if study.image %}
  607. <div class=\"md:col-4 mb-6 md:mb-0\">
  608. <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\" />
  609. </div>
  610. {% endif %}
  611. {% if study.projectName %}
  612. <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\">
  613. <p class=\"text-sm mb-0 text-secondary\"><strong>Project</strong></p>
  614. <h3 class=\"capitalize text-dark mt-0 mb-0\">{{ allowInlineEditor(study, 'projectName')|raw }}</h3>
  615. </div>
  616. {% endif %}
  617. {% if study.projectType %}
  618. <div class=\"md:col-4 md:border-l md:border-dark md:pl-4 md:flex md:flex-col md:justify-center\">
  619. <p class=\"text-sm mb-0 text-secondary\"><strong>Project Type</strong></p>
  620. <h3 class=\"capitalize text-dark mt-0 mb-0\">{{ study.projectType }}</h3>
  621. </div>
  622. {% endif %}
  623. </div>
  624. </div>
  625. </section>
  626. {% if study.detailContent %}
  627. <section class=\"mb-12\">
  628. <div class=\"container\">
  629. <div class=\"row\">
  630. <div class=\"md:col-6 mb-6 md:mb-0\">
  631. <img class=\"max-w-full h-auto\" src=\"{{ imageCache('/' ~ study.getFullImage2Path, 'zoomCrop', 1140, 840) }}\" alt=\"{{ study.detailSubtitle }}\" loading=\"lazy\" />
  632. </div>
  633. <div class=\"md:col-6 text-lg cms-area\">
  634. {# THE DETAIL #}
  635. {% if study.detailSubtitle %}
  636. {# <p class=\"text-sm mb-0 uppercase text-secondary\"><strong>{{ allowInlineEditor(study, 'detailSubtitle')|raw }}</strong></p> #}
  637. <h2 class=\"text-3xl mt-0 mb-8\">{{ allowInlineEditor(study, 'detailSubtitle')|raw }}</h2>
  638. {% endif %}
  639. {{ allowInlineEditor(study, 'detailContent')|raw }}
  640. </div>
  641. </div>
  642. </div>
  643. </section>
  644. {% endif %}
  645. {% if study.challengesContent %}
  646. <section class=\"bg-primary text-white py-16 mb-12\">
  647. <div class=\"container\">
  648. <div class=\"row\">
  649. <div class=\"md:col-6 text-lg order-2 md:order-1 cms-area\">
  650. {% if study.challengesSubtitle %}
  651. {# <p class=\"text-sm mb-0 text-white uppercase\"><strong>The Challenges</strong></p> #}
  652. <h2 class=\"text-3xl mt-0 mb-8 text-white\">{{ allowInlineEditor(study, 'challengesSubtitle')|raw }}</h2>
  653. {% endif %}
  654. {{ allowInlineEditor(study, 'challengesContent')|raw }}
  655. </div>
  656. <div class=\"md:col-6 order-1 md:order-2 mb-12 md:mb-0\">
  657. <img class=\"max-w-full h-auto\" src=\"{{ imageCache('/' ~ study.getFullImage3Path, 'zoomCrop', 1140, 840) }}\" alt=\"{{ study.challengesSubtitle }}\" loading=\"lazy\" />
  658. </div>
  659. </div>
  660. </div>
  661. </section>
  662. {% endif %}
  663. {% if study.solutionContent %}
  664. <section class=\"mb-12\">
  665. <div class=\"container\">
  666. <div class=\"row\">
  667. <div class=\"md:col-6 mb-6 md:mb-0\">
  668. <img class=\"max-w-full h-auto\" src=\"{{ imageCache('/' ~ study.getFullImage4Path, 'zoomCrop', 1140, 840) }}\" alt=\"{{ study.solutionSubtitle }}\" loading=\"lazy\" />
  669. </div>
  670. <div class=\"md:col-6 text-lg cms-area\">
  671. {% if study.solutionSubtitle %}
  672. {# <p class=\"text-sm mb-0 uppercase text-secondary\"><strong>The Solution</strong></p> #}
  673. <h2 class=\"text-3xl mt-0 mb-8\">{{ allowInlineEditor(study, 'solutionSubtitle')|raw }}</h2>
  674. {% endif %}
  675. {{ allowInlineEditor(study, 'solutionContent')|raw }}
  676. </div>
  677. </div>
  678. </div>
  679. </section>
  680. {% endif %}
  681. {% if study.projectStartDate or study.projectDuration or study.projectBudget or study.projectLocation %}
  682. <section class=\"bg-dark py-16 mb-12 text-white text-center\">
  683. <div class=\"container\">
  684. <div class=\"row\">
  685. {% if study.projectStartDate %}
  686. <div class=\"md:col-3 sm:col-6 mb-12 md:mb-0\">
  687. <i class=\"fa-solid fa-calendar-days text-green text-5xl mb-6\"></i>
  688. <h5 class=\"uppercase text-white mb-0\">{{ study.projectStartDate|date('M Y') }}</h5>
  689. </div>
  690. {% endif %}
  691. {% if study.projectDuration %}
  692. <div class=\"md:col-3 sm:col-6 mb-12 md:mb-0\">
  693. <i class=\"fa-solid fa-clock text-green text-5xl mb-6\"></i>
  694. <h5 class=\"uppercase text-white mb-0\">{{ allowInlineEditor(study, 'projectDuration')|raw }}</h5>
  695. </div>
  696. {% endif %}
  697. {% if study.projectBudget %}
  698. <div class=\"md:col-3 sm:col-6 mb-12 sm:mb-0\">
  699. <i class=\"fa-solid fa-coin text-green text-5xl mb-6\"></i>
  700. <h5 class=\"uppercase text-white mb-0\">{{ allowInlineEditor(study, 'projectBudget')|raw }}</h5>
  701. </div>
  702. {% endif %}
  703. {% if study.projectLocation %}
  704. <div class=\"md:col-3 sm:col-6\">
  705. <i class=\"fa-solid fa-location-crosshairs text-green text-5xl mb-6\"></i>
  706. <h5 class=\"uppercase text-white mb-0\">{{ allowInlineEditor(study, 'projectLocation')|raw }}</h5>
  707. </div>
  708. {% endif %}
  709. </div>
  710. </div>
  711. </section>
  712. {% endif %}
  713. {% if study.gallery and study.gallery.galleryImages|length > 0 %}
  714. <div class=\"container mb-4\">
  715. <div class=\"row\">
  716. <div class=\"col-12 text-center\">
  717. <h3 class=\"text-green mb-8 mt-0\">Project Gallery</h3>
  718. {% if study.gallery.content %}
  719. <div class=\"mb-12\">
  720. {{ allowInlineEditor(study.gallery, 'content')|raw }}
  721. </div>
  722. {% endif %}
  723. </div>
  724. </div>
  725. <div class=\"row\">
  726. {% for image in study.gallery.galleryImages %}
  727. {% if image.file %}
  728. <div class=\"lg:col-6 mb-8\">
  729. <video class=\"w-full h-auto\" src=\"{{ image.getFileUrl() }}\" controls></video>
  730. </div>
  731. {% else %}
  732. <div class=\"lg:col-6 mb-8\">
  733. <img class=\"max-w-full h-auto\" src=\"{{ imageCache('/'~ image.getFullImagePath, 'zoomCrop', 1140, 640) }}\" alt=\"{{ image.title }}\" loading=\"lazy\" />
  734. </div>
  735. {% endif %}
  736. {% endfor %}
  737. </div>
  738. </div>
  739. {% endif %}
  740. {% if study.testimonial and study.testimonial.active and not study.testimonial.deleted %}
  741. <section class=\"mb-12\">
  742. <div class=\"container\">
  743. <div class=\"row\">
  744. <div class=\"col-12\">
  745. <div class=\"w-full flex flex-col justify-center items-center text-center\">
  746. <h3 class=\"mb-8 mt-0 text-green\">What the Client Said</h3>
  747. {% if study.testimonial.image %}
  748. <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\" />
  749. {% endif %}
  750. <a href=\"{{ generatePath(app.request, study.testimonial.linkedPageId, { 'testimonial_slug': study.testimonial.slug }) }}\" class=\"text-dark\">
  751. <p class=\"text-xl font-light mb-2\">{{ allowInlineEditor(study.testimonial, 'content')|nl2br }}</p>
  752. <p class=\"text-sm font-bold mb-0 text-secondary\">{{ allowInlineEditor(study.testimonial, 'attestant')|raw }}</p>
  753. <p class=\"text-sm text-secondary\">{{ allowInlineEditor(study.testimonial, 'jobTitle')|raw }}</p>
  754. </a>
  755. </div>
  756. </div>
  757. </div>
  758. </div>
  759. </section>
  760. {% endif %}
  761. <div class=\"bg-secondary mb-12 relative text-white py-7\">
  762. <div class=\"container\">
  763. {% if prev or next %}
  764. <div class=\"row team-pagination\">
  765. {% if prev %}
  766. <div class=\"{% if next %}col-6{% else %}col-12{% endif %}\">
  767. <a class=\"prev\" href=\"{{ generatePath( app.request, prev.linkedPageId, {'caseStudy_slug' : prev.slug } ) }}\">
  768. Previous <span class=\"hidden md:inline-block\">Case Study</span>
  769. </a>
  770. </div>
  771. {% endif %}
  772. {% if next %}
  773. <div class=\"{% if prev %}col-6{% else %}col-12{% endif %} text-right\">
  774. <a class=\"next\" href=\"{{ generatePath( app.request, next.linkedPageId, {'caseStudy_slug' : next.slug } ) }}\">
  775. Next <span class=\"hidden md:inline-block\">Case Study</span>
  776. </a>
  777. </div>
  778. {% endif %}
  779. </div>
  780. {% endif %}
  781. </div>
  782. </div>
  783. ", "themes/theme/casestudies/casestudy.html.twig", "/var/www/html/k/kasscaffolding/templates/themes/theme/casestudies/casestudy.html.twig");
  784. }
  785. }