<?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;
/* content/home.html.twig */
class __TwigTemplate_9019ecefc71b5600c58bed3e47ebf2ec extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/home.html.twig"));
$this->parent = $this->loadTemplate("layout/layout.html.twig", "content/home.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
yield "
\t";
// line 8
if ((CoreExtension::getAttribute($this->env, $this->source, 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.', 8, $this->source); })()), "request", [], "any", false, false, false, 8), "locale", [], "any", false, false, false, 8) == "en")) {
// line 9
yield "\t\t";
$context["weblink"] = "en";
// line 10
yield "\t";
} else {
// line 11
yield "\t\t";
$context["weblink"] = "ar";
// line 12
yield "\t";
}
// line 13
yield "
\t<!--Start Main Slider-->
\t<!-- class added autoplay-banner-section -->
\t<section class=\"main-slider-section autoplay-banner-section main-home-slider-banner\">
\t\t<div class=\"container container-lg\">
\t\t\t<div class=\"custom-slider singal-slider main-slider\">
\t\t\t\t";
// line 20
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["home_slider"]) || array_key_exists("home_slider", $context) ? $context["home_slider"] : (function () { throw new RuntimeError('Variable "home_slider" does not exist.', 20, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["slide"]) {
// line 21
yield "\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
\t\t\t\t\t\t\t";
// line 23
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "slider_video", [], "any", false, true, false, 23), "data", [], "any", false, true, false, 23), "data", [], "any", true, true, false, 23)) {
// line 24
yield "\t\t\t\t\t\t\t\t<video poster=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "slider_image", [], "any", false, false, false, 24), "data", [], "any", false, false, false, 24), "html", null, true);
yield "\" autoplay loop muted playsinline preload=\"auto\">
\t\t\t\t\t\t\t\t\t<source src=\"";
// line 25
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "slider_video", [], "any", false, false, false, 25), "data", [], "any", false, false, false, 25), "data", [], "any", false, false, false, 25), "html", null, true);
yield "\" type=\"video/mp4\">Your browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t";
} else {
// line 28
yield "\t\t\t\t\t\t\t\t<video
\t\t\t\t\t\t\t\t\tposter=\"";
// line 29
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "slider_image", [], "any", false, false, false, 29), "data", [], "any", false, false, false, 29), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t";
// line 31
yield "\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t\t<img src=\"";
// line 33
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "slider_image", [], "any", false, false, false, 33), "data", [], "any", false, false, false, 33), "html", null, true);
yield "\" alt=\"\">
\t\t\t\t\t\t\t";
}
// line 35
yield "
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
\t\t\t\t\t\t\t";
// line 38
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "slider_video", [], "any", false, true, false, 38), "data", [], "any", false, true, false, 38), "data", [], "any", true, true, false, 38)) {
// line 39
yield "\t\t\t\t\t\t\t\t<video poster=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "slider_image_mobile", [], "any", false, false, false, 39), "data", [], "any", false, false, false, 39), "html", null, true);
yield "\" autoplay loop muted playsinline preload=\"auto\">
\t\t\t\t\t\t\t\t\t<source src=\"";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "slider_video_mobile", [], "any", false, false, false, 40), "data", [], "any", false, false, false, 40), "data", [], "any", false, false, false, 40), "html", null, true);
yield "\" type=\"video/mp4\">Your browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t";
} else {
// line 43
yield "\t\t\t\t\t\t\t\t<video
\t\t\t\t\t\t\t\t\tposter=\"";
// line 44
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "slider_image_mobile", [], "any", false, false, false, 44), "data", [], "any", false, false, false, 44), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t";
// line 46
yield "\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t";
}
// line 49
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"silde-content-box \">
\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t";
// line 53
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 53) == 100)) {
// line 54
yield "\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/ZADK-HomeSlider_logo.png\" alt=\"\">
\t\t\t\t\t\t\t\t\t<h3 class=\"my-lg-5 my-4\">";
// line 55
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Presents"), "html", null, true);
yield "</h3>
\t\t\t\t\t\t\t\t";
}
// line 57
yield "\t\t\t\t\t\t\t\t<h1>
\t\t\t\t\t\t\t\t\t";
// line 58
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 58) == 1)) {
// line 59
yield "\t\t\t\t\t\t\t\t\t<span class=\"title-lg d-block Slide1stHome\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "localizedfields", [], "any", false, false, false, 59), "data", [], "any", false, false, false, 59), "getLocalizedValue", ["heading"], "method", false, false, false, 59), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"title-sm underline-end\">";
// line 60
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "localizedfields", [], "any", false, false, false, 60), "data", [], "any", false, false, false, 60), "getLocalizedValue", ["heading1"], "method", false, false, false, 60), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t";
} else {
// line 62
yield "\t\t\t\t\t\t\t\t\t<span class=\"title-sm d-block\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "localizedfields", [], "any", false, false, false, 62), "data", [], "any", false, false, false, 62), "getLocalizedValue", ["heading"], "method", false, false, false, 62), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t<span class=\"title-lg underline-end\">";
// line 63
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "localizedfields", [], "any", false, false, false, 63), "data", [], "any", false, false, false, 63), "getLocalizedValue", ["heading1"], "method", false, false, false, 63), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t";
}
// line 65
yield "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 68
yield "\t\t\t\t\t\t\t\t</h1>
\t\t\t\t\t\t\t\t";
// line 69
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "localizedfields", [], "any", false, false, false, 69), "data", [], "any", false, false, false, 69), "getLocalizedValue", ["url"], "method", false, false, false, 69))) {
// line 70
yield "\t\t\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 70) == 1)) {
// line 71
yield "\t\t\t\t\t\t\t\t\t\t\t";
$context["user"] = CoreExtension::getAttribute($this->env, $this->source, 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.', 71, $this->source); })()), "session", [], "any", false, false, false, 71), "get", ["loginUserName"], "method", false, false, false, 71);
// line 72
yield "\t\t\t\t\t\t\t\t\t\t\t";
if ( !(null === (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 72, $this->source); })()))) {
// line 73
yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "localizedfields", [], "any", false, false, false, 73), "data", [], "any", false, false, false, 73), "getLocalizedValue", ["url"], "method", false, false, false, 73), "html", null, true);
yield "\" target=\"_blank\" class=\"btn btn-custom btn-lg-o-yellow-white ";
yield (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 73) == 1)) ? ("mt-5") : (""));
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 74
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Explore the Q2 Summer Newsletter"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 77
yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0);\" onclick=\"storePdfForLater('";
yield (((is_string($_v0 = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "localizedfields", [], "any", false, false, false, 77), "data", [], "any", false, false, false, 77), "getLocalizedValue", ["url"], "method", false, false, false, 77)) && is_string($_v1 = "/") && str_starts_with($_v0, $_v1))) ? ("") : ("/"));
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "localizedfields", [], "any", false, false, false, 77), "data", [], "any", false, false, false, 77), "getLocalizedValue", ["url"], "method", false, false, false, 77), "html", null, true);
yield "')\" class=\"btn btn-custom btn-lg-o-yellow-white ";
yield (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 77) == 1)) ? ("mt-5") : (""));
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 78
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Explore the Q2 Summer Newsletter"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 81
yield "\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t";
} else {
// line 83
yield "\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 83, $this->source); })()), "request", [], "any", false, false, false, 83), "locale", [], "any", false, false, false, 83), "html", null, true);
yield "/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slide"], "localizedfields", [], "any", false, false, false, 83), "data", [], "any", false, false, false, 83), "getLocalizedValue", ["url"], "method", false, false, false, 83), "html", null, true);
yield "\" class=\"btn btn-custom btn-lg-o-yellow-white ";
yield (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 83) == 1)) ? ("mt-5") : (""));
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 84
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Start Your Journey"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t";
}
// line 87
yield "\t\t\t\t\t\t\t\t\t\t";
// line 88
yield "
\t\t\t\t\t\t\t";
}
// line 90
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['slide'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 94
yield "\t\t</div>
\t</div>
</section>
<!--End Main Slider-->
<!--Start Brands Tab Section-->
<section class=\"BrandSectionNew\">
\t<div class=\"container container-lg\">
\t\t<div class=\"brandTabs\">
\t\t\t<div class=\"brandTitleMain\">
\t\t\t\t";
// line 105
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Our Brands"), "html", null, true);
yield "
\t\t\t</div>
\t\t\t<div class=\"brandLinks\">
\t\t\t\t<ul>
\t\t\t\t\t";
// line 109
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["brands"]) || array_key_exists("brands", $context) ? $context["brands"] : (function () { throw new RuntimeError('Variable "brands" does not exist.', 109, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["brand"]) {
// line 110
yield "\t\t\t\t\t<li class=\"tabBrand-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 110), "html", null, true);
yield "\">
\t\t\t\t\t\t<img class=\"colored\" src=\"";
// line 111
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["brand"], "ColoredImage", [], "any", false, false, false, 111), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["brand"], "name", [], "any", false, false, false, 111), "html", null, true);
yield "\">
\t\t\t\t\t\t<img class=\"white-colored\" src=\"";
// line 112
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["brand"], "WhiteColoredImage", [], "any", false, false, false, 112), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["brand"], "name", [], "any", false, false, false, 112), "html", null, true);
yield "-color\">
\t\t\t\t\t</li>
\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['brand'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 115
yield "\t\t\t\t</ul>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"brandWrapper\">
\t\t\t";
// line 119
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["brands"]) || array_key_exists("brands", $context) ? $context["brands"] : (function () { throw new RuntimeError('Variable "brands" does not exist.', 119, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["brand"]) {
// line 120
yield "\t\t\t<div class=\"brandTabContent-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 120), "html", null, true);
yield " brandTabContent\">
\t\t\t\t<div class=\"brandImg\">
\t\t\t\t\t<img src=\"";
// line 122
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["brand"], "bannerSliderImage", [], "any", false, false, false, 122), "html", null, true);
yield "\" alt=\"\">
\t\t\t\t</div>
\t\t\t\t<div class=\"brandContent\">
\t\t\t\t\t<div class=\"imgLogo\">
\t\t\t\t\t\t<img src=\"";
// line 126
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["brand"], "WhiteColoredImage", [], "any", false, false, false, 126), "html", null, true);
yield "\" alt=\"\">
\t\t\t\t\t</div>
\t\t\t\t\t<span class=\"subTitle\">
\t\t\t\t\t\t";
// line 129
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Our Brands"), "html", null, true);
yield "
\t\t\t\t\t</span>
\t\t\t\t\t<h2 class=\"brandTitle\">
\t\t\t\t\t\t";
// line 132
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["brand"], "name", [], "any", false, false, false, 132), "html", null, true);
yield "
\t\t\t\t\t</h2>
\t\t\t\t\t<p class=\"brandDesc\">
\t\t\t\t\t\t";
// line 135
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["brand"], "homeBannerDescription", [], "any", false, false, false, 135), "html", null, true);
yield "
\t\t\t\t\t</p>
\t\t\t\t\t<a href=\"/";
// line 137
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 137, $this->source); })()), "request", [], "any", false, false, false, 137), "locale", [], "any", false, false, false, 137), "html", null, true);
yield "/brand/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["brand"], "url", [], "any", false, false, false, 137), "html", null, true);
yield "\" class=\"btn btn-custom btn-lg-o-black\">
\t\t\t\t\t\t";
// line 138
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Explore The Range"), "html", null, true);
yield "
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['brand'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 143
yield "\t\t</div>
\t</div>
</section>
<section class=\"brands-section\">
\t<div class=\"container container-lg\">
\t\t<!--Start Brands Tab Content-->
\t\t<div class=\"tab-content brands-section-content \" id=\"nav-tabContent\">
\t\t\t<h2 class=\"heading categories__tag\">";
// line 153
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Our Categories"), "html", null, true);
yield "</h2>
\t\t\t<!--Start Brand Recipes-->
\t\t\t\t<div class=\"brand-recipes\">
\t\t\t\t\t<div class=\"custom-slider brand-recipes-slider\">
\t\t\t\t\t\t";
// line 157
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 157, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 158
yield "\t\t\t\t\t\t";
// line 159
yield "\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 159) && CoreExtension::getAttribute($this->env, $this->source, $context["category"], "description", [], "any", false, false, false, 159))) {
// line 160
yield "\t\t\t\t\t <div class=\"slide\">
\t\t\t\t\t\t<div class=\"card\">
\t\t\t\t\t\t\t<h3>";
// line 162
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 162), "html", null, true);
yield "</h3>
\t\t\t\t\t\t\t<div class=\"category_short_desc\">
\t\t\t\t\t\t\t\t<p>";
// line 164
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "description", [], "any", false, false, false, 164), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"i_imgbox\">
\t\t\t\t\t\t\t\t<figure>
\t\t\t\t\t\t\t\t\t";
// line 169
if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "cat_image", [], "any", false, false, false, 169)) {
// line 170
yield "\t\t\t\t\t\t\t\t\t\t";
// line 171
yield "\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["category"], "cat_image", [], "any", false, false, false, 171), "thumbnail", ["194x150"], "method", false, false, false, 171), "getHTML", [["imgAttributes" => ["class" => "", "alt" => CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 171)]]], "method", false, false, false, 171);
yield "
\t\t\t\t\t\t\t\t\t";
}
// line 174
yield "\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"btn__action__area\">
\t\t\t\t\t\t\t\t";
// line 177
if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "url", [], "any", true, true, false, 177)) {
// line 178
yield "\t\t\t\t\t\t\t\t\t<a href=\"/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 178, $this->source); })()), "request", [], "any", false, false, false, 178), "locale", [], "any", false, false, false, 178), "html", null, true);
yield "/products/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "url", [], "any", false, false, false, 178), "html", null, true);
yield "\" class=\"btn btn-custom btn-lg-o-black\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Know More"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t";
}
// line 180
yield "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t </div>
\t\t\t\t\t ";
}
// line 184
yield "\t\t\t\t\t ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['category'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 185
yield "\t\t\t\t
\t\t\t\t\t <!-- Duplicate the block above for more slides -->
\t\t\t\t\t
\t\t\t\t\t</div>
\t\t\t\t </div>
\t\t\t\t
\t\t\t<!--End Brand Recipes-->
\t\t</div>
\t\t<!--End Brands Tab Content-->
\t</div>
</section>
<!--End Brands Tab Section-->
<!--Start Featured Section-->
<section class=\"featured-section featured-section-home featured-products-home-section\">
\t<div class=\"container container-lg\">
\t\t<h2 class=\"heading\">";
// line 203
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Featured Products"), "html", null, true);
yield "</h2>
\t\t<div class=\"featured-slider\">
\t\t\t";
// line 205
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["featured_products"]) || array_key_exists("featured_products", $context) ? $context["featured_products"] : (function () { throw new RuntimeError('Variable "featured_products" does not exist.', 205, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["featured_product"]) {
// line 206
yield "\t\t\t\t<div class=\"slide\">
\t\t\t\t\t";
// line 207
yield from $this->loadTemplate("/includes/product-card.html.twig", "content/home.html.twig", 207)->unwrap()->yield(CoreExtension::merge($context, ["featured_product" => // line 208
$context["featured_product"], "LikedId" => // line 209
(isset($context["LikedId"]) || array_key_exists("LikedId", $context) ? $context["LikedId"] : (function () { throw new RuntimeError('Variable "LikedId" does not exist.', 209, $this->source); })())]));
// line 211
yield "\t\t\t\t</div>
\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['featured_product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 213
yield "\t\t</div>
\t</div>
</section>
<!--End Featured Section-->
<!--Start Info Media-->
<section class=\"info-media info-media-video homeTuna position-bg-img d-none\">
\t<div class=\"container container-sm\">
\t\t<div class=\"info-section\">
\t\t\t<h3>";
// line 222
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["trendingrecipes"]) || array_key_exists("trendingrecipes", $context) ? $context["trendingrecipes"] : (function () { throw new RuntimeError('Variable "trendingrecipes" does not exist.', 222, $this->source); })()), "recipes", [], "any", false, false, false, 222), 0, [], "array", false, false, false, 222), "name", [], "any", false, false, false, 222), "html", null, true);
yield "</h3>
\t\t\t<p>";
// line 223
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["trendingrecipes"]) || array_key_exists("trendingrecipes", $context) ? $context["trendingrecipes"] : (function () { throw new RuntimeError('Variable "trendingrecipes" does not exist.', 223, $this->source); })()), "recipes", [], "any", false, false, false, 223), 0, [], "array", false, false, false, 223), "short_description", [], "any", false, false, false, 223), "html", null, true);
yield "</p>
\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t<li class=\"orders\">";
// line 225
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of "), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" Serving"), "html", null, true);
yield "
\t\t\t\t\t";
// line 226
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["trendingrecipes"]) || array_key_exists("trendingrecipes", $context) ? $context["trendingrecipes"] : (function () { throw new RuntimeError('Variable "trendingrecipes" does not exist.', 226, $this->source); })()), "recipes", [], "any", false, false, false, 226), 0, [], "array", false, false, false, 226), "serves", [], "any", false, false, false, 226), "html", null, true);
yield "</li>
\t\t\t\t<li class=\"time\">";
// line 227
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["trendingrecipes"]) || array_key_exists("trendingrecipes", $context) ? $context["trendingrecipes"] : (function () { throw new RuntimeError('Variable "trendingrecipes" does not exist.', 227, $this->source); })()), "recipes", [], "any", false, false, false, 227), 0, [], "array", false, false, false, 227), "typeofmeal", [], "any", false, false, false, 227)), "html", null, true);
yield "</li>
\t\t\t</ul>
\t\t\t<div class=\"btn-holder\">
\t\t\t\t<div class=\"btn-button\">
\t\t\t\t\t<a href=\"";
// line 231
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["weblink"]) || array_key_exists("weblink", $context) ? $context["weblink"] : (function () { throw new RuntimeError('Variable "weblink" does not exist.', 231, $this->source); })()), "html", null, true);
yield "/all-recipes/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["trendingrecipes"]) || array_key_exists("trendingrecipes", $context) ? $context["trendingrecipes"] : (function () { throw new RuntimeError('Variable "trendingrecipes" does not exist.', 231, $this->source); })()), "recipes", [], "any", false, false, false, 231), 0, [], "array", false, false, false, 231), "url", [], "any", false, false, false, 231), "html", null, true);
yield "\" class=\"btn btn-custom btn-green\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Discover More"), "html", null, true);
yield "</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"btn-button-2\">
\t\t\t\t\t<a href=\"";
// line 234
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["weblink"]) || array_key_exists("weblink", $context) ? $context["weblink"] : (function () { throw new RuntimeError('Variable "weblink" does not exist.', 234, $this->source); })()), "html", null, true);
yield "/recipes\" class=\"btn btn-custom btn-p-outline-blue\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Search Recipes"), "html", null, true);
yield "</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"media-section media-section-01\">
\t\t\t";
// line 240
if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["trendingrecipes"]) || array_key_exists("trendingrecipes", $context) ? $context["trendingrecipes"] : (function () { throw new RuntimeError('Variable "trendingrecipes" does not exist.', 240, $this->source); })()), "recipes", [], "any", false, false, false, 240), 0, [], "array", false, false, false, 240), "banner_video", [], "any", false, false, false, 240))) {
// line 241
yield "\t\t\t\t<video poster=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["trendingrecipes"]) || array_key_exists("trendingrecipes", $context) ? $context["trendingrecipes"] : (function () { throw new RuntimeError('Variable "trendingrecipes" does not exist.', 241, $this->source); })()), "recipes", [], "any", false, false, false, 241), 0, [], "array", false, false, false, 241), "featured_image", [], "any", false, false, false, 241), "html", null, true);
yield "\"></video>
\t\t\t";
} else {
// line 243
yield "\t\t\t\t<video poster=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["trendingrecipes"]) || array_key_exists("trendingrecipes", $context) ? $context["trendingrecipes"] : (function () { throw new RuntimeError('Variable "trendingrecipes" does not exist.', 243, $this->source); })()), "recipes", [], "any", false, false, false, 243), 0, [], "array", false, false, false, 243), "featured_image", [], "any", false, false, false, 243), "html", null, true);
yield "\" preload=\"auto\" loop=\"true\" autoplay=\"true\" muted=\"true\">
\t\t\t\t\t<source src=\"";
// line 244
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["trendingrecipes"]) || array_key_exists("trendingrecipes", $context) ? $context["trendingrecipes"] : (function () { throw new RuntimeError('Variable "trendingrecipes" does not exist.', 244, $this->source); })()), "recipes", [], "any", false, false, false, 244), 0, [], "array", false, false, false, 244), "banner_video", [], "any", false, false, false, 244), "data", [], "any", false, false, false, 244), "html", null, true);
yield "\" type=\"video/mp4\">
\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t</video>
\t\t\t";
}
// line 248
yield "\t\t</div>
\t</div>
\t";
// line 252
yield from $this->loadTemplate("layout/baseimage.html.twig", "content/home.html.twig", 252)->unwrap()->yield($context);
// line 253
yield "</section>
<!--End Info Media-->
";
// line 256
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "content", ["allowed" => ["our-culinary-champions"], "sorting" => ["our-culinary-champions"]]);
// line 261
yield "
<!--Start Featured Recipes Section-->
<section class=\"featured-recipes-section featured-recipes-section-home recipes-two-home\">
\t<div class=\"container container-sm\">
\t\t<h2 class=\"heading\">";
// line 266
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Featured Recipes"), "html", null, true);
yield "</h2>
\t\t<div class=\"featured-recipes\">
\t\t\t<div class=\"custom-slider featured-recipes-slider home_recipe__slider\">
\t\t\t\t";
// line 270
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["featured_recipes"]) || array_key_exists("featured_recipes", $context) ? $context["featured_recipes"] : (function () { throw new RuntimeError('Variable "featured_recipes" does not exist.', 270, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["featured_recipe"]) {
// line 271
yield "\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t<a href=\"";
// line 273
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["weblink"]) || array_key_exists("weblink", $context) ? $context["weblink"] : (function () { throw new RuntimeError('Variable "weblink" does not exist.', 273, $this->source); })()), "html", null, true);
yield "/all-recipes/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "url", [], "any", false, false, false, 273), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t<a href=\"";
// line 274
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["weblink"]) || array_key_exists("weblink", $context) ? $context["weblink"] : (function () { throw new RuntimeError('Variable "weblink" does not exist.', 274, $this->source); })()), "html", null, true);
yield "/all-recipes/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "url", [], "any", false, false, false, 274), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t<figure
\t\t\t\t\t\t\t\t\t\tclass=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t";
// line 278
yield "\t\t\t\t\t\t\t\t\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "featured_image", [], "any", false, false, false, 278)) {
// line 279
yield "\t\t\t\t\t\t\t\t\t\t\t";
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "featured_image", [], "any", false, false, false, 279), "thumbnail", ["354x244"], "method", false, false, false, 279), "getHTML", [["imgAttributes" => ["class" => "", "alt" => CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "name", [], "any", false, false, false, 279)]]], "method", false, false, false, 279);
yield "
\t\t\t\t\t\t\t\t\t\t";
}
// line 282
yield "
\t\t\t\t\t\t\t\t\t\t";
// line 283
if (CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "banner_video", [], "any", false, false, false, 283)) {
// line 284
yield "\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t\t\t\t\t";
}
// line 286
yield "\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 289
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["weblink"]) || array_key_exists("weblink", $context) ? $context["weblink"] : (function () { throw new RuntimeError('Variable "weblink" does not exist.', 289, $this->source); })()), "html", null, true);
yield "/all-recipes/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "url", [], "any", false, false, false, 289), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t<h3>";
// line 290
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "name", [], "any", false, false, false, 290), "html", null, true);
yield "</h3>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<p>";
// line 292
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "short_description", [], "any", false, false, false, 292), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t\t\t<ul
\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t";
// line 296
yield "\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of"), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Serving"), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t\t";
// line 297
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "serves", [], "any", false, false, false, 297), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t\t<li class=\"time\">";
// line 298
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "typeofmeal", [], "any", false, false, false, 298)), "html", null, true);
yield "</li>
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t\t\t<a href=\"/";
// line 302
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 302, $this->source); })()), "request", [], "any", false, false, false, 302), "locale", [], "any", false, false, false, 302), "html", null, true);
yield "/all-recipes/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["featured_recipe"], "url", [], "any", false, false, false, 302), "html", null, true);
yield "\" class=\"btn btn-custom btn-lg-o-black\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View Recipe"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['featured_recipe'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 308
yield "
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Featured Recipes Section-->
\t<!--Start GFS Loyalty Program-->
\t";
// line 317
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "content-loyalty", ["allowed" => ["loyalty-banner"]]);
// line 322
yield "
\t<section class=\"info-media loyalty-program loyalty-program-home loyalty-program-inner d-none\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"info-section\">
\t\t\t\t<h5>";
// line 327
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Loyalty Program"), "html", null, true);
yield "</h5>
\t\t\t\t<h4>";
// line 328
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["loyaltybanner"]) || array_key_exists("loyaltybanner", $context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.', 328, $this->source); })()), "sliders", [], "any", false, false, false, 328), 0, [], "array", false, false, false, 328), "localizedfields", [], "any", false, false, false, 328), "data", [], "any", false, false, false, 328), "getLocalizedValue", ["heading"], "method", false, false, false, 328), "html", null, true);
yield "</h4>
\t\t\t\t<h3>";
// line 329
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["loyaltybanner"]) || array_key_exists("loyaltybanner", $context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.', 329, $this->source); })()), "sliders", [], "any", false, false, false, 329), 0, [], "array", false, false, false, 329), "localizedfields", [], "any", false, false, false, 329), "data", [], "any", false, false, false, 329), "getLocalizedValue", ["heading1"], "method", false, false, false, 329), "html", null, true);
yield "</h3>
\t\t\t\t<p>";
// line 330
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["loyaltybanner"]) || array_key_exists("loyaltybanner", $context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.', 330, $this->source); })()), "sliders", [], "any", false, false, false, 330), 0, [], "array", false, false, false, 330), "localizedfields", [], "any", false, false, false, 330), "data", [], "any", false, false, false, 330), "getLocalizedValue", ["description"], "method", false, false, false, 330), "html", null, true);
yield "</p>
\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t<a href=\"/";
// line 335
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 335, $this->source); })()), "request", [], "any", false, false, false, 335), "locale", [], "any", false, false, false, 335), "html", null, true);
yield "/loyalty-program\" class=\"btn btn-custom btn-green\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Discover More"), "html", null, true);
yield "</a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"newsletter-subscribe\">
\t\t\t\t\t\t<h4>\"";
// line 338
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming Soon"), "html", null, true);
yield "\"</h4>
\t\t\t\t\t</div>
\t\t\t\t\t";
// line 341
if ((null === CoreExtension::getAttribute($this->env, $this->source, 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.', 341, $this->source); })()), "session", [], "any", false, false, false, 341), "get", ["loginUserName"], "method", false, false, false, 341))) {
// line 342
yield "\t\t\t\t\t\t<div class=\"btn-border btn-border-black d-none\">
\t\t\t\t\t\t\t<a href=\"/";
// line 343
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 343, $this->source); })()), "request", [], "any", false, false, false, 343), "locale", [], "any", false, false, false, 343), "html", null, true);
yield "/signup\" class=\"btn btn-custom btn-lg-o-black\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign-up Now!"), "html", null, true);
yield "</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 346
yield "\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"media-section\">
\t\t\t\t<img src=\"";
// line 350
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["loyaltybanner"]) || array_key_exists("loyaltybanner", $context) ? $context["loyaltybanner"] : (function () { throw new RuntimeError('Variable "loyaltybanner" does not exist.', 350, $this->source); })()), "sliders", [], "any", false, false, false, 350), 0, [], "array", false, false, false, 350), "slider_image", [], "any", false, false, false, 350), "data", [], "any", false, false, false, 350), "html", null, true);
yield "\" alt=\"loyaltybanner banner\">
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End GFS Loyalty Program-->
\t<!--Start Training Today Section-->
\t<section class=\"start-training start-training-home home-start-training-section-edited\">
\t\t<div class=\"container container-lg\">
\t\t\t<div class=\"media-box slide-media-desktop\">
\t\t\t\t<img src=\"/static/assets/images/training.jpg\" alt=\"training dextop image\">
\t\t\t</div>
\t\t\t<div class=\"media-box slide-media-mobile\">
\t\t\t\t<img src=\"/static/assets/images/Home_page_training.jpg\" alt=\"training mobile image\">
\t\t\t</div>
\t\t\t<div class=\"start-training-info\">
\t\t\t\t<h5 class=\"text-white\">";
// line 369
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Training"), "html", null, true);
yield "</h5>
\t\t\t\t<h3 class=\"text-white\">";
// line 370
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Get Tips, Craft Skills and Master Techniques"), "html", null, true);
yield ".</h3>
\t\t\t\t<p>";
// line 371
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Training_home_page_desc"), "html", null, true);
yield "</p>
\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t<a href=\"/";
// line 374
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 374, $this->source); })()), "request", [], "any", false, false, false, 374), "locale", [], "any", false, false, false, 374), "html", null, true);
yield "/professional-training\" class=\"btn btn-custom btn-lg-o-black\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Start Training Today!"), "html", null, true);
yield "</a>
\t\t\t\t</div>
\t\t\t<hr class=\"customHr\" />
\t\t\t\t<ul class=\"list-unstyled info-list\">
\t\t\t\t\t<li><span><img src=\"/static/assets/images/chef_hat_fill.svg\" class=\"img-fluid\" alt=\"\" /></span> ";
// line 378
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("For Chefs"), "html", null, true);
yield "</li>
\t\t\t\t\t<li><span><img src=\"/static/assets/images/staff.svg\" class=\"img-fluid\" alt=\"\" /></span> ";
// line 379
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("For Staff"), "html", null, true);
yield "</li>
\t\t\t\t\t<li><span><img src=\"/static/assets/images/owner.svg\" class=\"img-fluid\" alt=\"\" /></span> ";
// line 380
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("For Owners"), "html", null, true);
yield "</li>
\t\t\t\t\t<li><span><img src=\"/static/assets/images/user_setting_fill.svg\" class=\"img-fluid\" alt=\"\" /></span> ";
// line 381
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("For Managers"), "html", null, true);
yield "</li>
\t\t\t\t</ul>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Training Today Section-->
\t<!--Start Resources Section-->
\t<section class=\"info-media info-resources info-resources-home info__HomeResouce resources__info-home\">
\t\t<div class=\"container container-sm resources-container\">
\t\t\t<div class=\"info-section\">
\t\t\t\t<h5>";
// line 393
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Resources"), "html", null, true);
yield "</h5>
\t\t\t\t<h3>";
// line 394
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["homearticle"]) || array_key_exists("homearticle", $context) ? $context["homearticle"] : (function () { throw new RuntimeError('Variable "homearticle" does not exist.', 394, $this->source); })()), "name", [], "any", false, false, false, 394), "html", null, true);
yield "</h3>
\t\t\t\t<p>";
// line 395
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "resource_dec_1");
yield "</p>
\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t<a href=\"/";
// line 398
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 398, $this->source); })()), "request", [], "any", false, false, false, 398), "locale", [], "any", false, false, false, 398), "html", null, true);
yield "/resource/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["homearticle"]) || array_key_exists("homearticle", $context) ? $context["homearticle"] : (function () { throw new RuntimeError('Variable "homearticle" does not exist.', 398, $this->source); })()), "url", [], "any", false, false, false, 398), "html", null, true);
yield "\" class=\"btn btn-custom btn-green\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Read More"), "html", null, true);
yield "</a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"btn-border btn-border-black\">
\t\t\t\t\t\t<a href=\"/";
// line 401
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 401, $this->source); })()), "request", [], "any", false, false, false, 401), "locale", [], "any", false, false, false, 401), "html", null, true);
yield "/resources\" class=\"btn btn-custom btn-blue-brd\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Discover More"), "html", null, true);
yield "</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div
\t\t\t\tclass=\"media-section\">
\t\t\t\t";
// line 407
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["homearticle"]) || array_key_exists("homearticle", $context) ? $context["homearticle"] : (function () { throw new RuntimeError('Variable "homearticle" does not exist.', 407, $this->source); })()), "image", [], "any", false, false, false, 407)) {
// line 408
yield "\t\t\t\t\t";
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["homearticle"]) || array_key_exists("homearticle", $context) ? $context["homearticle"] : (function () { throw new RuntimeError('Variable "homearticle" does not exist.', 408, $this->source); })()), "image", [], "any", false, false, false, 408), "thumbnail", ["858x592"], "method", false, false, false, 408), "getHTML", [["imgAttributes" => ["class" => "", "alt" => "Home Article Image"]]], "method", false, false, false, 408);
yield "
\t\t\t\t";
}
// line 410
yield "\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Resources Section-->
\t<!--Start Technologies -->
\t<section class=\"technolgies-section technolgies-section-home technology__homBox\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"tech-info home__infoList\">
\t\t\t\t<h5>";
// line 422
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tools"), "html", null, true);
yield "</h5>
\t\t\t\t<h3>";
// line 423
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "toos_heading");
yield "</h3>
\t\t\t\t<p>";
// line 424
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "toos_desc");
yield "</p>
\t\t\t\t<div class=\"newsletter-subscribe\">
\t\t\t\t\t<h4>\"";
// line 426
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming Soon"), "html", null, true);
yield "\"</h4>
\t\t\t\t</div>
\t\t\t\t<div class=\"btn-holder btn-border d-none\">
\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-white\">";
// line 429
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming soon"), "html", null, true);
yield "</a>
\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-white d-none\">Discover More</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"pattran_img\">
\t\t\t\t\t<img src=\"/static/assets/images/pattran_img.png\" alt=\"pattran image\">
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<ul class=\"list-unstyled tech-list\">
\t\t\t\t<li>
\t\t\t\t\t<a href=\"#\">
\t\t\t\t\t<img src=\"/static/assets/images/menu-builder.svg\" alt=\"menu builder image\">
\t\t\t\t\t<h5>";
// line 442
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Menu Builder"), "html", null, true);
yield "</h5>
\t\t\t\t</a>
\t\t\t\t</li>
\t\t\t\t<li>
\t\t\t\t\t<a href=\"#\">
\t\t\t\t\t<img src=\"/static/assets/images/inventory.svg\" alt=\"inventory image\">
\t\t\t\t\t<h5>";
// line 448
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Inventory Manager"), "html", null, true);
yield "</h5>
\t\t\t\t\t</a>
\t\t\t\t</li>
\t\t\t\t<li>
\t\t\t\t\t<a href=\"#\">
\t\t\t\t\t<img src=\"/static/assets/images/training.svg\" alt=\"training image\">
\t\t\t\t\t<h5>";
// line 454
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Training Suggester"), "html", null, true);
yield "</h5>
\t\t\t\t\t</a>
\t\t\t\t</li>
\t\t\t\t<li>
\t\t\t\t\t<a href=\"#\">
\t\t\t\t\t<img src=\"/static/assets/images/calculator.svg\" alt=\"calculator image\">
\t\t\t\t\t<h5>";
// line 460
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Profit Calculator"), "html", null, true);
yield "</h5>
\t\t\t\t\t</a>
\t\t\t\t</li>
\t\t\t</ul>
\t\t\t<div class=\"btn-holder d-none\">
\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-white\">";
// line 467
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming soon"), "html", null, true);
yield "</a>
\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-white d-none\">Discover More</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Technologies -->
\t<script type=\"application/ld+json\">
\t\t{
\t\t\t\t\t\t\t\t\t\t\t\"@context\": \"https://schema.org/\",
\t\t\t\t\t\t\t\t\t\t\t\"@type\": \"WebSite\",
\t\t\t\t\t\t\t\t\t\t\t\"name\": \"Goody Culinary Solutions\",
\t\t\t\t\t\t\t\t\t\t\t\"url\": \"http://goodycs.com/";
// line 481
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 481, $this->source); })()), "request", [], "any", false, false, false, 481), "locale", [], "any", false, false, false, 481), "html", null, true);
yield "\",
\t\t\t\t\t\t\t\t\t\t\t\"potentialAction\": {
\t\t\t\t\t\t\t\t\t\t\t\t\"@type\": \"SearchAction\",
\t\t\t\t\t\t\t\t\t\t\t\t\"target\": \"http://goodycs.com/";
// line 484
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 484, $this->source); })()), "request", [], "any", false, false, false, 484), "locale", [], "any", false, false, false, 484), "html", null, true);
yield "/searchrecipe?{search_term_string}\",
\t\t\t\t\t\t\t\t\t\t\t\t\"query-input\": \"required name=search_term_string\"
\t\t\t\t\t\t\t\t\t\t\t}
\t\t\t\t\t\t\t\t\t\t\t}
\t</script>
\t<script type=\"application/ld+json\">
\t\t{
\t\t\t\t\t\t\t\t\t\t\t\t\t\"@context\": \"https://schema.org\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"@type\": \"Organization\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"name\": \"Goody Culinary Solutions\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"alternateName\": \"Goody Professional\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"url\": \"http://goodycs.com/";
// line 496
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 496, $this->source); })()), "request", [], "any", false, false, false, 496), "locale", [], "any", false, false, false, 496), "html", null, true);
yield "/\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"logo\": \"http://goodycs.com/static/assets/images/GCS_Logo_Header.svg\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"image\": \"http://goodycs.com/static/assets/images/GCS_Logo_Header.svg\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"telephone\": \"( 966) 12 660 4481\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"address\": {
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"@type\": \"PostalAddress\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"addressLocality\": \"Jeddah, Saudi Arabia\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"postalCode\": \"21411\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"streetAddress\": \"26 AA'Lam Al-Islam\"
\t\t\t\t\t\t\t\t\t\t\t\t\t},
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\"sameAs\": [
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"https://twitter.com/gfs_ksa?s=11\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"https://www.linkedin.com/company/goody-culinary-solutions\"
\t\t\t\t\t\t\t\t\t\t\t\t\t]
\t\t\t\t\t\t\t\t\t\t\t\t\t}
\t</script>
\t";
// line 514
if ((CoreExtension::getAttribute($this->env, $this->source, 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.', 514, $this->source); })()), "request", [], "any", false, false, false, 514), "locale", [], "any", false, false, false, 514) == "ar")) {
// line 515
yield "\t\t";
$context["topMenu"] = "/en";
// line 516
yield "\t";
} else {
// line 517
yield "\t\t";
$context["topMenu"] = "/ar";
// line 518
yield "\t";
}
// line 519
yield "\t<script>
\t\tvar _TopMenuLink = \"";
// line 520
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["topMenu"]) || array_key_exists("topMenu", $context) ? $context["topMenu"] : (function () { throw new RuntimeError('Variable "topMenu" does not exist.', 520, $this->source); })()), "html", null, true);
yield "\";
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "content/home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 1162 => 520, 1159 => 519, 1156 => 518, 1153 => 517, 1150 => 516, 1147 => 515, 1145 => 514, 1124 => 496, 1109 => 484, 1103 => 481, 1086 => 467, 1076 => 460, 1067 => 454, 1058 => 448, 1049 => 442, 1033 => 429, 1027 => 426, 1022 => 424, 1018 => 423, 1014 => 422, 1000 => 410, 994 => 408, 992 => 407, 981 => 401, 971 => 398, 965 => 395, 961 => 394, 957 => 393, 942 => 381, 938 => 380, 934 => 379, 930 => 378, 921 => 374, 915 => 371, 911 => 370, 907 => 369, 885 => 350, 879 => 346, 871 => 343, 868 => 342, 866 => 341, 860 => 338, 852 => 335, 844 => 330, 840 => 329, 836 => 328, 832 => 327, 825 => 322, 823 => 317, 812 => 308, 796 => 302, 789 => 298, 785 => 297, 779 => 296, 773 => 292, 768 => 290, 762 => 289, 757 => 286, 753 => 284, 751 => 283, 748 => 282, 741 => 279, 738 => 278, 730 => 274, 724 => 273, 720 => 271, 716 => 270, 709 => 266, 702 => 261, 700 => 256, 695 => 253, 693 => 252, 687 => 248, 680 => 244, 675 => 243, 669 => 241, 667 => 240, 656 => 234, 646 => 231, 639 => 227, 635 => 226, 630 => 225, 625 => 223, 621 => 222, 610 => 213, 595 => 211, 593 => 209, 592 => 208, 591 => 207, 588 => 206, 571 => 205, 566 => 203, 546 => 185, 540 => 184, 534 => 180, 524 => 178, 522 => 177, 517 => 174, 510 => 171, 508 => 170, 506 => 169, 498 => 164, 493 => 162, 489 => 160, 486 => 159, 484 => 158, 480 => 157, 473 => 153, 461 => 143, 442 => 138, 436 => 137, 431 => 135, 425 => 132, 419 => 129, 413 => 126, 406 => 122, 400 => 120, 383 => 119, 377 => 115, 358 => 112, 352 => 111, 347 => 110, 330 => 109, 323 => 105, 310 => 94, 293 => 90, 289 => 88, 287 => 87, 281 => 84, 272 => 83, 268 => 81, 262 => 78, 254 => 77, 248 => 74, 241 => 73, 238 => 72, 235 => 71, 232 => 70, 230 => 69, 227 => 68, 224 => 65, 219 => 63, 214 => 62, 209 => 60, 204 => 59, 202 => 58, 199 => 57, 194 => 55, 191 => 54, 189 => 53, 183 => 49, 178 => 46, 174 => 44, 171 => 43, 165 => 40, 160 => 39, 158 => 38, 153 => 35, 148 => 33, 144 => 31, 140 => 29, 137 => 28, 131 => 25, 126 => 24, 124 => 23, 120 => 21, 103 => 20, 94 => 13, 91 => 12, 88 => 11, 85 => 10, 82 => 9, 80 => 8, 76 => 6, 63 => 5, 40 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout/layout.html.twig\" %}
{# {% block title %}Goody Culinary Solutions::Home{% endblock %} #}
{% block content %}
\t{% if app.request.locale == 'en' %}
\t\t{% set weblink ='en' %}
\t{% else %}
\t\t{% set weblink ='ar' %}
\t{% endif %}
\t<!--Start Main Slider-->
\t<!-- class added autoplay-banner-section -->
\t<section class=\"main-slider-section autoplay-banner-section main-home-slider-banner\">
\t\t<div class=\"container container-lg\">
\t\t\t<div class=\"custom-slider singal-slider main-slider\">
\t\t\t\t{% for slide in home_slider %}
\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
\t\t\t\t\t\t\t{% if slide.slider_video.data.data is defined %}
\t\t\t\t\t\t\t\t<video poster=\"{{ slide.slider_image.data }}\" autoplay loop muted playsinline preload=\"auto\">
\t\t\t\t\t\t\t\t\t<source src=\"{{ slide.slider_video.data.data }}\" type=\"video/mp4\">Your browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<video
\t\t\t\t\t\t\t\t\tposter=\"{{ slide.slider_image.data }}\">
\t\t\t\t\t\t\t\t\t{# <source src=\"{{ slide.slider_video.data.data }}\" type=\"video/mp4\"> #}
\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t\t<img src=\"{{ slide.slider_image.data }}\" alt=\"\">
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
\t\t\t\t\t\t\t{% if slide.slider_video.data.data is defined %}
\t\t\t\t\t\t\t\t<video poster=\"{{ slide.slider_image_mobile.data }}\" autoplay loop muted playsinline preload=\"auto\">
\t\t\t\t\t\t\t\t\t<source src=\"{{ slide.slider_video_mobile.data.data }}\" type=\"video/mp4\">Your browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<video
\t\t\t\t\t\t\t\t\tposter=\"{{ slide.slider_image_mobile.data }}\">
\t\t\t\t\t\t\t\t\t{# <source src=\"{{ slide.slider_video.data.data }}\" type=\"video/mp4\"> #}
\t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t\t\t\t\t</video>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"silde-content-box \">
\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t{% if loop.index == 100 %}
\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/ZADK-HomeSlider_logo.png\" alt=\"\">
\t\t\t\t\t\t\t\t\t<h3 class=\"my-lg-5 my-4\">{{\"Presents\" | trans}}</h3>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t<h1>
\t\t\t\t\t\t\t\t\t{% if loop.index == 1 %}
\t\t\t\t\t\t\t\t\t<span class=\"title-lg d-block Slide1stHome\">{{slide.localizedfields.data.getLocalizedValue('heading')}}</span>
\t\t\t\t\t\t\t\t\t<span class=\"title-sm underline-end\">{{slide.localizedfields.data.getLocalizedValue('heading1')}}</span>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t<span class=\"title-sm d-block\">{{slide.localizedfields.data.getLocalizedValue('heading')}}</span>
\t\t\t\t\t\t\t\t\t<span class=\"title-lg underline-end\">{{slide.localizedfields.data.getLocalizedValue('heading1')}}</span>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t{# <span class=\"title-sm d-block\">{{slide.localizedfields.data.getLocalizedValue('heading')}}</span>
\t\t\t\t\t\t\t\t\t<span class=\"title-lg underline-end\">{{slide.localizedfields.data.getLocalizedValue('heading1')}}</span> #}
\t\t\t\t\t\t\t\t</h1>
\t\t\t\t\t\t\t\t{% if slide.localizedfields.data.getLocalizedValue('url') is not empty %}
\t\t\t\t\t\t\t\t\t\t{% if loop.index == 1 %}
\t\t\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
\t\t\t\t\t\t\t\t\t\t\t{% if user is not null %}
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{slide.localizedfields.data.getLocalizedValue('url')}}\" target=\"_blank\" class=\"btn btn-custom btn-lg-o-yellow-white {{ loop.index == 1 ?'mt-5' : '' }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Explore the Q2 Summer Newsletter'| trans}}
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0);\" onclick=\"storePdfForLater('{{ slide.localizedfields.data.getLocalizedValue('url') starts with '/' ? '' : '/' }}{{slide.localizedfields.data.getLocalizedValue('url')}}')\" class=\"btn btn-custom btn-lg-o-yellow-white {{ loop.index == 1 ?'mt-5' : '' }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Explore the Q2 Summer Newsletter'| trans}}
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/{{slide.localizedfields.data.getLocalizedValue('url')}}\" class=\"btn btn-custom btn-lg-o-yellow-white {{ loop.index == 1 ?'mt-5' : '' }}\">
\t\t\t\t\t\t\t\t\t\t\t\t{{'Start Your Journey'| trans}}
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{# {{'Start Your Journey'| trans}}</a> #}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t{% endfor %}
\t\t</div>
\t</div>
</section>
<!--End Main Slider-->
<!--Start Brands Tab Section-->
<section class=\"BrandSectionNew\">
\t<div class=\"container container-lg\">
\t\t<div class=\"brandTabs\">
\t\t\t<div class=\"brandTitleMain\">
\t\t\t\t{{'Our Brands'|trans}}
\t\t\t</div>
\t\t\t<div class=\"brandLinks\">
\t\t\t\t<ul>
\t\t\t\t\t{% for brand in brands %}
\t\t\t\t\t<li class=\"tabBrand-{{loop.index}}\">
\t\t\t\t\t\t<img class=\"colored\" src=\"{{brand.ColoredImage}}\" alt=\"{{brand.name}}\">
\t\t\t\t\t\t<img class=\"white-colored\" src=\"{{brand.WhiteColoredImage}}\" alt=\"{{brand.name}}-color\">
\t\t\t\t\t</li>
\t\t\t\t\t{% endfor %}
\t\t\t\t</ul>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"brandWrapper\">
\t\t\t{% for brand in brands %}
\t\t\t<div class=\"brandTabContent-{{loop.index}} brandTabContent\">
\t\t\t\t<div class=\"brandImg\">
\t\t\t\t\t<img src=\"{{brand.bannerSliderImage}}\" alt=\"\">
\t\t\t\t</div>
\t\t\t\t<div class=\"brandContent\">
\t\t\t\t\t<div class=\"imgLogo\">
\t\t\t\t\t\t<img src=\"{{brand.WhiteColoredImage}}\" alt=\"\">
\t\t\t\t\t</div>
\t\t\t\t\t<span class=\"subTitle\">
\t\t\t\t\t\t{{'Our Brands'|trans}}
\t\t\t\t\t</span>
\t\t\t\t\t<h2 class=\"brandTitle\">
\t\t\t\t\t\t{{brand.name}}
\t\t\t\t\t</h2>
\t\t\t\t\t<p class=\"brandDesc\">
\t\t\t\t\t\t{{brand.homeBannerDescription}}
\t\t\t\t\t</p>
\t\t\t\t\t<a href=\"/{{app.request.locale}}/brand/{{brand.url}}\" class=\"btn btn-custom btn-lg-o-black\">
\t\t\t\t\t\t{{'Explore The Range'|trans}}
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{% endfor %}
\t\t</div>
\t</div>
</section>
<section class=\"brands-section\">
\t<div class=\"container container-lg\">
\t\t<!--Start Brands Tab Content-->
\t\t<div class=\"tab-content brands-section-content \" id=\"nav-tabContent\">
\t\t\t<h2 class=\"heading categories__tag\">{{'Our Categories'| trans}}</h2>
\t\t\t<!--Start Brand Recipes-->
\t\t\t\t<div class=\"brand-recipes\">
\t\t\t\t\t<div class=\"custom-slider brand-recipes-slider\">
\t\t\t\t\t\t{% for category in categories %}
\t\t\t\t\t\t{# Curenty ignoring #}
\t\t\t\t\t\t{% if category.name and category.description %}
\t\t\t\t\t <div class=\"slide\">
\t\t\t\t\t\t<div class=\"card\">
\t\t\t\t\t\t\t<h3>{{ category.name }}</h3>
\t\t\t\t\t\t\t<div class=\"category_short_desc\">
\t\t\t\t\t\t\t\t<p>{{ category.description }}</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"i_imgbox\">
\t\t\t\t\t\t\t\t<figure>
\t\t\t\t\t\t\t\t\t{% if category.cat_image %}
\t\t\t\t\t\t\t\t\t\t{# <img src=\"{{ category.cat_image }}\" alt=\"{{ category.name }}\"> #}
\t\t\t\t\t\t\t\t\t\t{{ category.cat_image.thumbnail('194x150').getHTML({imgAttributes: {class:'',alt:category.name }})|raw }}
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"btn__action__area\">
\t\t\t\t\t\t\t\t{% if category.url is defined %}
\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/products/{{ category.url }}\" class=\"btn btn-custom btn-lg-o-black\">{{'Know More'|trans}}</a>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t </div>
\t\t\t\t\t {% endif %}
\t\t\t\t\t {% endfor %}
\t\t\t\t
\t\t\t\t\t <!-- Duplicate the block above for more slides -->
\t\t\t\t\t
\t\t\t\t\t</div>
\t\t\t\t </div>
\t\t\t\t
\t\t\t<!--End Brand Recipes-->
\t\t</div>
\t\t<!--End Brands Tab Content-->
\t</div>
</section>
<!--End Brands Tab Section-->
<!--Start Featured Section-->
<section class=\"featured-section featured-section-home featured-products-home-section\">
\t<div class=\"container container-lg\">
\t\t<h2 class=\"heading\">{{'Featured Products'| trans}}</h2>
\t\t<div class=\"featured-slider\">
\t\t\t{% for featured_product in featured_products %}
\t\t\t\t<div class=\"slide\">
\t\t\t\t\t{% include \"/includes/product-card.html.twig\" with {
\t\t\t\t\t\tfeatured_product: featured_product,
\t\t\t\t\t\tLikedId : LikedId,
\t\t\t\t\t} %}
\t\t\t\t</div>
\t\t\t{% endfor %}
\t\t</div>
\t</div>
</section>
<!--End Featured Section-->
<!--Start Info Media-->
<section class=\"info-media info-media-video homeTuna position-bg-img d-none\">
\t<div class=\"container container-sm\">
\t\t<div class=\"info-section\">
\t\t\t<h3>{{ trendingrecipes.recipes[0].name}}</h3>
\t\t\t<p>{{ trendingrecipes.recipes[0].short_description}}</p>
\t\t\t<ul class=\"list-unstyled recipe-info\">
\t\t\t\t<li class=\"orders\">{{'No. Of '|trans}}{{' Serving' |trans}}
\t\t\t\t\t{{ trendingrecipes.recipes[0].serves}}</li>
\t\t\t\t<li class=\"time\">{{ trendingrecipes.recipes[0].typeofmeal|trans}}</li>
\t\t\t</ul>
\t\t\t<div class=\"btn-holder\">
\t\t\t\t<div class=\"btn-button\">
\t\t\t\t\t<a href=\"{{ weblink }}/all-recipes/{{trendingrecipes.recipes[0].url}}\" class=\"btn btn-custom btn-green\">{{'Discover More'|trans}}</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"btn-button-2\">
\t\t\t\t\t<a href=\"{{ weblink }}/recipes\" class=\"btn btn-custom btn-p-outline-blue\">{{'Search Recipes'|trans}}</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"media-section media-section-01\">
\t\t\t{% if trendingrecipes.recipes[0].banner_video is empty %}
\t\t\t\t<video poster=\"{{trendingrecipes.recipes[0].featured_image}}\"></video>
\t\t\t{% else %}
\t\t\t\t<video poster=\"{{trendingrecipes.recipes[0].featured_image}}\" preload=\"auto\" loop=\"true\" autoplay=\"true\" muted=\"true\">
\t\t\t\t\t<source src=\"{{trendingrecipes.recipes[0].banner_video.data}}\" type=\"video/mp4\">
\t\t\t\t\tYour browser does not support the video tag.
\t\t\t\t</video>
\t\t\t{% endif %}
\t\t</div>
\t</div>
\t{% include \"layout/baseimage.html.twig\" %}
</section>
<!--End Info Media-->
{{
\t\tpimcore_areablock(\"content\", {
\t\t\t\"allowed\": [\"our-culinary-champions\"],
\t\t\t\"sorting\": [\"our-culinary-champions\"],
\t\t})
\t}}
<!--Start Featured Recipes Section-->
<section class=\"featured-recipes-section featured-recipes-section-home recipes-two-home\">
\t<div class=\"container container-sm\">
\t\t<h2 class=\"heading\">{{'Featured Recipes'|trans}}</h2>
\t\t<div class=\"featured-recipes\">
\t\t\t<div class=\"custom-slider featured-recipes-slider home_recipe__slider\">
\t\t\t\t{% for featured_recipe in featured_recipes %}
\t\t\t\t\t<div class=\"slide\">
\t\t\t\t\t\t<div class=\"slide-holder\">
\t\t\t\t\t\t\t<a href=\"{{ weblink }}/all-recipes/{{featured_recipe.url}}\">
\t\t\t\t\t\t\t\t<a href=\"{{ weblink }}/all-recipes/{{featured_recipe.url}}\">
\t\t\t\t\t\t\t\t\t<figure
\t\t\t\t\t\t\t\t\t\tclass=\"slide-img\">
\t\t\t\t\t\t\t\t\t\t{# <img src=\"{{ featured_recipe.featured_image }}\" alt=\"{{ featured_recipe.name }}\"> #}
\t\t\t\t\t\t\t\t\t\t{% if featured_recipe.featured_image %}
\t\t\t\t\t\t\t\t\t\t\t{{ featured_recipe.featured_image.thumbnail('354x244').getHTML({imgAttributes: {class:'',alt:featured_recipe.name }})|raw }}
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% if featured_recipe.banner_video %}
\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</figure>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"slide-content\">
\t\t\t\t\t\t\t\t\t<a href=\"{{ weblink }}/all-recipes/{{featured_recipe.url}}\">
\t\t\t\t\t\t\t\t\t\t<h3>{{ featured_recipe.name }}</h3>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t<p>{{ featured_recipe.short_description }}</p>
\t\t\t\t\t\t\t\t\t<ul
\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
\t\t\t\t\t\t\t\t\t\t{# <li class=\"mins\">{{ featured_recipe.time}}{{'mins'|trans}}</li> #}
\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">{{'No. Of'|trans}}{{'Serving'|trans}}
\t\t\t\t\t\t\t\t\t\t\t{{featured_recipe.serves}}</li>
\t\t\t\t\t\t\t\t\t\t<li class=\"time\">{{ featured_recipe.typeofmeal|trans}}</li>
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{featured_recipe.url}}\" class=\"btn btn-custom btn-lg-o-black\">{{'View Recipe'|trans}}</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Featured Recipes Section-->
\t<!--Start GFS Loyalty Program-->
\t{{
\t\t\tpimcore_areablock(\"content-loyalty\", {
\t\t\t\t\"allowed\": [\"loyalty-banner\"],
\t\t\t\t
\t\t\t})
\t\t}}
\t<section class=\"info-media loyalty-program loyalty-program-home loyalty-program-inner d-none\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"info-section\">
\t\t\t\t<h5>{{'Loyalty Program'|trans}}</h5>
\t\t\t\t<h4>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('heading')}}</h4>
\t\t\t\t<h3>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('heading1')}}</h3>
\t\t\t\t<p>{{ loyaltybanner.sliders[0].localizedfields.data.getLocalizedValue('description')}}</p>
\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/loyalty-program\" class=\"btn btn-custom btn-green\">{{'Discover More'|trans}}</a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"newsletter-subscribe\">
\t\t\t\t\t\t<h4>\"{{'Coming Soon'|trans}}\"</h4>
\t\t\t\t\t</div>
\t\t\t\t\t{% if app.session.get('loginUserName') is null %}
\t\t\t\t\t\t<div class=\"btn-border btn-border-black d-none\">
\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/signup\" class=\"btn btn-custom btn-lg-o-black\">{{'Sign-up Now!'|trans}}</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"media-section\">
\t\t\t\t<img src=\"{{loyaltybanner.sliders[0].slider_image.data}}\" alt=\"loyaltybanner banner\">
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End GFS Loyalty Program-->
\t<!--Start Training Today Section-->
\t<section class=\"start-training start-training-home home-start-training-section-edited\">
\t\t<div class=\"container container-lg\">
\t\t\t<div class=\"media-box slide-media-desktop\">
\t\t\t\t<img src=\"/static/assets/images/training.jpg\" alt=\"training dextop image\">
\t\t\t</div>
\t\t\t<div class=\"media-box slide-media-mobile\">
\t\t\t\t<img src=\"/static/assets/images/Home_page_training.jpg\" alt=\"training mobile image\">
\t\t\t</div>
\t\t\t<div class=\"start-training-info\">
\t\t\t\t<h5 class=\"text-white\">{{'Training'|trans}}</h5>
\t\t\t\t<h3 class=\"text-white\">{{'Get Tips, Craft Skills and Master Techniques'|trans}}.</h3>
\t\t\t\t<p>{{\"Training_home_page_desc\"|trans}}</p>
\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t<a href=\"/{{app.request.locale}}/professional-training\" class=\"btn btn-custom btn-lg-o-black\">{{'Start Training Today!'|trans}}</a>
\t\t\t\t</div>
\t\t\t<hr class=\"customHr\" />
\t\t\t\t<ul class=\"list-unstyled info-list\">
\t\t\t\t\t<li><span><img src=\"/static/assets/images/chef_hat_fill.svg\" class=\"img-fluid\" alt=\"\" /></span> {{'For Chefs'|trans}}</li>
\t\t\t\t\t<li><span><img src=\"/static/assets/images/staff.svg\" class=\"img-fluid\" alt=\"\" /></span> {{'For Staff'|trans}}</li>
\t\t\t\t\t<li><span><img src=\"/static/assets/images/owner.svg\" class=\"img-fluid\" alt=\"\" /></span> {{\"For Owners\"|trans}}</li>
\t\t\t\t\t<li><span><img src=\"/static/assets/images/user_setting_fill.svg\" class=\"img-fluid\" alt=\"\" /></span> {{\"For Managers\"|trans}}</li>
\t\t\t\t</ul>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Training Today Section-->
\t<!--Start Resources Section-->
\t<section class=\"info-media info-resources info-resources-home info__HomeResouce resources__info-home\">
\t\t<div class=\"container container-sm resources-container\">
\t\t\t<div class=\"info-section\">
\t\t\t\t<h5>{{'Resources'|trans}}</h5>
\t\t\t\t<h3>{{homearticle.name}}</h3>
\t\t\t\t<p>{{ pimcore_input(\"resource_dec_1\") }}</p>
\t\t\t\t<div class=\"btn-holder\">
\t\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/resource/{{homearticle.url}}\" class=\"btn btn-custom btn-green\">{{'Read More'|trans}}</a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"btn-border btn-border-black\">
\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/resources\" class=\"btn btn-custom btn-blue-brd\">{{'Discover More'|trans}}</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div
\t\t\t\tclass=\"media-section\">
\t\t\t\t{% if homearticle.image %}
\t\t\t\t\t{{ homearticle.image.thumbnail('858x592').getHTML({imgAttributes: {class:'',alt:\"Home Article Image\" }})|raw }}
\t\t\t\t{% endif %}
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Resources Section-->
\t<!--Start Technologies -->
\t<section class=\"technolgies-section technolgies-section-home technology__homBox\">
\t\t<div class=\"container container-sm\">
\t\t\t<div class=\"tech-info home__infoList\">
\t\t\t\t<h5>{{'Tools'|trans}}</h5>
\t\t\t\t<h3>{{ pimcore_input(\"toos_heading\") }}</h3>
\t\t\t\t<p>{{ pimcore_input(\"toos_desc\") }}</p>
\t\t\t\t<div class=\"newsletter-subscribe\">
\t\t\t\t\t<h4>\"{{'Coming Soon'|trans}}\"</h4>
\t\t\t\t</div>
\t\t\t\t<div class=\"btn-holder btn-border d-none\">
\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-white\">{{'Coming soon'|trans}}</a>
\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-white d-none\">Discover More</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"pattran_img\">
\t\t\t\t\t<img src=\"/static/assets/images/pattran_img.png\" alt=\"pattran image\">
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<ul class=\"list-unstyled tech-list\">
\t\t\t\t<li>
\t\t\t\t\t<a href=\"#\">
\t\t\t\t\t<img src=\"/static/assets/images/menu-builder.svg\" alt=\"menu builder image\">
\t\t\t\t\t<h5>{{'Menu Builder'|trans}}</h5>
\t\t\t\t</a>
\t\t\t\t</li>
\t\t\t\t<li>
\t\t\t\t\t<a href=\"#\">
\t\t\t\t\t<img src=\"/static/assets/images/inventory.svg\" alt=\"inventory image\">
\t\t\t\t\t<h5>{{'Inventory Manager'|trans}}</h5>
\t\t\t\t\t</a>
\t\t\t\t</li>
\t\t\t\t<li>
\t\t\t\t\t<a href=\"#\">
\t\t\t\t\t<img src=\"/static/assets/images/training.svg\" alt=\"training image\">
\t\t\t\t\t<h5>{{'Training Suggester'|trans}}</h5>
\t\t\t\t\t</a>
\t\t\t\t</li>
\t\t\t\t<li>
\t\t\t\t\t<a href=\"#\">
\t\t\t\t\t<img src=\"/static/assets/images/calculator.svg\" alt=\"calculator image\">
\t\t\t\t\t<h5>{{'Profit Calculator'|trans}}</h5>
\t\t\t\t\t</a>
\t\t\t\t</li>
\t\t\t</ul>
\t\t\t<div class=\"btn-holder d-none\">
\t\t\t\t<div class=\"btn-border\">
\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-white\">{{'Coming soon'|trans}}</a>
\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-white d-none\">Discover More</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!--End Technologies -->
\t<script type=\"application/ld+json\">
\t\t{
\t\t\t\t\t\t\t\t\t\t\t\"@context\": \"https://schema.org/\",
\t\t\t\t\t\t\t\t\t\t\t\"@type\": \"WebSite\",
\t\t\t\t\t\t\t\t\t\t\t\"name\": \"Goody Culinary Solutions\",
\t\t\t\t\t\t\t\t\t\t\t\"url\": \"http://goodycs.com/{{app.request.locale}}\",
\t\t\t\t\t\t\t\t\t\t\t\"potentialAction\": {
\t\t\t\t\t\t\t\t\t\t\t\t\"@type\": \"SearchAction\",
\t\t\t\t\t\t\t\t\t\t\t\t\"target\": \"http://goodycs.com/{{app.request.locale}}/searchrecipe?{search_term_string}\",
\t\t\t\t\t\t\t\t\t\t\t\t\"query-input\": \"required name=search_term_string\"
\t\t\t\t\t\t\t\t\t\t\t}
\t\t\t\t\t\t\t\t\t\t\t}
\t</script>
\t<script type=\"application/ld+json\">
\t\t{
\t\t\t\t\t\t\t\t\t\t\t\t\t\"@context\": \"https://schema.org\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"@type\": \"Organization\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"name\": \"Goody Culinary Solutions\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"alternateName\": \"Goody Professional\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"url\": \"http://goodycs.com/{{app.request.locale}}/\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"logo\": \"http://goodycs.com/static/assets/images/GCS_Logo_Header.svg\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"image\": \"http://goodycs.com/static/assets/images/GCS_Logo_Header.svg\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"telephone\": \"( 966) 12 660 4481\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\"address\": {
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"@type\": \"PostalAddress\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"addressLocality\": \"Jeddah, Saudi Arabia\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"postalCode\": \"21411\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"streetAddress\": \"26 AA'Lam Al-Islam\"
\t\t\t\t\t\t\t\t\t\t\t\t\t},
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\"sameAs\": [
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"https://twitter.com/gfs_ksa?s=11\",
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"https://www.linkedin.com/company/goody-culinary-solutions\"
\t\t\t\t\t\t\t\t\t\t\t\t\t]
\t\t\t\t\t\t\t\t\t\t\t\t\t}
\t</script>
\t{% if (app.request.locale =='ar') %}
\t\t{% set topMenu =\"/en\" %}
\t{% else %}
\t\t{% set topMenu =\"/ar\" %}
\t{% endif %}
\t<script>
\t\tvar _TopMenuLink = \"{{ topMenu }}\";
\t</script>
{% endblock %}
", "content/home.html.twig", "/var/www/vhosts/centric.ae/gcs.centric.ae/templates/content/home.html.twig");
}
}