var/cache/dev/twig/6c/6c16b6c8788057ec05f23b99859f1232.php line 128

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. /* achievement/show.html.twig */
  14. class __TwigTemplate_a736a863381f2109b5c7a00b0919ce08 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.             'banner' => [$this'block_banner'],
  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""achievement/show.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""achievement/show.html.twig"));
  44.         $this->parent $this->loadTemplate("base.html.twig""achievement/show.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 "Réalisation - RénovAtHome";
  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.         echo "    ";
  75.         $this->displayParentBlock("stylesheets"$context$blocks);
  76.         echo "
  77.     <link rel=\"stylesheet\" href=\"";
  78.         // line 7
  79.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/styles/realisation.css"), "html"nulltrue);
  80.         echo "\">
  81. ";
  82.         
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  84.         
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  86.     }
  87.     // line 10
  88.     public function block_banner($context, array $blocks = [])
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""banner"));
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""banner"));
  95.         
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  97.         
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  99.     }
  100.     // line 12
  101.     public function block_main($context, array $blocks = [])
  102.     {
  103.         $macros $this->macros;
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  108.         // line 13
  109.         echo "    <main>
  110.         <div class=\"container-real-show\">
  111.             <div class=\"last-real\">
  112.                 ";
  113.         // line 16
  114.         if (((twig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'16$this->source); })()), "avant", [], "any"falsefalsefalse16) != "") && (twig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'16$this->source); })()), "apres", [], "any"falsefalsefalse16) != ""))) {
  115.             // line 17
  116.             echo "                    <div class=\"slider\">
  117.                         <div class=\"slider__before\" style=\"background-image:url(";
  118.             // line 18
  119.             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, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'18$this->source); })()), "avant", [], "any"falsefalsefalse18))), "middle"), "html"nulltrue);
  120.             echo ");\"></div>
  121.                         <div class=\"slider__separator\">
  122.                             <div class=\"bar__separator\"></div>
  123.                             <div class=\"btn__separator\">
  124.                                 <span class=\"btn__separator_left_arrow\"></span>
  125.                                 <span class=\"btn__separator_right_arrow\"></span>
  126.                             </div>
  127.                             <div class=\"bar__separator\"></div>
  128.                         </div>
  129.                         <div class=\"slider__after\" style=\"background-image:url(";
  130.             // line 27
  131.             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, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'27$this->source); })()), "apres", [], "any"falsefalsefalse27))), "middle"), "html"nulltrue);
  132.             echo ");\"></div>
  133.                         <input class=\"slider__range\" type=\"range\" min=\"2\" max=\"98\" value=\"50\"/>
  134.                     </div>
  135.                     ";
  136.         } else {
  137.             // line 31
  138.             echo "                    <img src=\"";
  139.             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, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'31$this->source); })()), "cover", [], "any"falsefalsefalse31))), "middle"), "html"nulltrue);
  140.             echo "\" alt=\"photo de couverture de la réalisation\" class=\"img-place-holder\">
  141.                     ";
  142.         }
  143.         // line 33
  144.         echo "                <div class=\"desc-real\">
  145.                     <div class=\"titre\">
  146.                         <div class=\"deco-sous-titre\"></div>
  147.                         <span class=\"sous-titre\">";
  148.         // line 36
  149.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'36$this->source); })()), "categorie", [], "any"falsefalsefalse36), "nom", [], "any"falsefalsefalse36), "html"nulltrue);
  150.         echo "</span>
  151.                     </div>
  152.                     <h2 class=\"titre-real\">";
  153.         // line 38
  154.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'38$this->source); })()), "nom", [], "any"falsefalsefalse38), "html"nulltrue);
  155.         echo "</h2>
  156.                     <p>";
  157.         // line 39
  158.         echo twig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'39$this->source); })()), "description", [], "any"falsefalsefalse39);
  159.         echo "</p>
  160.                     <p>
  161.                         <b>Solution apportée par nos équipes :</b><br>
  162.                         ";
  163.         // line 42
  164.         echo twig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'42$this->source); })()), "taches", [], "any"falsefalsefalse42);
  165.         echo "
  166.                     </p>
  167.                 </div>
  168.             </div>
  169.             ";
  170.         // line 46
  171.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["realisation"] ?? null), "photos", [], "any"falsetruefalse46), 0, [], "array"truetruefalse46)) {
  172.             // line 47
  173.             echo "                <div class=\"galerie-real\">
  174.                     <h2 class=\"titre-deco-dessous\">Photo</h2>
  175.                     <div class=\"deco-sous-titre\"></div>
  176.                     <div id=\"popup-bg\">
  177.                         <span id=\"previous\"><i class=\"fa-solid fa-angle-left\"></i></span>
  178.                         <div id=\"popup-content\">
  179.                             <img id=\"popup-img\" src=\"#\" alt=\"Rénovation effectué par RenvoAtHome\" />
  180.                         </div>
  181.                         <span id=\"next\"><i class=\"fa-solid fa-angle-right\"></i></span>
  182.                     </div>
  183.                     <div class=\"photo-real\">
  184.                         ";
  185.             // line 58
  186.             $context['_parent'] = $context;
  187.             $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'58$this->source); })()), "photos", [], "any"falsefalsefalse58), 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.'58$this->source); })()), "id", [], "any"falsefalsefalse58) <= 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.'58$this->source); })()), "id", [], "any"falsefalsefalse58)); }));
  188.             foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  189.                 // line 59
  190.                 echo "                            <div class=\"item-galerie\">
  191.                                 <img src=\"";
  192.                 // line 60
  193.                 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["photo"], "image", [], "any"falsefalsefalse60))), "miniature"), "html"nulltrue);
  194.                 echo "\" alt=\"Rénovation effectué par RenvoAtHome\" class=\"photo-galerie\" id=\"";
  195.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["photo"], "image", [], "any"falsefalsefalse60), "html"nulltrue);
  196.                 echo "\">
  197.                             </div>
  198.                         ";
  199.             }
  200.             $_parent $context['_parent'];
  201.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  202.             $context array_intersect_key($context$_parent) + $_parent;
  203.             // line 63
  204.             echo "
  205.                     </div>
  206.                 </div>
  207.             ";
  208.         }
  209.         // line 67
  210.         echo "
  211.             ";
  212.         // line 68
  213.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["realisation"] ?? null), "temoignages", [], "any"falsetruefalse68), 0, [], "array"truetruefalse68)) {
  214.             // line 69
  215.             echo "                <div class=\"testimonial-real\">
  216.                     <div class=\"title-testimonial\">
  217.                         <span>Témoignage du client</span>
  218.                         <div class=\"deco-sous-titre\"></div>
  219.                     </div>
  220.                     ";
  221.             // line 74
  222.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'74$this->source); })()), "temoignages", [], "any"falsefalsefalse74), 0, [], "array"falsefalsefalse74), "video", [], "any"falsefalsefalse74) != null)) {
  223.                 // line 75
  224.                 echo "                        <div class=\"commentaire-video\" >
  225.                             <div class=\"youtube_player\" videoID=\"";
  226.                 // line 76
  227.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'76$this->source); })()), "temoignages", [], "any"falsefalsefalse76), 0, [], "array"falsefalsefalse76), "video", [], "any"falsefalsefalse76), "html"nulltrue);
  228.                 echo "\" rel=\"rel=1\" controls=\"controls=1\" showinfo=\"showinfo=0\" autoplay=\"autoplay=0\"  loop=\"loop=0\" loading=\"loading=1\"></div>
  229.                         </div>
  230.                     ";
  231.             } else {
  232.                 // line 79
  233.                 echo "                        <img src=\"";
  234.                 echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/temoignages/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'79$this->source); })()), "temoignages", [], "any"falsefalsefalse79), 0, [], "array"falsefalsefalse79), "photo", [], "any"falsefalsefalse79))), "logo"), "html"nulltrue);
  235.                 echo "\" alt=\"Rénovation effectué par RenvoAtHome\" class=\"img-rounded\">
  236.                         <span class=\"name-client\">";
  237.                 // line 80
  238.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'80$this->source); })()), "temoignages", [], "any"falsefalsefalse80), 0, [], "array"falsefalsefalse80), "client", [], "any"falsefalsefalse80), "html"nulltrue);
  239.                 echo "</span>
  240.                         <div class=\"commentaire\" >
  241.                             ";
  242.                 // line 82
  243.                 echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["realisation"]) || array_key_exists("realisation"$context) ? $context["realisation"] : (function () { throw new RuntimeError('Variable "realisation" does not exist.'82$this->source); })()), "temoignages", [], "any"falsefalsefalse82), 0, [], "array"falsefalsefalse82), "commentaire", [], "any"falsefalsefalse82);
  244.                 echo "
  245.                         </div>
  246.                     ";
  247.             }
  248.             // line 85
  249.             echo "                </div>
  250.             ";
  251.         }
  252.         // line 87
  253.         echo "
  254.             <div class=\"titre\">
  255.                 <div class=\"deco-sous-titre\"></div>
  256.                 <span class=\"sous-titre\">Nos réalisations</span>
  257.             </div>
  258.             <h2 class=\"titre-other-real\">Nos autres réalisations</h2>
  259.             <div class=\"other-real\">
  260.                 ";
  261.         // line 94
  262.         $context['_parent'] = $context;
  263.         $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, (isset($context["others"]) || array_key_exists("others"$context) ? $context["others"] : (function () { throw new RuntimeError('Variable "others" does not exist.'94$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.'94$this->source); })()), "id", [], "any"falsefalsefalse94) <= 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.'94$this->source); })()), "id", [], "any"falsefalsefalse94)); }));
  264.         foreach ($context['_seq'] as $context["_key"] => $context["other"]) {
  265.             // line 95
  266.             echo "                    <div class=\"card-real ";
  267.             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["other"], "categorie", [], "any"falsefalsefalse95), "nom", [], "any"falsefalsefalse95)), [" " => "-"]), "html"nulltrue);
  268.             echo "\">
  269.                         <a class=\"titre-evenement\" href=\"";
  270.             // line 96
  271.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("realisation", ["slug" => twig_get_attribute($this->env$this->source$context["other"], "slug", [], "any"falsefalsefalse96)]), "html"nulltrue);
  272.             echo "\">
  273.                             <div class=\"layer\">
  274.                                 <img src=\"";
  275.             // line 98
  276.             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["other"], "cover", [], "any"falsefalsefalse98))), "miniature"), "html"nulltrue);
  277.             echo "\" alt=\"";
  278.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["other"], "nom", [], "any"falsefalsefalse98), "html"nulltrue);
  279.             echo "\">
  280.                                 <div class=\"overlay\">
  281.                                     <div class=\"text\"><span>EN DÉCOUVRIR PLUS <i class=\"fa-solid fa-arrow-right\"></i></span></div>
  282.                                 </div>
  283.                             </div>
  284.                             <span class=\"card-real-category\">";
  285.             // line 103
  286.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["other"], "categorie", [], "any"falsefalsefalse103), "nom", [], "any"falsefalsefalse103), "html"nulltrue);
  287.             echo "</span>
  288.                             <h3 class=\"card-real-title\">";
  289.             // line 104
  290.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["other"], "nom", [], "any"falsefalsefalse104), "html"nulltrue);
  291.             echo "</h3>
  292.                         </a>
  293.                     </div>
  294.                 ";
  295.         }
  296.         $_parent $context['_parent'];
  297.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['other'], $context['_parent'], $context['loop']);
  298.         $context array_intersect_key($context$_parent) + $_parent;
  299.         // line 108
  300.         echo "            </div>
  301.         </div>
  302.     </main>
  303. ";
  304.         
  305.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  306.         
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  308.     }
  309.     // line 113
  310.     public function block_contact($context, array $blocks = [])
  311.     {
  312.         $macros $this->macros;
  313.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  314.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contact"));
  315.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  316.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contact"));
  317.         
  318.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  319.         
  320.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  321.     }
  322.     // line 115
  323.     public function block_footer($context, array $blocks = [])
  324.     {
  325.         $macros $this->macros;
  326.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  327.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  328.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  329.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  330.         
  331.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  332.         
  333.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  334.     }
  335.     // line 117
  336.     public function block_script($context, array $blocks = [])
  337.     {
  338.         $macros $this->macros;
  339.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  340.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  341.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  342.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  343.         // line 118
  344.         echo "    ";
  345.         $this->displayParentBlock("script"$context$blocks);
  346.         echo "
  347.     <script src=\"";
  348.         // line 119
  349.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/main.js"), "html"nulltrue);
  350.         echo "\"></script>
  351.     <script src=\"";
  352.         // line 120
  353.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/realisations.js"), "html"nulltrue);
  354.         echo "\"></script>
  355. ";
  356.         
  357.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  358.         
  359.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  360.     }
  361.     public function getTemplateName()
  362.     {
  363.         return "achievement/show.html.twig";
  364.     }
  365.     public function isTraitable()
  366.     {
  367.         return false;
  368.     }
  369.     public function getDebugInfo()
  370.     {
  371.         return array (  397 => 120,  393 => 119,  388 => 118,  378 => 117,  360 => 115,  342 => 113,  329 => 108,  319 => 104,  315 => 103,  305 => 98,  300 => 96,  295 => 95,  291 => 94,  282 => 87,  278 => 85,  272 => 82,  267 => 80,  262 => 79,  256 => 76,  253 => 75,  251 => 74,  244 => 69,  242 => 68,  239 => 67,  233 => 63,  222 => 60,  219 => 59,  215 => 58,  202 => 47,  200 => 46,  193 => 42,  187 => 39,  183 => 38,  178 => 36,  173 => 33,  167 => 31,  160 => 27,  148 => 18,  145 => 17,  143 => 16,  138 => 13,  128 => 12,  110 => 10,  98 => 7,  93 => 6,  83 => 5,  64 => 3,  41 => 1,);
  372.     }
  373.     public function getSourceContext()
  374.     {
  375.         return new Source("{% extends 'base.html.twig' %}
  376. {% block title %}Réalisation - RénovAtHome{% endblock %}
  377. {% block stylesheets %}
  378.     {{ parent() }}
  379.     <link rel=\"stylesheet\" href=\"{{ asset('assets/styles/realisation.css')}}\">
  380. {% endblock %}
  381. {% block banner %}{% endblock %}
  382. {% block main %}
  383.     <main>
  384.         <div class=\"container-real-show\">
  385.             <div class=\"last-real\">
  386.                 {% if realisation.avant != \"\" and realisation.apres != \"\" %}
  387.                     <div class=\"slider\">
  388.                         <div class=\"slider__before\" style=\"background-image:url({{ asset('uploads/realisations/'~realisation.avant) | imagine_filter('middle')}});\"></div>
  389.                         <div class=\"slider__separator\">
  390.                             <div class=\"bar__separator\"></div>
  391.                             <div class=\"btn__separator\">
  392.                                 <span class=\"btn__separator_left_arrow\"></span>
  393.                                 <span class=\"btn__separator_right_arrow\"></span>
  394.                             </div>
  395.                             <div class=\"bar__separator\"></div>
  396.                         </div>
  397.                         <div class=\"slider__after\" style=\"background-image:url({{ asset('uploads/realisations/'~realisation.apres) | imagine_filter('middle')}});\"></div>
  398.                         <input class=\"slider__range\" type=\"range\" min=\"2\" max=\"98\" value=\"50\"/>
  399.                     </div>
  400.                     {% else %}
  401.                     <img src=\"{{ asset('uploads/realisations/'~realisation.cover) | imagine_filter('middle')}}\" alt=\"photo de couverture de la réalisation\" class=\"img-place-holder\">
  402.                     {% endif %}
  403.                 <div class=\"desc-real\">
  404.                     <div class=\"titre\">
  405.                         <div class=\"deco-sous-titre\"></div>
  406.                         <span class=\"sous-titre\">{{realisation.categorie.nom}}</span>
  407.                     </div>
  408.                     <h2 class=\"titre-real\">{{ realisation.nom }}</h2>
  409.                     <p>{{ realisation.description |raw }}</p>
  410.                     <p>
  411.                         <b>Solution apportée par nos équipes :</b><br>
  412.                         {{ realisation.taches |raw}}
  413.                     </p>
  414.                 </div>
  415.             </div>
  416.             {%  if realisation.photos[0] is defined %}
  417.                 <div class=\"galerie-real\">
  418.                     <h2 class=\"titre-deco-dessous\">Photo</h2>
  419.                     <div class=\"deco-sous-titre\"></div>
  420.                     <div id=\"popup-bg\">
  421.                         <span id=\"previous\"><i class=\"fa-solid fa-angle-left\"></i></span>
  422.                         <div id=\"popup-content\">
  423.                             <img id=\"popup-img\" src=\"#\" alt=\"Rénovation effectué par RenvoAtHome\" />
  424.                         </div>
  425.                         <span id=\"next\"><i class=\"fa-solid fa-angle-right\"></i></span>
  426.                     </div>
  427.                     <div class=\"photo-real\">
  428.                         {% for photo in realisation.photos |sort((a, b) => a.id <= b.id) %}
  429.                             <div class=\"item-galerie\">
  430.                                 <img src=\"{{ asset('uploads/realisations/'~photo.image) | imagine_filter('miniature')}}\" alt=\"Rénovation effectué par RenvoAtHome\" class=\"photo-galerie\" id=\"{{photo.image}}\">
  431.                             </div>
  432.                         {% endfor %}
  433.                     </div>
  434.                 </div>
  435.             {% endif %}
  436.             {%  if realisation.temoignages[0] is defined %}
  437.                 <div class=\"testimonial-real\">
  438.                     <div class=\"title-testimonial\">
  439.                         <span>Témoignage du client</span>
  440.                         <div class=\"deco-sous-titre\"></div>
  441.                     </div>
  442.                     {% if realisation.temoignages[0].video != null %}
  443.                         <div class=\"commentaire-video\" >
  444.                             <div class=\"youtube_player\" videoID=\"{{ realisation.temoignages[0].video }}\" rel=\"rel=1\" controls=\"controls=1\" showinfo=\"showinfo=0\" autoplay=\"autoplay=0\"  loop=\"loop=0\" loading=\"loading=1\"></div>
  445.                         </div>
  446.                     {% else %}
  447.                         <img src=\"{{ asset('uploads/temoignages/'~realisation.temoignages[0].photo) | imagine_filter('logo')}}\" alt=\"Rénovation effectué par RenvoAtHome\" class=\"img-rounded\">
  448.                         <span class=\"name-client\">{{ realisation.temoignages[0].client }}</span>
  449.                         <div class=\"commentaire\" >
  450.                             {{ realisation.temoignages[0].commentaire | raw }}
  451.                         </div>
  452.                     {% endif %}
  453.                 </div>
  454.             {% endif %}
  455.             <div class=\"titre\">
  456.                 <div class=\"deco-sous-titre\"></div>
  457.                 <span class=\"sous-titre\">Nos réalisations</span>
  458.             </div>
  459.             <h2 class=\"titre-other-real\">Nos autres réalisations</h2>
  460.             <div class=\"other-real\">
  461.                 {% for other in others |sort((a, b) => a.id <= b.id) %}
  462.                     <div class=\"card-real {{ other.categorie.nom|lower|replace({' ': '-'}) }}\">
  463.                         <a class=\"titre-evenement\" href=\"{{ path('realisation', { 'slug' : other.slug })}}\">
  464.                             <div class=\"layer\">
  465.                                 <img src=\"{{ asset('uploads/realisations/'~other.cover) | imagine_filter('miniature')}}\" alt=\"{{ other.nom }}\">
  466.                                 <div class=\"overlay\">
  467.                                     <div class=\"text\"><span>EN DÉCOUVRIR PLUS <i class=\"fa-solid fa-arrow-right\"></i></span></div>
  468.                                 </div>
  469.                             </div>
  470.                             <span class=\"card-real-category\">{{ other.categorie.nom }}</span>
  471.                             <h3 class=\"card-real-title\">{{ other.nom }}</h3>
  472.                         </a>
  473.                     </div>
  474.                 {% endfor %}
  475.             </div>
  476.         </div>
  477.     </main>
  478. {% endblock %}
  479. {% block contact %}{% endblock %}
  480. {% block footer %}{% endblock %}
  481. {% block script %}
  482.     {{ parent() }}
  483.     <script src=\"{{ asset('assets/js/main.js')}}\"></script>
  484.     <script src=\"{{ asset('assets/js/realisations.js')}}\"></script>
  485. {% endblock %}
  486. ""achievement/show.html.twig""/home/u847847315/domains/djabdigital.com/public_html/renovathome/templates/achievement/show.html.twig");
  487.     }
  488. }