var/cache/dev/twig/ad/ad99e70cbf6652e6150b51e0313e1618.php line 39

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. /* ecom/brandcategories.html.twig */
  15. class __TwigTemplate_420012ace300814398339bf38e8d365b extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ecom/brandcategories.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ecom/brandcategories.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""ecom/brandcategories.html.twig"1);
  40.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 2
  47.     public function block_body($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  54.         // line 3
  55.         yield "  <div class=\"container-fluid main-holder px-5 bg-light\">
  56.     <div class=\"row\">
  57.       <div class=\"col-lg-3\">
  58.         <select class=\"form-select rounded-pill py-3 px-3 shadow-none border-0 fs-5 bg-transparent fw-bold mb-3\" id=\"\">
  59.           <option selected>Select a City</option>
  60.           ";
  61.         // line 8
  62.         $context['_parent'] = $context;
  63.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables"$context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.'8$this->source); })()), "cities", [], "method"falsefalsefalse8));
  64.         foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
  65.             // line 9
  66.             yield "          <option value=\"";
  67.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["c"], "id", [], "any"falsefalsefalse9), "html"nulltrue);
  68.             yield "\">";
  69.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["c"], "name", [], "any"falsefalsefalse9), "html"nulltrue);
  70.             yield "</option>
  71.           ";
  72.         }
  73.         $_parent $context['_parent'];
  74.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
  75.         $context array_intersect_key($context$_parent) + $_parent;
  76.         // line 11
  77.         yield "        </select>
  78.       </div>
  79.     </div>
  80.   </div>
  81.   <div class=\"container-fluid px-5 mt-5\">
  82.     <div class=\"row\">
  83.       <div class=\"col-lg-12\">
  84.         <h1 class=\"fw-bolder\">Nick Tahoes</h1>
  85.         <h6>Explore Nick Tahoes products</h6>
  86.       </div>
  87.     </div>
  88.     <div class=\"row mb-5\">
  89.       <div class=\"col-lg-4 mt-4\"> <a href=\"";
  90.         // line 23
  91.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_products_store", ["style" => 1]);
  92.         yield "\">
  93.         <div class=\"card border-0 rounded-5 p-0 overflow-hidden shadow-sm\"> <img src=\"";
  94.         // line 24
  95.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/pdt-cat1.jpg"), "html"nulltrue);
  96.         yield "\" alt=\"\" class=\"img-fluid\"> </div>
  97.         <h6 class=\"fw-bold mt-3 mb-4\">Men's Apparels</h6>
  98.         </a> </div>
  99.       <div class=\"col-lg-4 mt-4\"> <a href=\"#0\">
  100.         <div class=\"card border-0 rounded-5 p-0 overflow-hidden shadow-sm\"> <img src=\"";
  101.         // line 28
  102.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/pdt-cat2.jpg"), "html"nulltrue);
  103.         yield "\" alt=\"\" class=\"img-fluid\"> </div>
  104.         <h6 class=\"fw-bold mt-3 mb-4\">Women's Apparels</h6>
  105.         </a> </div>
  106.       <div class=\"col-lg-4 mt-4\"> <a href=\"#0\">
  107.         <div class=\"card border-0 rounded-5 p-0 overflow-hidden shadow-sm\"> <img src=\"";
  108.         // line 32
  109.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/pdt-cat3.jpg"), "html"nulltrue);
  110.         yield "\" alt=\"\" class=\"img-fluid\"> </div>
  111.         <h6 class=\"fw-bold mt-3 mb-4\">Kid's Apparels</h6>
  112.         </a> </div>
  113.       <div class=\"col-lg-4 mt-4\"> <a href=\"#0\">
  114.         <div class=\"card border-0 rounded-5 p-0 overflow-hidden shadow-sm\"> <img src=\"";
  115.         // line 36
  116.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/pdt-cat4.jpg"), "html"nulltrue);
  117.         yield "\" alt=\"\" class=\"img-fluid\"> </div>
  118.         <h6 class=\"fw-bold mt-3 mb-4\">Home Goods</h6>
  119.         </a> </div>
  120.       <div class=\"col-lg-4 mt-4\"> <a href=\"#0\">
  121.         <div class=\"card border-0 rounded-5 p-0 overflow-hidden shadow-sm\"> <img src=\"";
  122.         // line 40
  123.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/pdt-cat5.jpg"), "html"nulltrue);
  124.         yield "\" alt=\"\" class=\"img-fluid\"> </div>
  125.         <h6 class=\"fw-bold mt-3 mb-4\">Accessories</h6>
  126.         </a> </div>
  127.     </div>
  128.   </div>
  129. ";
  130.         
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  132.         
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  134.         return; yield '';
  135.     }
  136.     /**
  137.      * @codeCoverageIgnore
  138.      */
  139.     public function getTemplateName()
  140.     {
  141.         return "ecom/brandcategories.html.twig";
  142.     }
  143.     /**
  144.      * @codeCoverageIgnore
  145.      */
  146.     public function isTraitable()
  147.     {
  148.         return false;
  149.     }
  150.     /**
  151.      * @codeCoverageIgnore
  152.      */
  153.     public function getDebugInfo()
  154.     {
  155.         return array (  137 => 40,  130 => 36,  123 => 32,  116 => 28,  109 => 24,  105 => 23,  91 => 11,  80 => 9,  76 => 8,  69 => 3,  59 => 2,  36 => 1,);
  156.     }
  157.     public function getSourceContext()
  158.     {
  159.         return new Source("{% extends 'base.html.twig' %}
  160. {% block body %}
  161.   <div class=\"container-fluid main-holder px-5 bg-light\">
  162.     <div class=\"row\">
  163.       <div class=\"col-lg-3\">
  164.         <select class=\"form-select rounded-pill py-3 px-3 shadow-none border-0 fs-5 bg-transparent fw-bold mb-3\" id=\"\">
  165.           <option selected>Select a City</option>
  166.           {% for c in ecomvariables.cities() %}
  167.           <option value=\"{{ c.id }}\">{{ c.name }}</option>
  168.           {% endfor %}
  169.         </select>
  170.       </div>
  171.     </div>
  172.   </div>
  173.   <div class=\"container-fluid px-5 mt-5\">
  174.     <div class=\"row\">
  175.       <div class=\"col-lg-12\">
  176.         <h1 class=\"fw-bolder\">Nick Tahoes</h1>
  177.         <h6>Explore Nick Tahoes products</h6>
  178.       </div>
  179.     </div>
  180.     <div class=\"row mb-5\">
  181.       <div class=\"col-lg-4 mt-4\"> <a href=\"{{ path('sajong_ecom_products_store', {'style':1 }) }}\">
  182.         <div class=\"card border-0 rounded-5 p-0 overflow-hidden shadow-sm\"> <img src=\"{{ asset('img/pdt-cat1.jpg')\t}}\" alt=\"\" class=\"img-fluid\"> </div>
  183.         <h6 class=\"fw-bold mt-3 mb-4\">Men's Apparels</h6>
  184.         </a> </div>
  185.       <div class=\"col-lg-4 mt-4\"> <a href=\"#0\">
  186.         <div class=\"card border-0 rounded-5 p-0 overflow-hidden shadow-sm\"> <img src=\"{{ asset('img/pdt-cat2.jpg')\t}}\" alt=\"\" class=\"img-fluid\"> </div>
  187.         <h6 class=\"fw-bold mt-3 mb-4\">Women's Apparels</h6>
  188.         </a> </div>
  189.       <div class=\"col-lg-4 mt-4\"> <a href=\"#0\">
  190.         <div class=\"card border-0 rounded-5 p-0 overflow-hidden shadow-sm\"> <img src=\"{{ asset('img/pdt-cat3.jpg')\t}}\" alt=\"\" class=\"img-fluid\"> </div>
  191.         <h6 class=\"fw-bold mt-3 mb-4\">Kid's Apparels</h6>
  192.         </a> </div>
  193.       <div class=\"col-lg-4 mt-4\"> <a href=\"#0\">
  194.         <div class=\"card border-0 rounded-5 p-0 overflow-hidden shadow-sm\"> <img src=\"{{ asset('img/pdt-cat4.jpg')\t}}\" alt=\"\" class=\"img-fluid\"> </div>
  195.         <h6 class=\"fw-bold mt-3 mb-4\">Home Goods</h6>
  196.         </a> </div>
  197.       <div class=\"col-lg-4 mt-4\"> <a href=\"#0\">
  198.         <div class=\"card border-0 rounded-5 p-0 overflow-hidden shadow-sm\"> <img src=\"{{ asset('img/pdt-cat5.jpg')\t}}\" alt=\"\" class=\"img-fluid\"> </div>
  199.         <h6 class=\"fw-bold mt-3 mb-4\">Accessories</h6>
  200.         </a> </div>
  201.     </div>
  202.   </div>
  203. {% endblock %}""ecom/brandcategories.html.twig""/var/www/commerce8/noble_natives/templates/ecom/brandcategories.html.twig");
  204.     }
  205. }