templates/home.html.twig line 1

Open in your IDE?
  1. {% extends 'base/base.html.twig' %}
  2. {% block stylesheets %}
  3. <style>
  4.     @media only screen and (max-width:1367px){
  5.         .card-sub{
  6.             text-align: justify;
  7.             color: white;
  8.             font-size: 12px !important;
  9.         }
  10.     }
  11.      @media only screen and (max-width:1280px){
  12.         .card-sub{
  13.             text-align: justify;
  14.             color: white;
  15.             font-size: 11px !important;
  16.         }
  17.         .card-sub2{
  18.             text-align: justify;
  19.             color: white;
  20.             font-size: 11px !important;
  21.         }
  22.         .card-title{
  23.             font-size: 20px !important;
  24.         }
  25.     }
  26.     @media only screen and (max-width:1024px){
  27.         .card-sub{
  28.             text-align: justify;
  29.             color: white;
  30.             font-size: 9px !important;
  31.         }
  32.         .card-sub2{
  33.             text-align: justify;
  34.             color: white;
  35.             font-size: 9px !important;
  36.         }
  37.         .card-title{
  38.             font-size: 16px !important;
  39.         }
  40.         .card-text{
  41.             font-size: 9px !important;
  42.         }
  43.     }
  44.     @media  (max-width:912px ) {
  45.         .text-Croma{
  46.         width: 50%;
  47.         font-size: 10px;
  48.         padding-left: 25px;
  49.         }
  50.         .desc-Croma{        
  51.             padding-left: 20px;
  52.             text-align: right;
  53.             font-size: 8px;
  54.             margin-top: 15px;
  55.         }
  56.        
  57.         .btn-Croma{
  58.             padding-left: 40px;
  59.         } 
  60.         .text-leDix{
  61.             width: 50%;
  62.             font-size: 10px;
  63.             padding-left: 25px;
  64.         }
  65.         .desc-leDix{        
  66.             padding-left: 20px;
  67.             font-size: 10px;
  68.             text-align: right;
  69.         }
  70.         .btn-leDix{
  71.             padding-left: 30px;
  72.         }
  73.         .cromas-carmenere{
  74.             padding-left:30px !important;
  75.         }
  76.         .cromas-carmenere-button{
  77.             padding-right:20px !important;
  78.         }
  79.         .cabernet-franc-gran{
  80.             padding-left:20px!important;
  81.         }
  82.         .cabernet-franc-gran-button{
  83.             padding-right:50px !important;
  84.         }
  85.         .cromas-cabernet-suav{
  86.             padding-left:30px!important;
  87.         }
  88.         .cromas-cabernet-suav-button{
  89.             padding-right:20px!important;
  90.         }
  91.         .syrah-gran-reserva{
  92.             padding-left:20px!important;
  93.         }
  94.         .syrah-gran-reserva-button{
  95.             padding-right:50px!important;
  96.         }
  97.         .vascos-chardonnay{
  98.             padding-left:20px!important;
  99.         }
  100.         .vascos-chardonnay-button{
  101.             padding-right:45px!important;
  102.         }
  103.         .vascos-cabernet-suav{
  104.             padding-left:30px!important;
  105.         }
  106.         .vascos-cabernet-suav-button{
  107.             padding-right:20px!important;
  108.         }
  109.         .vascos-rose{
  110.             padding-right:150px!important;
  111.         }
  112.         .vascos-rose-button{
  113.             padding-right:50px!important;
  114.         }
  115.         .vascos-suav-blanc{
  116.             padding-left:30px!important;
  117.         }
  118.         .vascos-suav-blanc-button{
  119.             padding-right:20px!important;
  120.         }
  121.         .vascos-ledix{
  122.             padding-right:150px!important;
  123.         }
  124.         .vascos-ledix-button{
  125.             padding-right:50px!important;
  126.         }
  127.         .magnum-cromas-caberSuav{
  128.             padding-left:30px!important;
  129.         }
  130.         .magnum-cromas-caberSuav-button{
  131.             padding-right:20px!important;    
  132.         }
  133.         .magnum-cromas-carmenere{
  134.             padding-right:120px!important;
  135.         }   
  136.         .magnum-cromas-carmenere-button{
  137.             padding-right:20px!important; 
  138.         }
  139.         .otros-vinos{
  140.             padding-right:150px!important;
  141.         }
  142.         .otros-vinos-button{
  143.             padding-right:50px!important;
  144.         }
  145.     }
  146.    
  147.     @media  (min-width:913px ) {
  148.         .text-Croma{
  149.         width: 50%;
  150.         font-size: 10px;
  151.         padding-left: 25px;
  152.         }
  153.         .desc-Croma{        
  154.             padding-left: 20px;
  155.             text-align: right;
  156.             margin-top: 15px;
  157.         }
  158.        
  159.         .btn-Croma{
  160.             padding-left: 40px;
  161.         } 
  162.         .text-leDix{
  163.         width: 50%;
  164.         font-size: 10px;
  165.         padding-left: 25px;
  166.         }
  167.         .desc-leDix{        
  168.             padding-left: 20px;
  169.             text-align: right;
  170.         }
  171.        
  172.         .btn-leDix{
  173.             padding-left: 40px;
  174.         }  
  175.         .cromas-carmenere{
  176.         padding-right:120px !important;
  177.         }
  178.         .cromas-carmenere-button{
  179.             margin-top: 50px !important;
  180.             padding-right:50px !important;
  181.         }
  182.         .cabernet-franc-gran{
  183.             padding-right:20px!important;
  184.         }
  185.         .cabernet-franc-gran-button{
  186.             margin-top: 10px !important;
  187.             padding-right:70px !important;
  188.         }
  189.         .cromas-cabernet-suav{
  190.             padding-right:30px!important;
  191.         }
  192.         .cromas-cabernet-suav-button{
  193.             margin-top: 10px !important;
  194.             padding-right:60px!important;     
  195.         }
  196.         .syrah-gran-reserva{
  197.             padding-right:30px!important;
  198.         }
  199.         .syrah-gran-reserva-button{
  200.             padding-right:80px!important; 
  201.         }
  202.         .vascos-chardonnay{
  203.             padding-left:30px!important;
  204.         }
  205.         .vascos-chardonnay-button{
  206.             margin-top: 80px !important;
  207.             padding-right:60px!important;
  208.         }
  209.         .vascos-cabernet-suav{
  210.             padding-right:120px!important;
  211.         }
  212.         .vascos-cabernet-suav-button{
  213.             padding-right:50px!important;
  214.         }
  215.         .vascos-rose{
  216.             padding-right:180px!important;
  217.         }
  218.         .vascos-rose-button{
  219.             margin-top: 70px !important;
  220.             padding-right:80px!important;    
  221.         }
  222.         .vascos-suav-blanc{
  223.             padding-left:40px!important;
  224.         }
  225.         .vascos-suav-blanc-button{
  226.             margin-top: 30px !important;
  227.             padding-right:60px!important;
  228.         }
  229.         .vascos-ledix{
  230.             padding-right:180px!important;
  231.         }
  232.         .vascos-ledix-button{
  233.             margin-top: 20px !important;
  234.             padding-right:80px!important;
  235.         }
  236.         .magnum-cromas-caberSuav{
  237.             margin-top: 40px !important;
  238.             padding-right:130px!important;
  239.         }
  240.         .magnum-cromas-caberSuav-button{
  241.             padding-right:50px!important;
  242.         }
  243.         .magnum-cromas-carmenere{
  244.             padding-right:120px!important;
  245.         }
  246.         .magnum-cromas-carmenere-button{
  247.             margin-top: 80px !important;
  248.             padding-right:50px!important;
  249.         }
  250.         .otros-vinos{
  251.             padding-right:180px!important;
  252.         }
  253.         .otros-vinos-button{
  254.             margin-top: 110px !important;
  255.             padding-right:80px!important;
  256.         }
  257.     }
  258.     
  259.     
  260. </style>
  261. <style>
  262. </style>
  263. {% endblock %}
  264. {% block body %}
  265. {% include 'base/header.html.twig' %}
  266.     <div class="fullwidth-template" >
  267.         <div class="slide-home-03" style="width: auto !important; height: auto !important;">
  268.             <div class="response-product product-list-owl owl-slick equal-container better-height"
  269.                 data-slick="{&quot;arrows&quot;:false,&quot;slidesMargin&quot;:0,&quot;dots&quot;:true,&quot;infinite&quot;:false,&quot;speed&quot;:300,&quot;slidesToShow&quot;:1,&quot;rows&quot;:1}"
  270.                 data-responsive="[{&quot;breakpoint&quot;:480,&quot;settings&quot;:{&quot;slidesToShow&quot;:1,&quot;slidesMargin&quot;:&quot;0&quot;}},{&quot;breakpoint&quot;:768,&quot;settings&quot;:{&quot;slidesToShow&quot;:1,&quot;slidesMargin&quot;:&quot;0&quot;}},{&quot;breakpoint&quot;:992,&quot;settings&quot;:{&quot;slidesToShow&quot;:1,&quot;slidesMargin&quot;:&quot;0&quot;}},{&quot;breakpoint&quot;:1200,&quot;settings&quot;:{&quot;slidesToShow&quot;:1,&quot;slidesMargin&quot;:&quot;0&quot;}},{&quot;breakpoint&quot;:1500,&quot;settings&quot;:{&quot;slidesToShow&quot;:1,&quot;slidesMargin&quot;:&quot;0&quot;}}]">
  271.                 <div class="slide-wrap ">
  272.                     <img src="{{ asset('images/banner/FOTO1.png') }}"  class="img-responsive " style="width:1920px !important; height:600px !important; "  alt="image">
  273.                 </div>
  274.             </div>
  275.         </div>
  276.         <div id="home">
  277.             <section class="sobre-losVascos">
  278.             <div>
  279.                 <h2 style="color: #AA6D3A;font-size: 45px;" class="MejMedium">LOS VASCOS</h2>
  280.                 <h3 style="font-size: 13px;" class="MejMedium">CULTIVANDO INDEPENDENCIA</h3>
  281.                 
  282.                 <p class="MejMedium" style="text-align: justify;">                     
  283.                     En Los Vascos, somos una comunidad de cultivadores creativos y meticulosos arraigados al Valle de Colchagua. <br>
  284.                     Soñamos con transformar nuestro extenso territorio en un ecosistema equilibrado donde el hombre y la naturaleza coexistan armónicamente.<br>
  285.                     Esta tierra remota ha generado en nosotros una personalidad independiente.<br> 
  286.                     Combinamos las tradiciones chilenas con el saber hacer de Domaines Barons de Rothschild (Lafite) para producir vinos a nuestra imagen. 
  287.                 </p>
  288.                 <p class="MejMedium" style="text-align: center;">
  289.                     <iframe title="vimeo-player" src="https://player.vimeo.com/video/727842090?h=627376003d" width="640" height="379" frameborder="0" allowfullscreen></iframe>
  290.                     {#<a href="https://player.vimeo.com/video/727842090?h=627376003d"target ="_blank" class="MejMedium" ><i class="fa fa-youtube"></i> Ver Video</a>
  291.                     <iframe width="1280" height="760" src="https://www.youtube.com/embed/sqyvg7sqryY" title="Los Vascos, Cultivando Independencia" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>#}
  292.                 </p>
  293.             </div>
  294.             
  295.             </section>
  296.             
  297.             <div class="section-017"  style="padding-left: 30px !important;">
  298.                 <div class="row" >
  299.                     {# Le Dix - Tiempo Recuperado 2 #}
  300.                     <div class="card col-lg-4" >
  301.                         <img class="card-img-top" src="{{ asset('images/banner/FOTO2a.jpg') }}" alt="Card image cap" style="width: auto; height: 350px;" class="attachment-full size-full img-responsive">
  302.                         <div class="card-body" style="background-color: #CABBA3;">
  303.                             <p class="card-title MejMedium" style="color: white; font-size: 25px; text-align: justify;">LE DIX  </p>
  304.                             <p class="card-text card-sub2 MejMedium" style="color: white; font-size: 14px; text-align: justify;">TIEMPO RECUPERADO</p>
  305.                             <p class="card-text MejMedium" style="color: white; font-size: 12px; text-align: justify;">Nuestra ambición para Le Dix es crear un ícono atemporal a partir de las vides más antiguas de Cabernet Sauvignon y Syrah. </p>
  306.                             
  307.                         </div>
  308.                          <div class="card-footer text-center" style="background-color: #AA6D3A; color: white;">
  309.                             <a class="button btn MejMedium" style="color: white;" target="_self" href="{{path('productosTag',{'tag': 'LeDix'})}}" style="margin-top:150px; "><span>Comprar</span></a> 
  310.                         </div>
  311.                     </div>
  312.                     {# Cromas #}
  313.                     <div class="card col-lg-4" >
  314.                         <img class="card-img-top" src="{{ asset('images/banner/FOTO2b.jpg') }}" alt="Card image cap" style="width: auto; height: 350px;" class="attachment-full size-full img-responsive">
  315.                         <div class="card-body" style="background-color: #CABBA3;">
  316.                             <p class="card-title MejMedium" style="color: white; font-size: 25px; text-align: justify;">CROMAS GRAN RESERVA</p>
  317.                             <p class="card-sub MejMedium" style="color: white;  font-size: 14px;  text-align: justify;">LAS COLORES SON EL LENGUAJE DE LA NATURALEZA</p>
  318.                             <p class="card-text MejMedium" style="color: white; font-size: 12px; text-align: justify;">Estos vinos son hechos en terroirs seleccionados en las laderas de nuestras colinas. </p>
  319.                             
  320.                         </div>
  321.                          <div class="card-footer text-center"  style="background-color: #AA6D3A; color: white;">
  322.                             <a class="button btn MejMedium" style="color: white;" target="_self" href="{{path('productosTag',{'tag': 'Cromas'})}}" style="margin-top:150px; "><span>Comprar</span></a> 
  323.                         </div>
  324.                     </div>
  325.                     {# Los Vascos #}
  326.                     <div class="card col-lg-4" >
  327.                         <img class="card-img-top" src="{{ asset('images/banner/FOTO2c.jpg') }}" alt="Card image cap" style="width: auto; height: 350px;" class="attachment-full size-full img-responsive">
  328.                         <div class="card-body" style="background-color: #CABBA3;">
  329.                             <p class="card-title MejMedium" style="color: white; font-size: 25px; text-align: justify;">LOS VASCOS</p>
  330.                             <p class="card-text card-sub2 MejMedium" style="color: white; font-size: 14px; text-align: justify;">CULTIVANDO INDEPENDENCIA</p>
  331.                             <p class="card-text MejMedium" style="color: white; font-size: 12px; text-align: justify;">Nuestra línea de vinos varietales frescos y afrutados con un toque de sofisticación.</p>
  332.                             
  333.                         </div>
  334.                         <div class="card-footer text-center" style="background-color: #AA6D3A; color: white;" >
  335.                             <a class="button btn MejMedium" style="color: white;" target="_self" href="{{path('productosTag',{'tag': 'LosVascos'})}}" style="margin-top:150px; "><span>Comprar</span></a> 
  336.                         </div>
  337.                     </div>
  338.                 </div>
  339.                 
  340.             {#   vista antigua de vinos especificos
  341.                 <div class="row" >
  342.                     <div class="col-md-12 col-lg-4">
  343.                         <div class="kreen-banner style-08 left-center">
  344.                             <div class="banner-inner">
  345.                                 <figure class="banner-thumb" style="width: 50%;">
  346.                                     <img src="{{ asset('images/cromas_carmenere.png') }}" class="attachment-full size-full img-responsive"
  347.                                         alt="img">
  348.                                 </figure>
  349.                                 <div class="banner-info " style="padding-right: 30px;">
  350.                                     <div class="banner-content">
  351.                                         <div class="title-wrap">
  352.                                             <h6  class="title cromas-carmenere">
  353.                                                 Cromas Carmenere Gran Reserva</h6>
  354.                                         </div>
  355.                                         <div style="" class="button-wrap cromas-carmenere-button">
  356.                                             {% if slug %}
  357.                                                 <a class="button" target="_self" href="{{path('producto',{'slug':slug[0]})}}"><span>Comprar</span></a>
  358.                                             {% endif %}
  359.                                         </div>
  360.                                     </div>
  361.                                 </div>
  362.                             </div>
  363.                         </div>
  364.                     </div>
  365.                     <div class="col-md-12 col-lg-4">
  366.                         <div class="kreen-banner style-09 left-center">
  367.                             <div class="banner-inner">
  368.                                 <figure class="banner-thumb" style="width: 50%;">
  369.                                     <img src="{{ asset('images/cromas_cabernet.png') }}" class="attachment-full size-full"
  370.                                         alt="img">
  371.                                 </figure>
  372.                                 <div class="banner-info ">
  373.                                     <div class="banner-content">
  374.                                         <div class="title-wrap ">
  375.                                             <h6 class="title cabernet-franc-gran" >
  376.                                                 Cromas Cabernet Franc Gran Reserva </h6>
  377.                                         </div>
  378.                                         <div class="button-wrap cabernet-franc-gran-button" >
  379.                                         {% if slug %}
  380.                                             <a class="button" target="_self" href="{{path('producto',{'slug':slug[1]})}}"><span>Comprar</span></a>
  381.                                         {% endif %}
  382.                                         </div>
  383.                                     </div>
  384.                                 </div>
  385.                             </div>
  386.                         </div>
  387.                     </div>
  388.                     <div class="col-md-12 col-lg-4">
  389.                         <div class="kreen-banner style-10 left-center">
  390.                             <div class="banner-inner">
  391.                                     <figure class="banner-thumb " style="width: 50%;">
  392.                                         <img src="{{ asset('images/cromas_cabernet.png') }}" class="attachment-full size-full"
  393.                                             alt="img">
  394.                                     </figure>
  395.                                 <div class="banner-info " style="padding-right: 30px;">
  396.                                     <div class="banner-content">
  397.                                         <div class="title-wrap">
  398.                                             <h6 class="title cromas-cabernet-suav" >
  399.                                                 Cromas Cabernet Sauvignon Gran Reserva</h6>
  400.                                         </div>
  401.                                         <div class="button-wrap cromas-cabernet-suav-button" >
  402.                                         {% if slug %}
  403.                                             <a class="button" target="_self" href="{{path('producto',{'slug':slug[2]})}}"><span>Comprar</span></a>
  404.                                         {% endif %}   
  405.                                         </div>
  406.                                     </div>
  407.                                 </div>
  408.                             </div>
  409.                         </div>
  410.                     </div>
  411.                     <!-- segunda fila -->
  412.                     <div class="col-md-12 col-lg-4">
  413.                         <div class="kreen-banner style-08 left-center">
  414.                             <div class="banner-inner">
  415.                                 <figure class="banner-thumb" style="width: 50%;">
  416.                                     <img src="{{ asset('images/cromas_syrah.png') }}" class="attachment-full size-full" alt="img">
  417.                                 </figure>
  418.                                 <div class="banner-info ">
  419.                                     <div class="banner-content">
  420.                                         <div class="title-wrap" >
  421.                                             <h6  class="title syrah-gran-reserva">
  422.                                                 Cromas Syrah Gran Reserva</h6>
  423.                                         </div>
  424.                                         <div  class="button-wrap syrah-gran-reserva-button">
  425.                                         {% if slug %}
  426.                                             <a class="button" target="_self" href="{{path('producto',{'slug':slug[3]})}}"><span>Comprar</span></a>
  427.                                         {% endif %}  
  428.                                         </div>
  429.                                     </div>
  430.                                 </div>
  431.                             </div>
  432.                         </div>
  433.                     </div>
  434.                     <div class="col-md-12 col-lg-4">
  435.                         <div class="kreen-banner style-09 left-center">
  436.                             <div class="banner-inner">
  437.                                 <figure class="banner-thumb" style="width: 50%;">
  438.                                     <img src="{{ asset('images/lv_chardonnay.png') }}" class="attachment-full size-full" alt="img">
  439.                                 </figure>
  440.                                 <div class="banner-info " style="padding-right: 5px;">
  441.                                     <div class="banner-content">
  442.                                         <div class="title-wrap">
  443.                                             <h6  class="title vascos-chardonnay">
  444.                                                 Los Vascos Chardonnay</h6>
  445.                                         </div>
  446.                                         <div class="button-wrap vascos-chardonnay-button" >
  447.                                         {% if slug %}
  448.                                             <a class="button" target="_self" href="{{path('producto',{'slug':slug[4]})}}"><span>Comprar</span></a>
  449.                                         {% endif %}  
  450.                                         </div>
  451.                                     </div>
  452.                                 </div>
  453.                             </div>
  454.                         </div>
  455.                     </div>                
  456.                     <div class="col-md-12 col-lg-4">
  457.                         <div class="kreen-banner style-10 left-center">
  458.                             <div class="banner-inner">
  459.                                 <figure class="banner-thumb" style="width: 50%;">
  460.                                     <img src="{{ asset('images/lv_csauvignon.png') }}" class="attachment-full size-full" alt="img">
  461.                                 </figure>
  462.                                 <div class="banner-info " style="padding-right: 30px;">
  463.                                     <div class="banner-content">
  464.                                         <div class="title-wrap">
  465.                                             <h6 class="title vascos-cabernet-suav" >
  466.                                                 Los Vascos Cabernet Sauvignon </h6>
  467.                                         </div>
  468.                                         <div class="button-wrap vascos-cabernet-suav-button">
  469.                                         {% if slug %}
  470.                                             <a class="button" target="_self" href="{{path('producto',{'slug':slug[5]})}}"><span>Comprar</span></a>
  471.                                         {% endif %}  
  472.                                         </div>
  473.                                     </div>
  474.                                 </div>
  475.                             </div>
  476.                         </div>
  477.                     </div>
  478.                     <div class="col-md-12 col-lg-4">
  479.                         <div class="kreen-banner style-08 left-center">
  480.                             <div class="banner-inner">
  481.                                 <figure class="banner-thumb" style="width: 50%;">
  482.                                     <img src="{{ asset('images/lv_rose.png') }}" class="attachment-full size-full" alt="img">
  483.                                 </figure>
  484.                                 <div class="banner-info ">
  485.                                     <div class="banner-content">
  486.                                         <div class="title-wrap">
  487.                                             <h6  class="title vascos-rose">
  488.                                                 Los Vascos Rosé</h6>
  489.                                         </div>
  490.                                         <div  class="button-wrap vascos-rose-button">
  491.                                         {% if slug %}
  492.                                             <a class="button" target="_self" href="{{path('producto',{'slug':slug[6]})}}"><span>Comprar</span></a>
  493.                                         {% endif %}  
  494.                                         </div>
  495.                                     </div>
  496.                                 </div>
  497.                             </div>
  498.                         </div>
  499.                     </div>
  500.                     <div class="col-md-12 col-lg-4">
  501.                         <div class="kreen-banner style-09 left-center">
  502.                             <div class="banner-inner">
  503.                                 <figure class="banner-thumb" style="width: 50%;">
  504.                                     <img src="{{ asset('images/lv_sauvignon_blanc.png') }}" class="attachment-full size-full"
  505.                                         alt="img">
  506.                                 </figure>
  507.                                 <div class="banner-info " style="padding-right: 30px;">
  508.                                     <div class="banner-content">
  509.                                         <div class="title-wrap">
  510.                                             <h6 class="title vascos-suav-blanc" >
  511.                                                 Los Vascos Sauvignon Blanc </h6>
  512.                                         </div>
  513.                                         <div class="button-wrap vascos-suav-blanc-button" >
  514.                                         {% if slug %}
  515.                                             <a class="button" target="_self" href="{{path('producto',{'slug':slug[7]})}}"><span>Comprar</span></a>
  516.                                         {% endif %}  
  517.                                         </div>
  518.                                     </div>
  519.                                 </div>
  520.                             </div>
  521.                         </div>
  522.                     </div>
  523.                     <div class="col-md-12 col-lg-4">
  524.                         <div class="kreen-banner style-10 left-center">
  525.                             <div class="banner-inner">
  526.                                 <figure class="banner-thumb" style="width: 50%;">
  527.                                     <img src="{{ asset('images/lv_ledix.png') }}" class="attachment-full size-full" alt="img">
  528.                                 </figure>
  529.                                 <div class="banner-info ">
  530.                                     <div class="banner-content">
  531.                                         <div class="title-wrap">
  532.                                             <h6  class="title vascos-ledix">
  533.                                                 Los Vascos Le Dix</h6>
  534.                                         </div>
  535.                                         <div class="button-wrap vascos-ledix-button" >
  536.                                         {% if slug %}
  537.                                             <a class="button" target="_self" href="{{path('producto',{'slug':slug[8]})}}"><span>Comprar</span></a>
  538.                                         {% endif %}  
  539.                                         </div>
  540.                                     </div>
  541.                                 </div>
  542.                             </div>
  543.                         </div>
  544.                     </div>
  545.                     <!-- ultima fila -->
  546.                     <div class="col-md-12 col-lg-4">
  547.                         <div class="kreen-banner style-10 left-center">
  548.                             <div class="banner-inner">
  549.                                 <figure class="banner-thumb" style="width: 50%;">
  550.                                     <img src="{{ asset('images/magnum_cromas.png') }}" class="attachment-full size-full" alt="img">
  551.                                 </figure>
  552.                                 <div class="banner-info " style="padding-right: 30px;">
  553.                                     <div class="banner-content">
  554.                                         <div class="title-wrap">
  555.                                             <h6  class="title magnum-cromas-caberSuav">
  556.                                                 Magnum Cromas Cabernet Sauvignon</h6>
  557.                                         </div>
  558.                                         <div class="button-wrap magnum-cromas-caberSuav-button" >
  559.                                         {% if slug %}
  560.                                             <a class="button" target="_self" href="{{path('producto',{'slug':slug[9]})}}"><span>Comprar</span></a>
  561.                                         {% endif %}  
  562.                                         </div>
  563.                                     </div>
  564.                                 </div>
  565.                             </div>
  566.                         </div>
  567.                     </div>
  568.                     <div class="col-md-12 col-lg-4">
  569.                         <div class="kreen-banner style-10 left-center">
  570.                             <div class="banner-inner">
  571.                                 <figure class="banner-thumb" style="width: 50%;">
  572.                                     <img src="{{ asset('images/magnum_cromas_carmenere.png') }}" class="attachment-full size-full"
  573.                                         alt="img">
  574.                                 </figure>
  575.                                 <div class="banner-info " style="padding-right: 30px;">
  576.                                     <div class="banner-content">
  577.                                         <div class="title-wrap">
  578.                                             <h6  class="title magnum-cromas-carmenere">
  579.                                                 Magnum Cromas Carmenere</h6>
  580.                                         </div>
  581.                                         <div class="button-wrap magnum-cromas-carmenere-button">
  582.                                         {% if slug %}
  583.                                             <a class="button" target="_self" href="{{path('producto',{'slug':slug[10]})}}"><span>Comprar</span></a>
  584.                                         {% endif %}  
  585.                                         </div>
  586.                                     </div>
  587.                                 </div>
  588.                             </div>
  589.                         </div>
  590.                     </div>
  591.                     <div class="col-md-12 col-lg-4">
  592.                         <div class="kreen-banner style-10 left-center">
  593.                             <div class="banner-inner">
  594.                                 <figure class="banner-thumb" style="width: 50%;">
  595.                                     <img src="{{ asset('images/lv_csauvignon.png') }}" class="attachment-full size-full" alt="img">
  596.                                 </figure>
  597.                                 <div class="banner-info " >
  598.                                     <div class="banner-content">
  599.                                         <div class="title-wrap" >
  600.                                             <h6 class="title otros-vinos">
  601.                                                 Otros Vinos </h6>
  602.                                         </div>
  603.                                         <div class="button-wrap otros-vinos-button" >                                        
  604.                                             <a class="button" target="_self" href="{{path('productosTag',{'tag': 'especial'})}}"><span>Comprar</span></a>
  605.                                         </div>
  606.                                     </div>
  607.                                 </div>
  608.                             </div>
  609.                         </div>
  610.                     </div>
  611.                 </div>#}
  612.             </div>
  613.             <div class="section-043  col-12">
  614.                 <div style="text-align: center;" class="kreen-heading style-01">
  615.                 <a class="btn btn-primary MejMedium " title="TIENDA ONLINE" href="{{ path('vinos') }}" style="background-color: #AA6D3A; border-color: #AA6D3A; float: center;">Nuestra Tienda</a>
  616.                 {#<h3 style="color: #AA6D3A;">Nuestro Feed de Instagram</h3>
  617.                 <p style="color: grey; font-size:1.1em;" >Nuestros vinos son fieles a su corazón Chileno.</p>#}
  618.                 {#<img src="{{ asset('images/LogoCultivating-transparente.png') }}" class="attachment-full size-full" style="width: 650px; height: 150px;" alt="img">
  619.                 </div>
  620.                 <div class="kreen-instagram style-01">#}
  621.                   
  622.                     
  623.                 </div>
  624.             </div>
  625.         
  626.           
  627.         </div>
  628.        
  629.         <!-- Modal -->
  630.         <div id="mayorEdad" style="background: #D0C2AF;">
  631.             <section class="sobre-losVascos">
  632.             <div>
  633.                 <h3 class="MejMedium" style="color: white; font-size:30px;">¿ERES MAYOR DE EDAD PARA CONSUMIR ALCOHOL?</h3>
  634.                  
  635.                 <button type="button" class="btn btn-primary" style="height: 85px; width:85px;background-color: #CABBA3 !important;  border-color: #CABBA3 !important" id="Msi">Si</button>
  636.                 <button type="button" class="btn btn-danger" style="height: 85px; width:85px; background-color: #B56150 !important; border-color: #B56150 !important" id="Mno">No</button>  
  637.                 
  638.             </div>
  639.             </section>
  640.         </div>
  641.         
  642.     </div>
  643. {% include 'base/footer.html.twig' %}
  644. {% endblock %}
  645. {% block javascripts %}
  646. <script>
  647.     
  648.     $(document).ready(function(){
  649.         localStorage.removeItem("validEdad");
  650.         
  651.         var validEdad = localStorage.getItem("validEdadHome"); 
  652.        
  653.         
  654.         if($('#home').hide()){
  655.             $('#mayorEdad').show();
  656.         }else{
  657.              $('#mayorEdad').hide();
  658.         }
  659.         document.getElementById('Mno').onclick = function(){            
  660.             alert('No cumple con el minimo de edad.');
  661.             window.location.href = "http://www.google.com";
  662.         }
  663.         document.getElementById('Msi').onclick = function(){        
  664.             localStorage.setItem("validEdadHome", 1);       
  665.             $('#home').show();    
  666.             $('#mayorEdad').hide();        
  667.         }
  668.        
  669.         if(validEdad == 1){
  670.             $('#home').show();    
  671.             $('#mayorEdad').hide();
  672.         }
  673.     })
  674.         
  675.         
  676. </script>
  677. {% endblock %}