var/cache/dev/twig/fb/fbe8d3cad3f32ddf53a8ed27d0457442.php line 249

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* Recipes/our-chef.html.twig */
  16. class __TwigTemplate_5966e1aee0274fa367dbc8c0361c42d9 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'content' => [$this'block_content'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "layout/layout.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Recipes/our-chef.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Recipes/our-chef.html.twig"));
  43.         $this->parent $this->loadTemplate("layout/layout.html.twig""Recipes/our-chef.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 5
  51.     /**
  52.      * @return iterable<null|scalar|\Stringable>
  53.      */
  54.     public function block_content(array $context, array $blocks = []): iterable
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  61.         // line 6
  62.         yield "
  63. \t<!--Start Wrapper-->
  64. \t<!--Start Main Slider-->
  65. \t\t<section class=\"main-slider-section product-main-slider\"> <div class=\"container container-lg\">
  66. \t\t\t<div class=\"custom-slider singal-slider main-slider\">
  67. \t\t\t\t<div class=\"slide\">
  68. \t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
  69. \t\t\t\t\t\t<img src=\"";
  70.         // line 13
  71.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["chefbannerspotlight"]) || array_key_exists("chefbannerspotlight"$context) ? $context["chefbannerspotlight"] : (function () { throw new RuntimeError('Variable "chefbannerspotlight" does not exist.'13$this->source); })()), "sliders", [], "any"falsefalsefalse13), 0, [], "array"falsefalsefalse13), "slider_image", [], "any"falsefalsefalse13), "data", [], "any"falsefalsefalse13), "html"nulltrue);
  72.         yield "\" alt=\"chef banner image\">
  73. \t\t\t\t\t</div>
  74. \t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
  75. \t\t\t\t\t\t<img src=\"";
  76.         // line 16
  77.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["chefbannerspotlight"]) || array_key_exists("chefbannerspotlight"$context) ? $context["chefbannerspotlight"] : (function () { throw new RuntimeError('Variable "chefbannerspotlight" does not exist.'16$this->source); })()), "sliders", [], "any"falsefalsefalse16), 0, [], "array"falsefalsefalse16), "slider_image_mobile", [], "any"falsefalsefalse16), "data", [], "any"falsefalsefalse16), "html"nulltrue);
  78.         yield "\" alt=\"chef banner image mobile\"/>
  79. \t\t\t\t\t</div>
  80. \t\t\t\t\t<div class=\"silde-content-box\">
  81. \t\t\t\t\t\t<div class=\"slide-content\">
  82. \t\t\t\t\t\t\t<h1>
  83. \t\t\t\t\t\t\t\t<span class=\"title-sm d-block\">";
  84.         // line 21
  85.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["chefbannerspotlight"]) || array_key_exists("chefbannerspotlight"$context) ? $context["chefbannerspotlight"] : (function () { throw new RuntimeError('Variable "chefbannerspotlight" does not exist.'21$this->source); })()), "sliders", [], "any"falsefalsefalse21), 0, [], "array"falsefalsefalse21), "localizedfields", [], "any"falsefalsefalse21), "data", [], "any"falsefalsefalse21), "getLocalizedValue", ["heading"], "method"falsefalsefalse21), "html"nulltrue);
  86.         yield "</span>
  87. \t\t\t\t\t\t\t\t<span class=\"title-lg underline-end\">";
  88.         // line 22
  89.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["chefbannerspotlight"]) || array_key_exists("chefbannerspotlight"$context) ? $context["chefbannerspotlight"] : (function () { throw new RuntimeError('Variable "chefbannerspotlight" does not exist.'22$this->source); })()), "sliders", [], "any"falsefalsefalse22), 0, [], "array"falsefalsefalse22), "localizedfields", [], "any"falsefalsefalse22), "data", [], "any"falsefalsefalse22), "getLocalizedValue", ["heading1"], "method"falsefalsefalse22), "html"nulltrue);
  90.         yield "</u>
  91. \t\t\t\t\t\t\t</h3>
  92. \t\t\t\t\t\t</h1>
  93. \t\t\t\t\t\t";
  94.         // line 27
  95.         yield "\t\t\t\t\t</div>
  96. \t\t\t\t</div>
  97. \t\t\t</div>
  98. \t\t</div>
  99. \t</div>
  100. </div></section><!--End Main Slider--><!--Start Breadcrumbs--><div class=\"breadcrumb-holder\">
  101. <ol class=\"breadcrumb\">
  102. \t<li class=\"breadcrumb-item\">
  103. \t\t<a href=\"/";
  104.         // line 37
  105.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'37$this->source); })()), "request", [], "any"falsefalsefalse37), "locale", [], "any"falsefalsefalse37), "html"nulltrue);
  106.         yield "\">";
  107.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  108.         yield "</a>
  109. \t</li>
  110. \t<li class=\"breadcrumb-item\">
  111. \t\t<a href=\"/";
  112.         // line 40
  113.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "locale", [], "any"falsefalsefalse40), "html"nulltrue);
  114.         yield "/professional-training\">";
  115.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Training"), "html"nulltrue);
  116.         yield "</a>
  117. \t</li>
  118. \t<li class=\"breadcrumb-item active\" aria-current=\"page\">";
  119.         // line 42
  120.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Our Chefs"), "html"nulltrue);
  121.         yield "</li>
  122. </ol></div><!--End Breadcrumbs--><!--Start Page Info Section--><section class=\"pageinfo-section\">
  123. <div class=\"container container-sm\">
  124. \t<h2 class=\"title\">";
  125.         // line 46
  126.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Our Chefs"), "html"nulltrue);
  127.         yield "</h2>
  128. \t<p>";
  129.         // line 47
  130.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("our_chef_main_desc"), "html"nulltrue);
  131.         yield "</p>
  132. </div></section><!--End Page Info Section--><!--Start chef Section--><section class=\"chef-section\">
  133. <div class=\"container container-sm\">
  134. \t";
  135.         // line 51
  136.         $context['_parent'] = $context;
  137.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["chefs"]) || array_key_exists("chefs"$context) ? $context["chefs"] : (function () { throw new RuntimeError('Variable "chefs" does not exist.'51$this->source); })()));
  138.         foreach ($context['_seq'] as $context["_key"] => $context["Chefs"]) {
  139.             // line 52
  140.             yield "\t\t<div class=\"chef-section-wrapper\">
  141. \t\t\t<div class=\"row\">
  142. \t\t\t\t<div class=\"col-md-5 col-xl-3\">
  143. \t\t\t\t\t<div class=\"chef-section-profile\">
  144. \t\t\t\t\t\t<div class=\"chef-section-profile-box\">
  145. \t\t\t\t\t\t\t";
  146.             // line 58
  147.             if (CoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_image", [], "any"falsefalsefalse58)) {
  148.                 // line 59
  149.                 yield "\t\t\t\t\t\t\t\t<figure class=\"chef-section-profile-box-figure\">
  150. \t\t\t\t\t\t\t\t\t";
  151.                 // line 61
  152.                 yield "\t\t\t\t\t\t\t\t";
  153.                 yield CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_image", [], "any"falsefalsefalse61), "thumbnail", ["350x492"], "method"falsefalsefalse61), "getHTML", [["imgAttributes" => ["class" => """alt" => CoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_name", [], "any"falsefalsefalse61)]]], "method"falsefalsefalse61);
  154.                 yield "
  155. \t\t\t\t\t\t\t\t</figure>
  156. \t\t\t\t\t\t\t";
  157.             } else {
  158.                 // line 64
  159.                 yield "\t\t\t\t\t\t\t\t<figure class=\"chef-section-profile-box-figure __web-inspector-hide-shortcut__\">
  160. \t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/chef-pic-1.png\" alt=\"chef-profile\">
  161. \t\t\t\t\t\t\t\t</figure>
  162. \t\t\t\t\t\t\t";
  163.             }
  164.             // line 68
  165.             yield "\t\t\t\t\t\t\t";
  166.             // line 84
  167.             yield "\t\t\t\t\t\t</div>
  168. \t\t\t\t\t</div>
  169. \t\t\t\t</div>
  170. \t\t\t\t<div class=\"col-md-7 col-xl-9\">
  171. \t\t\t\t\t<div class=\"chef-section-wrapper-information\">
  172. \t\t\t\t\t\t<h3>";
  173.             // line 90
  174.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_name", [], "any"falsefalsefalse90), "html"nulltrue);
  175.             yield "</h3>
  176. \t\t\t\t\t\t<h5>";
  177.             // line 91
  178.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Chefs"], "designation", [], "any"falsefalsefalse91), "html"nulltrue);
  179.             yield "</h5>
  180. \t\t\t\t\t\t<p>";
  181.             // line 92
  182.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chief_note", [], "any"falsefalsefalse92), "html"nulltrue);
  183.             yield "</p>
  184. \t\t\t\t\t\t";
  185.             // line 93
  186.             if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["Chefs"], "Achieve", [], "any"falsefalsefalse93)) != 0)) {
  187.                 // line 94
  188.                 yield "\t\t\t\t\t\t\t<h3>";
  189.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Achievements"), "html"nulltrue);
  190.                 yield "</h3>
  191. \t\t\t\t\t\t\t";
  192.                 // line 96
  193.                 $context['_parent'] = $context;
  194.                 $context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["Chefs"], "Achieve", [], "any"falsefalsefalse96)) - 1)));
  195.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  196.                     // line 97
  197.                     yield "
  198. \t\t\t\t\t\t\t\t<p>-
  199. \t\t\t\t\t\t\t\t\t";
  200.                     // line 99
  201.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "Achieve", [], "any"falsefalsefalse99), $context["i"], [], "array"falsefalsefalse99), "localizedfields", [], "any"falsefalsefalse99), "data", [], "any"falsefalsefalse99), "getLocalizedValue", ["achievements"], "method"falsefalsefalse99), "html"nulltrue);
  202.                     yield "
  203. \t\t\t\t\t\t\t\t</p>
  204. \t\t\t\t\t\t\t";
  205.                 }
  206.                 $_parent $context['_parent'];
  207.                 unset($context['_seq'], $context['_key'], $context['i'], $context['_parent']);
  208.                 $context array_intersect_key($context$_parent) + $_parent;
  209.                 // line 102
  210.                 yield "\t\t\t\t\t\t";
  211.             }
  212.             // line 103
  213.             yield "\t\t\t\t\t</div>
  214. \t\t\t\t</div>
  215. \t\t\t</div>
  216. \t\t</div>
  217. \t\t<div class=\"chef-section-special\">
  218. \t\t\t<div class=\"row\">
  219. \t\t\t\t<div class=\"offset-xl-3 col-xl-9\">
  220. \t\t\t\t\t<div class=\"chef-section-special-area\">
  221. \t\t\t\t\t\t<div
  222. \t\t\t\t\t\t\tclass=\"chef-section-special-area-slider\">
  223. \t\t\t\t\t\t\t<!--Start Featured Recipes Section-->
  224. \t\t\t\t\t\t\t<section class=\"featured-recipes-section inner-frecipes-section chef-special-dish\">
  225. \t\t\t\t\t\t\t\t";
  226.             // line 115
  227.             if (CoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse115)) {
  228.                 // line 116
  229.                 yield "\t\t\t\t\t\t\t\t\t<h2 class=\"heading\">";
  230.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Chef Special"), "html"nulltrue);
  231.                 yield "</h2>
  232. \t\t\t\t\t\t\t\t";
  233.             }
  234.             // line 118
  235.             yield "\t\t\t\t\t\t\t\t<div class=\"featured-recipes\">
  236. \t\t\t\t\t\t\t\t\t<div class=\"custom-slider featured-recipes-slider\">
  237. \t\t\t\t\t\t\t\t\t\t";
  238.             // line 120
  239.             $context['_parent'] = $context;
  240.             $context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse120)) - 1)));
  241.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  242.                 // line 121
  243.                 yield "\t\t\t\t\t\t\t\t\t\t\t";
  244.                 if (CoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse121)) {
  245.                     // line 122
  246.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide\">
  247. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  248. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  249.                     // line 124
  250.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'124$this->source); })()), "request", [], "any"falsefalsefalse124), "locale", [], "any"falsefalsefalse124), "html"nulltrue);
  251.                     yield "/all-recipes/";
  252.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse124), $context["i"], [], "array"falsefalsefalse124), "url", [], "any"falsefalsefalse124), "html"nulltrue);
  253.                     yield "\">
  254. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  255. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  256.                     // line 127
  257.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  258.                     if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse127), $context["i"], [], "array"falsefalsefalse127)) {
  259.                         yield 
  260. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  261.                         // line 128
  262.                         yield CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse128), $context["i"], [], "array"falsefalsefalse128), "featured_image", [], "any"falsefalsefalse128), "thumbnail", ["354x244"], "method"falsefalsefalse128), "getHTML", [["imgAttributes" => ["class" => """alt" => "Feature-Image"]]], "method"falsefalsefalse128);
  263.                         yield "
  264. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  265.                     }
  266.                     // line 130
  267.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  268.                     if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse130), $context["i"], [], "array"falsefalsefalse130), "banner_video", [], "any"falsefalsefalse130)) {
  269.                         // line 131
  270.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  271. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  272.                     }
  273.                     // line 133
  274.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
  275. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  276. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
  277. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
  278. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  279.                     // line 137
  280.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse137), "locale", [], "any"falsefalsefalse137), "html"nulltrue);
  281.                     yield "/all-recipes/";
  282.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse137), $context["i"], [], "array"falsefalsefalse137), "url", [], "any"falsefalsefalse137), "html"nulltrue);
  283.                     yield "\">
  284. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>";
  285.                     // line 138
  286.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse138), $context["i"], [], "array"falsefalsefalse138), "name", [], "any"falsefalsefalse138), "html"nulltrue);
  287.                     yield "</h3>
  288. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  289. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>";
  290.                     // line 140
  291.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse140), $context["i"], [], "array"falsefalsefalse140), "short_description", [], "any"falsefalsefalse140), "html"nulltrue);
  292.                     yield "</p>
  293. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  294. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul
  295. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
  296. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  297.                     // line 145
  298.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">";
  299.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of"), "html"nulltrue);
  300.                     yield "
  301. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  302.                     // line 146
  303.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Serving"), "html"nulltrue);
  304.                     yield "
  305. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  306.                     // line 147
  307.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse147), $context["i"], [], "array"falsefalsefalse147), "serves", [], "any"falsefalsefalse147), "html"nulltrue);
  308.                     yield "</li>
  309. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">";
  310.                     // line 148
  311.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Chefs"], "chef_special_recipe", [], "any"falsefalsefalse148), $context["i"], [], "array"falsefalsefalse148), "typeofmeal", [], "any"falsefalsefalse148)), "html"nulltrue);
  312.                     yield "</li>
  313. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
  314. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  315. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  316. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  317. \t\t\t\t\t\t\t\t\t\t\t";
  318.                 }
  319.                 // line 154
  320.                 yield "\t\t\t\t\t\t\t\t\t\t";
  321.             }
  322.             $_parent $context['_parent'];
  323.             unset($context['_seq'], $context['_key'], $context['i'], $context['_parent']);
  324.             $context array_intersect_key($context$_parent) + $_parent;
  325.             // line 155
  326.             yield "
  327. \t\t\t\t\t\t\t\t\t</div>
  328. \t\t\t\t\t\t\t\t</div>
  329. \t\t\t\t\t\t\t</section>
  330. \t\t\t\t\t\t\t<!--End Featured Recipes Section-->
  331. \t\t\t\t\t\t</div>
  332. \t\t\t\t\t</div>
  333. \t\t\t\t</div>
  334. \t\t\t</div>
  335. \t\t</div>
  336. \t";
  337.         }
  338.         $_parent $context['_parent'];
  339.         unset($context['_seq'], $context['_key'], $context['Chefs'], $context['_parent']);
  340.         $context array_intersect_key($context$_parent) + $_parent;
  341.         // line 168
  342.         yield "</div></section><!--End chef Section--><!--End Wrapper-->";
  343.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'168$this->source); })()), "request", [], "any"falsefalsefalse168), "locale", [], "any"falsefalsefalse168) == "ar")) {
  344.             // line 169
  345.             $context["topMenu"] = "/en/our-professional-chefs";
  346.         } else {
  347.             // line 170
  348.             $context["topMenu"] = "/ar/our-professional-chefs";
  349.         }
  350.         yield "<script>
  351. var _TopMenuLink = \"";
  352.         // line 171
  353.         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.'171$this->source); })()), "html"nulltrue);
  354.         yield "\";</script>";
  355.         
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  357.         
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  359.         yield from [];
  360.     }
  361.     /**
  362.      * @codeCoverageIgnore
  363.      */
  364.     public function getTemplateName(): string
  365.     {
  366.         return "Recipes/our-chef.html.twig";
  367.     }
  368.     /**
  369.      * @codeCoverageIgnore
  370.      */
  371.     public function isTraitable(): bool
  372.     {
  373.         return false;
  374.     }
  375.     /**
  376.      * @codeCoverageIgnore
  377.      */
  378.     public function getDebugInfo(): array
  379.     {
  380.         return array (  377 => 171,  372 => 170,  369 => 169,  366 => 168,  348 => 155,  342 => 154,  333 => 148,  329 => 147,  325 => 146,  320 => 145,  313 => 140,  308 => 138,  302 => 137,  296 => 133,  292 => 131,  289 => 130,  284 => 128,  279 => 127,  272 => 124,  268 => 122,  265 => 121,  261 => 120,  257 => 118,  251 => 116,  249 => 115,  235 => 103,  232 => 102,  223 => 99,  219 => 97,  215 => 96,  209 => 94,  207 => 93,  203 => 92,  199 => 91,  195 => 90,  187 => 84,  185 => 68,  179 => 64,  172 => 61,  169 => 59,  167 => 58,  159 => 52,  155 => 51,  148 => 47,  144 => 46,  137 => 42,  130 => 40,  122 => 37,  110 => 27,  103 => 22,  99 => 21,  91 => 16,  85 => 13,  76 => 6,  63 => 5,  40 => 1,);
  381.     }
  382.     public function getSourceContext(): Source
  383.     {
  384.         return new Source("{% extends \"layout/layout.html.twig\" %}
  385. {# {% block title %}GFS::Recipe {{ }}{% endblock %} #}
  386. {% block content %}
  387. \t<!--Start Wrapper-->
  388. \t<!--Start Main Slider-->
  389. \t\t<section class=\"main-slider-section product-main-slider\"> <div class=\"container container-lg\">
  390. \t\t\t<div class=\"custom-slider singal-slider main-slider\">
  391. \t\t\t\t<div class=\"slide\">
  392. \t\t\t\t\t<div class=\"slide-media slide-media-desktop\">
  393. \t\t\t\t\t\t<img src=\"{{chefbannerspotlight.sliders[0].slider_image.data}}\" alt=\"chef banner image\">
  394. \t\t\t\t\t</div>
  395. \t\t\t\t\t<div class=\"slide-media slide-media-mobile\">
  396. \t\t\t\t\t\t<img src=\"{{chefbannerspotlight.sliders[0].slider_image_mobile.data}}\" alt=\"chef banner image mobile\"/>
  397. \t\t\t\t\t</div>
  398. \t\t\t\t\t<div class=\"silde-content-box\">
  399. \t\t\t\t\t\t<div class=\"slide-content\">
  400. \t\t\t\t\t\t\t<h1>
  401. \t\t\t\t\t\t\t\t<span class=\"title-sm d-block\">{{ chefbannerspotlight.sliders[0].localizedfields.data.getLocalizedValue('heading')}}</span>
  402. \t\t\t\t\t\t\t\t<span class=\"title-lg underline-end\">{{ chefbannerspotlight.sliders[0].localizedfields.data.getLocalizedValue('heading1')}}</u>
  403. \t\t\t\t\t\t\t</h3>
  404. \t\t\t\t\t\t</h1>
  405. \t\t\t\t\t\t{# <a href=\"javascript:void(0)\" class=\"btn btn-custom btn-overlay\">learn More</a> #}
  406. \t\t\t\t\t</div>
  407. \t\t\t\t</div>
  408. \t\t\t</div>
  409. \t\t</div>
  410. \t</div>
  411. </div></section><!--End Main Slider--><!--Start Breadcrumbs--><div class=\"breadcrumb-holder\">
  412. <ol class=\"breadcrumb\">
  413. \t<li class=\"breadcrumb-item\">
  414. \t\t<a href=\"/{{app.request.locale}}\">{{'Home'|trans}}</a>
  415. \t</li>
  416. \t<li class=\"breadcrumb-item\">
  417. \t\t<a href=\"/{{app.request.locale}}/professional-training\">{{'Training'|trans}}</a>
  418. \t</li>
  419. \t<li class=\"breadcrumb-item active\" aria-current=\"page\">{{'Our Chefs'|trans}}</li>
  420. </ol></div><!--End Breadcrumbs--><!--Start Page Info Section--><section class=\"pageinfo-section\">
  421. <div class=\"container container-sm\">
  422. \t<h2 class=\"title\">{{'Our Chefs'|trans}}</h2>
  423. \t<p>{{'our_chef_main_desc'|trans}}</p>
  424. </div></section><!--End Page Info Section--><!--Start chef Section--><section class=\"chef-section\">
  425. <div class=\"container container-sm\">
  426. \t{% for Chefs in chefs %}
  427. \t\t<div class=\"chef-section-wrapper\">
  428. \t\t\t<div class=\"row\">
  429. \t\t\t\t<div class=\"col-md-5 col-xl-3\">
  430. \t\t\t\t\t<div class=\"chef-section-profile\">
  431. \t\t\t\t\t\t<div class=\"chef-section-profile-box\">
  432. \t\t\t\t\t\t\t{% if Chefs.chef_image %}
  433. \t\t\t\t\t\t\t\t<figure class=\"chef-section-profile-box-figure\">
  434. \t\t\t\t\t\t\t\t\t{# <img src=\"{{Chefs.chef_image}}\" alt=\"{{Chefs.chef_name}}\"> #}
  435. \t\t\t\t\t\t\t\t{{ Chefs.chef_image.thumbnail('350x492').getHTML({imgAttributes: {class:'',alt: Chefs.chef_name }})|raw }}
  436. \t\t\t\t\t\t\t\t</figure>
  437. \t\t\t\t\t\t\t{% else %}
  438. \t\t\t\t\t\t\t\t<figure class=\"chef-section-profile-box-figure __web-inspector-hide-shortcut__\">
  439. \t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/chef-pic-1.png\" alt=\"chef-profile\">
  440. \t\t\t\t\t\t\t\t</figure>
  441. \t\t\t\t\t\t\t{% endif %}
  442. \t\t\t\t\t\t\t{# <div class=\"chef-section-profile-box-social \">
  443. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>Follow us &#64;
  444. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  445. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https://www.facebook.com/{{Chefs.facebook}}\" target=\"_blank\" rel=\"noopener noreferrer\">
  446. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
  447. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  448. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https://twitter.com/{{Chefs.twitter}}\" target=\"_blank\" rel=\"noopener noreferrer\">
  449. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
  450. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  451. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https://www.instagram.com/{{Chefs.instagram}}\" target=\"_blank\" rel=\"noopener noreferrer\">
  452. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
  453. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  454. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https://www.youtube.com/{{Chefs.youtube}}\" target=\"_blank\" rel=\"noopener noreferrer\">
  455. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-youtube\"></i>
  456. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  457. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div> #}
  458. \t\t\t\t\t\t</div>
  459. \t\t\t\t\t</div>
  460. \t\t\t\t</div>
  461. \t\t\t\t<div class=\"col-md-7 col-xl-9\">
  462. \t\t\t\t\t<div class=\"chef-section-wrapper-information\">
  463. \t\t\t\t\t\t<h3>{{Chefs.chef_name}}</h3>
  464. \t\t\t\t\t\t<h5>{{Chefs.designation}}</h5>
  465. \t\t\t\t\t\t<p>{{Chefs.chief_note}}</p>
  466. \t\t\t\t\t\t{% if Chefs.Achieve|length !=0 %}
  467. \t\t\t\t\t\t\t<h3>{{'Achievements'|trans}}</h3>
  468. \t\t\t\t\t\t\t{% for i in 0..Chefs.Achieve|length -1 %}
  469. \t\t\t\t\t\t\t\t<p>-
  470. \t\t\t\t\t\t\t\t\t{{Chefs.Achieve[i].localizedfields.data.getLocalizedValue('achievements')}}
  471. \t\t\t\t\t\t\t\t</p>
  472. \t\t\t\t\t\t\t{% endfor %}
  473. \t\t\t\t\t\t{% endif %}
  474. \t\t\t\t\t</div>
  475. \t\t\t\t</div>
  476. \t\t\t</div>
  477. \t\t</div>
  478. \t\t<div class=\"chef-section-special\">
  479. \t\t\t<div class=\"row\">
  480. \t\t\t\t<div class=\"offset-xl-3 col-xl-9\">
  481. \t\t\t\t\t<div class=\"chef-section-special-area\">
  482. \t\t\t\t\t\t<div
  483. \t\t\t\t\t\t\tclass=\"chef-section-special-area-slider\">
  484. \t\t\t\t\t\t\t<!--Start Featured Recipes Section-->
  485. \t\t\t\t\t\t\t<section class=\"featured-recipes-section inner-frecipes-section chef-special-dish\">
  486. \t\t\t\t\t\t\t\t{% if Chefs.chef_special_recipe %}
  487. \t\t\t\t\t\t\t\t\t<h2 class=\"heading\">{{'Chef Special'|trans}}</h2>
  488. \t\t\t\t\t\t\t\t{% endif %}
  489. \t\t\t\t\t\t\t\t<div class=\"featured-recipes\">
  490. \t\t\t\t\t\t\t\t\t<div class=\"custom-slider featured-recipes-slider\">
  491. \t\t\t\t\t\t\t\t\t\t{% for i in 0..Chefs.chef_special_recipe|length -1 %}
  492. \t\t\t\t\t\t\t\t\t\t\t{% if Chefs.chef_special_recipe %}
  493. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide\">
  494. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  495. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{Chefs.chef_special_recipe[i].url}}\">
  496. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  497. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <img src=\"{{Chefs.chef_special_recipe[i].featured_image}}\" alt=\"Feature-Image\"> #}
  498. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if Chefs.chef_special_recipe[i] %} 
  499. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ Chefs.chef_special_recipe[i].featured_image.thumbnail('354x244').getHTML({imgAttributes: {class:'',alt: \"Feature-Image\" }})|raw }}
  500. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  501. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if Chefs.chef_special_recipe[i].banner_video %}
  502. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  503. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  504. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
  505. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  506. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
  507. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"frecipes-box\">
  508. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{Chefs.chef_special_recipe[i].url}}\">
  509. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>{{Chefs.chef_special_recipe[i].name}}</h3>
  510. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  511. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>{{Chefs.chef_special_recipe[i].short_description}}</p>
  512. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  513. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul
  514. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
  515. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <li class=\"mins\">{{Chefs.chef_special_recipe[i].time}} {{'mins'|trans}}</li> #}
  516. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">{{'No. Of'|trans}}
  517. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Serving'|trans}}
  518. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{Chefs.chef_special_recipe[i].serves}}</li>
  519. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">{{Chefs.chef_special_recipe[i].typeofmeal|trans}}</li>
  520. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
  521. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  522. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  523. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  524. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  525. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  526. \t\t\t\t\t\t\t\t\t</div>
  527. \t\t\t\t\t\t\t\t</div>
  528. \t\t\t\t\t\t\t</section>
  529. \t\t\t\t\t\t\t<!--End Featured Recipes Section-->
  530. \t\t\t\t\t\t</div>
  531. \t\t\t\t\t</div>
  532. \t\t\t\t</div>
  533. \t\t\t</div>
  534. \t\t</div>
  535. \t{% endfor %}
  536. </div></section><!--End chef Section--><!--End Wrapper-->{% if (app.request.locale =='ar') %}
  537. {% set topMenu =\"/en/our-professional-chefs\" %}{% else %}
  538. {% set topMenu =\"/ar/our-professional-chefs\" %}{% endif %}<script>
  539. var _TopMenuLink = \"{{ topMenu }}\";</script>{% endblock %}
  540. ""Recipes/our-chef.html.twig""/var/www/vhosts/centric.ae/gcs.centric.ae/templates/Recipes/our-chef.html.twig");
  541.     }
  542. }