var/cache/dev/twig/a8/a8cf0ef73ffd88303eda0ea6381e4a7ce3bff9bb27c94f50ffbfc370e474fa5f.php line 50

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. /* entreprise/home.html.twig */
  14. class __TwigTemplate_fe0cacb8140776d0e6851240648f2ac3749095fa0d3e80efe4f729dc891877ad extends \Twig\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->blocks = [
  23.             'stylesheets' => [$this'block_stylesheets'],
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""entreprise/home.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""entreprise/home.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""entreprise/home.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_stylesheets($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  55.         // line 4
  56.         echo "\t";
  57.         $this->displayParentBlock("stylesheets"$context$blocks);
  58.         echo "
  59. \t<style>
  60. \t\t.slick-prev:before,
  61. \t\t.slick-next:before {
  62. \t\t\tcolor: black;
  63. \t\t\tfont-size: 35px;
  64. \t\t}
  65. \t\t.slide-container{
  66. \t\t\theight: 350px;
  67. \t\t}
  68. \t
  69. \t\t.home-collection-slide-container{
  70. \t\t\twidth: 97%;
  71. \t\t}
  72. \t</style>
  73. ";
  74.         
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  76.         
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  78.     }
  79.     // line 21
  80.     public function block_body($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  87.         // line 22
  88.         echo "\t <!-- Slider-->
  89. \t\t<div class=\"container\" >
  90. \t\t\t<div class=\"row\">
  91. \t\t\t\t<div class=\"col-md-2\">
  92. \t\t\t\t\t<div>
  93. \t\t\t\t\t";
  94.         // line 27
  95.         $context['_parent'] = $context;
  96.         $context['_seq'] = twig_ensure_traversable((isset($context["leftBoxes"]) || array_key_exists("leftBoxes"$context) ? $context["leftBoxes"] : (function () { throw new RuntimeError('Variable "leftBoxes" does not exist.'27$this->source); })()));
  97.         foreach ($context['_seq'] as $context["_key"] => $context["leftBoxe"]) {
  98.             // line 28
  99.             echo "\t\t\t\t\t\t<div>
  100. \t\t\t\t\t\t\t <div class=\"card\">
  101. \t\t\t\t\t\t\t\t<div class=\"card-body text-center\">
  102. \t\t\t\t\t\t\t\t";
  103.             // line 31
  104.             echo twig_get_attribute($this->env$this->source$context["leftBoxe"], "contenu", [], "any"falsefalsefalse31);
  105.             echo "
  106. \t\t\t\t\t\t\t\t</div>
  107. \t\t\t\t\t\t\t  </div>
  108. \t\t\t\t\t\t</div>
  109. \t\t\t\t\t\t<br/>
  110. \t\t\t\t\t";
  111.         }
  112.         $_parent $context['_parent'];
  113.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['leftBoxe'], $context['_parent'], $context['loop']);
  114.         $context array_intersect_key($context$_parent) + $_parent;
  115.         // line 37
  116.         echo "\t\t\t\t\t</div>
  117. \t\t\t\t</div>
  118. \t\t\t\t<div class=\"col-md-7\">
  119. \t\t\t\t\t<div id=\"slide-container\">
  120. \t\t\t\t\t";
  121.         // line 41
  122.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\EntrepriseController::homeSlidesAction"));
  123.         echo "
  124. \t\t\t\t\t</div>
  125. \t\t\t\t</div>
  126. \t\t\t\t<div class=\"col-md-3\">
  127. \t\t\t\t\t<div>
  128. \t\t\t\t\t";
  129.         // line 46
  130.         $context['_parent'] = $context;
  131.         $context['_seq'] = twig_ensure_traversable((isset($context["rightBoxes"]) || array_key_exists("rightBoxes"$context) ? $context["rightBoxes"] : (function () { throw new RuntimeError('Variable "rightBoxes" does not exist.'46$this->source); })()));
  132.         foreach ($context['_seq'] as $context["_key"] => $context["rightBoxe"]) {
  133.             // line 47
  134.             echo "\t\t\t\t\t\t<div>
  135. \t\t\t\t\t\t\t <div class=\"card\">
  136. \t\t\t\t\t\t\t\t<div class=\"card-body text-center\">
  137. \t\t\t\t\t\t\t\t";
  138.             // line 50
  139.             echo twig_get_attribute($this->env$this->source$context["rightBoxe"], "contenu", [], "any"falsefalsefalse50);
  140.             echo "
  141. \t\t\t\t\t\t\t\t</div>
  142. \t\t\t\t\t\t\t  </div>
  143. \t\t\t\t\t\t</div>
  144. \t\t\t\t\t\t<br/>
  145. \t\t\t\t\t";
  146.         }
  147.         $_parent $context['_parent'];
  148.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['rightBoxe'], $context['_parent'], $context['loop']);
  149.         $context array_intersect_key($context$_parent) + $_parent;
  150.         // line 56
  151.         echo "\t\t\t\t\t</div>
  152. \t\t\t\t\t
  153. \t\t\t\t</div>
  154. \t\t\t</div>
  155. \t\t</div>
  156.           
  157. \t<section class=\"container pt-5\">
  158. \t\t
  159. \t
  160.       <!-- Heading-->
  161. \t  ";
  162.         // line 66
  163.         $context['_parent'] = $context;
  164.         $context['_seq'] = twig_ensure_traversable((isset($context["collections"]) || array_key_exists("collections"$context) ? $context["collections"] : (function () { throw new RuntimeError('Variable "collections" does not exist.'66$this->source); })()));
  165.         $context['loop'] = [
  166.           'parent' => $context['_parent'],
  167.           'index0' => 0,
  168.           'index'  => 1,
  169.           'first'  => true,
  170.         ];
  171.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  172.             $length count($context['_seq']);
  173.             $context['loop']['revindex0'] = $length 1;
  174.             $context['loop']['revindex'] = $length;
  175.             $context['loop']['length'] = $length;
  176.             $context['loop']['last'] = === $length;
  177.         }
  178.         foreach ($context['_seq'] as $context["_key"] => $context["collection"]) {
  179.             // line 67
  180.             echo "\t  ";
  181.             if (twig_get_attribute($this->env$this->source$context["collection"], "isPromotional", [], "any"falsefalsefalse67)) {
  182.                 // line 68
  183.                 echo "\t\t<div class=\"row\">
  184. \t\t\t";
  185.                 // line 69
  186.                 $context["photos"] = twig_get_attribute($this->env$this->source$context["collection"], "photos", [], "any"falsefalsefalse69);
  187.                 // line 70
  188.                 echo "\t\t\t";
  189.                 $context['_parent'] = $context;
  190.                 $context['_seq'] = twig_ensure_traversable((isset($context["photos"]) || array_key_exists("photos"$context) ? $context["photos"] : (function () { throw new RuntimeError('Variable "photos" does not exist.'70$this->source); })()));
  191.                 foreach ($context['_seq'] as $context["_key"] => $context["p"]) {
  192.                     // line 71
  193.                     echo "\t\t\t\t<div class=\"col\">
  194. \t\t\t\t\t<img src=\"";
  195.                     // line 72
  196.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["p"], "url", [], "any"falsefalsefalse72), "html"nulltrue);
  197.                     echo "\" />
  198. \t\t\t\t</div>
  199. \t\t\t";
  200.                 }
  201.                 $_parent $context['_parent'];
  202.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['p'], $context['_parent'], $context['loop']);
  203.                 $context array_intersect_key($context$_parent) + $_parent;
  204.                 // line 75
  205.                 echo "\t\t</div>
  206. \t  ";
  207.             } else {
  208.                 // line 77
  209.                 echo "\t\t<div class=\"assie-card\">
  210. \t\t\t<div class=\"assie-card-body\">
  211. \t\t\t  <div class=\"d-flex flex-wrap justify-content-between align-items-center pt-1 border-bottom pb-4 mb-4\">
  212. \t\t\t\t<h2 class=\"h3 mb-0 pt-3 mr-2\">";
  213.                 // line 80
  214.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["collection"], "nom", [], "any"falsefalsefalse80), "html"nulltrue);
  215.                 echo "</h2>
  216. \t\t\t\t<div class=\"pt-3\"><a class=\"btn btn-outline-accent btn-sm\" href=\"";
  217.                 // line 81
  218.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product_by_collection", ["slug" => twig_get_attribute($this->env$this->source$context["collection"], "slug", [], "any"falsefalsefalse81)]), "html"nulltrue);
  219.                 echo "\">Plus de produits<i class=\"czi-arrow-right ml-1 mr-n1\"></i></a></div>
  220. \t\t\t  </div>
  221. \t\t\t  <!-- Grid-->
  222. \t\t\t\t<div class=\"home-collection-slide-container\">
  223. \t\t\t\t  <div class=\"row pt-2 mx-n2 home-collection-slide\">
  224. \t\t\t\t\t<!-- Product-->
  225. \t\t\t\t\t";
  226.                 // line 87
  227.                 $context["products"] = twig_get_attribute($this->env$this->source$context["collection"], "products", [], "any"falsefalsefalse87);
  228.                 // line 88
  229.                 echo "\t\t\t\t\t";
  230.                 echo twig_include($this->env$context"entreprise/product_raw_list_1.html.twig");
  231.                 echo "
  232. \t\t\t\t\t<!-- Product-->
  233. \t\t\t\t  </div>
  234. \t\t\t  </div>
  235. \t\t\t</div>
  236. \t\t</div>
  237. \t  ";
  238.             }
  239.             // line 95
  240.             echo "\t  ";
  241.             ++$context['loop']['index0'];
  242.             ++$context['loop']['index'];
  243.             $context['loop']['first'] = false;
  244.             if (isset($context['loop']['length'])) {
  245.                 --$context['loop']['revindex0'];
  246.                 --$context['loop']['revindex'];
  247.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  248.             }
  249.         }
  250.         $_parent $context['_parent'];
  251.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collection'], $context['_parent'], $context['loop']);
  252.         $context array_intersect_key($context$_parent) + $_parent;
  253.         // line 96
  254.         echo "\t  
  255.     </section>
  256. \t<br/>
  257. \t<br/>
  258. \t<br/>
  259.   ";
  260.         
  261.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  262.         
  263.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  264.     }
  265.     // line 104
  266.     public function block_javascripts($context, array $blocks = [])
  267.     {
  268.         $macros $this->macros;
  269.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  270.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  271.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  272.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  273.         // line 105
  274.         echo "\t";
  275.         $this->displayParentBlock("javascripts"$context$blocks);
  276.         echo "
  277. \t<script type=\"text/javascript\">
  278. \t\$(function(){
  279. \t\t\$('.autoplay-slide').slick({
  280. \t\t\t  slidesToShow: 1,
  281. \t\t\t  slidesToScroll: 1,
  282. \t\t\t  autoplay: true,
  283. \t\t\t  autoplaySpeed: 3000,
  284. \t\t\t  arrows: true,
  285. \t\t\t  responsive: [
  286. \t\t\t\t\t{
  287. \t\t\t\t\t  breakpoint: 1024,
  288. \t\t\t\t\t  settings: {
  289. \t\t\t\t\t\tslidesToShow: 1,
  290. \t\t\t\t\t\tslidesToScroll: 1,
  291. \t\t\t\t\t\tinfinite: true,
  292. \t\t\t\t\t\tautoplay: true,
  293. \t\t\t\t\t  }
  294. \t\t\t\t\t}
  295. \t\t\t\t]
  296. \t\t\t});
  297. \t\t\t
  298. \t\t
  299. \t});
  300. </script>
  301. ";
  302.         
  303.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  304.         
  305.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  306.     }
  307.     public function getTemplateName()
  308.     {
  309.         return "entreprise/home.html.twig";
  310.     }
  311.     public function isTraitable()
  312.     {
  313.         return false;
  314.     }
  315.     public function getDebugInfo()
  316.     {
  317.         return array (  298 => 105,  288 => 104,  273 => 96,  259 => 95,  248 => 88,  246 => 87,  237 => 81,  233 => 80,  228 => 77,  224 => 75,  215 => 72,  212 => 71,  207 => 70,  205 => 69,  202 => 68,  199 => 67,  182 => 66,  170 => 56,  158 => 50,  153 => 47,  149 => 46,  141 => 41,  135 => 37,  123 => 31,  118 => 28,  114 => 27,  107 => 22,  97 => 21,  70 => 4,  60 => 3,  37 => 1,);
  318.     }
  319.     public function getSourceContext()
  320.     {
  321.         return new Source("{% extends 'base.html.twig' %}
  322. {% block stylesheets %}
  323. \t{{ parent() }}
  324. \t<style>
  325. \t\t.slick-prev:before,
  326. \t\t.slick-next:before {
  327. \t\t\tcolor: black;
  328. \t\t\tfont-size: 35px;
  329. \t\t}
  330. \t\t.slide-container{
  331. \t\t\theight: 350px;
  332. \t\t}
  333. \t
  334. \t\t.home-collection-slide-container{
  335. \t\t\twidth: 97%;
  336. \t\t}
  337. \t</style>
  338. {% endblock stylesheets %}
  339. {% block body %}
  340. \t <!-- Slider-->
  341. \t\t<div class=\"container\" >
  342. \t\t\t<div class=\"row\">
  343. \t\t\t\t<div class=\"col-md-2\">
  344. \t\t\t\t\t<div>
  345. \t\t\t\t\t{% for leftBoxe in leftBoxes %}
  346. \t\t\t\t\t\t<div>
  347. \t\t\t\t\t\t\t <div class=\"card\">
  348. \t\t\t\t\t\t\t\t<div class=\"card-body text-center\">
  349. \t\t\t\t\t\t\t\t{{ leftBoxe.contenu | raw }}
  350. \t\t\t\t\t\t\t\t</div>
  351. \t\t\t\t\t\t\t  </div>
  352. \t\t\t\t\t\t</div>
  353. \t\t\t\t\t\t<br/>
  354. \t\t\t\t\t{% endfor %}
  355. \t\t\t\t\t</div>
  356. \t\t\t\t</div>
  357. \t\t\t\t<div class=\"col-md-7\">
  358. \t\t\t\t\t<div id=\"slide-container\">
  359. \t\t\t\t\t{{ render(controller('App\\\\Controller\\\\EntrepriseController::homeSlidesAction')) }}
  360. \t\t\t\t\t</div>
  361. \t\t\t\t</div>
  362. \t\t\t\t<div class=\"col-md-3\">
  363. \t\t\t\t\t<div>
  364. \t\t\t\t\t{% for rightBoxe in rightBoxes %}
  365. \t\t\t\t\t\t<div>
  366. \t\t\t\t\t\t\t <div class=\"card\">
  367. \t\t\t\t\t\t\t\t<div class=\"card-body text-center\">
  368. \t\t\t\t\t\t\t\t{{ rightBoxe.contenu | raw }}
  369. \t\t\t\t\t\t\t\t</div>
  370. \t\t\t\t\t\t\t  </div>
  371. \t\t\t\t\t\t</div>
  372. \t\t\t\t\t\t<br/>
  373. \t\t\t\t\t{% endfor %}
  374. \t\t\t\t\t</div>
  375. \t\t\t\t\t
  376. \t\t\t\t</div>
  377. \t\t\t</div>
  378. \t\t</div>
  379.           
  380. \t<section class=\"container pt-5\">
  381. \t\t
  382. \t
  383.       <!-- Heading-->
  384. \t  {% for collection in collections %}
  385. \t  {% if collection.isPromotional %}
  386. \t\t<div class=\"row\">
  387. \t\t\t{% set photos = collection.photos %}
  388. \t\t\t{% for p in photos %}
  389. \t\t\t\t<div class=\"col\">
  390. \t\t\t\t\t<img src=\"{{ p.url }}\" />
  391. \t\t\t\t</div>
  392. \t\t\t{% endfor %}
  393. \t\t</div>
  394. \t  {% else %}
  395. \t\t<div class=\"assie-card\">
  396. \t\t\t<div class=\"assie-card-body\">
  397. \t\t\t  <div class=\"d-flex flex-wrap justify-content-between align-items-center pt-1 border-bottom pb-4 mb-4\">
  398. \t\t\t\t<h2 class=\"h3 mb-0 pt-3 mr-2\">{{ collection.nom }}</h2>
  399. \t\t\t\t<div class=\"pt-3\"><a class=\"btn btn-outline-accent btn-sm\" href=\"{{ path('product_by_collection', {'slug': collection.slug}) }}\">Plus de produits<i class=\"czi-arrow-right ml-1 mr-n1\"></i></a></div>
  400. \t\t\t  </div>
  401. \t\t\t  <!-- Grid-->
  402. \t\t\t\t<div class=\"home-collection-slide-container\">
  403. \t\t\t\t  <div class=\"row pt-2 mx-n2 home-collection-slide\">
  404. \t\t\t\t\t<!-- Product-->
  405. \t\t\t\t\t{% set products = collection.products %}
  406. \t\t\t\t\t{{ include ('entreprise/product_raw_list_1.html.twig') }}
  407. \t\t\t\t\t<!-- Product-->
  408. \t\t\t\t  </div>
  409. \t\t\t  </div>
  410. \t\t\t</div>
  411. \t\t</div>
  412. \t  {% endif %}
  413. \t  {% endfor %}
  414. \t  
  415.     </section>
  416. \t<br/>
  417. \t<br/>
  418. \t<br/>
  419.   {# End main #}
  420. {% endblock body %}
  421. {% block javascripts %}
  422. \t{{ parent() }}
  423. \t<script type=\"text/javascript\">
  424. \t\$(function(){
  425. \t\t\$('.autoplay-slide').slick({
  426. \t\t\t  slidesToShow: 1,
  427. \t\t\t  slidesToScroll: 1,
  428. \t\t\t  autoplay: true,
  429. \t\t\t  autoplaySpeed: 3000,
  430. \t\t\t  arrows: true,
  431. \t\t\t  responsive: [
  432. \t\t\t\t\t{
  433. \t\t\t\t\t  breakpoint: 1024,
  434. \t\t\t\t\t  settings: {
  435. \t\t\t\t\t\tslidesToShow: 1,
  436. \t\t\t\t\t\tslidesToScroll: 1,
  437. \t\t\t\t\t\tinfinite: true,
  438. \t\t\t\t\t\tautoplay: true,
  439. \t\t\t\t\t  }
  440. \t\t\t\t\t}
  441. \t\t\t\t]
  442. \t\t\t});
  443. \t\t\t
  444. \t\t
  445. \t});
  446. </script>
  447. {% endblock javascripts %}
  448. ""entreprise/home.html.twig""/home/luxurybeautybarber/public_html/templates/entreprise/home.html.twig");
  449.     }
  450. }