var/cache/dev/twig/e4/e49280d0bcd62d723aa9d89b378b256cbd8056934602e2fcf5291e631464af9d.php line 51

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* about.html.twig */
  15. class __TwigTemplate_f44308ae650d7966a3759a6eb531833a03d253c3d7d0589f5a67fe4951650403 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'metaDescription' => [$this'block_metaDescription'],
  26.             'body' => [$this'block_body'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""about.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""about.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""about.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         yield "Tracol";
  57.         
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  59.         
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  61.         return; yield '';
  62.     }
  63.     // line 4
  64.     public function block_metaDescription($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  71.         // line 5
  72.         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\">
  73. ";
  74.         
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  76.         
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  78.         return; yield '';
  79.     }
  80.     // line 8
  81.     public function block_body($context, array $blocks = [])
  82.     {
  83.         $macros $this->macros;
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  88.         // line 9
  89.         $context["sectionContent"] = $this->extensions['App\Twig\ContentExtension']->Content("A-propos""A-propos");
  90.         // line 10
  91.         yield "    <div class=\"container-fluid teams\">
  92.         <div id=\"home-section\" class=\"col-lg-8 mx-auto div-svg-header pre-section\" style=\"padding:60px 0;\">
  93.             <div class=\"col-lg-3 home-section-title\" style=\"font-size: 2.3em;display: flex;flex-direction: column;\">
  94.                 <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\">
  95.                     <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>
  96.                 </svg>
  97.                 <h1 class=\"project-title\">";
  98.         // line 16
  99.         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"falsefalsefalse16), "html"nulltrue);
  100.         yield "</h1>
  101.             </div>
  102.             <div class=\"separator\"></div>
  103.             <div class=\"pre-section-content col-md-10\">
  104.                 ";
  105.         // line 20
  106.         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"falsefalsefalse20);
  107.         yield "
  108.             </div>
  109.         </div>
  110.         <section class=\"numbers\" style=\"margin-bottom: 50px\">
  111.         ";
  112.         // line 25
  113.         yield from         $this->loadTemplate("_numbers.html.twig""about.html.twig"25)->unwrap()->yield($context);
  114.         // line 26
  115.         yield "        </section>
  116.         ";
  117.         // line 28
  118.         $context['_parent'] = $context;
  119.         $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); })()));
  120.         $context['loop'] = [
  121.           'parent' => $context['_parent'],
  122.           'index0' => 0,
  123.           'index'  => 1,
  124.           'first'  => true,
  125.         ];
  126.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  127.             $length count($context['_seq']);
  128.             $context['loop']['revindex0'] = $length 1;
  129.             $context['loop']['revindex'] = $length;
  130.             $context['loop']['length'] = $length;
  131.             $context['loop']['last'] = === $length;
  132.         }
  133.         foreach ($context['_seq'] as $context["_key"] => $context["teamCategory"]) {
  134.             // line 29
  135.             yield "           <div class=\"col-lg-8 mx-auto row list-categories\">
  136.                <div class=\"col-md-4\">
  137.                    <div class=\"col-lg-12\" style=\"display: flex;flex-direction: column;\">
  138.                        <div class=\"col-lg-12 tracol-wrap\" style=\"display: flex;\">
  139.                            <div id=\"section-1-tracol\" class=\"tracol-title\">
  140.                                <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  141.                                    <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\"/>
  142.                                </svg>
  143.                                <h1 class=\"project-title\">";
  144.             // line 37
  145.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["teamCategory"], 0, [], "any"falsefalsefalse37), "categoryName", [], "any"falsefalsefalse37), "html"nulltrue);
  146.             yield " <div class=\"separe\" ";
  147.             if (CoreExtension::getAttribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse37)) {
  148.                 yield "style=\"min-width:11px!important;\"";
  149.             }
  150.             yield "></div></h1>
  151.                                <div class=\"col-md-8 tracol-content\">";
  152.             // line 38
  153.             yield CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["teamCategory"], 0, [], "any"falsefalsefalse38), "categoryContent", [], "any"falsefalsefalse38);
  154.             yield "</div>
  155.                            </div>
  156.                        </div>
  157.                    </div>
  158.                </div>
  159.                <div class=\"col-md-8 row\">
  160.                    ";
  161.             // line 44
  162.             $context['_parent'] = $context;
  163.             $context['_seq'] = CoreExtension::ensureTraversable($context["teamCategory"]);
  164.             $context['_iterated'] = false;
  165.             foreach ($context['_seq'] as $context["_key"] => $context["member"]) {
  166.                 // line 45
  167.                 yield "                       <div class=\"col-md-6 col-lg-6 col-xl-6\">
  168.                            <div class=\"img-team\" style=\"background:
  169.                            ";
  170.                 // line 47
  171.                 if (CoreExtension::getAttribute($this->env$this->source$context["member"], "path", [], "any"falsefalsefalse47)) {
  172.                     // line 48
  173.                     yield "                                   url(";
  174.                     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"falsefalsefalse48))), "html"nulltrue);
  175.                     yield ")no-repeat center
  176.                                ";
  177.                 } else {
  178.                     // line 50
  179.                     yield "                                   url('https://tracol.lu/uploads/images/services-tracol-61c0b8e7c7110402238276.jpeg')no-repeat center
  180.                            ";
  181.                 }
  182.                 // line 52
  183.                 yield "                                   ;background-size:cover\"></div>
  184.                            <div class=\"infos-member\">
  185.                                <span>";
  186.                 // line 54
  187.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["member"], "fonction", [], "any"falsefalsefalse54), "html"nulltrue);
  188.                 yield "</span><br>
  189.                                <span>";
  190.                 // line 55
  191.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["member"], "memberName", [], "any"falsefalsefalse55), "html"nulltrue);
  192.                 yield "</span>
  193.                            </div>
  194.                            <div class=\"description-team\">";
  195.                 // line 57
  196.                 yield CoreExtension::getAttribute($this->env$this->source$context["member"], "memberContent", [], "any"falsefalsefalse57);
  197.                 yield "</div>
  198.                            ";
  199.                 // line 72
  200.                 yield "
  201.                        </div>
  202.                    ";
  203.                 $context['_iterated'] = true;
  204.             }
  205.             if (!$context['_iterated']) {
  206.                 // line 75
  207.                 yield "                       <p>Aucune personne pour le moment.</p>
  208.                    ";
  209.             }
  210.             $_parent $context['_parent'];
  211.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['member'], $context['_parent'], $context['loop']);
  212.             $context array_intersect_key($context$_parent) + $_parent;
  213.             // line 77
  214.             yield "               </div>
  215.            </div>
  216.        ";
  217.             ++$context['loop']['index0'];
  218.             ++$context['loop']['index'];
  219.             $context['loop']['first'] = false;
  220.             if (isset($context['loop']['length'])) {
  221.                 --$context['loop']['revindex0'];
  222.                 --$context['loop']['revindex'];
  223.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  224.             }
  225.         }
  226.         $_parent $context['_parent'];
  227.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['teamCategory'], $context['_parent'], $context['loop']);
  228.         $context array_intersect_key($context$_parent) + $_parent;
  229.         // line 80
  230.         yield "        
  231.     </div>
  232. ";
  233.         
  234.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  235.         
  236.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  237.         return; yield '';
  238.     }
  239.     /**
  240.      * @codeCoverageIgnore
  241.      */
  242.     public function getTemplateName()
  243.     {
  244.         return "about.html.twig";
  245.     }
  246.     /**
  247.      * @codeCoverageIgnore
  248.      */
  249.     public function isTraitable()
  250.     {
  251.         return false;
  252.     }
  253.     /**
  254.      * @codeCoverageIgnore
  255.      */
  256.     public function getDebugInfo()
  257.     {
  258.         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,);
  259.     }
  260.     public function getSourceContext()
  261.     {
  262.         return new Source("{% extends 'base.html.twig' %}
  263. {% block title %}Tracol{% endblock %}
  264. {% block metaDescription %}
  265.     <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\">
  266. {% endblock %}
  267. {% block body %}
  268. {% set sectionContent = content('A-propos', 'A-propos') %}
  269.     <div class=\"container-fluid teams\">
  270.         <div id=\"home-section\" class=\"col-lg-8 mx-auto div-svg-header pre-section\" style=\"padding:60px 0;\">
  271.             <div class=\"col-lg-3 home-section-title\" style=\"font-size: 2.3em;display: flex;flex-direction: column;\">
  272.                 <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\">
  273.                     <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>
  274.                 </svg>
  275.                 <h1 class=\"project-title\">{{ sectionContent.name }}</h1>
  276.             </div>
  277.             <div class=\"separator\"></div>
  278.             <div class=\"pre-section-content col-md-10\">
  279.                 {{ sectionContent.content|raw }}
  280.             </div>
  281.         </div>
  282.         <section class=\"numbers\" style=\"margin-bottom: 50px\">
  283.         {% include('_numbers.html.twig') %}
  284.         </section>
  285.         {% for teamCategory in teamCategories %}
  286.            <div class=\"col-lg-8 mx-auto row list-categories\">
  287.                <div class=\"col-md-4\">
  288.                    <div class=\"col-lg-12\" style=\"display: flex;flex-direction: column;\">
  289.                        <div class=\"col-lg-12 tracol-wrap\" style=\"display: flex;\">
  290.                            <div id=\"section-1-tracol\" class=\"tracol-title\">
  291.                                <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  292.                                    <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\"/>
  293.                                </svg>
  294.                                <h1 class=\"project-title\">{{ teamCategory.0.categoryName }} <div class=\"separe\" {% if loop.last %}style=\"min-width:11px!important;\"{% endif %}></div></h1>
  295.                                <div class=\"col-md-8 tracol-content\">{{ teamCategory.0.categoryContent|raw }}</div>
  296.                            </div>
  297.                        </div>
  298.                    </div>
  299.                </div>
  300.                <div class=\"col-md-8 row\">
  301.                    {% for member in teamCategory %}
  302.                        <div class=\"col-md-6 col-lg-6 col-xl-6\">
  303.                            <div class=\"img-team\" style=\"background:
  304.                            {% if member.path %}
  305.                                    url({{ asset('uploads/images/' ~ member.path ) }})no-repeat center
  306.                                {% else %}
  307.                                    url('https://tracol.lu/uploads/images/services-tracol-61c0b8e7c7110402238276.jpeg')no-repeat center
  308.                            {% endif %}
  309.                                    ;background-size:cover\"></div>
  310.                            <div class=\"infos-member\">
  311.                                <span>{{ member.fonction }}</span><br>
  312.                                <span>{{ member.memberName }}</span>
  313.                            </div>
  314.                            <div class=\"description-team\">{{ member.memberContent|raw }}</div>
  315.                            {#
  316.                            <div class=\"contact\">
  317.                                {% if member.memberPhone %}
  318.                                    <div class=\"col-md-12\">
  319.                                        <a href=\"tel:{{ member.memberPhone }}\" style=\"color:#f6a400;text-decoration:none;\"><i class=\"fas fa-phone\" style=\"margin-right:15px;\"></i> {{ member.memberPhone }}</a>
  320.                                    </div>
  321.                                {% endif %}
  322.                                {% if member.memberEmail %}
  323.                                    <div class=\"col-md-12\">
  324.                                        <a href=\"mailto:{{ member.memberEmail }}\" style=\"color:#f6a400;text-decoration:none;\"><i class=\"fas fa-envelope\" style=\"margin-right:15px;\"></i> {{ member.memberEmail }}</a>
  325.                                    </div>
  326.                                {% endif %}
  327.                            </div>
  328.                            #}
  329.                        </div>
  330.                    {% else %}
  331.                        <p>Aucune personne pour le moment.</p>
  332.                    {% endfor %}
  333.                </div>
  334.            </div>
  335.        {% endfor %}
  336.         
  337.     </div>
  338. {% endblock %}""about.html.twig""/home/fuzxzwq/www/templates/about.html.twig");
  339.     }
  340. }