Deprecated: Constant E_STRICT is deprecated in /var/www/html/k/kasscaffolding/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/k/kasscaffolding/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

var/cache/dev/twig/f0/f07646aef5c02b0b69e8e091fb3923e0.php line 64

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @theme/sectors/slider.html.twig */
  14. class __TwigTemplate_f44f6be3cd76b2c2d01ceb8ba395151c extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/sectors/slider.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/sectors/slider.html.twig"));
  33.         // line 1
  34.         echo "
  35. ";
  36.         // line 2
  37.         if ((twig_length_filter($this->env, (isset($context["sectors"]) || array_key_exists("sectors"$context) ? $context["sectors"] : (function () { throw new RuntimeError('Variable "sectors" does not exist.'2$this->source); })())) > 0)) {
  38.             // line 3
  39.             echo "    <div class=\"container\">
  40.         <p class=\"h3 text-center text-primary mb-0\">Search by Sector</p>
  41.         <div class=\"relative sector-slider-controls lg:border-secondary lg:border-b mb-8 lg:mb-12\">
  42.             <div class=\"slider-80 overflow-x-hidden pt-8 pb-4 lg:pb-12 px-4\">
  43.                 <section class=\"slider\">
  44.                     <div class=\"sector-slider\">
  45.                         <div class=\"swiper-wrapper\">
  46.                             ";
  47.             // line 10
  48.             $context['_parent'] = $context;
  49.             $context['_seq'] = twig_ensure_traversable((isset($context["sectors"]) || array_key_exists("sectors"$context) ? $context["sectors"] : (function () { throw new RuntimeError('Variable "sectors" does not exist.'10$this->source); })()));
  50.             foreach ($context['_seq'] as $context["_key"] => $context["sector"]) {
  51.                 // line 11
  52.                 echo "                                <div class=\"swiper-slide\">
  53.                                     <a class=\"w-full flex flex-col justify-center items-center bg-primary text-white py-6 px-8 text-center rounded-lg min-h-[155px]\" href=\"";
  54.                 // line 12
  55.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():44}(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsefalse12), twig_get_attribute($this->env$this->source$context["sector"], "linkedPageId", [], "any"falsefalsefalse12), ["sector_slug" => twig_get_attribute($this->env$this->source$context["sector"], "slug", [], "any"falsefalsefalse12)]), "html"nulltrue);
  56.                 echo "\">
  57.                                         <div class=\"text-5xl mb-2\">";
  58.                 // line 13
  59.                 echo twig_get_attribute($this->env$this->source$context["sector"], "icon", [], "any"falsefalsefalse13);
  60.                 echo "</div>
  61.                                         <p class=\"font-light\">";
  62.                 // line 14
  63.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["sector"], "title", [], "any"falsefalsefalse14), "html"nulltrue);
  64.                 echo "</p>
  65.                                     </a>
  66.                                 </div>
  67.                             ";
  68.             }
  69.             $_parent $context['_parent'];
  70.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sector'], $context['_parent'], $context['loop']);
  71.             $context array_intersect_key($context$_parent) + $_parent;
  72.             // line 18
  73.             echo "                        </div>
  74.                     </div>
  75.                 </section>
  76.             </div>
  77.             <div class=\"swiper-button-prev\"></div>
  78.             <div class=\"swiper-button-next\"></div>
  79.         </div>
  80.     </div>
  81. ";
  82.         }
  83.         // line 27
  84.         echo "
  85. ";
  86.         
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  88.         
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90.     }
  91.     /**
  92.      * @codeCoverageIgnore
  93.      */
  94.     public function getTemplateName()
  95.     {
  96.         return "@theme/sectors/slider.html.twig";
  97.     }
  98.     /**
  99.      * @codeCoverageIgnore
  100.      */
  101.     public function isTraitable()
  102.     {
  103.         return false;
  104.     }
  105.     /**
  106.      * @codeCoverageIgnore
  107.      */
  108.     public function getDebugInfo()
  109.     {
  110.         return array (  93 => 27,  82 => 18,  72 => 14,  68 => 13,  64 => 12,  61 => 11,  57 => 10,  48 => 3,  46 => 2,  43 => 1,);
  111.     }
  112.     public function getSourceContext()
  113.     {
  114.         return new Source("
  115. {% if sectors|length > 0 %}
  116.     <div class=\"container\">
  117.         <p class=\"h3 text-center text-primary mb-0\">Search by Sector</p>
  118.         <div class=\"relative sector-slider-controls lg:border-secondary lg:border-b mb-8 lg:mb-12\">
  119.             <div class=\"slider-80 overflow-x-hidden pt-8 pb-4 lg:pb-12 px-4\">
  120.                 <section class=\"slider\">
  121.                     <div class=\"sector-slider\">
  122.                         <div class=\"swiper-wrapper\">
  123.                             {% for sector in sectors %}
  124.                                 <div class=\"swiper-slide\">
  125.                                     <a class=\"w-full flex flex-col justify-center items-center bg-primary text-white py-6 px-8 text-center rounded-lg min-h-[155px]\" href=\"{{ generatePath(app.request, sector.linkedPageId, {sector_slug: sector.slug}) }}\">
  126.                                         <div class=\"text-5xl mb-2\">{{ sector.icon|raw }}</div>
  127.                                         <p class=\"font-light\">{{ sector.title }}</p>
  128.                                     </a>
  129.                                 </div>
  130.                             {% endfor %}
  131.                         </div>
  132.                     </div>
  133.                 </section>
  134.             </div>
  135.             <div class=\"swiper-button-prev\"></div>
  136.             <div class=\"swiper-button-next\"></div>
  137.         </div>
  138.     </div>
  139. {% endif %}
  140. ""@theme/sectors/slider.html.twig""/var/www/html/k/kasscaffolding/templates/themes/theme/sectors/slider.html.twig");
  141.     }
  142. }