var/cache/dev/twig/15/15e83a75631c4463f7f1bfbd53321c8e32d74318c9a1556331e3a93622fc3099.php line 219

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. /* @SyliusShop/Homepage/index.html.twig */
  14. class __TwigTemplate_a8c626dd14f404f8eadd2044674276e98edcfd3cf1638fcb500325bcb50a59f4 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.             'head' => [$this'block_head'],
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'title' => [$this'block_title'],
  26.             'content' => [$this'block_content'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "@SyliusShop/layout-full-width.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/index.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/index.html.twig"));
  42.         $this->parent $this->loadTemplate("@SyliusShop/layout-full-width.html.twig""@SyliusShop/Homepage/index.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 4
  50.     public function block_head($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  57.         // line 5
  58.         echo "    ";
  59.         $this->displayParentBlock("head"$context$blocks);
  60.         echo "
  61.     ";
  62.         // line 7
  63.         $this->displayBlock('stylesheets'$context$blocks);
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     public function block_stylesheets($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  76.         // line 8
  77.         echo "        ";
  78.         $this->displayParentBlock("stylesheets"$context$blocks);
  79.         echo "
  80.         <link href='https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.css' rel='stylesheet' />
  81.     ";
  82.         
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  84.         
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  86.     }
  87.     // line 14
  88.     public function block_title($context, array $blocks = [])
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  94.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  95.         echo "Mons Fromages | Fromager et affineur depuis 1960";
  96.         
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  98.         
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  100.     }
  101.     // line 16
  102.     public function block_content($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  107.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  109.         // line 17
  110.         echo "    <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"></script>
  111.     <script type=\"text/javascript\" src=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>
  112.     <link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
  113.     <div class=\"homepage\">
  114.         <!-- next line can be deleted if not needed -->
  115.         ";
  116.         // line 23
  117.         echo "
  118.         ";
  119.         // line 26
  120.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_media_index_by_section_code", ["sectionCode" => "slider-accueil""template" => "@SyliusShop/Homepage/slider.html.twig"]));
  121.         echo "
  122.         <div class=\"related-products homepage__related-products\">
  123.             <div class=\"container\">
  124.                 <img class=\"related-products__icon\" src=\"";
  125.         // line 32
  126.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/img/associated-icon.png"), "html"nulltrue);
  127.         echo "\" alt=\"";
  128.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.produitsassocies"), "html"nulltrue);
  129.         echo "\">
  130.                 <span class=\"related-products__tagline\">Mons fromagers & Affineurs</span>
  131.                 <h4 class=\"related-products__title\">";
  132.         // line 34
  133.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.decouvrezb");
  134.         echo "</h4>
  135.             </div>
  136.             <div class=\"homepage__related-products-container\" data-aos=\"fade-right\">
  137.                 <div class=\"related-products__products\">
  138.                     ";
  139.         // line 39
  140.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_product_index_latest", ["count" => 10"template" => "@SyliusShop/Homepage/_list.html.twig"]));
  141.         echo "
  142.                 </div>
  143.             </div>
  144.             <div class=\"text-center\">
  145.                 <a href=\"";
  146.         // line 45
  147.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_product_search");
  148.         echo "\" class=\"button homepage__related-products-button\">";
  149.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.voirnouveautes");
  150.         echo " <i class=\"fas fa-arrow-right\"></i></a>
  151.             </div>
  152.         </div>
  153.         <div class=\"container\">
  154.             <div class=\"discover\">
  155.                 <div class=\"discover__image\" data-aos=\"fade-right\">
  156.                     <img src=\"";
  157.         // line 52
  158.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/homepage/discover.png"), "html"nulltrue);
  159.         echo "\" alt=\"\">
  160.                     <img src=\"";
  161.         // line 53
  162.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/img/logo-mons-fromages.svg"), "html"nulltrue);
  163.         echo "\" alt=\"Logo MonS Fromagers Affineur\" class=\"discover__logo\" />
  164.                 </div>
  165.                 <section class=\"discover__content\" data-aos=\"fade-left\">
  166.                     <h1 class=\"page__title discover__title\">
  167.                         <span class=\"page__tagline\">";
  168.         // line 57
  169.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.who_are_we"), "html"nulltrue);
  170.         echo "</span>
  171.                         ";
  172.         // line 58
  173.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.discover_mons"), "html"nulltrue);
  174.         echo "
  175.                     </h1>
  176.                     <div class=\"discover__text\">
  177.                         ";
  178.         // line 61
  179.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show_link_by_code", ["code" => "decouvrez-maison-mons""template" => "@BitBagSyliusCmsPlugin/Shop/Page/blocks/_home-discover-mons.html.twig"]));
  180.         echo "
  181.                     </div>
  182.                     <a href=\"";
  183.         // line 63
  184.         echo twig_escape_filter($this->env$this->env->getRuntime('BitBag\SyliusCmsPlugin\Twig\Runtime\RenderLinkRuntime')->getLinkForCode("notre-histoire"), "html"nulltrue);
  185.         echo "\" class=\"button button--outline-red button--medium\" title=\"";
  186.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.discover_mons"), "html_attr");
  187.         echo "\">";
  188.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.discover_house"), "html"nulltrue);
  189.         echo "</a>
  190.                 </section>
  191.             </div>
  192.         </div>
  193.         <div class=\"homepage__more-info\" data-aos=\"fade-left\">
  194.             <div class=\"homepage__more-info-block\">
  195.                 <div class=\"homepage__more-info-content\">
  196.                     <div class=\"homepage__more-info-tagline\">";
  197.         // line 70
  198.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.information_inquiry"), "html"nulltrue);
  199.         echo "</div>
  200.                     <div class=\"homepage__more-info-title\">";
  201.         // line 71
  202.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.for_more_details_contact_us"), "html"nulltrue);
  203.         echo "</div>
  204.                     <a href=\"";
  205.         // line 72
  206.         echo twig_escape_filter($this->env$this->env->getRuntime('BitBag\SyliusCmsPlugin\Twig\Runtime\RenderLinkRuntime')->getLinkForCode("contact"), "html"nulltrue);
  207.         echo "\" class=\"button button--secondary button--medium\" title=\"";
  208.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.contact_us"), "html_attr");
  209.         echo "\"><i class=\"fas fa-envelope\"></i>";
  210.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.contact_us"), "html"nulltrue);
  211.         echo "</a>
  212.                 </div>
  213.                 <div class=\"homepage__more-info-image\">
  214.                     <img src=\"";
  215.         // line 75
  216.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/homepage/chevre.png"), "html"nulltrue);
  217.         echo "\" alt=\"\">
  218.                 </div>
  219.             </div>
  220.         </div>
  221.         <div class=\"bg-dark homepage__affinage\">
  222.             <div class=\"container\">
  223.                 <div class=\"news-latest\">
  224.                     <div class=\"news-latest__main-title\">\"L'Affinage, c'est du <em>vivant</em>, donc de l'<em>émotion</em>\"</div>
  225.                     <div class=\"news-latest__author\"><img src=\"";
  226.         // line 83
  227.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/homepage/signature-herve-mons.png"), "html"nulltrue);
  228.         echo "\" alt=\"Hervé Mons\"></div>
  229.                     <div class=\"news-latest__main-tagline\">Actualités du moment</div>
  230.                     <div class=\"news-latest__carousel\">
  231.                         <div class=\"news-latest__items\">
  232.                             ";
  233.         // line 87
  234.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("odiseo_sylius_blog_plugin_shop_partial_article_index_latest", ["count" => 3"template" => "@OdiseoSyliusBlogPlugin/Shop/Article/_home.html.twig"]));
  235.         echo "
  236.                         </div>
  237.                         <div class=\"carousel-prev\">Précédent</div>
  238.                         <div class=\"carousel-next\">Suivant</div>
  239.                     </div>
  240.                 </div>
  241.             </div>
  242.         </div>
  243.         <div class=\"store-list\">
  244.             <div class=\"store-list__columns\">
  245.                 <div class=\"store-list__map-block\" data-aos=\"fade-right\">
  246.                    <div id='map'></div>
  247.                 </div>
  248.                 <div class=\"store-list__list store-list__list--alternate\" data-aos=\"fade-left\">
  249.                     <h1 class=\"store-list__title\">";
  250.         // line 101
  251.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.discover_our_stores");
  252.         echo "</h1>
  253.                     ";
  254.         // line 103
  255.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Shop\\StoreController::home"));
  256.         echo "
  257.                     <br>
  258.                     <a href=\"";
  259.         // line 106
  260.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_store_index");
  261.         echo "\" class=\"button button--secondary button--medium\" title=\"";
  262.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.see_all_our_stores"), "html_attr");
  263.         echo "\">";
  264.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.home.see_all_our_stores"), "html"nulltrue);
  265.         echo "</a>
  266.                 </div>
  267.             </div>
  268.         </div>
  269.     </div>
  270. ";
  271.         
  272.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  273.         
  274.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  275.     }
  276.     // line 113
  277.     public function block_javascripts($context, array $blocks = [])
  278.     {
  279.         $macros $this->macros;
  280.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  281.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  282.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  283.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  284.         // line 114
  285.         echo "    ";
  286.         $this->displayParentBlock("javascripts"$context$blocks);
  287.         echo "
  288.     <script type=\"text/javascript\">
  289.         \$(document).ready(function () {
  290.             \$('.related-products__products').slick({
  291.                 slidesToShow: 3,
  292.                 slidesToScroll: 1,
  293.                 arrows: true,
  294.                 dots: false,
  295.                 infinite: false,
  296.                 autoplay: true,
  297.                 autoplaySpeed: 3000,
  298.                 responsive: [
  299.                     {
  300.                         breakpoint: 991,
  301.                         settings: {
  302.                             slidesToShow: 2,
  303.                         }
  304.                     },
  305.                     {
  306.                         breakpoint: 768,
  307.                         settings: {
  308.                             slidesToShow: 1,
  309.                         }
  310.                     },
  311.                 ]
  312.             });
  313.             \$('.banner-carousel__slides').slick({
  314.                 infinite: true,
  315.                 dots: true,
  316.                 slidesToShow: 1,
  317.                 slidesToScroll: 1,
  318.                 prevArrow: \$('.carousel-left'),
  319.                 nextArrow: \$('.carousel-right'),
  320.                 appendArrows: false,
  321.                 autoplay: true,
  322.                 autoplaySpeed: 3000
  323.             });
  324.             \$('.news-latest__items').slick({
  325.                 infinite: true,
  326.                 dots: true,
  327.                 slidesToShow: 1,
  328.                 slidesToScroll: 1,
  329.                 prevArrow: \$('.carousel-prev'),
  330.                 nextArrow: \$('.carousel-next'),
  331.                 appendArrows: false,
  332.                 autoplay: true,
  333.                 autoplaySpeed: 3000
  334.             });
  335.         });
  336.     </script>
  337. ";
  338.         
  339.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  340.         
  341.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  342.     }
  343.     public function getTemplateName()
  344.     {
  345.         return "@SyliusShop/Homepage/index.html.twig";
  346.     }
  347.     public function isTraitable()
  348.     {
  349.         return false;
  350.     }
  351.     public function getDebugInfo()
  352.     {
  353.         return array (  332 => 114,  322 => 113,  302 => 106,  296 => 103,  291 => 101,  274 => 87,  267 => 83,  256 => 75,  246 => 72,  242 => 71,  238 => 70,  224 => 63,  219 => 61,  213 => 58,  209 => 57,  202 => 53,  198 => 52,  186 => 45,  177 => 39,  169 => 34,  162 => 32,  153 => 26,  148 => 23,  141 => 17,  131 => 16,  112 => 14,  97 => 8,  78 => 7,  72 => 5,  62 => 4,  39 => 1,);
  354.     }
  355.     public function getSourceContext()
  356.     {
  357.         return new Source("{% extends '@SyliusShop/layout-full-width.html.twig' %}
  358. {% block head %}
  359.     {{ parent() }}
  360.     {% block stylesheets %}
  361.         {{ parent() }}
  362.         <link href='https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.css' rel='stylesheet' />
  363.     {% endblock %}
  364. {% endblock %}
  365. {% block title %}Mons Fromages | Fromager et affineur depuis 1960{% endblock %}
  366. {% block content %}
  367.     <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"></script>
  368.     <script type=\"text/javascript\" src=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js\"></script>
  369.     <link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
  370.     <div class=\"homepage\">
  371.         <!-- next line can be deleted if not needed -->
  372.         {# sylius_template_event('sylius.shop.homepage') #}
  373.         {{ render(path('bitbag_sylius_cms_plugin_shop_media_index_by_section_code', {'sectionCode' : 'slider-accueil', 'template' : '@SyliusShop/Homepage/slider.html.twig'})) }}
  374.         <div class=\"related-products homepage__related-products\">
  375.             <div class=\"container\">
  376.                 <img class=\"related-products__icon\" src=\"{{ asset('assets/shop/img/associated-icon.png') }}\" alt=\"{{ 'sylius.ui.produitsassocies'|trans }}\">
  377.                 <span class=\"related-products__tagline\">Mons fromagers & Affineurs</span>
  378.                 <h4 class=\"related-products__title\">{{ 'sylius.ui.decouvrezb'|trans|raw }}</h4>
  379.             </div>
  380.             <div class=\"homepage__related-products-container\" data-aos=\"fade-right\">
  381.                 <div class=\"related-products__products\">
  382.                     {{ render(url('sylius_shop_partial_product_index_latest', {'count': 10, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
  383.                 </div>
  384.             </div>
  385.             <div class=\"text-center\">
  386.                 <a href=\"{{ path('app_shop_product_search') }}\" class=\"button homepage__related-products-button\">{{ 'sylius.ui.voirnouveautes'|trans|raw }} <i class=\"fas fa-arrow-right\"></i></a>
  387.             </div>
  388.         </div>
  389.         <div class=\"container\">
  390.             <div class=\"discover\">
  391.                 <div class=\"discover__image\" data-aos=\"fade-right\">
  392.                     <img src=\"{{ asset('assets/shop/images/homepage/discover.png') }}\" alt=\"\">
  393.                     <img src=\"{{ asset('assets/shop/img/logo-mons-fromages.svg') }}\" alt=\"Logo MonS Fromagers Affineur\" class=\"discover__logo\" />
  394.                 </div>
  395.                 <section class=\"discover__content\" data-aos=\"fade-left\">
  396.                     <h1 class=\"page__title discover__title\">
  397.                         <span class=\"page__tagline\">{{ 'sylius.home.who_are_we'|trans }}</span>
  398.                         {{ 'sylius.home.discover_mons'|trans }}
  399.                     </h1>
  400.                     <div class=\"discover__text\">
  401.                         {{ render(path('bitbag_sylius_cms_plugin_shop_page_show_link_by_code', {'code' : 'decouvrez-maison-mons', 'template' : '@BitBagSyliusCmsPlugin/Shop/Page/blocks/_home-discover-mons.html.twig'})) }}
  402.                     </div>
  403.                     <a href=\"{{ bitbag_cms_get_link_for_code('notre-histoire') }}\" class=\"button button--outline-red button--medium\" title=\"{{ 'sylius.home.discover_mons'|trans|e('html_attr') }}\">{{ 'sylius.home.discover_house'|trans }}</a>
  404.                 </section>
  405.             </div>
  406.         </div>
  407.         <div class=\"homepage__more-info\" data-aos=\"fade-left\">
  408.             <div class=\"homepage__more-info-block\">
  409.                 <div class=\"homepage__more-info-content\">
  410.                     <div class=\"homepage__more-info-tagline\">{{ 'sylius.home.information_inquiry'|trans }}</div>
  411.                     <div class=\"homepage__more-info-title\">{{ 'sylius.home.for_more_details_contact_us'|trans }}</div>
  412.                     <a href=\"{{ bitbag_cms_get_link_for_code('contact') }}\" class=\"button button--secondary button--medium\" title=\"{{ 'sylius.home.contact_us'|trans|e('html_attr') }}\"><i class=\"fas fa-envelope\"></i>{{ 'sylius.home.contact_us'|trans }}</a>
  413.                 </div>
  414.                 <div class=\"homepage__more-info-image\">
  415.                     <img src=\"{{ asset('assets/shop/images/homepage/chevre.png') }}\" alt=\"\">
  416.                 </div>
  417.             </div>
  418.         </div>
  419.         <div class=\"bg-dark homepage__affinage\">
  420.             <div class=\"container\">
  421.                 <div class=\"news-latest\">
  422.                     <div class=\"news-latest__main-title\">\"L'Affinage, c'est du <em>vivant</em>, donc de l'<em>émotion</em>\"</div>
  423.                     <div class=\"news-latest__author\"><img src=\"{{ asset('assets/shop/images/homepage/signature-herve-mons.png') }}\" alt=\"Hervé Mons\"></div>
  424.                     <div class=\"news-latest__main-tagline\">Actualités du moment</div>
  425.                     <div class=\"news-latest__carousel\">
  426.                         <div class=\"news-latest__items\">
  427.                             {{ render(url('odiseo_sylius_blog_plugin_shop_partial_article_index_latest', {'count': 3, 'template': '@OdiseoSyliusBlogPlugin/Shop/Article/_home.html.twig'})) }}
  428.                         </div>
  429.                         <div class=\"carousel-prev\">Précédent</div>
  430.                         <div class=\"carousel-next\">Suivant</div>
  431.                     </div>
  432.                 </div>
  433.             </div>
  434.         </div>
  435.         <div class=\"store-list\">
  436.             <div class=\"store-list__columns\">
  437.                 <div class=\"store-list__map-block\" data-aos=\"fade-right\">
  438.                    <div id='map'></div>
  439.                 </div>
  440.                 <div class=\"store-list__list store-list__list--alternate\" data-aos=\"fade-left\">
  441.                     <h1 class=\"store-list__title\">{{ 'sylius.home.discover_our_stores'|trans|raw }}</h1>
  442.                     {{ render(controller('App\\\\Controller\\\\Shop\\\\StoreController::home')) }}
  443.                     <br>
  444.                     <a href=\"{{ path('app_shop_store_index') }}\" class=\"button button--secondary button--medium\" title=\"{{ 'sylius.home.see_all_our_stores'|trans|e('html_attr') }}\">{{ 'sylius.home.see_all_our_stores'|trans }}</a>
  445.                 </div>
  446.             </div>
  447.         </div>
  448.     </div>
  449. {% endblock %}
  450. {% block javascripts %}
  451.     {{ parent() }}
  452.     <script type=\"text/javascript\">
  453.         \$(document).ready(function () {
  454.             \$('.related-products__products').slick({
  455.                 slidesToShow: 3,
  456.                 slidesToScroll: 1,
  457.                 arrows: true,
  458.                 dots: false,
  459.                 infinite: false,
  460.                 autoplay: true,
  461.                 autoplaySpeed: 3000,
  462.                 responsive: [
  463.                     {
  464.                         breakpoint: 991,
  465.                         settings: {
  466.                             slidesToShow: 2,
  467.                         }
  468.                     },
  469.                     {
  470.                         breakpoint: 768,
  471.                         settings: {
  472.                             slidesToShow: 1,
  473.                         }
  474.                     },
  475.                 ]
  476.             });
  477.             \$('.banner-carousel__slides').slick({
  478.                 infinite: true,
  479.                 dots: true,
  480.                 slidesToShow: 1,
  481.                 slidesToScroll: 1,
  482.                 prevArrow: \$('.carousel-left'),
  483.                 nextArrow: \$('.carousel-right'),
  484.                 appendArrows: false,
  485.                 autoplay: true,
  486.                 autoplaySpeed: 3000
  487.             });
  488.             \$('.news-latest__items').slick({
  489.                 infinite: true,
  490.                 dots: true,
  491.                 slidesToShow: 1,
  492.                 slidesToScroll: 1,
  493.                 prevArrow: \$('.carousel-prev'),
  494.                 nextArrow: \$('.carousel-next'),
  495.                 appendArrows: false,
  496.                 autoplay: true,
  497.                 autoplaySpeed: 3000
  498.             });
  499.         });
  500.     </script>
  501. {% endblock %}
  502. ""@SyliusShop/Homepage/index.html.twig""/home/mons/site/www/templates/bundles/SyliusShopBundle/Homepage/index.html.twig");
  503.     }
  504. }