var/cache/dev/twig/0c/0c4df77a6f681dd74ac0d8f889b1b5ec.php line 416

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. /* home/index.html.twig */
  14. class __TwigTemplate_857cf1aa052d4b0d265d4e49bdc0df5d 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.             'title' => [$this'block_title'],
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'promo' => [$this'block_promo'],
  26.             'main' => [$this'block_main'],
  27.             'contact' => [$this'block_contact'],
  28.             'footer' => [$this'block_footer'],
  29.             'script' => [$this'block_script'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""home/index.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""home/index.html.twig"));
  44.         $this->parent $this->loadTemplate("base.html.twig""home/index.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     public function block_title($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         echo "Page d'Accueil - RénovAtHome Un Artisant Près De Chez Soi";
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     // line 5
  66.     public function block_stylesheets($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  73.         // line 6
  74.         $this->displayParentBlock("stylesheets"$context$blocks);
  75.         echo "
  76. <meta name=\"description\" content=\"Renov'at home, artisans expert en rénovation de l'habitat à Craon en Mayenne. Présent dans tout le Pays de la Loire. Couverture - Toiture - Isolation - Ravalement de façade - Sur mesure. Devis gratuit !\">
  77. <link rel=\"stylesheet\" href=\"";
  78.         // line 8
  79.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/styles/home.css"), "html"nulltrue);
  80.         echo "\">
  81. <link rel=\"stylesheet\" href=\"";
  82.         // line 9
  83.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/styles/realisation.css"), "html"nulltrue);
  84.         echo "\">
  85. <link rel=\"stylesheet\" href=\"";
  86.         // line 10
  87.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/styles/carousel.css"), "html"nulltrue);
  88.         echo "\">
  89. ";
  90.         
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92.         
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94.     }
  95.     // line 13
  96.     public function block_promo($context, array $blocks = [])
  97.     {
  98.         $macros $this->macros;
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""promo"));
  101.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""promo"));
  103.         
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  105.         
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  107.     }
  108.     // line 16
  109.     public function block_main($context, array $blocks = [])
  110.     {
  111.         $macros $this->macros;
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  116.         // line 17
  117.         echo "<main>
  118.     <section id=\"hero\">
  119.         <div class=\"texture\"></div>
  120.         <video loop muted autoplay preload=\"auto\">
  121.             <source src=\"";
  122.         // line 22
  123.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/videos/hero-video-presention.mp4"), "html"nulltrue);
  124.         echo "\" type=\"video/mp4\">Your browser does not support the
  125.             video tag.
  126.         </video>
  127.         <div class=\"caption\">
  128.             <span class=\"text-uppercase\">renov'at home</span>
  129.             <h1 class=\"\">Un <span class=\"orange\">artisan</span> près de <span class=\"green\">chez vous</span></h1>
  130.             <div class=\"deco-sous-titre\"></div>
  131.             <p class=\"hero-text\">
  132.                 Couverture, Isolation, Ravalement de façade ou réalisation Sur-Mesure,
  133.                 Renov’ At Home vous accompagnera dans chacun de vos projets de rénovation avec comme seul objectif :
  134.                 votre satisfaction !
  135.             </p>
  136.             <div class=\"btn-cta\">
  137.                 <a class=\"btn-devis\" href=\"";
  138.         // line 36
  139.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("quote");
  140.         echo "\"><span >DEMANDER UN DEVIS GRATUIT</span></a>
  141.                 <a class=\"btn-more white\" href=\"";
  142.         // line 37
  143.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("achievements");
  144.         echo "\"><span>voir nos réalisations</span></a>
  145.             </div>
  146.         </div>
  147.     </section>
  148.     <section class=\"about\">
  149.         <div class=\"container\">
  150.             <div class=\"about-desc\">
  151.                 <div class=\"titre\">
  152.                     <div class=\"deco-sous-titre\"></div>
  153.                     <span class=\"sous-titre\">Notre identité</span>
  154.                 </div>
  155.                 <h3 class=\"titre-real\">Qui sommes-nous ?</h3>
  156.                 <p>Créée en 2014, l’entreprise Rénov’ At Home est spécialisé dans la rénovation de l’habitat.
  157.                     L’entreprise est aujourd’hui implantée dans une pépinière d’artisans dans la ville de Craon.<br>
  158.                     Notre objectif : vous accompagner tout au long de votre projet de rénovation : du devis à la
  159.                     réalisation de votre chantier.<br>
  160.                     Pour chaque chantier, nous étudions votre problématique et choisissions ensemble la solution adaptée
  161.                     à vos besoins.
  162.                 </p>
  163.                 <a class=\"show-real\" href=\"";
  164.         // line 57
  165.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about_us");
  166.         echo "\">EN DÉCOUVRIR PLUS <i class=\"fa-solid fa-arrow-right\"></i></a>
  167.             </div>
  168.             <img class=\"mascotte\" src=\"";
  169.         // line 59
  170.         echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/mascotte.png"), "middle"), "html"nulltrue);
  171.         echo "\" alt=\"mascotte de renovathome\">
  172.             <div class=\"bloc-prime\">
  173.                 <img src=\"";
  174.         // line 61
  175.         echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/logo_maprimerenov.png"), "miniature"), "html"nulltrue);
  176.         echo "\" alt=\"MaPrimeRénov\" class=\"logo-prime\">
  177.                 <div class=\"prime-desc\">
  178.                     <p>
  179.                         MaPrimeRénov' est une aide financé par l’état à la rénovation énergétique proposée par
  180.                         FranceRénov' ,
  181.                         calculée en fonction de vos revenus et du gain écologique des travaux.
  182.                     </p>
  183.                     <a class=\"btn-prime\" href=\"";
  184.         // line 68
  185.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("prime");
  186.         echo "\">mon dossier d’aide en 1 minute</a>
  187.                 </div>
  188.             </div>
  189.         </div>
  190.     </section>
  191.     <section id=\"expertises\">
  192.         <div class=\"sous-titre-banniere\">
  193.             <div class=\"deco-sous-titre\"></div>
  194.             <span class=\"text-uppercase\">découvrez</span>
  195.             <div class=\"deco-sous-titre\"></div>
  196.         </div>
  197.         <h3 class=\"titre-section\">Nos domaines d’expertises</h3>
  198.         <div class=\"container\">
  199.             <div class=\"bg-house\">
  200.                 <img class=\"house\" src=\"";
  201.         // line 82
  202.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/illustration_maison_30.png"), "html"nulltrue);
  203.         echo "\" alt=\"maison\">
  204.             </div>
  205.             
  206.             <div id=\"toiture\" class=\"more-expertise\">         
  207.                 <div class=\"bg-expertise\">
  208.                     <i class=\"fa-solid fa-plus\"></i>   
  209.                 </div>
  210.                 <img class=\"img-expertise\" src=\"";
  211.         // line 89
  212.         echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/toiture.jpg"), "expertise"), "html"nulltrue);
  213.         echo "\" alt=\"toiture\">
  214.                 
  215.                 <span class=\"text-expertise\">Traitement des <br>toitures</span>
  216.             </div>
  217.             <div id=\"facade\" class=\"more-expertise\">
  218.                 <div class=\"bg-expertise\">
  219.                     <i class=\"fa-solid fa-plus\"></i>   
  220.                 </div>
  221.                 <img class=\"img-expertise\" src=\"";
  222.         // line 97
  223.         echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/facade-maison.jpg"), "expertise"), "html"nulltrue);
  224.         echo "\" alt=\"facade\">
  225.                 
  226.                 <span class=\"text-expertise\">Traitement des <br>façades</span>
  227.             </div>
  228.             <div id=\"isolation-des-combles\" class=\"more-expertise\">
  229.                 <div class=\"bg-expertise\">
  230.                     <i class=\"fa-solid fa-plus\"></i>   
  231.                 </div>
  232.                 <img class=\"img-expertise\" src=\"";
  233.         // line 105
  234.         echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/isolation.jpg"), "expertise"), "html"nulltrue);
  235.         echo "\" alt=\"Isolation\">
  236.                 
  237.                 <span class=\"text-expertise\">Isolation des <br>combles</span>
  238.             </div>
  239.             <div id=\"isolation-thermique\" class=\"more-expertise\">
  240.                 <div class=\"bg-expertise\">
  241.                     <i class=\"fa-solid fa-plus\"></i>   
  242.                 </div>
  243.                 <img class=\"img-expertise\" src=\"";
  244.         // line 113
  245.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/isolation_thermique_ext.png"), "html"nulltrue);
  246.         echo "\" alt=\"Isolation\">
  247.                 
  248.                 <span class=\"text-expertise\">Isolation thermique<br>exterieur</span>
  249.             </div>
  250.             <div id=\"interieur\" class=\"more-expertise\">
  251.                 <div class=\"bg-expertise\">
  252.                     <i class=\"fa-solid fa-plus\"></i>   
  253.                 </div>
  254.                 <img class=\"img-expertise\" src=\"";
  255.         // line 121
  256.         echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/interieur.jpg"), "expertise"), "html"nulltrue);
  257.         echo "\" alt=\"Interieur de maison\">
  258.                 
  259.                 <span class=\"text-expertise\">Intérieur</span>
  260.             </div>
  261.             <div class=\"all-expertises\">
  262.                 <div id=\"toiture-desc\" class=\"expertise\">
  263.                     <div class=\"title-expertise\">
  264.                         <img src=\"";
  265.         // line 128
  266.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon_roof.svg"), "html"nulltrue);
  267.         echo "\" alt=\"toiture\" class=\"logo-expertise\">
  268.                         <span class=\"name-expertise\">Traitement des toitures</span>
  269.                     </div>
  270.                     <div class=\"desc-expertise\">
  271.                         <ul>
  272.                             <li>Démousage</li>
  273.                             <li>Brossage manuel</li>
  274.                             <li>Pulvérisation mécanique</li>
  275.                             <li>Hydrofuge</li>
  276.                             <li>Remplacement gouttières</li>
  277.                             <li>Habillage ou remplacement sous face</li>
  278.                             <li>Fenêtre de toit (velux)</li>
  279.                         </ul>
  280.                         <a href=\"";
  281.         // line 141
  282.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("traitement_des_toitures");
  283.         echo "\" class=\"link-expertise\">En voir plus<i class=\"fa-solid fa-arrow-right\"></i></a>
  284.                     </div>
  285.                 </div>
  286.                 <div id=\"isolation-des-combles-desc\" class=\"expertise\">
  287.                     <div class=\"title-expertise\">
  288.                         <img src=\"";
  289.         // line 146
  290.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon_heat.svg"), "html"nulltrue);
  291.         echo "\" alt=\"Isolation\" class=\"logo-expertise\">
  292.                         <span class=\"name-expertise\">isolation des combles</span>
  293.                     </div>
  294.                     <div class=\"desc-expertise\">
  295.                         <ul>
  296.                             <li>Isolation des combles perdus par insufflation</li>
  297.                             <li>Isolation des rampants de toiture</li>
  298.                             <li>Isolation plancher bas </li>
  299.                             <li>Isolation thermique extérieur</li>
  300.                         </ul>
  301.                         <a href=\"";
  302.         // line 156
  303.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("isolation_des_combles");
  304.         echo "\" class=\"link-expertise\">En voir plus<i class=\"fa-solid fa-arrow-right\"></i></a>
  305.                     </div>
  306.                 </div>
  307.                 <div id=\"isolation-thermique-desc\" class=\"expertise\">
  308.                     <div class=\"title-expertise\">
  309.                         <img src=\"";
  310.         // line 161
  311.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon_heat.svg"), "html"nulltrue);
  312.         echo "\" alt=\"Isolation\" class=\"logo-expertise\">
  313.                         <span class=\"name-expertise\">isolation thermique exterieure</span>
  314.                     </div>
  315.                     <div class=\"desc-expertise\">
  316.                         <ul>
  317.                             <li>Finition bardage bois</li>
  318.                             <li>Finition enduit RPE</li>
  319.                         </ul>
  320.                         <a href=\"";
  321.         // line 169
  322.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("isolation_thermique_exterieur");
  323.         echo "\" class=\"link-expertise\">En voir plus<i class=\"fa-solid fa-arrow-right\"></i></a>
  324.                     </div>
  325.                 </div>
  326.                 <div id=\"facade-desc\" class=\"expertise\">
  327.                     <div class=\"title-expertise\">
  328.                         <img src=\"";
  329.         // line 174
  330.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon_painting.svg"), "html"nulltrue);
  331.         echo "\" alt=\"Peinture\" class=\"logo-expertise\">
  332.                         <span class=\"name-expertise\">Traitement des façade</span>
  333.                     </div>
  334.                     <div class=\"desc-expertise\">
  335.                         <ul>
  336.                             <li>Nettoyage </li>
  337.                             <li>Traitement anticryptogamique</li>
  338.                             <li>Ravalement</li>
  339.                         </ul>
  340.                         <a href=\"";
  341.         // line 183
  342.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("traitement_des_facades");
  343.         echo "\" class=\"link-expertise\">En voir plus<i class=\"fa-solid fa-arrow-right\"></i></a>
  344.                     </div>
  345.                 </div>
  346.                 <div id=\"interieur-desc\" class=\"expertise\">
  347.                     <div class=\"title-expertise\">
  348.                         <img src=\"";
  349.         // line 188
  350.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon_interior.svg"), "html"nulltrue);
  351.         echo "\" alt=\"toiture\" class=\"logo-expertise\">
  352.                         <span class=\"name-expertise\">Intérieur</span>
  353.                     </div>
  354.                     <div class=\"desc-expertise\">
  355.                         <ul>
  356.                             <li>Peinture</li>
  357.                             <li>Revêtement décoratif</li>
  358.                             <li>Sol , parquets , moquettes, pvc</li>
  359.                         </ul>
  360.                         <a href=\"";
  361.         // line 197
  362.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("interieur");
  363.         echo "\" class=\"link-expertise\">En voir plus<i class=\"fa-solid fa-arrow-right\"></i></a>
  364.                     </div>
  365.                 </div>
  366.             </div>
  367.         </div>
  368.     </section>
  369.     <section class=\"lasts-realisations\">
  370.         <div class=\"sous-titre-banniere\">
  371.             <div class=\"deco-sous-titre\"></div>
  372.             <span class=\"text-uppercase\">explorer</span>
  373.             <div class=\"deco-sous-titre\"></div>
  374.         </div>
  375.         <h3 class=\"titre-section\">Nos dernières réalisations</h3>
  376.         <a class=\"show-real container left\" href=\"";
  377.         // line 210
  378.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about_us");
  379.         echo "\">En savoir plus <i class=\"fa-solid fa-arrow-right\"></i></a>
  380.         <div class=\"all-real container\">
  381.             ";
  382.         // line 212
  383.         $context['_parent'] = $context;
  384.         $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, (isset($context["lastsReal"]) || array_key_exists("lastsReal"$context) ? $context["lastsReal"] : (function () { throw new RuntimeError('Variable "lastsReal" does not exist.'212$this->source); })()), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'212$this->source); })()), "id", [], "any"falsefalsefalse212) <= twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'212$this->source); })()), "id", [], "any"falsefalsefalse212)); }));
  385.         foreach ($context['_seq'] as $context["_key"] => $context["realisation"]) {
  386.             echo 
  387.             <div class=\"card-real ";
  388.             // line 213
  389.             echo twig_escape_filter($this->envtwig_replace_filter(twig_lower_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["realisation"], "categorie", [], "any"falsefalsefalse213), "nom", [], "any"falsefalsefalse213)), [" " => "-"]), "html"nulltrue);
  390.             echo "\">
  391.                 <a class=\"titre-evenement\" href=\"";
  392.             // line 214
  393.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("realisation", ["slug" => twig_get_attribute($this->env$this->source$context["realisation"], "slug", [], "any"falsefalsefalse214)]), "html"nulltrue);
  394.             echo "\">
  395.                     <div class=\"layer\">
  396.                         <img src=\"";
  397.             // line 216
  398.             echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/realisations/" twig_get_attribute($this->env$this->source$context["realisation"], "cover", [], "any"falsefalsefalse216))), "miniature"), "html"nulltrue);
  399.             echo "\" alt=\"";
  400.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["realisation"], "nom", [], "any"falsefalsefalse216), "html"nulltrue);
  401.             echo "\">
  402.                         <div class=\"overlay\">
  403.                             <div class=\"text\"><span>EN DÉCOUVRIR PLUS <i class=\"fa-solid fa-arrow-right\"></i></span></div>
  404.                         </div>
  405.                     </div>
  406.                     <span class=\"card-real-category\">";
  407.             // line 221
  408.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["realisation"], "categorie", [], "any"falsefalsefalse221), "nom", [], "any"falsefalsefalse221), "html"nulltrue);
  409.             echo "</span>
  410.                     <h3 class=\"card-real-title\">";
  411.             // line 222
  412.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["realisation"], "nom", [], "any"falsefalsefalse222), "html"nulltrue);
  413.             echo "</h3>
  414.                 </a>
  415.             </div>
  416.             ";
  417.         }
  418.         $_parent $context['_parent'];
  419.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['realisation'], $context['_parent'], $context['loop']);
  420.         $context array_intersect_key($context$_parent) + $_parent;
  421.         // line 226
  422.         echo "        </div>
  423.         <div class=\"more mb-0\">
  424.             <a class=\"btn-more\" href=\"";
  425.         // line 228
  426.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("achievements");
  427.         echo "\"><span>voir nos dernières réalisations</span></a>
  428.         </div>
  429.     </section>
  430.     <section class=\"events\">
  431.         <div class=\"container\">
  432.             <div class=\"events-desc\">
  433.                 <div class=\"titre\">
  434.                     <div class=\"deco-sous-titre\"></div>
  435.                     <span class=\"sous-titre\">nous rencontrer</span>
  436.                 </div>
  437.                 <h3 class=\"titre-real\">Évènements à venir</h3>
  438.                 <p>Retrouvez ici les différents événements auxquels Renov'At Home aura le plaisir de vous rencontrer pour discuter de vos prochaines rénovations !
  439.                 </p>
  440.                 <a class=\"show-real\" href=\"";
  441.         // line 242
  442.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("events");
  443.         echo "\">Tout les évènements <i
  444.                         class=\"fa-solid fa-arrow-right\"></i></a>
  445.             </div>
  446.             <div class=\"events-carousel\">
  447.                 <div class=\"slide-container\">
  448.                     ";
  449.         // line 247
  450.         $context['_parent'] = $context;
  451.         $context['_seq'] = twig_ensure_traversable((isset($context["lastsEvent"]) || array_key_exists("lastsEvent"$context) ? $context["lastsEvent"] : (function () { throw new RuntimeError('Variable "lastsEvent" does not exist.'247$this->source); })()));
  452.         foreach ($context['_seq'] as $context["_key"] => $context["event"]) {
  453.             // line 248
  454.             echo "                    <div class=\"custom-slider fade\">
  455.                         <img class=\"slide-img\" src=\"";
  456.             // line 249
  457.             echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/evenements/" twig_get_attribute($this->env$this->source$context["event"], "photo", [], "any"falsefalsefalse249))), "logo"), "html"nulltrue);
  458.             echo "\" alt=\"";
  459.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "nom", [], "any"falsefalsefalse249), "html"nulltrue);
  460.             echo "\">
  461.                         <div class=\"infos-event\">
  462.                             <div class=\"border-info-event\">                            <span class=\"nom-event\">";
  463.             // line 251
  464.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "nom", [], "any"falsefalsefalse251), "html"nulltrue);
  465.             echo "</span>
  466.                             <span class=\"lieu-event\"><i class=\"fa-solid fa-location-dot\"></i>";
  467.             // line 252
  468.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "lieu", [], "any"falsefalsefalse252), "html"nulltrue);
  469.             echo "</span>
  470.                             <span class=\"date-event\">
  471.                                 ";
  472.             // line 254
  473.             echo twig_escape_filter($this->env, (((twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "dateDebut", [], "any"falsefalsefalse254), "MMMM") == twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "dateFin", [], "any"falsefalsefalse254), "MMMM"))) ? (twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source,             // line 255
  474. $context["event"], "dateDebut", [], "any"falsefalsefalse255), "d")) : (twig_localized_date_filter($this->envtwig_get_attribute($this->env$this->source,             // line 256
  475. $context["event"], "dateDebut", [], "any"falsefalsefalse256), "none""none""fr"null"d MMMM"))), "html"nulltrue);
  476.             echo 
  477.                                 - ";
  478.             // line 257
  479.             echo twig_escape_filter($this->envtwig_localized_date_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "dateFin", [], "any"falsefalsefalse257), "none""none""fr"null"d MMMM Y"), "html"nulltrue);
  480.             echo "
  481.                             </span>
  482.                         </div>
  483.                         </div>
  484.                     </div>
  485.                     ";
  486.         }
  487.         $_parent $context['_parent'];
  488.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['event'], $context['_parent'], $context['loop']);
  489.         $context array_intersect_key($context$_parent) + $_parent;
  490.         // line 264
  491.         echo "                </div>
  492.             </div>
  493.         </div>
  494.     </section>
  495. </main>
  496. ";
  497.         
  498.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  499.         
  500.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  501.     }
  502.     // line 271
  503.     public function block_contact($context, array $blocks = [])
  504.     {
  505.         $macros $this->macros;
  506.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  507.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contact"));
  508.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  509.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contact"));
  510.         
  511.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  512.         
  513.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  514.     }
  515.     // line 273
  516.     public function block_footer($context, array $blocks = [])
  517.     {
  518.         $macros $this->macros;
  519.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  520.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  521.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  522.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  523.         
  524.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  525.         
  526.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  527.     }
  528.     // line 275
  529.     public function block_script($context, array $blocks = [])
  530.     {
  531.         $macros $this->macros;
  532.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  533.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  534.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  535.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  536.         // line 276
  537.         $this->displayParentBlock("script"$context$blocks);
  538.         echo "
  539. <script src='";
  540.         // line 277
  541.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/index.min.js"), "html"nulltrue);
  542.         echo "'></script>
  543. <script>
  544.     const navigation = document.querySelector('nav');
  545.     window.addEventListener('scroll', () => {
  546.     
  547.         if(window.scrollY > 45){
  548.             navigation.classList.add('anim-nav');
  549.         } else {
  550.             navigation.classList.remove('anim-nav');
  551.         }
  552.     
  553.     })
  554. </script>
  555. <script>
  556.     \$('.more-expertise').hover(
  557.         function(){
  558.             \$('#'+\$(this).attr('id')+'-desc').addClass('desc-actif');
  559.         },
  560.         function(){
  561.             \$('#'+\$(this).attr('id')+'-desc').removeClass('desc-actif');
  562.         }
  563.     );
  564.     \$('.expertise').hover(
  565.         function(){
  566.             var id = \$(this).attr('id');
  567.             id = id.replace(\"-desc\", \"\");
  568.             \$('#'+ id ).addClass('more-actif');
  569.             \$(this).addClass('desc-actif');
  570.         },
  571.         function(){
  572.             var id = \$(this).attr('id');
  573.             id = id.replace(\"-desc\", \"\");
  574.             \$('#'+id).removeClass('more-actif');
  575.             \$(this).removeClass('desc-actif');
  576.         }
  577.     );
  578. </script>
  579. <script>
  580.     var nbrItem = 1;
  581.     if (\$(window).width() >= 450  && \$(window).width()<= 1440) {
  582.         nbrItem = 2;
  583.     }
  584.     else if(\$(window).width() > 1440){
  585.         nbrItem = 3
  586.     }
  587.     console.log(nbrItem);
  588.     new ElderCarousel('.slide-container', {
  589.         items: nbrItem,
  590.         step: 1,
  591.         infinite: true,
  592.         play: false,
  593.         playInterval: 10000,
  594.         speed: 500,
  595.         navs: true,
  596.     });
  597. </script>
  598. ";
  599.         
  600.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  601.         
  602.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  603.     }
  604.     public function getTemplateName()
  605.     {
  606.         return "home/index.html.twig";
  607.     }
  608.     public function isTraitable()
  609.     {
  610.         return false;
  611.     }
  612.     public function getDebugInfo()
  613.     {
  614.         return array (  590 => 277,  586 => 276,  576 => 275,  558 => 273,  540 => 271,  525 => 264,  512 => 257,  508 => 256,  507 => 255,  506 => 254,  501 => 252,  497 => 251,  490 => 249,  487 => 248,  483 => 247,  475 => 242,  458 => 228,  454 => 226,  444 => 222,  440 => 221,  430 => 216,  425 => 214,  421 => 213,  415 => 212,  410 => 210,  394 => 197,  382 => 188,  374 => 183,  362 => 174,  354 => 169,  343 => 161,  335 => 156,  322 => 146,  314 => 141,  298 => 128,  288 => 121,  277 => 113,  266 => 105,  255 => 97,  244 => 89,  234 => 82,  217 => 68,  207 => 61,  202 => 59,  197 => 57,  174 => 37,  170 => 36,  153 => 22,  146 => 17,  136 => 16,  118 => 13,  106 => 10,  102 => 9,  98 => 8,  93 => 6,  83 => 5,  64 => 3,  41 => 1,);
  615.     }
  616.     public function getSourceContext()
  617.     {
  618.         return new Source("{% extends 'base.html.twig' %}
  619. {% block title %}Page d'Accueil - RénovAtHome Un Artisant Près De Chez Soi{% endblock %}
  620. {% block stylesheets %}
  621. {{ parent() }}
  622. <meta name=\"description\" content=\"Renov'at home, artisans expert en rénovation de l'habitat à Craon en Mayenne. Présent dans tout le Pays de la Loire. Couverture - Toiture - Isolation - Ravalement de façade - Sur mesure. Devis gratuit !\">
  623. <link rel=\"stylesheet\" href=\"{{ asset('assets/styles/home.css')}}\">
  624. <link rel=\"stylesheet\" href=\"{{ asset('assets/styles/realisation.css')}}\">
  625. <link rel=\"stylesheet\" href=\"{{ asset('assets/styles/carousel.css')}}\">
  626. {% endblock %}
  627. {% block promo %}{% endblock %}
  628. {% block main %}
  629. <main>
  630.     <section id=\"hero\">
  631.         <div class=\"texture\"></div>
  632.         <video loop muted autoplay preload=\"auto\">
  633.             <source src=\"{{ asset('assets/videos/hero-video-presention.mp4')}}\" type=\"video/mp4\">Your browser does not support the
  634.             video tag.
  635.         </video>
  636.         <div class=\"caption\">
  637.             <span class=\"text-uppercase\">renov'at home</span>
  638.             <h1 class=\"\">Un <span class=\"orange\">artisan</span> près de <span class=\"green\">chez vous</span></h1>
  639.             <div class=\"deco-sous-titre\"></div>
  640.             <p class=\"hero-text\">
  641.                 Couverture, Isolation, Ravalement de façade ou réalisation Sur-Mesure,
  642.                 Renov’ At Home vous accompagnera dans chacun de vos projets de rénovation avec comme seul objectif :
  643.                 votre satisfaction !
  644.             </p>
  645.             <div class=\"btn-cta\">
  646.                 <a class=\"btn-devis\" href=\"{{ path('quote') }}\"><span >DEMANDER UN DEVIS GRATUIT</span></a>
  647.                 <a class=\"btn-more white\" href=\"{{ path('achievements') }}\"><span>voir nos réalisations</span></a>
  648.             </div>
  649.         </div>
  650.     </section>
  651.     <section class=\"about\">
  652.         <div class=\"container\">
  653.             <div class=\"about-desc\">
  654.                 <div class=\"titre\">
  655.                     <div class=\"deco-sous-titre\"></div>
  656.                     <span class=\"sous-titre\">Notre identité</span>
  657.                 </div>
  658.                 <h3 class=\"titre-real\">Qui sommes-nous ?</h3>
  659.                 <p>Créée en 2014, l’entreprise Rénov’ At Home est spécialisé dans la rénovation de l’habitat.
  660.                     L’entreprise est aujourd’hui implantée dans une pépinière d’artisans dans la ville de Craon.<br>
  661.                     Notre objectif : vous accompagner tout au long de votre projet de rénovation : du devis à la
  662.                     réalisation de votre chantier.<br>
  663.                     Pour chaque chantier, nous étudions votre problématique et choisissions ensemble la solution adaptée
  664.                     à vos besoins.
  665.                 </p>
  666.                 <a class=\"show-real\" href=\"{{ path('about_us')}}\">EN DÉCOUVRIR PLUS <i class=\"fa-solid fa-arrow-right\"></i></a>
  667.             </div>
  668.             <img class=\"mascotte\" src=\"{{ asset('assets/images/mascotte.png') | imagine_filter('middle')}}\" alt=\"mascotte de renovathome\">
  669.             <div class=\"bloc-prime\">
  670.                 <img src=\"{{ asset('assets/images/logo_maprimerenov.png') | imagine_filter('miniature')}}\" alt=\"MaPrimeRénov\" class=\"logo-prime\">
  671.                 <div class=\"prime-desc\">
  672.                     <p>
  673.                         MaPrimeRénov' est une aide financé par l’état à la rénovation énergétique proposée par
  674.                         FranceRénov' ,
  675.                         calculée en fonction de vos revenus et du gain écologique des travaux.
  676.                     </p>
  677.                     <a class=\"btn-prime\" href=\"{{ path('prime')}}\">mon dossier d’aide en 1 minute</a>
  678.                 </div>
  679.             </div>
  680.         </div>
  681.     </section>
  682.     <section id=\"expertises\">
  683.         <div class=\"sous-titre-banniere\">
  684.             <div class=\"deco-sous-titre\"></div>
  685.             <span class=\"text-uppercase\">découvrez</span>
  686.             <div class=\"deco-sous-titre\"></div>
  687.         </div>
  688.         <h3 class=\"titre-section\">Nos domaines d’expertises</h3>
  689.         <div class=\"container\">
  690.             <div class=\"bg-house\">
  691.                 <img class=\"house\" src=\"{{ asset('assets/images/illustration_maison_30.png')}}\" alt=\"maison\">
  692.             </div>
  693.             
  694.             <div id=\"toiture\" class=\"more-expertise\">         
  695.                 <div class=\"bg-expertise\">
  696.                     <i class=\"fa-solid fa-plus\"></i>   
  697.                 </div>
  698.                 <img class=\"img-expertise\" src=\"{{ asset('assets/images/toiture.jpg') | imagine_filter('expertise')}}\" alt=\"toiture\">
  699.                 
  700.                 <span class=\"text-expertise\">Traitement des <br>toitures</span>
  701.             </div>
  702.             <div id=\"facade\" class=\"more-expertise\">
  703.                 <div class=\"bg-expertise\">
  704.                     <i class=\"fa-solid fa-plus\"></i>   
  705.                 </div>
  706.                 <img class=\"img-expertise\" src=\"{{ asset('assets/images/facade-maison.jpg') | imagine_filter('expertise')}}\" alt=\"facade\">
  707.                 
  708.                 <span class=\"text-expertise\">Traitement des <br>façades</span>
  709.             </div>
  710.             <div id=\"isolation-des-combles\" class=\"more-expertise\">
  711.                 <div class=\"bg-expertise\">
  712.                     <i class=\"fa-solid fa-plus\"></i>   
  713.                 </div>
  714.                 <img class=\"img-expertise\" src=\"{{ asset('assets/images/isolation.jpg') | imagine_filter('expertise')}}\" alt=\"Isolation\">
  715.                 
  716.                 <span class=\"text-expertise\">Isolation des <br>combles</span>
  717.             </div>
  718.             <div id=\"isolation-thermique\" class=\"more-expertise\">
  719.                 <div class=\"bg-expertise\">
  720.                     <i class=\"fa-solid fa-plus\"></i>   
  721.                 </div>
  722.                 <img class=\"img-expertise\" src=\"{{ asset('assets/images/isolation_thermique_ext.png')}}\" alt=\"Isolation\">
  723.                 
  724.                 <span class=\"text-expertise\">Isolation thermique<br>exterieur</span>
  725.             </div>
  726.             <div id=\"interieur\" class=\"more-expertise\">
  727.                 <div class=\"bg-expertise\">
  728.                     <i class=\"fa-solid fa-plus\"></i>   
  729.                 </div>
  730.                 <img class=\"img-expertise\" src=\"{{ asset('assets/images/interieur.jpg') | imagine_filter('expertise')}}\" alt=\"Interieur de maison\">
  731.                 
  732.                 <span class=\"text-expertise\">Intérieur</span>
  733.             </div>
  734.             <div class=\"all-expertises\">
  735.                 <div id=\"toiture-desc\" class=\"expertise\">
  736.                     <div class=\"title-expertise\">
  737.                         <img src=\"{{ asset('assets/images/icon_roof.svg')}}\" alt=\"toiture\" class=\"logo-expertise\">
  738.                         <span class=\"name-expertise\">Traitement des toitures</span>
  739.                     </div>
  740.                     <div class=\"desc-expertise\">
  741.                         <ul>
  742.                             <li>Démousage</li>
  743.                             <li>Brossage manuel</li>
  744.                             <li>Pulvérisation mécanique</li>
  745.                             <li>Hydrofuge</li>
  746.                             <li>Remplacement gouttières</li>
  747.                             <li>Habillage ou remplacement sous face</li>
  748.                             <li>Fenêtre de toit (velux)</li>
  749.                         </ul>
  750.                         <a href=\"{{ path('traitement_des_toitures') }}\" class=\"link-expertise\">En voir plus<i class=\"fa-solid fa-arrow-right\"></i></a>
  751.                     </div>
  752.                 </div>
  753.                 <div id=\"isolation-des-combles-desc\" class=\"expertise\">
  754.                     <div class=\"title-expertise\">
  755.                         <img src=\"{{ asset('assets/images/icon_heat.svg')}}\" alt=\"Isolation\" class=\"logo-expertise\">
  756.                         <span class=\"name-expertise\">isolation des combles</span>
  757.                     </div>
  758.                     <div class=\"desc-expertise\">
  759.                         <ul>
  760.                             <li>Isolation des combles perdus par insufflation</li>
  761.                             <li>Isolation des rampants de toiture</li>
  762.                             <li>Isolation plancher bas </li>
  763.                             <li>Isolation thermique extérieur</li>
  764.                         </ul>
  765.                         <a href=\"{{ path('isolation_des_combles') }}\" class=\"link-expertise\">En voir plus<i class=\"fa-solid fa-arrow-right\"></i></a>
  766.                     </div>
  767.                 </div>
  768.                 <div id=\"isolation-thermique-desc\" class=\"expertise\">
  769.                     <div class=\"title-expertise\">
  770.                         <img src=\"{{ asset('assets/images/icon_heat.svg')}}\" alt=\"Isolation\" class=\"logo-expertise\">
  771.                         <span class=\"name-expertise\">isolation thermique exterieure</span>
  772.                     </div>
  773.                     <div class=\"desc-expertise\">
  774.                         <ul>
  775.                             <li>Finition bardage bois</li>
  776.                             <li>Finition enduit RPE</li>
  777.                         </ul>
  778.                         <a href=\"{{ path('isolation_thermique_exterieur') }}\" class=\"link-expertise\">En voir plus<i class=\"fa-solid fa-arrow-right\"></i></a>
  779.                     </div>
  780.                 </div>
  781.                 <div id=\"facade-desc\" class=\"expertise\">
  782.                     <div class=\"title-expertise\">
  783.                         <img src=\"{{ asset('assets/images/icon_painting.svg')}}\" alt=\"Peinture\" class=\"logo-expertise\">
  784.                         <span class=\"name-expertise\">Traitement des façade</span>
  785.                     </div>
  786.                     <div class=\"desc-expertise\">
  787.                         <ul>
  788.                             <li>Nettoyage </li>
  789.                             <li>Traitement anticryptogamique</li>
  790.                             <li>Ravalement</li>
  791.                         </ul>
  792.                         <a href=\"{{ path('traitement_des_facades') }}\" class=\"link-expertise\">En voir plus<i class=\"fa-solid fa-arrow-right\"></i></a>
  793.                     </div>
  794.                 </div>
  795.                 <div id=\"interieur-desc\" class=\"expertise\">
  796.                     <div class=\"title-expertise\">
  797.                         <img src=\"{{ asset('assets/images/icon_interior.svg')}}\" alt=\"toiture\" class=\"logo-expertise\">
  798.                         <span class=\"name-expertise\">Intérieur</span>
  799.                     </div>
  800.                     <div class=\"desc-expertise\">
  801.                         <ul>
  802.                             <li>Peinture</li>
  803.                             <li>Revêtement décoratif</li>
  804.                             <li>Sol , parquets , moquettes, pvc</li>
  805.                         </ul>
  806.                         <a href=\"{{ path('interieur') }}\" class=\"link-expertise\">En voir plus<i class=\"fa-solid fa-arrow-right\"></i></a>
  807.                     </div>
  808.                 </div>
  809.             </div>
  810.         </div>
  811.     </section>
  812.     <section class=\"lasts-realisations\">
  813.         <div class=\"sous-titre-banniere\">
  814.             <div class=\"deco-sous-titre\"></div>
  815.             <span class=\"text-uppercase\">explorer</span>
  816.             <div class=\"deco-sous-titre\"></div>
  817.         </div>
  818.         <h3 class=\"titre-section\">Nos dernières réalisations</h3>
  819.         <a class=\"show-real container left\" href=\"{{ path('about_us')}}\">En savoir plus <i class=\"fa-solid fa-arrow-right\"></i></a>
  820.         <div class=\"all-real container\">
  821.             {% for realisation in lastsReal |sort((a, b) => a.id <= b.id) %} 
  822.             <div class=\"card-real {{ realisation.categorie.nom|lower|replace({' ': '-'}) }}\">
  823.                 <a class=\"titre-evenement\" href=\"{{ path('realisation', { 'slug' : realisation.slug })}}\">
  824.                     <div class=\"layer\">
  825.                         <img src=\"{{ asset('uploads/realisations/'~realisation.cover) | imagine_filter('miniature')}}\" alt=\"{{ realisation.nom }}\">
  826.                         <div class=\"overlay\">
  827.                             <div class=\"text\"><span>EN DÉCOUVRIR PLUS <i class=\"fa-solid fa-arrow-right\"></i></span></div>
  828.                         </div>
  829.                     </div>
  830.                     <span class=\"card-real-category\">{{ realisation.categorie.nom }}</span>
  831.                     <h3 class=\"card-real-title\">{{ realisation.nom }}</h3>
  832.                 </a>
  833.             </div>
  834.             {% endfor %}
  835.         </div>
  836.         <div class=\"more mb-0\">
  837.             <a class=\"btn-more\" href=\"{{ path('achievements') }}\"><span>voir nos dernières réalisations</span></a>
  838.         </div>
  839.     </section>
  840.     <section class=\"events\">
  841.         <div class=\"container\">
  842.             <div class=\"events-desc\">
  843.                 <div class=\"titre\">
  844.                     <div class=\"deco-sous-titre\"></div>
  845.                     <span class=\"sous-titre\">nous rencontrer</span>
  846.                 </div>
  847.                 <h3 class=\"titre-real\">Évènements à venir</h3>
  848.                 <p>Retrouvez ici les différents événements auxquels Renov'At Home aura le plaisir de vous rencontrer pour discuter de vos prochaines rénovations !
  849.                 </p>
  850.                 <a class=\"show-real\" href=\"{{ path('events')}}\">Tout les évènements <i
  851.                         class=\"fa-solid fa-arrow-right\"></i></a>
  852.             </div>
  853.             <div class=\"events-carousel\">
  854.                 <div class=\"slide-container\">
  855.                     {% for event in lastsEvent %}
  856.                     <div class=\"custom-slider fade\">
  857.                         <img class=\"slide-img\" src=\"{{ asset('uploads/evenements/'~event.photo) | imagine_filter('logo') }}\" alt=\"{{ event.nom }}\">
  858.                         <div class=\"infos-event\">
  859.                             <div class=\"border-info-event\">                            <span class=\"nom-event\">{{ event.nom }}</span>
  860.                             <span class=\"lieu-event\"><i class=\"fa-solid fa-location-dot\"></i>{{event.lieu}}</span>
  861.                             <span class=\"date-event\">
  862.                                 {{event.dateDebut | date(\"MMMM\") == event.dateFin | date(\"MMMM\") ? 
  863.                                     event.dateDebut | date(\"d\") : 
  864.                                     event.dateDebut | localizeddate('none', 'none', 'fr', null, 'd MMMM') }} 
  865.                                 - {{ event.dateFin | localizeddate('none', 'none', 'fr', null, 'd MMMM Y') }}
  866.                             </span>
  867.                         </div>
  868.                         </div>
  869.                     </div>
  870.                     {% endfor %}
  871.                 </div>
  872.             </div>
  873.         </div>
  874.     </section>
  875. </main>
  876. {% endblock %}
  877. {% block contact %}{% endblock %}
  878. {% block footer %}{% endblock %}
  879. {% block script %}
  880. {{ parent() }}
  881. <script src='{{ asset('assets/js/index.min.js')}}'></script>
  882. <script>
  883.     const navigation = document.querySelector('nav');
  884.     window.addEventListener('scroll', () => {
  885.     
  886.         if(window.scrollY > 45){
  887.             navigation.classList.add('anim-nav');
  888.         } else {
  889.             navigation.classList.remove('anim-nav');
  890.         }
  891.     
  892.     })
  893. </script>
  894. <script>
  895.     \$('.more-expertise').hover(
  896.         function(){
  897.             \$('#'+\$(this).attr('id')+'-desc').addClass('desc-actif');
  898.         },
  899.         function(){
  900.             \$('#'+\$(this).attr('id')+'-desc').removeClass('desc-actif');
  901.         }
  902.     );
  903.     \$('.expertise').hover(
  904.         function(){
  905.             var id = \$(this).attr('id');
  906.             id = id.replace(\"-desc\", \"\");
  907.             \$('#'+ id ).addClass('more-actif');
  908.             \$(this).addClass('desc-actif');
  909.         },
  910.         function(){
  911.             var id = \$(this).attr('id');
  912.             id = id.replace(\"-desc\", \"\");
  913.             \$('#'+id).removeClass('more-actif');
  914.             \$(this).removeClass('desc-actif');
  915.         }
  916.     );
  917. </script>
  918. <script>
  919.     var nbrItem = 1;
  920.     if (\$(window).width() >= 450  && \$(window).width()<= 1440) {
  921.         nbrItem = 2;
  922.     }
  923.     else if(\$(window).width() > 1440){
  924.         nbrItem = 3
  925.     }
  926.     console.log(nbrItem);
  927.     new ElderCarousel('.slide-container', {
  928.         items: nbrItem,
  929.         step: 1,
  930.         infinite: true,
  931.         play: false,
  932.         playInterval: 10000,
  933.         speed: 500,
  934.         navs: true,
  935.     });
  936. </script>
  937. {% endblock %}""home/index.html.twig""/home/u847847315/domains/djabdigital.com/public_html/renovathome/templates/home/index.html.twig");
  938.     }
  939. }