templates/home.html.twig line 8

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% set page = 'homepage' %}
  3. {% block title %}Accueil{% endblock %}
  4. {% block body %}
  5.     {% set headerContent = content('Home', 'Header') %}
  6.     {% if headerContent.picture is defined and headerContent.picture is not empty %}
  7.         {% set backgroundImage = headerContent.picture[0].path %}
  8.     {% else %}
  9.         {% set backgroundImage = 'empty' %}
  10.     {% endif %}
  11.     <header class="header-home" style="background-image:url({% if backgroundImage is empty %}'/uploads/images/{{ backgroundImage }}'{% else %}'https://tracol.lu/uploads/tracol.jpg'{% endif %})">
  12.         <div class="container-fluid">
  13.             <div class="px-4 py-5 text-center">
  14.                 <div id="block-header-home" class="col-lg-12">
  15.                     {% if headerContent.content is defined %}
  16.                         <div id="svg-header" class="col-lg-8 div-svg-header ">
  17.                             <svg id="svg-home" xmlns="http://www.w3.org/2000/svg" width="9.089" height="14.77" viewBox="0 0 9.089 14.77">
  18.                                 <path id="Tracé_76" data-name="Tracé 76" d="M682.759,232.441h-9.089v14.77l9.089-1.931Z" transform="translate(-673.669 -232.441)" fill="#f6a400"/>
  19.                             </svg>
  20.                         </div>
  21.                         <div class="col-lg-8 div-svg-header home-p">
  22.                             <p id="header-text-home" class="header-text">{{ headerContent.content|raw }}</p>
  23.                         </div>
  24.                     {% endif %}
  25.                     {#
  26.                     <div name="form-search-normal" id="form-search-normal" class="div-svg-header">
  27.                         <form action="{{ path('results') }}"  style="display: flex; align-items: center; width: 100%">
  28.                             <div style="display: flex;flex-direction: column;justify-content: center; width: 66.666vw;">
  29.                                 <div class="selectors" style="display: flex; align-items: center; width: auto;">
  30.                                     <div id="transaction-drop" class="dropdown">
  31.                                         <div class="undroped">
  32.                                             <p class="undroped-header">Type de transaction</p>
  33.                                             <p name="transaction-type" class="undroped-subheader">Achat ou Location</p>
  34.                                             <input type="hidden" value="" class="input-subheader" name="transaction-type">
  35.                                         </div>
  36.                                         <div class="droped">
  37.                                             <div class="dropdown-header">Type de transaction</div>
  38.                                             <ul id="transaction-li" class="items">
  39.                                                 <li class="item" data-value ="Vente">Achat</li>
  40.                                                 <li class="item" data-value ="Location">Location</li>
  41.                                                 <li class="item" data-value ="Location saisonnière">Location saisonniere</li>
  42.                                                 <li class="item" data-value ="Programme">Programme</li>
  43.                                                <li class="item" data-value ="Viager">Viager</li>
  44.                                                                   <li class="item" data-value ="Enchere">Enchère</li>
  45.                     </ul>
  46.                 </div>
  47.             </div>
  48.             <div id="property-drop" class="dropdown">
  49.                 <div class="undroped">
  50.                     <p class="undroped-header">Type de biens</p>
  51.                     <p name="property-type" class="undroped-subheader">Appartement, Bureau, ...</p>
  52.                     <input type="hidden" value="" class="input-subheader" name="property-type">
  53.                 </div>
  54.                 <div class="droped">
  55.                     <div class="dropdown-header">Type de biens</div>
  56.                     <ul id="property-li" class="items">
  57.                         <li class="item" data-value ="Appartement">Appartements</li>
  58.                         <li class="item" data-value ="Bureaux">Bureaux</li>
  59.                         <li class="item" data-value ="Maison">Maisons</li>
  60.                         <li class="item" data-value ="Commerce">Commerces</li>
  61.                         <li class="item" data-value ="Garage / Parking">Garages / Parkings</li>
  62.                         <li class="item" data-value ="Immeuble">Immeubles</li>
  63.                     </ul>
  64.                 </div>
  65.             </div>
  66.             <div id="location-drop" class="dropdown">
  67.                 <div class="undroped">
  68.                     <p class="undroped-header">Localisation</p>
  69.                     <p class="undroped-subheader">Choissisez une ville</p>
  70.                     <input type="hidden" value="" class="input-subheader" name="location">
  71.                 </div>
  72.                 <div class="droped">
  73.                     <div  class="dropdown-header">Localisation</div>
  74.                     <ul id="location-li" class="items">
  75.                                                                         <li class="item" data-value ="Appartement">Luxembourg-Ville</li>
  76.                                                                        <li class="item" data-value ="Bureaux">Leudelange</li>
  77.                                                                        <li class="item" data-value ="Maison">Esch-Sur-Alzette</li>
  78.                     </ul>
  79.                 </div>
  80.             </div>
  81.             <div class="div-form">
  82.                 <button  id="search-detail" class="btn btn-primary child search">RECHERCHE AVANCEE</button>
  83.             </div>
  84.             <div>
  85.                 <button style="background-color: transparent;border-color: transparent;" id="submit-search" type="submit">
  86.                     <svg class="search-button" xmlns="http://www.w3.org/2000/svg" width="55.982" height="90.97" viewBox="0 0 55.982 90.97">
  87.                         <g id="Groupe_3817" data-name="Groupe 3817" transform="translate(-1528.861 -105)">
  88.                             <path id="Tracé_95" data-name="Tracé 95" d="M729.651,232.441H673.669v90.97l55.982-11.894Z" transform="translate(855.192 -127.441)" fill="#f6a400"/>
  89.                             <g id="Groupe_3794" data-name="Groupe 3794" transform="translate(1545.335 126.696)">
  90.                                 <g id="np_search_1868241_000000">
  91.                                     <path id="Tracé_92" data-name="Tracé 92" d="M8.287,17.368A8.662,8.662,0,1,1,14.4,14.813a8.679,8.679,0,0,1-6.109,2.555Zm0-15.055a6.36,6.36,0,1,0,4.477,1.881A6.377,6.377,0,0,0,8.287,2.313Z" transform="translate(0.441 -0.012)" fill="#fff"/>
  92.                                     <path id="Tracé_93" data-name="Tracé 93" d="M57.82,59.567l1.626-1.633L67.4,65.852l-1.626,1.633Z" transform="translate(-44.591 -44.782)" fill="#fff"/>
  93.                                 </g>
  94.                             </g>
  95.                         </g>
  96.                     </svg></button>
  97.                 <button class="btn btn-primary" id="send" type="submit" style="display: none">Envoyer</button>
  98.             </div>
  99.         </div>
  100.         <div id="sub-search-div" class="sub-search-div" style="display: none">
  101.             <div class="col-lg-3 div-form">
  102.                 <input class="sub-search-input" name="budget"  id="budget" type="text" placeholder="Budget max.">
  103.             </div>
  104.             <div id="rooms-drop" class="dropdown">
  105.                 <div class="undroped">
  106.                     <p class="undroped-header transparent-font">Nombre de chambres</p>
  107.                     <p class="undroped-subheader good-place"></p>
  108.                     <input type="hidden" class="input-subheader" name="rooms">
  109.                 </div>
  110.                 <div class="droped">
  111.                     <div class="dropdown-header">Nombre de chambres</div>
  112.                     <ul id="rooms-li" class="items">
  113.                         <li class="item" data-value ="1">1</li>
  114.                         <li class="item" data-value ="2">2</li>
  115.                         <li class="item" data-value ="3">3</li>
  116.                         <li class="item" data-value ="4">4</li>
  117.                         <li class="item" data-value ="5">5</li>
  118.                         <li class="item" data-value ="6">6</li>
  119.                     </ul>
  120.                 </div>
  121.             </div>
  122.             <div class="col-lg-3 div-form">
  123.                 <input class="sub-search-input" id="area-minimumm" name="area-minimumm" type="text" placeholder="Surface minimum.">
  124.             </div>
  125.         </div>
  126.         </div>
  127.         </form>
  128.         </div>
  129.                     #}
  130.                 </div>
  131.             </div>
  132.         </div>
  133.     </header>
  134.     <div class="container-fluid">
  135.         <section class="project">
  136.             {% set projectContent = content('Home', 'Projects')  %}
  137.             <div id="home-section" class="col-lg-8 mx-auto div-svg-header pre-section">
  138.                 <div class="home-section-title" style="font-size: 2.3em;display: flex;flex-direction: column;">
  139.                     <svg xmlns="http://www.w3.org/2000/svg" width="9.089" height="14.77" viewBox="0 0 9.089 14.77" style="margin-bottom: 10px">
  140.                         <path id="Tracé_76" data-name="Tracé 76" d="M682.759,232.441h-9.089v14.77l9.089-1.931Z" transform="translate(-673.669 -232.441)" fill="#f6a400"/>
  141.                     </svg>
  142.                     <h1 class="project-title">{% if projectContent.name is defined %}{{ projectContent.name }}{% else %}Nos projets{% endif %}</h1>
  143.                 </div>
  144.                 <div class="separator"></div>
  145.                 <div class="pre-section-content col-md-6">
  146.                     {% if projectContent.content is defined %}
  147.                         {{ projectContent.content|raw }}
  148.                     {% else %}
  149.                         Dotées d’une architecture résolument contemporaine, associée à des matériaux de qualité, les maisons et les résidences Tracol Immobilier ne vous laisseront pas indifférent.
  150.                     {% endif %}
  151.                 </div>
  152.             </div>
  153.         </section>
  154.         <section class="properties" style="margin-bottom: 40px">
  155.             {#
  156.             <div id="button-property" class="col-lg-8 mx-auto div-svg-header" style="display: flex; align-items: center">
  157.                 <button data-id="all" class="btn btn-primary all border-radius projectButton"><span class="span-all">TOUS</span></button>
  158.                 <button data-id="futur" class="btn btn-primary come border-radius projectButton"><span class="span-projects">A VENIR</span></button>
  159.                 <button data-id="construction" class="btn btn-primary come border-radius projectButton"><span class="span-projects">EN COURS</span></button>
  160.                 <div class="col-lg-6 projects-link">
  161.                     <a href="{{ path('projects') }}" class="property-span-arrow">VOIR TOUS NOS PROJETS
  162.                         <i class="fas fa-arrow-right property-arrow"></i>
  163.                     </a>
  164.                 </div>
  165.             </div>
  166.             #}
  167.             {#
  168.             <div id="button-property-mobile" class="col-lg-8 mx-auto div-svg-header" style="display: none; align-items: center">
  169.                 <div id="flick2" class="flicking-viewport">
  170.                     <div class="flicking-camera">
  171.                         <button data-id="all" class="btn btn-primary all border-radius projectButton"><span class="span-all">TOUS</span></button>
  172.                         <button data-id="futur" class="btn btn-primary come border-radius projectButton"><span class="span-projects">A VENIR</span></button>
  173.                         <button data-id="construction" class="btn btn-primary come border-radius projectButton"><span class="span-projects">EN COURS</span></button>
  174.                     </div>
  175.                 </div>
  176.                 <div class="col-lg-8 projects-link">
  177.                     <a href="{{ path('projects') }}" class="property-span-arrow">VOIR TOUS NOS PROJETS
  178.                         <i class="fas fa-arrow-right property-arrow"></i>
  179.                     </a>
  180.                 </div>
  181.             </div>
  182.             #}
  183.             <div id="projects" class="col-lg-8 mx-auto" style="display: flex;  flex-wrap: wrap; justify-content: space-between">
  184.                 {% for project in projects|slice(0,4) %}
  185.                     <div onclick="location.href='{{ path('project-detail', {'id': project.id}) }}'" data-id="{{ path('project-detail', {'id': project.id}) }}" id="width-col-6-home" class="col-lg-6 margin-top-30" style="position: relative; cursor: pointer">
  186.                         {#
  187.                         <div class="div-hover" id="div-hover" style="">
  188.                             {% if project.comments[0].comment is not empty %}
  189.                                 <p class="project-content" style="visibility: hidden">
  190.                                     {{ project.comments[0].comment|slice(0, 300) }}
  191.                                 </p>
  192.                                 <p class="project-arrow">
  193.                                     <a style="" href="{{ path('project-detail', {'id': project.id}) }}" class="project-arrow-2">
  194.                                         <span class="galerry-ref"></span><i class="fas fa-arrow-right project-svg-arrow-2"></i>
  195.                                     </a>
  196.                                 </p>
  197.                             {% else %}
  198.                                 <p class="project-arrow">
  199.                                     <a style="margin-top: 180px" href="{{ path('project-detail', {'id': project.id}) }}" class="project-arrow-2">
  200.                                         <span class="galerry-ref"></span><i class="fas fa-arrow-right project-svg-arrow-2"></i>
  201.                                     </a>
  202.                                 </p>
  203.                             {% endif %}
  204.                         </div>
  205.                         #}
  206.                         <div class="tag-ref-projet-3"><span class="text-tag-ref">{{ typeProject(project.construction.construction_step) }}</span></div>
  207.                         {% if project.pictures is not empty %}
  208.                             {% for picture in project.pictures|slice(0,1) %}
  209.                                 <div class="img" style="background-image: url('{{ picture.url }}'); margin: 0px;">
  210.                                 </div>
  211.                             {% endfor %}
  212.                         {% else %}
  213.                             <div class="img" style="background-image: url('{{ asset('build/Maisons_H_R1.jpg') }}'); margin: 0px;"></div>
  214.                         {% endif %}
  215.                         <p class="city">{{ project.city.name }}</p>
  216.                         <p class="project-name">{{ project.reference }}</p>
  217.                     </div>
  218.                 {% endfor %}
  219.             </div>
  220.             <div class="col-lg-8 mx-auto projects-link-mobile" style="display: none">
  221.                 <a href="{{ path('projects') }}" class="property-span-arrow">VOIR TOUS NOS PROJETS
  222.                     <i class="fas fa-arrow-right property-arrow"></i>
  223.                 </a>
  224.             </div>
  225.             <div id="link-none" class="col-lg-8 mx-auto div-svg-header d-flex justify-content-end">
  226.                 <div>
  227.                     <a id="link-none-a d-flex" class="property-span-arrow" href="{{ path('projects') }}">Découvrir plus
  228.                         <svg class="svg-inline--fa fa-arrow-right fa-w-14 property-arrow" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="arrow-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"></path></svg><!-- <i class="fas fa-arrow-right property-arrow"></i> Font Awesome fontawesome.com -->
  229.                     </a>
  230.                 </div>
  231.             </div>
  232.         </section>
  233.         <section class="reference">
  234.             {% set referenceContent = content('Home', 'References') %}
  235.             <div class="col-lg-8 mx-auto div-svg-header" style="display: flex; margin-top: 30px">
  236.                 <div class="col-lg-5">
  237.                     <svg xmlns="http://www.w3.org/2000/svg" width="9.089" height="14.77" viewBox="0 0 9.089 14.77">
  238.                         <path id="Tracé_76" data-name="Tracé 76" d="M682.759,232.441h-9.089v14.77l9.089-1.931Z" transform="translate(-673.669 -232.441)" fill="#f6a400"/>
  239.                     </svg>
  240.                     <h1 class="project-title">
  241.                         {% if referenceContent.name is defined and referenceContent.name %}
  242.                             {{ referenceContent.name }}
  243.                         {% else %}
  244.                             Nos références
  245.                         {% endif %}
  246.                     </h1>
  247.                 </div>
  248.             </div>
  249.             {#
  250.             <div id="button-reference" class="offset-lg-2 col-lg-8 div-svg-header" style="display: flex; align-items: center">
  251.                 <button data-id="all" class="btn btn-primary all border-radius projectButtonref"><span class="span-all">TOUS</span></button>
  252.                 <button data-id="residences" class="btn btn-primary come border-radius projectButtonref"><span class="span-projects">RÉSIDENCES</span></button>
  253.                 <button data-id="maisons" class="btn btn-primary come border-radius projectButtonref"><span class="span-projects">MAISONS</span></button>
  254.                 <button data-id="commerces" class="btn btn-primary come border-radius projectButtonref"><span class="span-projects">COMMERCES</span></button>
  255.                 <button data-id="bureaux" class="btn btn-primary come border-radius projectButtonref"><span class="span-projects">BUREAUX</span></button>
  256.                 <div id="links-ref-home" class="col-lg-3 projects-link">
  257.                     <a href="{{ path('reference') }}" class="property-span-arrow">VOIR TOUTES NOS REFERENCES
  258.                         <i class="fas fa-arrow-right property-arrow"></i>
  259.                     </a>
  260.                 </div>
  261.             </div>
  262.             <div id="button-reference-mobile" class="offset-lg-2 col-lg-8 div-svg-header" style="display: none; align-items: center">
  263.                 <div id="flick" class="flicking-viewport">
  264.                     <div class="flicking-camera">
  265.                         <button data-id="all" class="btn btn-primary all border-radius projectButtonref"><span class="span-all">TOUS</span></button>
  266.                         <button data-id="residences" class="btn btn-primary come border-radius projectButtonref"><span class="span-projects">RÉSIDENCES</span></button>
  267.                         <button data-id="maisons" class="btn btn-primary come border-radius projectButtonref"><span class="span-projects">MAISONS</span></button>
  268.                         <button data-id="commerces" class="btn btn-primary come border-radius projectButtonref"><span class="span-projects">COMMERCES</span></button>
  269.                         <button data-id="bureaux" class="btn btn-primary come border-radius projectButtonref"><span class="span-projects">BUREAUX</span></button>
  270.                     </div>
  271.                 </div>
  272.                 <div class="col-lg-3 projects-link">
  273.                     <a href="{{ path('reference') }}" class="property-span-arrow">VOIR TOUTES NOS REFERENCE
  274.                         <i class="fas fa-arrow-right property-arrow"></i>
  275.                     </a>
  276.                 </div>
  277.             </div>
  278.             #}
  279.             <div id="references-home" class="col-lg-8">
  280.                 <div id="flick100" class="flicking-viewport">
  281.                     <div  class="flicking-camera">
  282.                         <div class="col-lg-12 ref-container" style="display: flex; flex-wrap: wrap;">
  283.                             {% for key, reference in properties|slice(0,4) %}
  284.                                 <a href="{{ path('property-detail', {'id': reference.id}) }}" class="col-lg-6 col-md-12 {% if loop.index % 2 == 0 %}padd-to-left{% else %}padd-to-right{% endif %}">
  285.                                     <div class="div-img-hover-2 ref-list">
  286.                                         {#
  287.                                         <div class="div-hover-2" id="div-hover-2" style="position: absolute; bottom: 5px; left: 5px; background-color: #242424; color: white; width: 291px; height: 85px">
  288.                                             <p class="city">{{ reference.city.name }}</p>
  289.                                             <p class="project-name">{{ reference.reference }}</p>
  290.                                             <p class="date-ref">{{ reference.updated_at|date("d/m/Y") }}</p>
  291.                                             {% if reference.comments[0].comment is not empty %}
  292.                                                 <p class="project-content" style="visibility: hidden">
  293.                                                     {{ reference.comments[0].comment|slice(0, 250) }}
  294.                                                 </p>
  295.                                                 <a href="javascript:void(0);" class="project-arrow-2 lightbox-on"  data-id="modul-{{ key }}">
  296.                                                     <span class="galerry-ref">GALERIES PHOTOS</span><i class="fas fa-arrow-right project-svg-arrow-2"></i>
  297.                                                 </a>
  298.                                             {% else %}
  299.                                                 <a style="margin-top: 180px" href="javascript:void(0);" class="project-arrow-2 lightbox-on"  data-bs-toggle="modul"
  300.                                                    data-bs-target="#exampleModulHomeRef{{ key }}">
  301.                                                     <span class="galerry-ref">GALERIES PHOTOS</span><i class="fas fa-arrow-right project-svg-arrow-2"></i>
  302.                                                 </a>
  303.                                             {% endif %}
  304.                                         </div>
  305.                                         #}
  306.                                         <div class="tag-ref"><span class="text-tag-ref">{{ specialPropertyCategory(reference.category) }}</span></div>
  307.                                         {% if reference.pictures is not empty %}
  308.                                             {% for picture in reference.pictures|slice(0,1) %}
  309.                                                 <div class="img-tmp" style="background-image: url({{ picture.url }});"></div>
  310.                                             {% endfor %}
  311.                                         {% else %}
  312.                                             <div class="img-tmp" style="background-image: url('build/Hudson_Ontario2.png');"></div>
  313.                                         {% endif %}
  314.                                         <p class="city">{{ reference.city.name }}</p>
  315.                                         <p class="project-name">{{ reference.reference }}</p>
  316.                                     </div>
  317.                                 </a>
  318.                                 <div class="lightbox" id="modul-{{ key }}">
  319.                                     <div class="closer"></div>
  320.                                     <div class="arrows left">&#8592;</div>
  321.                                     <div class="arrows right">&#8594;</div>
  322.                                     <div class="counter">1/1</div>
  323.                                     <ul class="items">
  324.                                         {% for picture in reference.pictures %}
  325.                                             <li class="item">
  326.                                                 <img class="img" src="{{ picture.url }}">
  327.                                             </li>
  328.                                         {% endfor %}
  329.                                     </ul>
  330.                                 </div>
  331.                             {% endfor %}
  332.                         </div>
  333.                         <div id="link-none" class="col-lg-12 mx-auto div-svg-header d-flex justify-content-end">
  334.                             <div>
  335.                                 <a id="link-none-a d-flex" class="property-span-arrow" href="{{ path('reference') }}">Découvrir plus
  336.                                     <svg class="svg-inline--fa fa-arrow-right fa-w-14 property-arrow" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="arrow-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"></path></svg><!-- <i class="fas fa-arrow-right property-arrow"></i> Font Awesome fontawesome.com -->
  337.                                 </a>
  338.                             </div>
  339.                         </div>
  340.                     </div>
  341.                 </div>
  342.             </div>
  343.         </section>
  344.         <section class="property-promotion">
  345.             {% set propertyContent = content('Home', 'Biens') %}
  346.             <div id="home-sale" class="col-lg-8 mx-auto div-svg-header" style="display: flex; justify-content: space-between">
  347.                 <div id="property-content-p" class="col-lg-5 property-content" style="display: flex;flex-direction: column;justify-content:space-around">
  348.                     <svg xmlns="http://www.w3.org/2000/svg" width="9.089" height="14.77" viewBox="0 0 9.089 14.77">
  349.                         <path id="Tracé_76" data-name="Tracé 76" d="M682.759,232.441h-9.089v14.77l9.089-1.931Z" transform="translate(-673.669 -232.441)" fill="#f6a400"/>
  350.                     </svg>
  351.                     <h1 class="property-name">{% if propertyContent.name is defined and propertyContent.name %}{{ propertyContent.name }}{% else  %}UN BIEN À vendre ?{% endif %}</h1>
  352.                     {% if propertyContent.content is defined and propertyContent.content %}
  353.                         {{ propertyContent.content|raw }}
  354.                     {% else %}
  355.                         Choisir de vendre votre terrain à un promoteur immobilier tel que Tracol Immobilier, c’est assurer la sécurité de votre transaction tout en profitant d’une expertise solide. Leur discrétion, leur réseau de contacts et leur accompagnement tout au long du processus sont autant de bonnes raisons de confier votre projet aux équipes développement de Tracol Immobilier pour le concrétiser rapidement , à des conditions idéales.
  356.                     {% endif %}
  357.                     <div id="link-palyer" class="div-svg-header">
  358.                         <div class="see-video" style="display: flex; align-content: center">
  359.                             <a id="contact-link" class="property-span-arrow" href="{{ path('contact') }}">CONTACTEZ-NOUS
  360.                                 <i class="fas fa-arrow-right property-arrow"></i>
  361.                             </a>
  362.                         </div>
  363.                         <div class="movie-link">
  364.                             <a id="movie" data-bs-toggle="modal" data-bs-target="#exampleModal" class="property-span-arrow">VOIR LA VIDEO
  365.                                 <i class="fas fa-arrow-right property-arrow"></i>
  366.                             </a>
  367.                             <a id="movie-mobile" data-bs-toggle="modal" data-bs-target="#exampleModal" class="property-span-arrow">
  368.                                 <span class="video-span" style="display: none">VOIR LA VIDEO</span>
  369.                                 <i id="svg-video-mobile" style="display: none" class="fas fa-play"></i>
  370.                             </a>
  371.                             <!-- Modal -->
  372.                             <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
  373.                                 <div class="modal-dialog">
  374.                                     <div class="modal-content">
  375.                                         <iframe width="560" height="315" src="https://www.youtube.com/embed/8zFDrIoLoCQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
  376.                                     </div>
  377.                                 </div>
  378.                             </div>
  379.                         </div>
  380.                     </div>
  381.                 </div>
  382.                 <div class="col-lg-3 see-video-mobile" style="display: none">
  383.                     <a  class="property-span-arrow" href="{{ path('contact') }}">CONTACTEZ-NOUS
  384.                         <i class="fas fa-arrow-right property-arrow"></i>
  385.                     </a>
  386.                 </div>
  387.                 <div class="home-sale-img" style="position: relative; background-image: url({{ asset('build/2385888.png') }})";>
  388.                 </div>
  389.             </div>
  390.         </section>
  391.         <section class="numbers" style="margin-bottom: 120px">
  392.             {% set numbersContent1 = content('Home', 'Chiffres-1') %}
  393.             {% set numbersContent2 = content('Home', 'Chiffres-2') %}
  394.             {% set numbersContent3 = content('Home', 'Chiffres-3') %}
  395.             {% set numbersContent4 = content('Home', 'Chiffres-4') %}
  396.             <div class="col-lg-8 mx-auto div-svg-header" style="display: flex; margin-top: 30px">
  397.                 <div class="col-lg-8">
  398.                     <svg xmlns="http://www.w3.org/2000/svg" width="9.089" height="14.77" viewBox="0 0 9.089 14.77">
  399.                         <path id="Tracé_76" data-name="Tracé 76" d="M682.759,232.441h-9.089v14.77l9.089-1.931Z" transform="translate(-673.669 -232.441)" fill="#f6a400"/>
  400.                     </svg>
  401.                     {% if numbersContent1.name is defined %}<h1 class="property-name">{{ numbersContent1.name }}</h1>{% else %}<h1 class="property-name">wdr rd gdrgr dgr</h1>{% endif %}
  402.                 </div>
  403.             </div>
  404.             <div class="col-lg-8 mx-auto div-svg-header" style="display: flex; align-items: center">
  405.                 <div id="flick1" class="flicking-viewport" style="display: flex; justify-content: center">
  406.                     <div class="flicking-camera" style="align-items: flex-start; justify-content: flex-start;">
  407.                         {% if numbersContent1.content is defined %}
  408.                             <div class="number-content constr" style="display: flex; flex-direction: column; align-items: center; justify-content: center">
  409.                                 {{ numbersContent1.content|raw }}
  410.                             </div>
  411.                         {% else %}
  412.                             <div class="separator"></div>
  413.                             <div class="number-content comm" style="display: flex; flex-direction: column; align-items: center; justify-content: center">
  414.                                 <p>Environ</p>
  415.                                 <h2><strong class="count">0</strong></h2>
  416.                                 <p>logements</p>
  417.                                 <p><strong>commercialisés </strong>(par an)</p>
  418.                             </div>
  419.                         {% endif %}
  420.                         {% if numbersContent1.content is defined %}
  421.                             <div class="separator"></div>
  422.                             <div class="number-content comm"  style="display: flex; flex-direction: column; align-items: center; justify-content: center">
  423.                                 {{ numbersContent2.content|raw }}
  424.                             </div>
  425.                         {% else %}
  426.                             <div class="separator"></div>
  427.                             <div class="number-content comm" style="display: flex; flex-direction: column; align-items: center; justify-content: center">
  428.                                 <p>Environ</p>
  429.                                 <h2><strong class="count">0</strong></h2>
  430.                                 <p>logements</p>
  431.                                 <p><strong>commercialisés </strong>(par an)</p>
  432.                             </div>
  433.                         {% endif %}
  434.                         {% if numbersContent1.content is defined %}
  435.                             <div class="separator"></div>
  436.                             <div class="number-content porte"  style="display: flex; flex-direction: column; align-items: center; justify-content: center">
  437.                                 {{ numbersContent3.content|raw }}
  438.                             </div>
  439.                         {% else %}
  440.                             <div class="separator"></div>
  441.                             <div class="number-content comm" style="display: flex; flex-direction: column; align-items: center; justify-content: center">
  442.                                 <p>Environ</p>
  443.                                 <h2><strong class="count">0</strong></h2>
  444.                                 <p>logements</p>
  445.                                 <p><strong>commercialisés </strong>(par an)</p>
  446.                             </div>
  447.                         {% endif %}
  448.                         {% if numbersContent1.content is defined %}
  449.                             <div class="separator"></div>
  450.                             <div class="number-content coll"  style="display: flex; flex-direction: column; align-items: center; justify-content: center">
  451.                                 {{ numbersContent4.content|raw }}
  452.                             </div>
  453.                         {% else %}
  454.                             <div class="separator"></div>
  455.                             <div class="number-content comm" style="display: flex; flex-direction: column; align-items: center; justify-content: center">
  456.                                 <p>Environ</p>
  457.                                 <h2><strong class="count">0</strong></h2>
  458.                                 <p>logements</p>
  459.                                 <p><strong>commercialisés </strong>(par an)</p>
  460.                             </div>
  461.                         {% endif %}
  462.                     </div>
  463.                 </div>
  464.             </div>
  465.         </section>
  466.     </div>
  467.     <section class="newsletter">
  468.         <div class="col-lg-8 row m-auto">
  469.             <div class="col-lg-6">
  470.                 <svg xmlns="http://www.w3.org/2000/svg" width="9.089" height="14.77" viewBox="0 0 9.089 14.77">
  471.                     <path id="Tracé_76" data-name="Tracé 76" d="M682.759,232.441h-9.089v14.77l9.089-1.931Z" transform="translate(-673.669 -232.441)" fill="#fff"/>
  472.                 </svg>
  473.                 <h1 class="property-name">Inscrivez-vous à<br> notre newsletter</h1>
  474.             </div>
  475.             <div class="col-lg-4">
  476.                 <div id="div-form-newsletter">
  477.                     <span id="span-newsletter">Restez informé ! Abonnez-vous à notre newsletter.</span>
  478.                     <form action="{{ path('mailchimp') }}" id="form-newsletter">
  479.                         <div class="input-group mt-2">
  480.                             <input id="input-email" class="form-control input-email" type="email" name="email" placeholder="Votre adresse mail">
  481.                             <button class="btn btn-primary button-newsletter" type="submit"><i class="fas fa-arrow-right"></i></button>
  482.                         </div>
  483.                     </form>
  484.                 </div>
  485.             </div>
  486.         </div>
  487.     </section>
  488.     <!-- Modal HTML -->
  489.     <div id="video" class="modal fade">
  490.         <div class="modal-dialog">
  491.             <div class="modal-content">
  492.                 <div class="modal-header">
  493.                     <button type="button" class="close" data-dismiss="modal">&times;</button>
  494.                 </div>
  495.                 <div class="modal-body">
  496.                     <div class="embed-responsive embed-responsive-16by9">
  497.                         <iframe id="cartoonVideo" class="embed-responsive-item" width="560" height="315" src="https://youtu.be/8zFDrIoLoCQ" allowfullscreen></iframe>
  498.                     </div>
  499.                 </div>
  500.             </div>
  501.         </div>
  502.     </div>
  503.     <!-- Modal -->
  504. {#    <div  class="modal fade" id="popUpChristmas" tabindex="-1" aria-labelledby="popUpChristmas" aria-hidden="true">#}
  505. {#        <div class="modal-dialog video-pop-up-dialog">#}
  506. {#            <div class="modal-content  video-pop-up-content">#}
  507. {#                <div class="modal-body" style="position: relative">#}
  508. {#                    <button class="btn btn-primary" id="closeModal">&times;</button>#}
  509. {#                    <button id="buttonVideoFour" class="active">#}
  510. {#                        <i style="font-size: 65px; background-color: transparent;" class="far fa-play-circle"></i>#}
  511. {#                    </button>#}
  512. {#                    <video id="video1" preload="auto" width="100%" height="100%" poster="{{ asset('build/cover-xmas.png') }}" controls>#}
  513. {#                        <source type="video/mp4" src="{{ asset('build/2021_09_12 Carte de voeux animée - Vidéo R4.mp4') }}" />#}
  514. {#                    </video>#}
  515. {#                </div>#}
  516. {#            </div>#}
  517. {#        </div>#}
  518. {#    </div>#}
  519. {#    <script>#}
  520. {#        let myVideo = document.getElementById("video1");#}
  521. {#        myVideo.controls = false#}
  522. {#    </script>#}
  523.     
  524. {#    <script>#}
  525. {#        $('.slider-home-ref-detail').slick({#}
  526. {#            dots: false,#}
  527. {#            infinite: true,#}
  528. {#            speed: 3000,#}
  529. {#            slidesToShow: 1,#}
  530. {#            slidesToScroll: 1,#}
  531. {#            autoplay: true,#}
  532. {#            responsive: [#}
  533. {#                {#}
  534. {#                    breakpoint: 576,#}
  535. {#                    settings: {#}
  536. {#                        slidesToShow: 1,#}
  537. {#                        slidesToScroll: 1#}
  538. {#                    }#}
  539. {#                }#}
  540. {#            ]#}
  541. {#        });#}
  542. {#    </script>#}
  543. {% endblock %}