<?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;
/* about.html.twig */
class __TwigTemplate_f44308ae650d7966a3759a6eb531833a03d253c3d7d0589f5a67fe4951650403 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", "about.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "about.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "about.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 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"));
yield "Tracol";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 4
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 5
yield " <meta name=\"description\" content=\"En tant que promoteur immobilier, nous oeuvrons pour vous fournir le meilleur service. En tant qu’agence immobilière, il en va de même\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 8
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 9
$context["sectionContent"] = $this->extensions['App\Twig\ContentExtension']->Content("A-propos", "A-propos");
// line 10
yield " <div class=\"container-fluid teams\">
<div id=\"home-section\" class=\"col-lg-8 mx-auto div-svg-header pre-section\" style=\"padding:60px 0;\">
<div class=\"col-lg-3 home-section-title\" 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\"></path>
</svg>
<h1 class=\"project-title\">";
// line 16
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sectionContent"]) || array_key_exists("sectionContent", $context) ? $context["sectionContent"] : (function () { throw new RuntimeError('Variable "sectionContent" does not exist.', 16, $this->source); })()), "name", [], "any", false, false, false, 16), "html", null, true);
yield "</h1>
</div>
<div class=\"separator\"></div>
<div class=\"pre-section-content col-md-10\">
";
// line 20
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["sectionContent"]) || array_key_exists("sectionContent", $context) ? $context["sectionContent"] : (function () { throw new RuntimeError('Variable "sectionContent" does not exist.', 20, $this->source); })()), "content", [], "any", false, false, false, 20);
yield "
</div>
</div>
<section class=\"numbers\" style=\"margin-bottom: 50px\">
";
// line 25
yield from $this->loadTemplate("_numbers.html.twig", "about.html.twig", 25)->unwrap()->yield($context);
// line 26
yield " </section>
";
// line 28
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["teamCategories"]) || array_key_exists("teamCategories", $context) ? $context["teamCategories"] : (function () { throw new RuntimeError('Variable "teamCategories" does not exist.', 28, $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["teamCategory"]) {
// line 29
yield " <div class=\"col-lg-8 mx-auto row list-categories\">
<div class=\"col-md-4\">
<div class=\"col-lg-12\" style=\"display: flex;flex-direction: column;\">
<div class=\"col-lg-12 tracol-wrap\" style=\"display: flex;\">
<div id=\"section-1-tracol\" class=\"tracol-title\">
<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 37
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["teamCategory"], 0, [], "any", false, false, false, 37), "categoryName", [], "any", false, false, false, 37), "html", null, true);
yield " <div class=\"separe\" ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 37)) {
yield "style=\"min-width:11px!important;\"";
}
yield "></div></h1>
<div class=\"col-md-8 tracol-content\">";
// line 38
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["teamCategory"], 0, [], "any", false, false, false, 38), "categoryContent", [], "any", false, false, false, 38);
yield "</div>
</div>
</div>
</div>
</div>
<div class=\"col-md-8 row\">
";
// line 44
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["teamCategory"]);
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["member"]) {
// line 45
yield " <div class=\"col-md-6 col-lg-6 col-xl-6\">
<div class=\"img-team\" style=\"background:
";
// line 47
if (CoreExtension::getAttribute($this->env, $this->source, $context["member"], "path", [], "any", false, false, false, 47)) {
// line 48
yield " url(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" . CoreExtension::getAttribute($this->env, $this->source, $context["member"], "path", [], "any", false, false, false, 48))), "html", null, true);
yield ")no-repeat center
";
} else {
// line 50
yield " url('https://tracol.lu/uploads/images/services-tracol-61c0b8e7c7110402238276.jpeg')no-repeat center
";
}
// line 52
yield " ;background-size:cover\"></div>
<div class=\"infos-member\">
<span>";
// line 54
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["member"], "fonction", [], "any", false, false, false, 54), "html", null, true);
yield "</span><br>
<span>";
// line 55
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["member"], "memberName", [], "any", false, false, false, 55), "html", null, true);
yield "</span>
</div>
<div class=\"description-team\">";
// line 57
yield CoreExtension::getAttribute($this->env, $this->source, $context["member"], "memberContent", [], "any", false, false, false, 57);
yield "</div>
";
// line 72
yield "
</div>
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 75
yield " <p>Aucune personne pour le moment.</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['member'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 77
yield " </div>
</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['teamCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 80
yield "
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "about.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 256 => 80, 240 => 77, 233 => 75, 226 => 72, 222 => 57, 217 => 55, 213 => 54, 209 => 52, 205 => 50, 199 => 48, 197 => 47, 193 => 45, 188 => 44, 179 => 38, 171 => 37, 161 => 29, 144 => 28, 140 => 26, 138 => 25, 130 => 20, 123 => 16, 115 => 10, 113 => 9, 103 => 8, 91 => 5, 81 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Tracol{% endblock %}
{% block metaDescription %}
<meta name=\"description\" content=\"En tant que promoteur immobilier, nous oeuvrons pour vous fournir le meilleur service. En tant qu’agence immobilière, il en va de même\">
{% endblock %}
{% block body %}
{% set sectionContent = content('A-propos', 'A-propos') %}
<div class=\"container-fluid teams\">
<div id=\"home-section\" class=\"col-lg-8 mx-auto div-svg-header pre-section\" style=\"padding:60px 0;\">
<div class=\"col-lg-3 home-section-title\" 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\"></path>
</svg>
<h1 class=\"project-title\">{{ sectionContent.name }}</h1>
</div>
<div class=\"separator\"></div>
<div class=\"pre-section-content col-md-10\">
{{ sectionContent.content|raw }}
</div>
</div>
<section class=\"numbers\" style=\"margin-bottom: 50px\">
{% include('_numbers.html.twig') %}
</section>
{% for teamCategory in teamCategories %}
<div class=\"col-lg-8 mx-auto row list-categories\">
<div class=\"col-md-4\">
<div class=\"col-lg-12\" style=\"display: flex;flex-direction: column;\">
<div class=\"col-lg-12 tracol-wrap\" style=\"display: flex;\">
<div id=\"section-1-tracol\" class=\"tracol-title\">
<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\">{{ teamCategory.0.categoryName }} <div class=\"separe\" {% if loop.last %}style=\"min-width:11px!important;\"{% endif %}></div></h1>
<div class=\"col-md-8 tracol-content\">{{ teamCategory.0.categoryContent|raw }}</div>
</div>
</div>
</div>
</div>
<div class=\"col-md-8 row\">
{% for member in teamCategory %}
<div class=\"col-md-6 col-lg-6 col-xl-6\">
<div class=\"img-team\" style=\"background:
{% if member.path %}
url({{ asset('uploads/images/' ~ member.path ) }})no-repeat center
{% else %}
url('https://tracol.lu/uploads/images/services-tracol-61c0b8e7c7110402238276.jpeg')no-repeat center
{% endif %}
;background-size:cover\"></div>
<div class=\"infos-member\">
<span>{{ member.fonction }}</span><br>
<span>{{ member.memberName }}</span>
</div>
<div class=\"description-team\">{{ member.memberContent|raw }}</div>
{#
<div class=\"contact\">
{% if member.memberPhone %}
<div class=\"col-md-12\">
<a href=\"tel:{{ member.memberPhone }}\" style=\"color:#f6a400;text-decoration:none;\"><i class=\"fas fa-phone\" style=\"margin-right:15px;\"></i> {{ member.memberPhone }}</a>
</div>
{% endif %}
{% if member.memberEmail %}
<div class=\"col-md-12\">
<a href=\"mailto:{{ member.memberEmail }}\" style=\"color:#f6a400;text-decoration:none;\"><i class=\"fas fa-envelope\" style=\"margin-right:15px;\"></i> {{ member.memberEmail }}</a>
</div>
{% endif %}
</div>
#}
</div>
{% else %}
<p>Aucune personne pour le moment.</p>
{% endfor %}
</div>
</div>
{% endfor %}
</div>
{% endblock %}", "about.html.twig", "/home/fuzxzwq/www/templates/about.html.twig");
}
}