<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* home.html.twig */
class __TwigTemplate_d8e46f14139aa7913df388cf94a1e4a123b5058617cb9a4eddaa5a9e79dab23e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'metaDescription' => [$this, 'block_metaDescription'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home.html.twig"));
// line 2
$context["page"] = "homepage";
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "home.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Accueil";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 5
public function block_metaDescription($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaDescription"));
// line 6
yield " ";
$context["headerContent"] = $this->extensions['App\Twig\ContentExtension']->Content("Home", "Header");
// line 7
yield " <meta name=\"description\" content=\"
";
// line 8
if (CoreExtension::getAttribute($this->env, $this->source, ($context["headerContent"] ?? null), "content", [], "any", true, true, false, 8)) {
// line 9
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, (isset($context["headerContent"]) || array_key_exists("headerContent", $context) ? $context["headerContent"] : (function () { throw new RuntimeError('Variable "headerContent" does not exist.', 9, $this->source); })()), "content", [], "any", false, false, false, 9)), "html", null, true);
yield "
";
} else {
// line 11
yield " Tracol Immobilier propose une large offre en immobilier neuf (logements, bureaux, commerces), qui se caractérise par une architecture résolument contemporaine, des matériaux de qualité, et le soin apporté à chaque détail.
";
}
// line 13
yield " \">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 16
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 17
yield "
";
// line 18
$context["headerContent"] = $this->extensions['App\Twig\ContentExtension']->Content("Home", "Header");
// line 19
yield "
";
// line 20
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["headerContent"] ?? null), "picture", [], "any", true, true, false, 20) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["headerContent"]) || array_key_exists("headerContent", $context) ? $context["headerContent"] : (function () { throw new RuntimeError('Variable "headerContent" does not exist.', 20, $this->source); })()), "picture", [], "any", false, false, false, 20)))) {
// line 21
yield " ";
$context["backgroundImage"] = ("/uploads/images/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["headerContent"]) || array_key_exists("headerContent", $context) ? $context["headerContent"] : (function () { throw new RuntimeError('Variable "headerContent" does not exist.', 21, $this->source); })()), "picture", [], "any", false, false, false, 21), 0, [], "array", false, false, false, 21), "path", [], "any", false, false, false, 21));
// line 22
yield " ";
} else {
// line 23
yield " ";
$context["backgroundImage"] = "tracol_home.jpeg";
// line 24
yield " ";
}
// line 25
yield "
<header class=\"header-home\" style=\"background-image:url(";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["backgroundImage"]) || array_key_exists("backgroundImage", $context) ? $context["backgroundImage"] : (function () { throw new RuntimeError('Variable "backgroundImage" does not exist.', 26, $this->source); })()), "html", null, true);
yield ")\">
<div class=\"container-fluid\">
<div class=\"px-4 py-5 text-center\">
<div id=\"block-header-home\" class=\"col-lg-12\">
";
// line 30
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["headerContent"] ?? null), "content", [], "any", true, true, false, 30) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["headerContent"]) || array_key_exists("headerContent", $context) ? $context["headerContent"] : (function () { throw new RuntimeError('Variable "headerContent" does not exist.', 30, $this->source); })()), "content", [], "any", false, false, false, 30))) {
// line 31
yield " <div id=\"svg-header\" class=\"col-lg-8 div-svg-header \">
<svg id=\"svg-home\" xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
</div>
<div class=\"col-lg-8 div-svg-header home-p\">
<p id=\"header-text-home\" class=\"header-text\">";
// line 37
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["headerContent"]) || array_key_exists("headerContent", $context) ? $context["headerContent"] : (function () { throw new RuntimeError('Variable "headerContent" does not exist.', 37, $this->source); })()), "content", [], "any", false, false, false, 37);
yield "</p>
</div>
";
}
// line 40
yield " ";
// line 158
yield "
</div>
</div>
</div>
</header>
<div class=\"container-fluid g-0 px-0\">
<section class=\"project\">
";
// line 166
$context["projectContent"] = $this->extensions['App\Twig\ContentExtension']->Content("Home", "Projects");
// line 167
yield " <div id=\"home-section\" class=\"col-lg-8 mx-auto div-svg-header pre-section\">
<div class=\"home-section-title col-lg-5\" style=\"font-size: 2.3em;display: flex;flex-direction: column;\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\" style=\"margin-bottom: 10px\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
<h1 class=\"project-title\">";
// line 172
if (CoreExtension::getAttribute($this->env, $this->source, ($context["projectContent"] ?? null), "name", [], "any", true, true, false, 172)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["projectContent"]) || array_key_exists("projectContent", $context) ? $context["projectContent"] : (function () { throw new RuntimeError('Variable "projectContent" does not exist.', 172, $this->source); })()), "name", [], "any", false, false, false, 172), "html", null, true);
} else {
yield "Nos projets";
}
yield "</h1>
</div>
";
// line 187
yield "
</div>
</section>
<section class=\"properties\" style=\"margin-bottom: 40px\">
";
// line 205
yield "
";
// line 223
yield "
<div id=\"projects\" class=\"col-lg-8 mx-auto\" style=\"display: flex; flex-wrap: wrap; justify-content: space-between\">
";
// line 225
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["projects"]) || array_key_exists("projects", $context) ? $context["projects"] : (function () { throw new RuntimeError('Variable "projects" does not exist.', 225, $this->source); })()), 0, 4));
foreach ($context['_seq'] as $context["_key"] => $context["project"]) {
// line 226
yield " <div onclick=\"location.href='";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("project-detail", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["project"], "id", [], "any", false, false, false, 226)]), "html", null, true);
yield "'\" data-id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("project-detail", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["project"], "id", [], "any", false, false, false, 226)]), "html", null, true);
yield "\" id=\"width-col-6-home\" class=\"item col-lg-6 margin-top-30\" style=\"position: relative; cursor: pointer\">
";
// line 247
yield " <div class=\"tag-ref-projet-3\"><span class=\"text-tag-ref\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ContentExtension']->typeProject(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["project"], "construction", [], "any", false, false, false, 247), "construction_step", [], "any", false, false, false, 247)), "html", null, true);
yield "</span></div>
";
// line 248
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["project"], "pictures", [], "any", false, false, false, 248))) {
// line 249
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["project"], "pictures", [], "any", false, false, false, 249), 0, 1));
foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
// line 250
yield " <div class=\"img-wrapper\">
";
// line 251
$context["url"] = ((CoreExtension::inFilter("http", CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 251))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 251)) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/images/properties/" . CoreExtension::getAttribute($this->env, $this->source, $context["project"], "id", [], "any", false, false, false, 251)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 251)))));
// line 252
yield " <div class=\"img\" style=\"background-image: url('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 252, $this->source); })()), "html", null, true);
yield "'); margin: 0px;\">
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 256
yield " ";
} else {
// line 257
yield " <div class=\"img-wrapper\">
<div class=\"img\" style=\"background-image: url('";
// line 258
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/Maisons_H_R1.jpg"), "html", null, true);
yield "'); margin: 0px;\"></div>
</div>
";
}
// line 261
yield " <p class=\"city\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["project"], "city", [], "any", false, false, false, 261), "name", [], "any", false, false, false, 261), "html", null, true);
yield "</p>
<p class=\"project-name\">";
// line 262
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["project"], "name", [], "any", false, false, false, 262), "html", null, true);
yield "</p>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['project'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 265
yield " </div>
<div class=\"col-lg-8 mx-auto projects-link-mobile\" style=\"display: none\">
<a href=\"";
// line 267
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("projects");
yield "\" class=\"property-span-arrow\">Découvrir plus
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
<div id=\"link-none\" class=\"col-lg-8 mx-auto div-svg-header d-flex justify-content-end\">
<div>
<a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"";
// line 273
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("projects");
yield "\">Découvrir plus
<svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
</a>
</div>
</div>
</section>
<section class=\"available-properties\">
<div id=\"home-section\" class=\"col-lg-8 mx-auto div-svg-header pre-section\">
<div class=\"home-section-title col-lg-8\" style=\"font-size: 2.3em;display: flex;flex-direction: column;\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\" style=\"margin-bottom: 10px\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
<h1 class=\"project-title\">Nos biens disponibles</h1>
</div>
";
// line 302
yield " </div>
<div id=\"projects\" class=\"col-lg-8 mx-auto\" style=\"display: flex; flex-wrap: wrap; justify-content: space-between\">
";
// line 305
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["salesProperties"]) || array_key_exists("salesProperties", $context) ? $context["salesProperties"] : (function () { throw new RuntimeError('Variable "salesProperties" does not exist.', 305, $this->source); })()), 0, 4));
foreach ($context['_seq'] as $context["_key"] => $context["project"]) {
// line 306
yield " <div onclick=\"location.href='";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("property-detail", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["project"], "id", [], "any", false, false, false, 306)]), "html", null, true);
yield "'\" data-id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("property-detail", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["project"], "id", [], "any", false, false, false, 306)]), "html", null, true);
yield "\" id=\"width-col-6-home\" class=\"item col-lg-6 margin-top-30\" style=\"position: relative; cursor: pointer\">
";
// line 308
yield " <div class=\"tag-ref-projet-3\"><span class=\"text-tag-ref\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ContentExtension']->propertyCategory(CoreExtension::getAttribute($this->env, $this->source, $context["project"], "category", [], "any", false, false, false, 308)), "html", null, true);
yield "</span></div>
";
// line 309
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["project"], "pictures", [], "any", false, false, false, 309))) {
// line 310
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["project"], "pictures", [], "any", false, false, false, 310), 0, 1));
foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
// line 311
yield " <div class=\"img-wrapper\">
";
// line 312
$context["url"] = ((CoreExtension::inFilter("http", CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 312))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 312)) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/images/properties/" . CoreExtension::getAttribute($this->env, $this->source, $context["project"], "id", [], "any", false, false, false, 312)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 312)))));
// line 313
yield " <div class=\"img\" style=\"background-image: url('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 313, $this->source); })()), "html", null, true);
yield "'); margin: 0px;\">
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 317
yield " ";
} else {
// line 318
yield " <div class=\"img-wrapper\">
<div class=\"img\" style=\"background-image: url('";
// line 319
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/Maisons_H_R1.jpg"), "html", null, true);
yield "'); margin: 0px;\"></div>
</div>
";
}
// line 322
yield " <div class=\"infos\">
<div class=\"detail\">
<p class=\"city\">";
// line 324
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["project"], "city", [], "any", false, false, false, 324), "name", [], "any", false, false, false, 324), "html", null, true);
yield "</p>
<p class=\"project-name\">";
// line 325
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ContentExtension']->getTypeProperty(CoreExtension::getAttribute($this->env, $this->source, $context["project"], "type", [], "any", false, false, false, 325)), "html", null, true);
yield "</p>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['project'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 330
yield " </div>
<div class=\"col-lg-8 mx-auto projects-link-mobile\" style=\"display: none\">
<a href=\"/biens/vente\" class=\"property-span-arrow\">VOIR TOUS NOS BIENS
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
<div id=\"link-none\" class=\"col-lg-8 mx-auto div-svg-header d-flex justify-content-end\">
<div>
<a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"";
// line 338
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("properties");
yield "\">Découvrir plus
<svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
</a>
</div>
</div>
</section>
<section class=\"reference\">
";
// line 348
$context["referenceContent"] = $this->extensions['App\Twig\ContentExtension']->Content("Home", "References");
// line 349
yield " <div class=\"col-lg-8 mx-auto div-svg-header\" style=\"display: flex; margin-top: 30px\">
<div class=\"col-lg-5\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
<h1 class=\"project-title\">
";
// line 355
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["referenceContent"] ?? null), "name", [], "any", true, true, false, 355) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["referenceContent"]) || array_key_exists("referenceContent", $context) ? $context["referenceContent"] : (function () { throw new RuntimeError('Variable "referenceContent" does not exist.', 355, $this->source); })()), "name", [], "any", false, false, false, 355))) {
// line 356
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["referenceContent"]) || array_key_exists("referenceContent", $context) ? $context["referenceContent"] : (function () { throw new RuntimeError('Variable "referenceContent" does not exist.', 356, $this->source); })()), "name", [], "any", false, false, false, 356), "html", null, true);
yield "
";
} else {
// line 358
yield " Nos références
";
}
// line 360
yield " </h1>
</div>
";
// line 374
yield "
</div>
";
// line 408
yield "
<div id=\"references-home\" class=\"col-lg-8\">
<div id=\"flick100\" class=\"flicking-viewport\">
<div class=\"flicking-camera\">
<div class=\"col-lg-12 ref-container\" style=\"display: flex; flex-wrap: wrap;\">
";
// line 414
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["references"]) || array_key_exists("references", $context) ? $context["references"] : (function () { throw new RuntimeError('Variable "references" does not exist.', 414, $this->source); })()), 0, 4));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["key"] => $context["reference"]) {
// line 415
yield "
<a href=\"";
// line 416
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("property-detail", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["reference"], "id", [], "any", false, false, false, 416)]), "html", null, true);
yield "\" class=\"item col-lg-6 col-md-12 ";
if ((0 === CoreExtension::compare((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 416) % 2), 0))) {
yield "padd-to-left";
} else {
yield "padd-to-right";
}
yield "\">
<div class=\"div-img-hover-2 ref-list\">
";
// line 438
yield "
";
// line 442
yield "
<div class=\"tag-ref\"><span class=\"text-tag-ref\">";
// line 443
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ContentExtension']->getTypeReferences(CoreExtension::getAttribute($this->env, $this->source, $context["reference"], "type", [], "any", false, false, false, 443)), "html", null, true);
yield "</span></div>
";
// line 445
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["reference"], "pictures", [], "any", false, false, false, 445))) {
// line 446
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["reference"], "pictures", [], "any", false, false, false, 446), 0, 1));
foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
// line 447
yield " <div class=\"img-wrapper2\">
";
// line 448
$context["url"] = ((CoreExtension::inFilter("http", CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 448))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 448)) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/images/properties/" . CoreExtension::getAttribute($this->env, $this->source, $context["reference"], "id", [], "any", false, false, false, 448)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 448)))));
// line 449
yield " <div class=\"img-tmp\" style=\"background-image: url(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 449, $this->source); })()), "html", null, true);
yield ");\"></div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 452
yield " ";
} else {
// line 453
yield " <div class=\"img-wrapper2\">
<div class=\"img-tmp\" style=\"background-image: url('build/Hudson_Ontario2.png');\"></div>
</div>
";
}
// line 457
yield " <p class=\"city\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["reference"], "city", [], "any", false, false, false, 457), "name", [], "any", false, false, false, 457), "html", null, true);
yield "</p>
<p class=\"project-name\">";
// line 458
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reference"], "reference", [], "any", false, false, false, 458), "html", null, true);
yield "</p>
</div>
</a>
<div class=\"lightbox\" id=\"modul-";
// line 463
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
yield "\">
<div class=\"closer\"></div>
<div class=\"arrows left\">←</div>
<div class=\"arrows right\">→</div>
<div class=\"counter\">1/1</div>
<ul class=\"items\">
";
// line 469
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["reference"], "pictures", [], "any", false, false, false, 469));
foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
// line 470
yield " <li class=\"item\">
";
// line 471
$context["url"] = ((CoreExtension::inFilter("http", CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 471))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 471)) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/images/properties/" . CoreExtension::getAttribute($this->env, $this->source, $context["reference"], "id", [], "any", false, false, false, 471)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 471)))));
// line 472
yield " <img class=\"img\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 472, $this->source); })()), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["reference"], "reference", [], "any", false, false, false, 472), "html", null, true);
yield "\" loading=\"lazy\">
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 475
yield " </ul>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['reference'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 479
yield " </div>
<div class=\"col-lg-12 references-link-mobile\" style=\"display: none\">
<a href=\"";
// line 481
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reference");
yield "\" class=\"property-span-arrow\">Découvrir plus
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
<div id=\"link-none\" class=\"col-lg-12 mx-auto div-svg-header d-flex justify-content-end\">
<div>
<a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"";
// line 487
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reference");
yield "\">Découvrir plus
<svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<section class=\"property-promotion\" style=\"background: #F7F7F7;padding:40px 0;\">
";
// line 498
$context["propertyContent"] = $this->extensions['App\Twig\ContentExtension']->Content("Home", "Biens");
// line 499
yield " <div id=\"home-sale\" class=\"col-lg-8 mx-auto div-svg-header\" style=\"display: flex; justify-content: space-between\">
<div id=\"property-content-p\" class=\"col-lg-5 property-content\" style=\"display: flex;flex-direction: column;justify-content:space-around; padding-right:20px;\">
<div class=\"col-lg-12\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
<h1 class=\"property-name\">";
// line 505
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["propertyContent"] ?? null), "name", [], "any", true, true, false, 505) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["propertyContent"]) || array_key_exists("propertyContent", $context) ? $context["propertyContent"] : (function () { throw new RuntimeError('Variable "propertyContent" does not exist.', 505, $this->source); })()), "name", [], "any", false, false, false, 505))) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["propertyContent"]) || array_key_exists("propertyContent", $context) ? $context["propertyContent"] : (function () { throw new RuntimeError('Variable "propertyContent" does not exist.', 505, $this->source); })()), "name", [], "any", false, false, false, 505), "html", null, true);
} else {
yield "Un bien à vendre ?";
}
yield "</h1>
</div>
";
// line 508
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["propertyContent"] ?? null), "content", [], "any", true, true, false, 508) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["propertyContent"]) || array_key_exists("propertyContent", $context) ? $context["propertyContent"] : (function () { throw new RuntimeError('Variable "propertyContent" does not exist.', 508, $this->source); })()), "content", [], "any", false, false, false, 508))) {
// line 509
yield " ";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["propertyContent"]) || array_key_exists("propertyContent", $context) ? $context["propertyContent"] : (function () { throw new RuntimeError('Variable "propertyContent" does not exist.', 509, $this->source); })()), "content", [], "any", false, false, false, 509);
yield "
";
} else {
// line 511
yield " <p>Réaliser l’estimation d’une maison, d’un appartement ou d’un terrain, c’est un métier. Grâce à nos
experts immobiliers, vous fixez le juste prix. Ensuite, ils vous accompagnent dans toutes les étapes,
jusqu’à la vente de votre bien.
<br>
<br>
Vous souhaitez connaître la valeur marchande de votre bien immobilier ? Contactez-nous pour
convenir d’un rendez-vous avec l’un de nos conseillers.</p>
";
}
// line 520
yield "
<div class=\"see-video-bottom\" style=\"display: flex; align-content: center\">
<a id=\"contact-link\" class=\"property-span-arrow\" href=\"";
// line 522
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vendre");
yield "\">CONTACTEZ-NOUS
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
";
// line 556
yield "
</div>
";
// line 565
yield "
<div class=\"home-sale-img col-lg-6\" style=\"margin:0;position: relative; background: url(";
// line 566
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/vendre.jpg"), "html", null, true);
yield ") no-repeat center center; background-size:cover;\">
</div>
</div>
</section>
";
// line 579
yield " </div>
<section class=\"newsletter\">
<div class=\"col-lg-8 row m-auto\">
<div class=\"col-lg-6\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"rgb(246, 164, 0)\"/>
</svg>
<h1 class=\"property-name\">Inscrivez-vous à<br> notre newsletter</h1>
</div>
<div class=\"col-lg-4\">
<div id=\"div-form-newsletter\">
<span id=\"span-newsletter\">Recevez nos dernières actualités.</span>
<form action=\"";
// line 592
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mailchimp");
yield "\" id=\"form-newsletter\">
<div class=\"input-group mt-2\">
<input id=\"input-email\" class=\"form-control input-email\" type=\"email\" name=\"email\" placeholder=\"Votre adresse mail\">
<button class=\"btn btn-primary button-newsletter\" type=\"submit\"><i class=\"fas fa-arrow-right\"></i></button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Modal HTML -->
<div id=\"video\" class=\"modal fade\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\">×</button>
</div>
<div class=\"modal-body\">
<div class=\"embed-responsive embed-responsive-16by9\">
<iframe id=\"cartoonVideo\" class=\"embed-responsive-item\" width=\"560\" height=\"315\" src=\"https://youtu.be/8zFDrIoLoCQ\" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
</div>
<!-- Modal -->
";
// line 623
yield "
";
// line 625
yield "
";
// line 637
yield "
";
// line 642
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 743 => 642, 740 => 637, 737 => 625, 734 => 623, 703 => 592, 688 => 579, 679 => 566, 676 => 565, 672 => 556, 664 => 522, 660 => 520, 649 => 511, 643 => 509, 641 => 508, 631 => 505, 623 => 499, 621 => 498, 607 => 487, 598 => 481, 594 => 479, 577 => 475, 565 => 472, 563 => 471, 560 => 470, 556 => 469, 547 => 463, 539 => 458, 534 => 457, 528 => 453, 525 => 452, 515 => 449, 513 => 448, 510 => 447, 505 => 446, 503 => 445, 498 => 443, 495 => 442, 492 => 438, 481 => 416, 478 => 415, 461 => 414, 453 => 408, 448 => 374, 444 => 360, 440 => 358, 434 => 356, 432 => 355, 424 => 349, 422 => 348, 409 => 338, 399 => 330, 388 => 325, 384 => 324, 380 => 322, 374 => 319, 371 => 318, 368 => 317, 357 => 313, 355 => 312, 352 => 311, 347 => 310, 345 => 309, 340 => 308, 333 => 306, 329 => 305, 324 => 302, 305 => 273, 296 => 267, 292 => 265, 283 => 262, 278 => 261, 272 => 258, 269 => 257, 266 => 256, 255 => 252, 253 => 251, 250 => 250, 245 => 249, 243 => 248, 238 => 247, 231 => 226, 227 => 225, 223 => 223, 220 => 205, 212 => 187, 203 => 172, 196 => 167, 194 => 166, 184 => 158, 182 => 40, 176 => 37, 168 => 31, 166 => 30, 159 => 26, 156 => 25, 153 => 24, 150 => 23, 147 => 22, 144 => 21, 142 => 20, 139 => 19, 137 => 18, 134 => 17, 124 => 16, 112 => 13, 108 => 11, 102 => 9, 100 => 8, 97 => 7, 94 => 6, 84 => 5, 64 => 4, 53 => 1, 51 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% set page = 'homepage' %}
{% block title %}Accueil{% endblock %}
{% block metaDescription %}
{% set headerContent = content('Home', 'Header') %}
<meta name=\"description\" content=\"
{% if headerContent.content is defined %}
{{ headerContent.content|striptags }}
{% else %}
Tracol Immobilier propose une large offre en immobilier neuf (logements, bureaux, commerces), qui se caractérise par une architecture résolument contemporaine, des matériaux de qualité, et le soin apporté à chaque détail.
{% endif %}
\">
{% endblock %}
{% block body %}
{% set headerContent = content('Home', 'Header') %}
{% if headerContent.picture is defined and headerContent.picture is not empty %}
{% set backgroundImage = '/uploads/images/'~headerContent.picture[0].path %}
{% else %}
{% set backgroundImage = 'tracol_home.jpeg' %}
{% endif %}
<header class=\"header-home\" style=\"background-image:url({{ backgroundImage }})\">
<div class=\"container-fluid\">
<div class=\"px-4 py-5 text-center\">
<div id=\"block-header-home\" class=\"col-lg-12\">
{% if headerContent.content is defined and headerContent.content %}
<div id=\"svg-header\" class=\"col-lg-8 div-svg-header \">
<svg id=\"svg-home\" xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
</div>
<div class=\"col-lg-8 div-svg-header home-p\">
<p id=\"header-text-home\" class=\"header-text\">{{ headerContent.content|raw }}</p>
</div>
{% endif %}
{#
<div name=\"form-search-normal\" id=\"form-search-normal\" class=\"div-svg-header\">
<form action=\"{{ path('results') }}\" style=\"display: flex; align-items: center; width: 100%\">
<div style=\"display: flex;flex-direction: column;justify-content: center; width: 66.666vw;\">
<div class=\"selectors\" style=\"display: flex; align-items: center; width: auto;\">
<div id=\"transaction-drop\" class=\"dropdown\">
<div class=\"undroped\">
<p class=\"undroped-header\">Type de transaction</p>
<p name=\"transaction-type\" class=\"undroped-subheader\">Achat ou Location</p>
<input type=\"hidden\" value=\"\" class=\"input-subheader\" name=\"transaction-type\">
</div>
<div class=\"droped\">
<div class=\"dropdown-header\">Type de transaction</div>
<ul id=\"transaction-li\" class=\"items\">
<li class=\"item\" data-value =\"Vente\">Achat</li>
<li class=\"item\" data-value =\"Location\">Location</li>
<li class=\"item\" data-value =\"Location saisonnière\">Location saisonniere</li>
<li class=\"item\" data-value =\"Programme\">Programme</li>
<li class=\"item\" data-value =\"Viager\">Viager</li>
<li class=\"item\" data-value =\"Enchere\">Enchère</li>
</ul>
</div>
</div>
<div id=\"property-drop\" class=\"dropdown\">
<div class=\"undroped\">
<p class=\"undroped-header\">Type de biens</p>
<p name=\"property-type\" class=\"undroped-subheader\">Appartement, Bureau, ...</p>
<input type=\"hidden\" value=\"\" class=\"input-subheader\" name=\"property-type\">
</div>
<div class=\"droped\">
<div class=\"dropdown-header\">Type de biens</div>
<ul id=\"property-li\" class=\"items\">
<li class=\"item\" data-value =\"Appartement\">Appartements</li>
<li class=\"item\" data-value =\"Bureaux\">Bureaux</li>
<li class=\"item\" data-value =\"Maison\">Maisons</li>
<li class=\"item\" data-value =\"Commerce\">Commerces</li>
<li class=\"item\" data-value =\"Garage / Parking\">Garages / Parkings</li>
<li class=\"item\" data-value =\"Immeuble\">Immeubles</li>
</ul>
</div>
</div>
<div id=\"location-drop\" class=\"dropdown\">
<div class=\"undroped\">
<p class=\"undroped-header\">Localisation</p>
<p class=\"undroped-subheader\">Choissisez une ville</p>
<input type=\"hidden\" value=\"\" class=\"input-subheader\" name=\"location\">
</div>
<div class=\"droped\">
<div class=\"dropdown-header\">Localisation</div>
<ul id=\"location-li\" class=\"items\">
<li class=\"item\" data-value =\"Appartement\">Luxembourg-Ville</li>
<li class=\"item\" data-value =\"Bureaux\">Leudelange</li>
<li class=\"item\" data-value =\"Maison\">Esch-Sur-Alzette</li>
</ul>
</div>
</div>
<div class=\"div-form\">
<button id=\"search-detail\" class=\"btn btn-primary child search\">RECHERCHE AVANCEE</button>
</div>
<div>
<button style=\"background-color: transparent;border-color: transparent;\" id=\"submit-search\" type=\"submit\">
<svg class=\"search-button\" xmlns=\"http://www.w3.org/2000/svg\" width=\"55.982\" height=\"90.97\" viewBox=\"0 0 55.982 90.97\">
<g id=\"Groupe_3817\" data-name=\"Groupe 3817\" transform=\"translate(-1528.861 -105)\">
<path id=\"Tracé_95\" data-name=\"Tracé 95\" d=\"M729.651,232.441H673.669v90.97l55.982-11.894Z\" transform=\"translate(855.192 -127.441)\" fill=\"#f6a400\"/>
<g id=\"Groupe_3794\" data-name=\"Groupe 3794\" transform=\"translate(1545.335 126.696)\">
<g id=\"np_search_1868241_000000\">
<path id=\"Tracé_92\" data-name=\"Tracé 92\" d=\"M8.287,17.368A8.662,8.662,0,1,1,14.4,14.813a8.679,8.679,0,0,1-6.109,2.555Zm0-15.055a6.36,6.36,0,1,0,4.477,1.881A6.377,6.377,0,0,0,8.287,2.313Z\" transform=\"translate(0.441 -0.012)\" fill=\"#fff\"/>
<path id=\"Tracé_93\" data-name=\"Tracé 93\" d=\"M57.82,59.567l1.626-1.633L67.4,65.852l-1.626,1.633Z\" transform=\"translate(-44.591 -44.782)\" fill=\"#fff\"/>
</g>
</g>
</g>
</svg></button>
<button class=\"btn btn-primary\" id=\"send\" type=\"submit\" style=\"display: none\">Envoyer</button>
</div>
</div>
<div id=\"sub-search-div\" class=\"sub-search-div\" style=\"display: none\">
<div class=\"col-lg-3 div-form\">
<input class=\"sub-search-input\" name=\"budget\" id=\"budget\" type=\"text\" placeholder=\"Budget max.\">
</div>
<div id=\"rooms-drop\" class=\"dropdown\">
<div class=\"undroped\">
<p class=\"undroped-header transparent-font\">Nombre de chambres</p>
<p class=\"undroped-subheader good-place\"></p>
<input type=\"hidden\" class=\"input-subheader\" name=\"rooms\">
</div>
<div class=\"droped\">
<div class=\"dropdown-header\">Nombre de chambres</div>
<ul id=\"rooms-li\" class=\"items\">
<li class=\"item\" data-value =\"1\">1</li>
<li class=\"item\" data-value =\"2\">2</li>
<li class=\"item\" data-value =\"3\">3</li>
<li class=\"item\" data-value =\"4\">4</li>
<li class=\"item\" data-value =\"5\">5</li>
<li class=\"item\" data-value =\"6\">6</li>
</ul>
</div>
</div>
<div class=\"col-lg-3 div-form\">
<input class=\"sub-search-input\" id=\"area-minimumm\" name=\"area-minimumm\" type=\"text\" placeholder=\"Surface minimum.\">
</div>
</div>
</div>
</form>
</div>
#}
</div>
</div>
</div>
</header>
<div class=\"container-fluid g-0 px-0\">
<section class=\"project\">
{% set projectContent = content('Home', 'Projects') %}
<div id=\"home-section\" class=\"col-lg-8 mx-auto div-svg-header pre-section\">
<div class=\"home-section-title col-lg-5\" style=\"font-size: 2.3em;display: flex;flex-direction: column;\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\" style=\"margin-bottom: 10px\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
<h1 class=\"project-title\">{% if projectContent.name is defined %}{{ projectContent.name }}{% else %}Nos projets{% endif %}</h1>
</div>
{#
<div class=\"separator\"></div>
<div class=\"pre-section-content col-md-6\">
{% if projectContent.content is defined %}
{{ projectContent.content|raw }}
{% else %}
Fort de plusieurs années d’expérience, Tracol Immobilier propose des projets adaptés aux
besoins de chacun. Répondant aux plus hautes exigences et s’inscrivant dans le temps, ils se
caractérisent par une architecture résolument contemporaine, des matériaux de qualité et le
soin apporté à chaque détail.
{% endif %}
</div>
#}
</div>
</section>
<section class=\"properties\" style=\"margin-bottom: 40px\">
{#
<div id=\"button-property\" class=\"col-lg-8 mx-auto div-svg-header\" style=\"display: flex; align-items: center\">
<button data-id=\"all\" class=\"btn btn-primary all border-radius projectButton\"><span class=\"span-all\">TOUS</span></button>
<button data-id=\"futur\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">A VENIR</span></button>
<button data-id=\"construction\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">EN COURS</span></button>
<div class=\"col-lg-6 projects-link\">
<a href=\"{{ path('projects') }}\" class=\"property-span-arrow\">VOIR TOUS NOS PROJETS
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
</div>
#}
{#
<div id=\"button-property-mobile\" class=\"col-lg-8 mx-auto div-svg-header\" style=\"display: none; align-items: center\">
<div id=\"flick2\" class=\"flicking-viewport\">
<div class=\"flicking-camera\">
<button data-id=\"all\" class=\"btn btn-primary all border-radius projectButton\"><span class=\"span-all\">TOUS</span></button>
<button data-id=\"futur\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">A VENIR</span></button>
<button data-id=\"construction\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">EN COURS</span></button>
</div>
</div>
<div class=\"col-lg-8 projects-link\">
<a href=\"{{ path('projects') }}\" class=\"property-span-arrow\">VOIR TOUS NOS PROJETS
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
</div>
#}
<div id=\"projects\" class=\"col-lg-8 mx-auto\" style=\"display: flex; flex-wrap: wrap; justify-content: space-between\">
{% for project in projects|slice(0,4) %}
<div onclick=\"location.href='{{ path('project-detail', {'id': project.id}) }}'\" data-id=\"{{ path('project-detail', {'id': project.id}) }}\" id=\"width-col-6-home\" class=\"item col-lg-6 margin-top-30\" style=\"position: relative; cursor: pointer\">
{#
<div class=\"div-hover\" id=\"div-hover\" style=\"\">
{% if project.comments[0].comment is not empty %}
<p class=\"project-content\" style=\"visibility: hidden\">
{{ project.comments[0].comment|slice(0, 300) }}
</p>
<p class=\"project-arrow\">
<a style=\"\" href=\"{{ path('project-detail', {'id': project.id}) }}\" class=\"project-arrow-2\">
<span class=\"galerry-ref\"></span><i class=\"fas fa-arrow-right project-svg-arrow-2\"></i>
</a>
</p>
{% else %}
<p class=\"project-arrow\">
<a style=\"margin-top: 180px\" href=\"{{ path('project-detail', {'id': project.id}) }}\" class=\"project-arrow-2\">
<span class=\"galerry-ref\"></span><i class=\"fas fa-arrow-right project-svg-arrow-2\"></i>
</a>
</p>
{% endif %}
</div>
#}
<div class=\"tag-ref-projet-3\"><span class=\"text-tag-ref\">{{ typeProject(project.construction.construction_step) }}</span></div>
{% if project.pictures is not empty %}
{% for picture in project.pictures|slice(0,1) %}
<div class=\"img-wrapper\">
{% set url = 'http' in picture.url ? picture.url : asset('uploads/images/properties/'~project.id~'/'~picture.url) %}
<div class=\"img\" style=\"background-image: url('{{ url }}'); margin: 0px;\">
</div>
</div>
{% endfor %}
{% else %}
<div class=\"img-wrapper\">
<div class=\"img\" style=\"background-image: url('{{ asset('build/Maisons_H_R1.jpg') }}'); margin: 0px;\"></div>
</div>
{% endif %}
<p class=\"city\">{{ project.city.name }}</p>
<p class=\"project-name\">{{ project.name }}</p>
</div>
{% endfor %}
</div>
<div class=\"col-lg-8 mx-auto projects-link-mobile\" style=\"display: none\">
<a href=\"{{ path('projects') }}\" class=\"property-span-arrow\">Découvrir plus
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
<div id=\"link-none\" class=\"col-lg-8 mx-auto div-svg-header d-flex justify-content-end\">
<div>
<a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('projects') }}\">Découvrir plus
<svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
</a>
</div>
</div>
</section>
<section class=\"available-properties\">
<div id=\"home-section\" class=\"col-lg-8 mx-auto div-svg-header pre-section\">
<div class=\"home-section-title col-lg-8\" style=\"font-size: 2.3em;display: flex;flex-direction: column;\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\" style=\"margin-bottom: 10px\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
<h1 class=\"project-title\">Nos biens disponibles</h1>
</div>
{#
<div class=\"separator\"></div>
<div class=\"pre-section-content col-md-6\">
{% if projectContent.content is defined %}
{{ projectContent.content|raw }}
{% else %}
Fort de plusieurs années d’expérience, Tracol Immobilier propose des projets adaptés aux
besoins de chacun. Répondant aux plus hautes exigences et s’inscrivant dans le temps, ils se
caractérisent par une architecture résolument contemporaine, des matériaux de qualité et le
soin apporté à chaque détail.
{% endif %}
</div>
#}
</div>
<div id=\"projects\" class=\"col-lg-8 mx-auto\" style=\"display: flex; flex-wrap: wrap; justify-content: space-between\">
{% for project in salesProperties|slice(0,4) %}
<div onclick=\"location.href='{{ path('property-detail', {'id': project.id}) }}'\" data-id=\"{{ path('property-detail', {'id': project.id}) }}\" id=\"width-col-6-home\" class=\"item col-lg-6 margin-top-30\" style=\"position: relative; cursor: pointer\">
{# <div class=\"tag-ref-projet-3\"><span class=\"text-tag-ref\">{{ typeProject(project.construction.construction_step) }}</span></div> #}
<div class=\"tag-ref-projet-3\"><span class=\"text-tag-ref\">{{ propertyCategory(project.category) }}</span></div>
{% if project.pictures is not empty %}
{% for picture in project.pictures|slice(0,1) %}
<div class=\"img-wrapper\">
{% set url = 'http' in picture.url ? picture.url : asset('uploads/images/properties/'~project.id~'/'~picture.url) %}
<div class=\"img\" style=\"background-image: url('{{ url }}'); margin: 0px;\">
</div>
</div>
{% endfor %}
{% else %}
<div class=\"img-wrapper\">
<div class=\"img\" style=\"background-image: url('{{ asset('build/Maisons_H_R1.jpg') }}'); margin: 0px;\"></div>
</div>
{% endif %}
<div class=\"infos\">
<div class=\"detail\">
<p class=\"city\">{{ project.city.name }}</p>
<p class=\"project-name\">{{ getTypeProperty(project.type) }}</p>
</div>
</div>
</div>
{% endfor %}
</div>
<div class=\"col-lg-8 mx-auto projects-link-mobile\" style=\"display: none\">
<a href=\"/biens/vente\" class=\"property-span-arrow\">VOIR TOUS NOS BIENS
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
<div id=\"link-none\" class=\"col-lg-8 mx-auto div-svg-header d-flex justify-content-end\">
<div>
<a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('properties') }}\">Découvrir plus
<svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
</a>
</div>
</div>
</section>
<section class=\"reference\">
{% set referenceContent = content('Home', 'References') %}
<div class=\"col-lg-8 mx-auto div-svg-header\" style=\"display: flex; margin-top: 30px\">
<div class=\"col-lg-5\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
<h1 class=\"project-title\">
{% if referenceContent.name is defined and referenceContent.name %}
{{ referenceContent.name }}
{% else %}
Nos références
{% endif %}
</h1>
</div>
{#
<div class=\"separator\"></div>
<div class=\"pre-section-content col-md-6\">
{% if projectContent.content is defined %}
{{ projectContent.content|raw }}
{% else %}
Tracol Immobilier se distingue par la création d’espaces de vie alliant
qualité, durabilité et esthétisme.
{% endif %}
</div>
#}
</div>
{#
<div id=\"button-reference\" class=\"offset-lg-2 col-lg-8 div-svg-header\" style=\"display: flex; align-items: center\">
<button data-id=\"all\" class=\"btn btn-primary all border-radius projectButtonref\"><span class=\"span-all\">TOUS</span></button>
<button data-id=\"residences\" class=\"btn btn-primary come border-radius projectButtonref\"><span class=\"span-projects\">RÉSIDENCES</span></button>
<button data-id=\"maisons\" class=\"btn btn-primary come border-radius projectButtonref\"><span class=\"span-projects\">MAISONS</span></button>
<button data-id=\"commerces\" class=\"btn btn-primary come border-radius projectButtonref\"><span class=\"span-projects\">COMMERCES</span></button>
<button data-id=\"bureaux\" class=\"btn btn-primary come border-radius projectButtonref\"><span class=\"span-projects\">BUREAUX</span></button>
<div id=\"links-ref-home\" class=\"col-lg-3 projects-link\">
<a href=\"{{ path('reference') }}\" class=\"property-span-arrow\">VOIR TOUTES NOS REFERENCES
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
</div>
<div id=\"button-reference-mobile\" class=\"offset-lg-2 col-lg-8 div-svg-header\" style=\"display: none; align-items: center\">
<div id=\"flick\" class=\"flicking-viewport\">
<div class=\"flicking-camera\">
<button data-id=\"all\" class=\"btn btn-primary all border-radius projectButtonref\"><span class=\"span-all\">TOUS</span></button>
<button data-id=\"residences\" class=\"btn btn-primary come border-radius projectButtonref\"><span class=\"span-projects\">RÉSIDENCES</span></button>
<button data-id=\"maisons\" class=\"btn btn-primary come border-radius projectButtonref\"><span class=\"span-projects\">MAISONS</span></button>
<button data-id=\"commerces\" class=\"btn btn-primary come border-radius projectButtonref\"><span class=\"span-projects\">COMMERCES</span></button>
<button data-id=\"bureaux\" class=\"btn btn-primary come border-radius projectButtonref\"><span class=\"span-projects\">BUREAUX</span></button>
</div>
</div>
<div class=\"col-lg-3 projects-link\">
<a href=\"{{ path('reference') }}\" class=\"property-span-arrow\">VOIR TOUTES NOS REFERENCE
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
</div>
#}
<div id=\"references-home\" class=\"col-lg-8\">
<div id=\"flick100\" class=\"flicking-viewport\">
<div class=\"flicking-camera\">
<div class=\"col-lg-12 ref-container\" style=\"display: flex; flex-wrap: wrap;\">
{% for key, reference in references|slice(0,4) %}
<a href=\"{{ path('property-detail', {'id': reference.id}) }}\" class=\"item col-lg-6 col-md-12 {% if loop.index % 2 == 0 %}padd-to-left{% else %}padd-to-right{% endif %}\">
<div class=\"div-img-hover-2 ref-list\">
{#
<div class=\"div-hover-2\" id=\"div-hover-2\" style=\"position: absolute; bottom: 5px; left: 5px; background-color: #242424; color: white; width: 291px; height: 85px\">
<p class=\"city\">{{ reference.city.name }}</p>
<p class=\"project-name\">{{ reference.reference }}</p>
<p class=\"date-ref\">{{ reference.updated_at|date(\"d/m/Y\") }}</p>
{% if reference.comments[0].comment is not empty %}
<p class=\"project-content\" style=\"visibility: hidden\">
{{ reference.comments[0].comment|slice(0, 250) }}
</p>
<a href=\"javascript:void(0);\" class=\"project-arrow-2 lightbox-on\" data-id=\"modul-{{ key }}\">
<span class=\"galerry-ref\">GALERIES PHOTOS</span><i class=\"fas fa-arrow-right project-svg-arrow-2\"></i>
</a>
{% else %}
<a style=\"margin-top: 180px\" href=\"javascript:void(0);\" class=\"project-arrow-2 lightbox-on\" data-bs-toggle=\"modul\"
data-bs-target=\"#exampleModulHomeRef{{ key }}\">
<span class=\"galerry-ref\">GALERIES PHOTOS</span><i class=\"fas fa-arrow-right project-svg-arrow-2\"></i>
</a>
{% endif %}
</div>
#}
{#
<div class=\"tag-ref\"><span class=\"text-tag-ref\">{{ specialPropertyCategory(reference.category) }}</span></div>
#}
<div class=\"tag-ref\"><span class=\"text-tag-ref\">{{ getTypeReferences(reference.type) }}</span></div>
{% if reference.pictures is not empty %}
{% for picture in reference.pictures|slice(0,1) %}
<div class=\"img-wrapper2\">
{% set url = 'http' in picture.url ? picture.url : asset('uploads/images/properties/'~reference.id~'/'~picture.url) %}
<div class=\"img-tmp\" style=\"background-image: url({{ url }});\"></div>
</div>
{% endfor %}
{% else %}
<div class=\"img-wrapper2\">
<div class=\"img-tmp\" style=\"background-image: url('build/Hudson_Ontario2.png');\"></div>
</div>
{% endif %}
<p class=\"city\">{{ reference.city.name }}</p>
<p class=\"project-name\">{{ reference.reference }}</p>
</div>
</a>
<div class=\"lightbox\" id=\"modul-{{ key }}\">
<div class=\"closer\"></div>
<div class=\"arrows left\">←</div>
<div class=\"arrows right\">→</div>
<div class=\"counter\">1/1</div>
<ul class=\"items\">
{% for picture in reference.pictures %}
<li class=\"item\">
{% set url = 'http' in picture.url ? picture.url : asset('uploads/images/properties/'~reference.id~'/'~picture.url) %}
<img class=\"img\" src=\"{{ url }}\" alt=\"{{ reference.reference }}\" loading=\"lazy\">
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>
<div class=\"col-lg-12 references-link-mobile\" style=\"display: none\">
<a href=\"{{ path('reference') }}\" class=\"property-span-arrow\">Découvrir plus
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
<div id=\"link-none\" class=\"col-lg-12 mx-auto div-svg-header d-flex justify-content-end\">
<div>
<a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('reference') }}\">Découvrir plus
<svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<section class=\"property-promotion\" style=\"background: #F7F7F7;padding:40px 0;\">
{% set propertyContent = content('Home', 'Biens') %}
<div id=\"home-sale\" class=\"col-lg-8 mx-auto div-svg-header\" style=\"display: flex; justify-content: space-between\">
<div id=\"property-content-p\" class=\"col-lg-5 property-content\" style=\"display: flex;flex-direction: column;justify-content:space-around; padding-right:20px;\">
<div class=\"col-lg-12\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
<h1 class=\"property-name\">{% if propertyContent.name is defined and propertyContent.name %}{{ propertyContent.name }}{% else %}Un bien à vendre ?{% endif %}</h1>
</div>
{% if propertyContent.content is defined and propertyContent.content %}
{{ propertyContent.content|raw }}
{% else %}
<p>Réaliser l’estimation d’une maison, d’un appartement ou d’un terrain, c’est un métier. Grâce à nos
experts immobiliers, vous fixez le juste prix. Ensuite, ils vous accompagnent dans toutes les étapes,
jusqu’à la vente de votre bien.
<br>
<br>
Vous souhaitez connaître la valeur marchande de votre bien immobilier ? Contactez-nous pour
convenir d’un rendez-vous avec l’un de nos conseillers.</p>
{% endif %}
<div class=\"see-video-bottom\" style=\"display: flex; align-content: center\">
<a id=\"contact-link\" class=\"property-span-arrow\" href=\"{{ path('vendre') }}\">CONTACTEZ-NOUS
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
{#
<div id=\"link-palyer\" class=\"div-svg-header\">
<div class=\"see-video\" style=\"display: flex; align-content: center\">
<a id=\"contact-link\" class=\"property-span-arrow\" href=\"{{ path('contact') }}\">CONTACTEZ-NOUS
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
<div class=\"movie-link\">
{#
<a id=\"movie\" data-bs-toggle=\"modal\" data-bs-target=\"#exampleModal\" class=\"property-span-arrow\">VOIR LA VIDEO
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
<a id=\"movie-mobile\" data-bs-toggle=\"modal\" data-bs-target=\"#exampleModal\" class=\"property-span-arrow\">
<span class=\"video-span\" style=\"display: none\">VOIR LA VIDEO</span>
<i id=\"svg-video-mobile\" style=\"display: none\" class=\"fas fa-play\"></i>
</a>
<!-- Modal -->
<div class=\"modal fade\" id=\"exampleModal\" tabindex=\"-1\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/8zFDrIoLoCQ\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
</div>
#}
</div>
{#
<div class=\"col-lg-3 see-video-mobile\" style=\"display: none\">
<a class=\"property-span-arrow\" href=\"{{ path('contact') }}\">CONTACTEZ-NOUS
<i class=\"fas fa-arrow-right property-arrow\"></i>
</a>
</div>
#}
<div class=\"home-sale-img col-lg-6\" style=\"margin:0;position: relative; background: url({{ asset('img/vendre.jpg') }}) no-repeat center center; background-size:cover;\">
</div>
</div>
</section>
{#
<section class=\"video-presentation\">
<div class=\"col-lg-8 mx-auto pt-5 pb-5\">
<iframe src=\"https://www.youtube.com/embed/g5gHFQUvMWM\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen style=\"width:100%;\"></iframe>
</div>
</section>
#}
</div>
<section class=\"newsletter\">
<div class=\"col-lg-8 row m-auto\">
<div class=\"col-lg-6\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"rgb(246, 164, 0)\"/>
</svg>
<h1 class=\"property-name\">Inscrivez-vous à<br> notre newsletter</h1>
</div>
<div class=\"col-lg-4\">
<div id=\"div-form-newsletter\">
<span id=\"span-newsletter\">Recevez nos dernières actualités.</span>
<form action=\"{{ path('mailchimp') }}\" id=\"form-newsletter\">
<div class=\"input-group mt-2\">
<input id=\"input-email\" class=\"form-control input-email\" type=\"email\" name=\"email\" placeholder=\"Votre adresse mail\">
<button class=\"btn btn-primary button-newsletter\" type=\"submit\"><i class=\"fas fa-arrow-right\"></i></button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Modal HTML -->
<div id=\"video\" class=\"modal fade\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\">×</button>
</div>
<div class=\"modal-body\">
<div class=\"embed-responsive embed-responsive-16by9\">
<iframe id=\"cartoonVideo\" class=\"embed-responsive-item\" width=\"560\" height=\"315\" src=\"https://youtu.be/8zFDrIoLoCQ\" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
</div>
<!-- Modal -->
{# <div class=\"modal fade\" id=\"popUpChristmas\" tabindex=\"-1\" aria-labelledby=\"popUpChristmas\" aria-hidden=\"true\">#}
{# <div class=\"modal-dialog video-pop-up-dialog\">#}
{# <div class=\"modal-content video-pop-up-content\">#}
{# <div class=\"modal-body\" style=\"position: relative\">#}
{# <button class=\"btn btn-primary\" id=\"closeModal\">×</button>#}
{# <button id=\"buttonVideoFour\" class=\"active\">#}
{# <i style=\"font-size: 65px; background-color: transparent;\" class=\"far fa-play-circle\"></i>#}
{# </button>#}
{# <video id=\"video1\" preload=\"auto\" width=\"100%\" height=\"100%\" poster=\"{{ asset('build/cover-xmas.png') }}\" controls>#}
{# <source type=\"video/mp4\" src=\"{{ asset('build/2021_09_12 Carte de voeux animée - Vidéo R4.mp4') }}\" />#}
{# </video>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# <script>#}
{# let myVideo = document.getElementById(\"video1\");#}
{# myVideo.controls = false#}
{# </script>#}
{# <script>#}
{# \$('.slider-home-ref-detail').slick({#}
{# dots: false,#}
{# infinite: true,#}
{# speed: 3000,#}
{# slidesToShow: 1,#}
{# slidesToScroll: 1,#}
{# autoplay: true,#}
{# responsive: [#}
{# {#}
{# breakpoint: 576,#}
{# settings: {#}
{# slidesToShow: 1,#}
{# slidesToScroll: 1#}
{# }#}
{# }#}
{# ]#}
{# });#}
{# </script>#}
{% endblock %}
", "home.html.twig", "/home/fuzxzwq/www/templates/home.html.twig");
}
}