<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* achievement/show.html.twig */
class __TwigTemplate_a736a863381f2109b5c7a00b0919ce08 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'banner' => [$this, 'block_banner'],
'main' => [$this, 'block_main'],
'contact' => [$this, 'block_contact'],
'footer' => [$this, 'block_footer'],
'script' => [$this, 'block_script'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "achievement/show.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "achievement/show.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "achievement/show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Réalisation - RénovAtHome";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 6
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
<link rel=\"stylesheet\" href=\"";
// line 7
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/styles/realisation.css"), "html", null, true);
echo "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 10
public function block_banner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "banner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "banner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 12
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 13
echo " <main>
<div class=\"container-real-show\">
<div class=\"last-real\">
";
// line 16
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", false, false, false, 16) != "") && (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", false, false, false, 16) != ""))) {
// line 17
echo " <div class=\"slider\">
<div class=\"slider__before\" style=\"background-image:url(";
// line 18
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", false, false, false, 18))), "middle"), "html", null, true);
echo ");\"></div>
<div class=\"slider__separator\">
<div class=\"bar__separator\"></div>
<div class=\"btn__separator\">
<span class=\"btn__separator_left_arrow\"></span>
<span class=\"btn__separator_right_arrow\"></span>
</div>
<div class=\"bar__separator\"></div>
</div>
<div class=\"slider__after\" style=\"background-image:url(";
// line 27
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", false, false, false, 27))), "middle"), "html", null, true);
echo ");\"></div>
<input class=\"slider__range\" type=\"range\" min=\"2\" max=\"98\" value=\"50\"/>
</div>
";
} else {
// line 31
echo " <img src=\"";
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", false, false, false, 31))), "middle"), "html", null, true);
echo "\" alt=\"photo de couverture de la réalisation\" class=\"img-place-holder\">
";
}
// line 33
echo " <div class=\"desc-real\">
<div class=\"titre\">
<div class=\"deco-sous-titre\"></div>
<span class=\"sous-titre\">";
// line 36
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 36, $this->source); })()), "categorie", [], "any", false, false, false, 36), "nom", [], "any", false, false, false, 36), "html", null, true);
echo "</span>
</div>
<h2 class=\"titre-real\">";
// line 38
echo twig_escape_filter($this->env, 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.', 38, $this->source); })()), "nom", [], "any", false, false, false, 38), "html", null, true);
echo "</h2>
<p>";
// line 39
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", false, false, false, 39);
echo "</p>
<p>
<b>Solution apportée par nos équipes :</b><br>
";
// line 42
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", false, false, false, 42);
echo "
</p>
</div>
</div>
";
// line 46
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["realisation"] ?? null), "photos", [], "any", false, true, false, 46), 0, [], "array", true, true, false, 46)) {
// line 47
echo " <div class=\"galerie-real\">
<h2 class=\"titre-deco-dessous\">Photo</h2>
<div class=\"deco-sous-titre\"></div>
<div id=\"popup-bg\">
<span id=\"previous\"><i class=\"fa-solid fa-angle-left\"></i></span>
<div id=\"popup-content\">
<img id=\"popup-img\" src=\"#\" alt=\"Rénovation effectué par RenvoAtHome\" />
</div>
<span id=\"next\"><i class=\"fa-solid fa-angle-right\"></i></span>
</div>
<div class=\"photo-real\">
";
// line 58
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, 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.', 58, $this->source); })()), "photos", [], "any", false, false, false, 58), 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", false, false, false, 58) <= 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", false, false, false, 58)); }));
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 59
echo " <div class=\"item-galerie\">
<img src=\"";
// line 60
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", false, false, false, 60))), "miniature"), "html", null, true);
echo "\" alt=\"Rénovation effectué par RenvoAtHome\" class=\"photo-galerie\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["photo"], "image", [], "any", false, false, false, 60), "html", null, true);
echo "\">
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 63
echo "
</div>
</div>
";
}
// line 67
echo "
";
// line 68
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["realisation"] ?? null), "temoignages", [], "any", false, true, false, 68), 0, [], "array", true, true, false, 68)) {
// line 69
echo " <div class=\"testimonial-real\">
<div class=\"title-testimonial\">
<span>Témoignage du client</span>
<div class=\"deco-sous-titre\"></div>
</div>
";
// line 74
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 74, $this->source); })()), "temoignages", [], "any", false, false, false, 74), 0, [], "array", false, false, false, 74), "video", [], "any", false, false, false, 74) != null)) {
// line 75
echo " <div class=\"commentaire-video\" >
<div class=\"youtube_player\" videoID=\"";
// line 76
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 76, $this->source); })()), "temoignages", [], "any", false, false, false, 76), 0, [], "array", false, false, false, 76), "video", [], "any", false, false, false, 76), "html", null, true);
echo "\" rel=\"rel=1\" controls=\"controls=1\" showinfo=\"showinfo=0\" autoplay=\"autoplay=0\" loop=\"loop=0\" loading=\"loading=1\"></div>
</div>
";
} else {
// line 79
echo " <img src=\"";
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->source, twig_get_attribute($this->env, $this->source, 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.', 79, $this->source); })()), "temoignages", [], "any", false, false, false, 79), 0, [], "array", false, false, false, 79), "photo", [], "any", false, false, false, 79))), "logo"), "html", null, true);
echo "\" alt=\"Rénovation effectué par RenvoAtHome\" class=\"img-rounded\">
<span class=\"name-client\">";
// line 80
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 80, $this->source); })()), "temoignages", [], "any", false, false, false, 80), 0, [], "array", false, false, false, 80), "client", [], "any", false, false, false, 80), "html", null, true);
echo "</span>
<div class=\"commentaire\" >
";
// line 82
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 82, $this->source); })()), "temoignages", [], "any", false, false, false, 82), 0, [], "array", false, false, false, 82), "commentaire", [], "any", false, false, false, 82);
echo "
</div>
";
}
// line 85
echo " </div>
";
}
// line 87
echo "
<div class=\"titre\">
<div class=\"deco-sous-titre\"></div>
<span class=\"sous-titre\">Nos réalisations</span>
</div>
<h2 class=\"titre-other-real\">Nos autres réalisations</h2>
<div class=\"other-real\">
";
// line 94
$context['_parent'] = $context;
$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", false, false, false, 94) <= 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", false, false, false, 94)); }));
foreach ($context['_seq'] as $context["_key"] => $context["other"]) {
// line 95
echo " <div class=\"card-real ";
echo twig_escape_filter($this->env, twig_replace_filter(twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["other"], "categorie", [], "any", false, false, false, 95), "nom", [], "any", false, false, false, 95)), [" " => "-"]), "html", null, true);
echo "\">
<a class=\"titre-evenement\" href=\"";
// line 96
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", false, false, false, 96)]), "html", null, true);
echo "\">
<div class=\"layer\">
<img src=\"";
// line 98
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", false, false, false, 98))), "miniature"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["other"], "nom", [], "any", false, false, false, 98), "html", null, true);
echo "\">
<div class=\"overlay\">
<div class=\"text\"><span>EN DÉCOUVRIR PLUS <i class=\"fa-solid fa-arrow-right\"></i></span></div>
</div>
</div>
<span class=\"card-real-category\">";
// line 103
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["other"], "categorie", [], "any", false, false, false, 103), "nom", [], "any", false, false, false, 103), "html", null, true);
echo "</span>
<h3 class=\"card-real-title\">";
// line 104
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["other"], "nom", [], "any", false, false, false, 104), "html", null, true);
echo "</h3>
</a>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['other'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 108
echo " </div>
</div>
</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 113
public function block_contact($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contact"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contact"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 115
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 117
public function block_script($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "script"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "script"));
// line 118
echo " ";
$this->displayParentBlock("script", $context, $blocks);
echo "
<script src=\"";
// line 119
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/main.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 120
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/realisations.js"), "html", null, true);
echo "\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "achievement/show.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Réalisation - RénovAtHome{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel=\"stylesheet\" href=\"{{ asset('assets/styles/realisation.css')}}\">
{% endblock %}
{% block banner %}{% endblock %}
{% block main %}
<main>
<div class=\"container-real-show\">
<div class=\"last-real\">
{% if realisation.avant != \"\" and realisation.apres != \"\" %}
<div class=\"slider\">
<div class=\"slider__before\" style=\"background-image:url({{ asset('uploads/realisations/'~realisation.avant) | imagine_filter('middle')}});\"></div>
<div class=\"slider__separator\">
<div class=\"bar__separator\"></div>
<div class=\"btn__separator\">
<span class=\"btn__separator_left_arrow\"></span>
<span class=\"btn__separator_right_arrow\"></span>
</div>
<div class=\"bar__separator\"></div>
</div>
<div class=\"slider__after\" style=\"background-image:url({{ asset('uploads/realisations/'~realisation.apres) | imagine_filter('middle')}});\"></div>
<input class=\"slider__range\" type=\"range\" min=\"2\" max=\"98\" value=\"50\"/>
</div>
{% else %}
<img src=\"{{ asset('uploads/realisations/'~realisation.cover) | imagine_filter('middle')}}\" alt=\"photo de couverture de la réalisation\" class=\"img-place-holder\">
{% endif %}
<div class=\"desc-real\">
<div class=\"titre\">
<div class=\"deco-sous-titre\"></div>
<span class=\"sous-titre\">{{realisation.categorie.nom}}</span>
</div>
<h2 class=\"titre-real\">{{ realisation.nom }}</h2>
<p>{{ realisation.description |raw }}</p>
<p>
<b>Solution apportée par nos équipes :</b><br>
{{ realisation.taches |raw}}
</p>
</div>
</div>
{% if realisation.photos[0] is defined %}
<div class=\"galerie-real\">
<h2 class=\"titre-deco-dessous\">Photo</h2>
<div class=\"deco-sous-titre\"></div>
<div id=\"popup-bg\">
<span id=\"previous\"><i class=\"fa-solid fa-angle-left\"></i></span>
<div id=\"popup-content\">
<img id=\"popup-img\" src=\"#\" alt=\"Rénovation effectué par RenvoAtHome\" />
</div>
<span id=\"next\"><i class=\"fa-solid fa-angle-right\"></i></span>
</div>
<div class=\"photo-real\">
{% for photo in realisation.photos |sort((a, b) => a.id <= b.id) %}
<div class=\"item-galerie\">
<img src=\"{{ asset('uploads/realisations/'~photo.image) | imagine_filter('miniature')}}\" alt=\"Rénovation effectué par RenvoAtHome\" class=\"photo-galerie\" id=\"{{photo.image}}\">
</div>
{% endfor %}
</div>
</div>
{% endif %}
{% if realisation.temoignages[0] is defined %}
<div class=\"testimonial-real\">
<div class=\"title-testimonial\">
<span>Témoignage du client</span>
<div class=\"deco-sous-titre\"></div>
</div>
{% if realisation.temoignages[0].video != null %}
<div class=\"commentaire-video\" >
<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>
</div>
{% else %}
<img src=\"{{ asset('uploads/temoignages/'~realisation.temoignages[0].photo) | imagine_filter('logo')}}\" alt=\"Rénovation effectué par RenvoAtHome\" class=\"img-rounded\">
<span class=\"name-client\">{{ realisation.temoignages[0].client }}</span>
<div class=\"commentaire\" >
{{ realisation.temoignages[0].commentaire | raw }}
</div>
{% endif %}
</div>
{% endif %}
<div class=\"titre\">
<div class=\"deco-sous-titre\"></div>
<span class=\"sous-titre\">Nos réalisations</span>
</div>
<h2 class=\"titre-other-real\">Nos autres réalisations</h2>
<div class=\"other-real\">
{% for other in others |sort((a, b) => a.id <= b.id) %}
<div class=\"card-real {{ other.categorie.nom|lower|replace({' ': '-'}) }}\">
<a class=\"titre-evenement\" href=\"{{ path('realisation', { 'slug' : other.slug })}}\">
<div class=\"layer\">
<img src=\"{{ asset('uploads/realisations/'~other.cover) | imagine_filter('miniature')}}\" alt=\"{{ other.nom }}\">
<div class=\"overlay\">
<div class=\"text\"><span>EN DÉCOUVRIR PLUS <i class=\"fa-solid fa-arrow-right\"></i></span></div>
</div>
</div>
<span class=\"card-real-category\">{{ other.categorie.nom }}</span>
<h3 class=\"card-real-title\">{{ other.nom }}</h3>
</a>
</div>
{% endfor %}
</div>
</div>
</main>
{% endblock %}
{% block contact %}{% endblock %}
{% block footer %}{% endblock %}
{% block script %}
{{ parent() }}
<script src=\"{{ asset('assets/js/main.js')}}\"></script>
<script src=\"{{ asset('assets/js/realisations.js')}}\"></script>
{% endblock %}
", "achievement/show.html.twig", "/home/u847847315/domains/djabdigital.com/public_html/renovathome/templates/achievement/show.html.twig");
}
}