<?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;
/* vendre.html.twig */
class __TwigTemplate_996fe107767ef86c459284f27eab724d52a890a329bfe41a90dd8a095de04927 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'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", "vendre.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "vendre.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "vendre.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
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"));
echo "Vendre";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
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 6
echo "
";
// line 7
$context["headerContent"] = $this->extensions['App\Twig\ContentExtension']->Content("Contact", "Header");
// line 8
echo "
";
// line 9
if ((twig_get_attribute($this->env, $this->source, ($context["headerContent"] ?? null), "picture", [], "any", true, true, false, 9) && !twig_test_empty(twig_get_attribute($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); })()), "picture", [], "any", false, false, false, 9)))) {
// line 10
echo " ";
$context["backgroundImage"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["headerContent"]) || array_key_exists("headerContent", $context) ? $context["headerContent"] : (function () { throw new RuntimeError('Variable "headerContent" does not exist.', 10, $this->source); })()), "picture", [], "any", false, false, false, 10), 0, [], "array", false, false, false, 10), "path", [], "any", false, false, false, 10);
// line 11
echo " ";
} else {
// line 12
echo " ";
$context["backgroundImage"] = "empty";
// line 13
echo " ";
}
// line 14
echo " <header class=\"header-habiter col-lg-8 mx-auto\" style=\"background-image: url(";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/vente.png"), "html", null, true);
echo "); height: 480px\">
<div class=\"container-fluid\">
<div class=\"col-lg-8 mx-auto div-svg-header\">
<div class=\"header-habiter-div\">
</div>
</div>
</div>
</header>
<div class=\"container-fluid\" style=\"margin-top: 60px; margin-bottom: 80px\">
";
// line 24
$context["contactContent"] = $this->extensions['App\Twig\ContentExtension']->Content("Contact", "Section-1");
// line 25
echo " <div class=\"col-lg-8 mx-auto div-svg-header pre-section\">
<div class=\"col-lg-4\" style=\"font-size: 2.3em;display: flex;flex-direction: column;margin-left: 10px;\">
<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 contact\">VENDEZ AVEC NOUS</h1>
</div>
<div class=\"separator\"></div>
<div class=\"col-lg-6 pre-section-content\">
Que vous souhaitiez vendre, acheter ou louer, n’hésitez pas à nous contacter pour toute information.
</div>
</div>
";
// line 39
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 39, $this->source); })()), 'form_start');
echo "
<div id=\"div-form-contact\" class=\"form-group col-lg-8 mx-auto\" style=\"display: flex;\">
<div class=\"col-lg-4\" style=\"display: flex; flex-direction: column; margin-right: 50px\">
<div class=\"form-material floating contact\">
";
// line 43
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 43, $this->source); })()), "name", [], "any", false, false, false, 43), 'widget', ["attr" => ["class" => "form-control", "placeholder" => "Nom*"]]);
echo "
";
// line 44
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 44, $this->source); })()), "name", [], "any", false, false, false, 44), 'errors');
echo "
</div>
<div class=\"form-material floating contact\">
";
// line 47
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 47, $this->source); })()), "firstname", [], "any", false, false, false, 47), 'widget', ["attr" => ["class" => "form-control", "placeholder" => "Prénom"]]);
echo "
";
// line 48
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 48, $this->source); })()), "firstname", [], "any", false, false, false, 48), 'errors');
echo "
</div>
<div class=\"form-material floating contact\">
";
// line 51
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 51, $this->source); })()), "mail", [], "any", false, false, false, 51), 'widget', ["attr" => ["class" => "form-control", "placeholder" => "Mail*"]]);
echo "
";
// line 52
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 52, $this->source); })()), "mail", [], "any", false, false, false, 52), 'errors');
echo "
</div>
<div class=\"form-material floating contact\">
";
// line 55
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 55, $this->source); })()), "phone", [], "any", false, false, false, 55), 'widget', ["attr" => ["class" => "form-control", "placeholder" => "Téléphone"]]);
echo "
";
// line 56
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 56, $this->source); })()), "phone", [], "any", false, false, false, 56), 'errors');
echo "
</div>
<div class=\"form-material floating contact position-relative\">
";
// line 59
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 59, $this->source); })()), "file", [], "any", false, false, false, 59), 'widget', ["attr" => ["class" => "form-control file-select", "placeholder" => "Joindre un fichier   (.doc, .pdf, .jpeg / max. 5mo) "]]);
echo "
";
// line 60
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 60, $this->source); })()), "file", [], "any", false, false, false, 60), 'errors');
echo "
<div style=\"height:35px;width:35px;background: #707070;right:0;top:0;\" class=\"position-absolute\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"35\" height=\"35\" viewBox=\"0 0 35 35\">
<g id=\"Groupe_4187\" data-name=\"Groupe 4187\" transform=\"translate(-695 -829)\">
<rect id=\"Rectangle_139\" data-name=\"Rectangle 139\" width=\"35\" height=\"35\" transform=\"translate(695 829)\" fill=\"#5f5f5f\"/>
<path id=\"np_download_4247984_000000\" d=\"M24.127,24.127V17.751H25.4V25.4H5V17.751H6.275v6.376Zm-17.852,0H24.127V17.751H25.4V25.4H5V17.751H6.275Zm9.563-5.162,4.784-5.047.955.888-6.437,6.77L8.826,14.937l.955-.888,4.784,4.916V5h1.275Zm-1.326,2.611.033.035v-.035Z\" transform=\"translate(697.799 831.799)\" fill=\"#fff\"/>
</g>
</svg>
</div>
</div>
</div>
<div class=\"col-lg-6\" style=\"display: flex; flex-direction: column\">
<div class=\"form-material floating contact selectdiv\">
";
// line 73
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 73, $this->source); })()), "object", [], "any", false, false, false, 73), 'widget', ["attr" => ["class" => "form-control"]]);
echo "
";
// line 74
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 74, $this->source); })()), "object", [], "any", false, false, false, 74), 'errors');
echo "
</div>
<div class=\"form-material floating contact\">
";
// line 77
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 77, $this->source); })()), "message", [], "any", false, false, false, 77), 'widget', ["attr" => ["class" => "form-control", "placeholder" => "Votre message"]]);
echo "
";
// line 78
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 78, $this->source); })()), "message", [], "any", false, false, false, 78), 'errors');
echo "
</div>
</div>
<div class=\"col-lg-1\">
<div class=\"submit-contact-button\">
<div>
<button id=\"login_user\" class=\"col-lg-12 offset-lg-4btn btn-primary\" type=\"submit\" style=\"background-color: #f6a400; border-color: #f6a400;\">
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<svg id=\"SVGDoc\" width=\"19\" height=\"15\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:avocode=\"https://avocode.com/\" viewBox=\"0 0 19 15\"><defs></defs><desc>Generated with Avocode.</desc><g><g transform=\"rotate(90 9.5 7.5)\"><title>np_arrow-up_888648_000000</title><path d=\"M16.10552,5.28141v0l-6.60555,-6.60459v0l-6.60554,6.60459v0l1.3808,1.3808v0l4.23854,-4.23949v0v13.90055v0h1.97232v0v-13.90055v0l4.23855,4.23949v0z\" fill=\"#ffffff\" fill-opacity=\"1\"></path></g></g></svg>
</button>
</div>
</div>
</div>
";
// line 92
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 92, $this->source); })()), 'form_end');
echo "
</div>
</div>
<section style=\"background:#F7F7F7\" class=\"pt-5 pb-5\">
<div class=\"col-lg-8 mx-auto\">
<div class=\"col-lg-5 title-vendre-other\">
<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\"></path>
</svg>
<h1 class=\"project-title\">
NOS biens disponibles<br> À la <span style=\"color:#F6A400\">vente</span>
</h1>
</div>
<div id=\"propertiesOther\" class=\"vendre col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
";
// line 107
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["salesProperties"]) || array_key_exists("salesProperties", $context) ? $context["salesProperties"] : (function () { throw new RuntimeError('Variable "salesProperties" does not exist.', 107, $this->source); })()));
$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["property"]) {
// line 108
echo " <div class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
";
// line 109
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["property"], "pictures", [], "any", false, false, false, 109))) {
// line 110
echo " <div class=\"position-relative properties-slide slick-slide-single-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 110), "html", null, true);
echo "\">
";
// line 111
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_get_attribute($this->env, $this->source, $context["property"], "pictures", [], "any", false, false, false, 111), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
// line 112
echo " ";
// line 113
echo " <div class=\"img\" style=\"background-image: url('";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 113), "html", null, true);
echo "')\" onclick=\"location.href='";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("property-detail", ["id" => twig_get_attribute($this->env, $this->source, $context["property"], "id", [], "any", false, false, false, 113)]), "html", null, true);
echo "'\">
</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 116
echo " </div>
";
} else {
// line 119
echo " <div class=\"img\" style=\"background-image: url('";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/Hudson_Ontario2.png"), "html", null, true);
echo "')\"></div>
";
}
// line 121
echo " <div class=\"row col-md-12 justify-content-between infos-list\">
<ul class=\"col-md-4 items\">
<li class=\"item surface\">
<img src=\"";
// line 124
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/surface.svg"), "html", null, true);
echo "\" class=\"surface-logo\"> ";
(((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "area", [], "any", false, false, false, 124), "value", [], "any", false, false, false, 124), null))) ? (print ("")) : (print (twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "area", [], "any", false, false, false, 124), "value", [], "any", false, false, false, 124) . $this->extensions['App\Twig\ContentExtension']->areaConversion(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "area", [], "any", false, false, false, 124), "unit", [], "any", false, false, false, 124))), "html", null, true))));
echo "
</li>
</ul>
<div class=\"col-md-8 properties-price d-flex justify-content-end\">
";
// line 128
(((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "price", [], "any", false, false, false, 128), "value", [], "any", false, false, false, 128), null))) ? (print ("<span style=\"font-size: 14px !important;\">sur demande</span>")) : (print (twig_escape_filter($this->env, (twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "price", [], "any", false, false, false, 128), "value", [], "any", false, false, false, 128), 2, ",", " ") . twig_replace_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "price", [], "any", false, false, false, 128), "currency", [], "any", false, false, false, 128), ["EUR" => " €"])), "html", null, true))));
echo "
</div>
</div>
<p class=\"city\">";
// line 131
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "city", [], "any", false, false, false, 131), "name", [], "any", false, false, false, 131), "html", null, true);
echo "</p>
<p class=\"project-name\">";
// line 132
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["property"], "reference", [], "any", false, false, false, 132), "html", null, true);
echo "</p>
</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['property'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 135
echo " </div>
<div id=\"link-none\" class=\"col-lg-12 mx-auto other-property-link div-svg-header d-flex justify-content-end\" style=\"margin-top:0;\">
<div>
<a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"";
// line 138
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("properties", ["keyword" => "vente"]);
echo "\">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>
</section>
<section style=\"background:#F7F7F7\" class=\"pt-5 pb-5\">
<div class=\"col-lg-8 mx-auto\">
<div class=\"col-lg-5 title-vendre-other\">
<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\"></path>
</svg>
<h1 class=\"project-title\">
NOS biens disponibles<br> À la <span style=\"color:#F6A400\">location</span>
</h1>
</div>
<div id=\"propertiesOther\" class=\"col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
";
// line 157
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["rentsProperties"]) || array_key_exists("rentsProperties", $context) ? $context["rentsProperties"] : (function () { throw new RuntimeError('Variable "rentsProperties" does not exist.', 157, $this->source); })()));
$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["property"]) {
// line 158
echo " <div class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
";
// line 159
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["property"], "pictures", [], "any", false, false, false, 159))) {
// line 160
echo " <div class=\"position-relative properties-slide slick-slide-rent-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 160), "html", null, true);
echo "\">
";
// line 161
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_get_attribute($this->env, $this->source, $context["property"], "pictures", [], "any", false, false, false, 161), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
// line 162
echo " ";
// line 163
echo " <div class=\"img\" style=\"background-image: url('";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["picture"], "url", [], "any", false, false, false, 163), "html", null, true);
echo "')\" onclick=\"location.href='";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("property-detail", ["id" => twig_get_attribute($this->env, $this->source, $context["property"], "id", [], "any", false, false, false, 163)]), "html", null, true);
echo "'\">
</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 166
echo " </div>
";
} else {
// line 169
echo " <div class=\"img\" style=\"background-image: url('";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/Hudson_Ontario2.png"), "html", null, true);
echo "')\"></div>
";
}
// line 171
echo " <div class=\"row col-md-12 justify-content-between infos-list\">
<ul class=\"col-md-4 items\">
<li class=\"item surface\">
<img src=\"";
// line 174
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/surface.svg"), "html", null, true);
echo "\" class=\"surface-logo\"> ";
(((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "area", [], "any", false, false, false, 174), "value", [], "any", false, false, false, 174), null))) ? (print ("")) : (print (twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "area", [], "any", false, false, false, 174), "value", [], "any", false, false, false, 174) . $this->extensions['App\Twig\ContentExtension']->areaConversion(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "area", [], "any", false, false, false, 174), "unit", [], "any", false, false, false, 174))), "html", null, true))));
echo "
</li>
</ul>
<div class=\"col-md-8 properties-price d-flex justify-content-end\">
";
// line 178
(((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "price", [], "any", false, false, false, 178), "value", [], "any", false, false, false, 178), null))) ? (print ("<span style=\"font-size: 14px !important;\">sur demande</span>")) : (print (twig_escape_filter($this->env, (twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "price", [], "any", false, false, false, 178), "value", [], "any", false, false, false, 178), 2, ",", " ") . twig_replace_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "price", [], "any", false, false, false, 178), "currency", [], "any", false, false, false, 178), ["EUR" => " €"])), "html", null, true))));
echo "
</div>
</div>
<p class=\"city\">";
// line 181
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["property"], "city", [], "any", false, false, false, 181), "name", [], "any", false, false, false, 181), "html", null, true);
echo "</p>
<p class=\"project-name\">";
// line 182
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["property"], "reference", [], "any", false, false, false, 182), "html", null, true);
echo "</p>
</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['property'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 185
echo " </div>
<div id=\"link-none\" class=\"col-lg-12 mx-auto other-property-link div-svg-header d-flex justify-content-end\" style=\"margin-top:0;\">
<div>
<a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"";
// line 188
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("properties", ["keyword" => "location"]);
echo "\">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>
</section>
<script>
const arrowPrev = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
<path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
</svg>`;
const arrowNext= `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
<path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
</svg>`;
var countProperties = '";
// line 205
echo twig_escape_filter($this->env, twig_length_filter($this->env, (isset($context["salesProperties"]) || array_key_exists("salesProperties", $context) ? $context["salesProperties"] : (function () { throw new RuntimeError('Variable "salesProperties" does not exist.', 205, $this->source); })())), "html", null, true);
echo "';
var loopProp = 1;
while (loopProp <= countProperties) {
\$('.slick-slide-single-'+loopProp).slick({
'slidesToShow': 1,
'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
});
loopProp++;
}
var countPropertiesRent = '";
// line 216
echo twig_escape_filter($this->env, twig_length_filter($this->env, (isset($context["rentsProperties"]) || array_key_exists("rentsProperties", $context) ? $context["rentsProperties"] : (function () { throw new RuntimeError('Variable "rentsProperties" does not exist.', 216, $this->source); })())), "html", null, true);
echo "';
var loopPropRent = 1;
while (loopPropRent <= countPropertiesRent) {
\$('.slick-slide-rent-'+loopPropRent).slick({
'slidesToShow': 1,
'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
});
loopPropRent++;
}
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "vendre.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 518 => 216, 504 => 205, 484 => 188, 479 => 185, 462 => 182, 458 => 181, 452 => 178, 443 => 174, 438 => 171, 432 => 169, 427 => 166, 415 => 163, 413 => 162, 409 => 161, 404 => 160, 402 => 159, 399 => 158, 382 => 157, 360 => 138, 355 => 135, 338 => 132, 334 => 131, 328 => 128, 319 => 124, 314 => 121, 308 => 119, 303 => 116, 291 => 113, 289 => 112, 285 => 111, 280 => 110, 278 => 109, 275 => 108, 258 => 107, 240 => 92, 223 => 78, 219 => 77, 213 => 74, 209 => 73, 193 => 60, 189 => 59, 183 => 56, 179 => 55, 173 => 52, 169 => 51, 163 => 48, 159 => 47, 153 => 44, 149 => 43, 142 => 39, 126 => 25, 124 => 24, 110 => 14, 107 => 13, 104 => 12, 101 => 11, 98 => 10, 96 => 9, 93 => 8, 91 => 7, 88 => 6, 78 => 5, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Vendre{% endblock %}
{% block body %}
{% set headerContent = content('Contact', 'Header') %}
{% if headerContent.picture is defined and headerContent.picture is not empty %}
{% set backgroundImage = headerContent.picture[0].path %}
{% else %}
{% set backgroundImage = 'empty' %}
{% endif %}
<header class=\"header-habiter col-lg-8 mx-auto\" style=\"background-image: url({{ asset('img/vente.png') }}); height: 480px\">
<div class=\"container-fluid\">
<div class=\"col-lg-8 mx-auto div-svg-header\">
<div class=\"header-habiter-div\">
</div>
</div>
</div>
</header>
<div class=\"container-fluid\" style=\"margin-top: 60px; margin-bottom: 80px\">
{% set contactContent = content('Contact', 'Section-1') %}
<div class=\"col-lg-8 mx-auto div-svg-header pre-section\">
<div class=\"col-lg-4\" style=\"font-size: 2.3em;display: flex;flex-direction: column;margin-left: 10px;\">
<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 contact\">VENDEZ AVEC NOUS</h1>
</div>
<div class=\"separator\"></div>
<div class=\"col-lg-6 pre-section-content\">
Que vous souhaitiez vendre, acheter ou louer, n’hésitez pas à nous contacter pour toute information.
</div>
</div>
{{ form_start(form) }}
<div id=\"div-form-contact\" class=\"form-group col-lg-8 mx-auto\" style=\"display: flex;\">
<div class=\"col-lg-4\" style=\"display: flex; flex-direction: column; margin-right: 50px\">
<div class=\"form-material floating contact\">
{{ form_widget(form.name, {'attr': { 'class':'form-control', 'placeholder': 'Nom*'}}) }}
{{ form_errors(form.name) }}
</div>
<div class=\"form-material floating contact\">
{{ form_widget(form.firstname, {'attr': { 'class':'form-control', 'placeholder': 'Prénom'}}) }}
{{ form_errors(form.firstname) }}
</div>
<div class=\"form-material floating contact\">
{{ form_widget(form.mail, {'attr': { 'class':'form-control', 'placeholder': 'Mail*'}}) }}
{{ form_errors(form.mail) }}
</div>
<div class=\"form-material floating contact\">
{{ form_widget(form.phone, {'attr': { 'class':'form-control', 'placeholder': 'Téléphone'}}) }}
{{ form_errors(form.phone) }}
</div>
<div class=\"form-material floating contact position-relative\">
{{ form_widget(form.file, {'attr': { 'class':'form-control file-select', 'placeholder': 'Joindre un fichier   (.doc, .pdf, .jpeg / max. 5mo) '}}) }}
{{ form_errors(form.file) }}
<div style=\"height:35px;width:35px;background: #707070;right:0;top:0;\" class=\"position-absolute\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"35\" height=\"35\" viewBox=\"0 0 35 35\">
<g id=\"Groupe_4187\" data-name=\"Groupe 4187\" transform=\"translate(-695 -829)\">
<rect id=\"Rectangle_139\" data-name=\"Rectangle 139\" width=\"35\" height=\"35\" transform=\"translate(695 829)\" fill=\"#5f5f5f\"/>
<path id=\"np_download_4247984_000000\" d=\"M24.127,24.127V17.751H25.4V25.4H5V17.751H6.275v6.376Zm-17.852,0H24.127V17.751H25.4V25.4H5V17.751H6.275Zm9.563-5.162,4.784-5.047.955.888-6.437,6.77L8.826,14.937l.955-.888,4.784,4.916V5h1.275Zm-1.326,2.611.033.035v-.035Z\" transform=\"translate(697.799 831.799)\" fill=\"#fff\"/>
</g>
</svg>
</div>
</div>
</div>
<div class=\"col-lg-6\" style=\"display: flex; flex-direction: column\">
<div class=\"form-material floating contact selectdiv\">
{{ form_widget(form.object, {'attr': { 'class':'form-control'}}) }}
{{ form_errors(form.object) }}
</div>
<div class=\"form-material floating contact\">
{{ form_widget(form.message, {'attr': { 'class':'form-control', 'placeholder': 'Votre message'}}) }}
{{ form_errors(form.message) }}
</div>
</div>
<div class=\"col-lg-1\">
<div class=\"submit-contact-button\">
<div>
<button id=\"login_user\" class=\"col-lg-12 offset-lg-4btn btn-primary\" type=\"submit\" style=\"background-color: #f6a400; border-color: #f6a400;\">
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<svg id=\"SVGDoc\" width=\"19\" height=\"15\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:avocode=\"https://avocode.com/\" viewBox=\"0 0 19 15\"><defs></defs><desc>Generated with Avocode.</desc><g><g transform=\"rotate(90 9.5 7.5)\"><title>np_arrow-up_888648_000000</title><path d=\"M16.10552,5.28141v0l-6.60555,-6.60459v0l-6.60554,6.60459v0l1.3808,1.3808v0l4.23854,-4.23949v0v13.90055v0h1.97232v0v-13.90055v0l4.23855,4.23949v0z\" fill=\"#ffffff\" fill-opacity=\"1\"></path></g></g></svg>
</button>
</div>
</div>
</div>
{{ form_end(form) }}
</div>
</div>
<section style=\"background:#F7F7F7\" class=\"pt-5 pb-5\">
<div class=\"col-lg-8 mx-auto\">
<div class=\"col-lg-5 title-vendre-other\">
<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\"></path>
</svg>
<h1 class=\"project-title\">
NOS biens disponibles<br> À la <span style=\"color:#F6A400\">vente</span>
</h1>
</div>
<div id=\"propertiesOther\" class=\"vendre col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
{% for property in salesProperties %}
<div class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
{% if property.pictures is not empty %}
<div class=\"position-relative properties-slide slick-slide-single-{{ loop.index }}\">
{% for picture in property.pictures|slice(0,3) %}
{# <img class=\"img-100\" src=\"{{ picture.url }}\">#}
<div class=\"img\" style=\"background-image: url('{{ picture.url }}')\" onclick=\"location.href='{{ path('property-detail', {'id': property.id}) }}'\">
</div>
{% endfor %}
</div>
{% else %}
<div class=\"img\" style=\"background-image: url('{{ asset('build/Hudson_Ontario2.png') }}')\"></div>
{% endif %}
<div class=\"row col-md-12 justify-content-between infos-list\">
<ul class=\"col-md-4 items\">
<li class=\"item surface\">
<img src=\"{{ asset('img/surface.svg') }}\" class=\"surface-logo\"> {{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}
</li>
</ul>
<div class=\"col-md-8 properties-price d-flex justify-content-end\">
{{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value|number_format(2, ',', ' ') ~ property.price.currency|replace({\"EUR\": \" €\"}) }}
</div>
</div>
<p class=\"city\">{{ property.city.name }}</p>
<p class=\"project-name\">{{ property.reference }}</p>
</div>
{% endfor %}
</div>
<div id=\"link-none\" class=\"col-lg-12 mx-auto other-property-link div-svg-header d-flex justify-content-end\" style=\"margin-top:0;\">
<div>
<a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('properties', {'keyword': 'vente'}) }}\">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>
</section>
<section style=\"background:#F7F7F7\" class=\"pt-5 pb-5\">
<div class=\"col-lg-8 mx-auto\">
<div class=\"col-lg-5 title-vendre-other\">
<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\"></path>
</svg>
<h1 class=\"project-title\">
NOS biens disponibles<br> À la <span style=\"color:#F6A400\">location</span>
</h1>
</div>
<div id=\"propertiesOther\" class=\"col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
{% for property in rentsProperties %}
<div class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
{% if property.pictures is not empty %}
<div class=\"position-relative properties-slide slick-slide-rent-{{ loop.index }}\">
{% for picture in property.pictures|slice(0,3) %}
{# <img class=\"img-100\" src=\"{{ picture.url }}\">#}
<div class=\"img\" style=\"background-image: url('{{ picture.url }}')\" onclick=\"location.href='{{ path('property-detail', {'id': property.id}) }}'\">
</div>
{% endfor %}
</div>
{% else %}
<div class=\"img\" style=\"background-image: url('{{ asset('build/Hudson_Ontario2.png') }}')\"></div>
{% endif %}
<div class=\"row col-md-12 justify-content-between infos-list\">
<ul class=\"col-md-4 items\">
<li class=\"item surface\">
<img src=\"{{ asset('img/surface.svg') }}\" class=\"surface-logo\"> {{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}
</li>
</ul>
<div class=\"col-md-8 properties-price d-flex justify-content-end\">
{{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value|number_format(2, ',', ' ') ~ property.price.currency|replace({\"EUR\": \" €\"}) }}
</div>
</div>
<p class=\"city\">{{ property.city.name }}</p>
<p class=\"project-name\">{{ property.reference }}</p>
</div>
{% endfor %}
</div>
<div id=\"link-none\" class=\"col-lg-12 mx-auto other-property-link div-svg-header d-flex justify-content-end\" style=\"margin-top:0;\">
<div>
<a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('properties', {'keyword': 'location'}) }}\">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>
</section>
<script>
const arrowPrev = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
<path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
</svg>`;
const arrowNext= `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
<path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
</svg>`;
var countProperties = '{{ salesProperties|length }}';
var loopProp = 1;
while (loopProp <= countProperties) {
\$('.slick-slide-single-'+loopProp).slick({
'slidesToShow': 1,
'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
});
loopProp++;
}
var countPropertiesRent = '{{ rentsProperties|length }}';
var loopPropRent = 1;
while (loopPropRent <= countPropertiesRent) {
\$('.slick-slide-rent-'+loopPropRent).slick({
'slidesToShow': 1,
'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
});
loopPropRent++;
}
</script>
{% endblock %}
", "vendre.html.twig", "/home/juca-stage/sites/sym/tracol/templates/vendre.html.twig");
}
}