var/cache/website/dev/twig/f5/f5d387ab7a7171a97e4596efd28b1789e6471a89eebf016489d05de4a453cdd8.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* pages/homepage.html.twig */
  14. class __TwigTemplate_bb88cf764837fe17ac6725af6c9704b86130bf2852ea34d8d98cb0b90a21e214 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/homepage.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/homepage.html.twig"));
  38.         $this->parent $this->loadTemplate("base.html.twig""pages/homepage.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         // line 4
  54.         echo "    ";
  55.         if (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'4$this->source); })()), "bannieres", [], "any"falsefalsefalse4))) {
  56.             // line 5
  57.             echo "        <div class=\"container-fluid\">
  58.             <div class=\"row\">
  59.                 <div class=\"col-12 swiper swiper-banner\" ";
  60.             // line 7
  61.             echo (((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'7$this->source); })()), "bannieres", [], "any"falsefalsefalse7)), 1))) ? ("data-loop=\"true\"") : (""));
  62.             echo ">
  63.                     <div class=\"swiper-wrapper\">
  64.                         ";
  65.             // line 9
  66.             $context["firstCaption"] = null;
  67.             // line 10
  68.             echo "                        ";
  69.             $context['_parent'] = $context;
  70.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'10$this->source); })()), "bannieres", [], "any"falsefalsefalse10));
  71.             $context['loop'] = [
  72.               'parent' => $context['_parent'],
  73.               'index0' => 0,
  74.               'index'  => 1,
  75.               'first'  => true,
  76.             ];
  77.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  78.                 $length count($context['_seq']);
  79.                 $context['loop']['revindex0'] = $length 1;
  80.                 $context['loop']['revindex'] = $length;
  81.                 $context['loop']['length'] = $length;
  82.                 $context['loop']['last'] = === $length;
  83.             }
  84.             foreach ($context['_seq'] as $context["_key"] => $context["ban"]) {
  85.                 // line 11
  86.                 echo "                            ";
  87.                 $context["banIndex"] = twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse11);
  88.                 // line 12
  89.                 echo "                            ";
  90.                 ob_start();
  91.                 // line 13
  92.                 echo "                                <div class=\"container h-100\">
  93.                                     <div class=\"row h-100 align-items-end\">
  94.                                         <div class=\"col-lg-5 my-5\"> 
  95.                                             ";
  96.                 // line 16
  97.                 if (twig_get_attribute($this->env$this->source$context["ban"], "picto", [], "any"falsefalsefalse16)) {
  98.                     // line 17
  99.                     echo "                                                <i class=\"picto ";
  100.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["ban"], "picto", [], "any"falsefalsefalse17), "html"nulltrue);
  101.                     echo "\" ></i>
  102.                                             ";
  103.                 }
  104.                 // line 18
  105.                 echo "                          
  106.                                             <h2>";
  107.                 // line 19
  108.                 echo twig_get_attribute($this->env$this->source$context["ban"], "titre", [], "any"falsefalsefalse19);
  109.                 echo "</h2>
  110.                                             <h3>";
  111.                 // line 20
  112.                 echo twig_get_attribute($this->env$this->source$context["ban"], "description", [], "any"falsefalsefalse20);
  113.                 echo "</h3>
  114.                                         </div>
  115.                                     </div>
  116.                                 </div>
  117.                             ";
  118.                 $context["caption"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  119.                 // line 25
  120.                 echo "                            ";
  121.                 if ( !(isset($context["firstCaption"]) || array_key_exists("firstCaption"$context) ? $context["firstCaption"] : (function () { throw new RuntimeError('Variable "firstCaption" does not exist.'25$this->source); })())) {
  122.                     // line 26
  123.                     echo "                                ";
  124.                     $context["firstCaption"] = (isset($context["caption"]) || array_key_exists("caption"$context) ? $context["caption"] : (function () { throw new RuntimeError('Variable "caption" does not exist.'26$this->source); })());
  125.                     // line 27
  126.                     echo "                            ";
  127.                 }
  128.                 // line 28
  129.                 echo "                            ";
  130.                 $context['_parent'] = $context;
  131.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["ban"], "image", [], "any"falsefalsefalse28));
  132.                 foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
  133.                     // line 29
  134.                     echo "                                <div class=\"swiper-slide d-flex bg-overlay\" data-caption='";
  135.                     echo json_encode(["html" => twig_spaceless((isset($context["caption"]) || array_key_exists("caption"$context) ? $context["caption"] : (function () { throw new RuntimeError('Variable "caption" does not exist.'29$this->source); })()))]);
  136.                     echo "' data-parent=\"ban_";
  137.                     echo twig_escape_filter($this->env, (isset($context["banIndex"]) || array_key_exists("banIndex"$context) ? $context["banIndex"] : (function () { throw new RuntimeError('Variable "banIndex" does not exist.'29$this->source); })()), "html"nulltrue);
  138.                     echo "\" >
  139.                                     <img src=\"";
  140.                     // line 30
  141.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["img"], "formats", [], "any"falsefalsefalse30), "banner-1600x", [], "array"falsefalsefalse30), "html"nulltrue);
  142.                     echo "\" class=\"img-cover img-bg\">
  143.                                 </div>
  144.                             ";
  145.                 }
  146.                 $_parent $context['_parent'];
  147.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
  148.                 $context array_intersect_key($context$_parent) + $_parent;
  149.                 // line 33
  150.                 echo "                        ";
  151.                 ++$context['loop']['index0'];
  152.                 ++$context['loop']['index'];
  153.                 $context['loop']['first'] = false;
  154.                 if (isset($context['loop']['length'])) {
  155.                     --$context['loop']['revindex0'];
  156.                     --$context['loop']['revindex'];
  157.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  158.                 }
  159.             }
  160.             $_parent $context['_parent'];
  161.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ban'], $context['_parent'], $context['loop']);
  162.             $context array_intersect_key($context$_parent) + $_parent;
  163.             // line 34
  164.             echo "                    </div>
  165.                     <div class=\"caption home-banner\">
  166.                         ";
  167.             // line 36
  168.             echo twig_escape_filter($this->env, (isset($context["firstCaption"]) || array_key_exists("firstCaption"$context) ? $context["firstCaption"] : (function () { throw new RuntimeError('Variable "firstCaption" does not exist.'36$this->source); })()), "html"nulltrue);
  169.             echo "
  170.                     </div>
  171.                 </div>
  172.             </div>
  173.         </div>
  174.     ";
  175.         }
  176.         // line 42
  177.         echo "    <div class=\"container\">
  178.         <div class=\"row justify-content-center assistense-info\">
  179.             <div class=\"col-lg-6 mb-3 intro pt-5 pb-3\">
  180.                 ";
  181.         // line 45
  182.         echo twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'45$this->source); })()), "intro", [], "any"falsefalsefalse45);
  183.         echo "
  184.             </div>
  185.         </div>
  186.     </div>
  187.     
  188.     ";
  189.         // line 50
  190.         $context["groupe"] = $this->env->getFunction('sulu_content_load')->getCallable()("fe636747-6382-44fe-840a-c6130f1a1428", ["societes" => "societes"]);
  191.         echo "    
  192. \t
  193.     <div class=\"accounts pb-0 pb-lg-5\">
  194.         <div class=\"container\">
  195.             <div class=\"row justify-content-center g-lg-3\">
  196.                 ";
  197.         // line 55
  198.         $context["logoAlt"] = [=> 109=> 110=> 111=> 110];
  199.         // line 56
  200.         echo "                ";
  201.         $context["bgLogo"] = [=> 99=> 97=> 98=> 142];
  202.         // line 57
  203.         echo "                
  204.                 ";
  205.         // line 58
  206.         $context['_parent'] = $context;
  207.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["groupe"]) || array_key_exists("groupe"$context) ? $context["groupe"] : (function () { throw new RuntimeError('Variable "groupe" does not exist.'58$this->source); })()), "content", [], "any"falsefalsefalse58), "societes", [], "any"falsefalsefalse58));
  208.         foreach ($context['_seq'] as $context["_key"] => $context["societe"]) {
  209.             echo "  
  210.                     ";
  211.             // line 59
  212.             $context["image"] = $this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->source, (isset($context["bgLogo"]) || array_key_exists("bgLogo"$context) ? $context["bgLogo"] : (function () { throw new RuntimeError('Variable "bgLogo" does not exist.'59$this->source); })()), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["societe"], "account", [], "any"falsefalsefalse59), "id", [], "any"falsefalsefalse59), [], "array"falsefalsefalse59), "fr");
  213.             // line 60
  214.             echo "                    <div class=\"col-lg-3 mb-3 mb-lg-0 account-";
  215.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["societe"], "account", [], "any"falsefalsefalse60), "id", [], "any"falsefalsefalse60), "html"nulltrue);
  216.             echo "\">
  217.                         <div class=\"item p-4 h-100\">
  218.                             ";
  219.             // line 62
  220.             if ((isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'62$this->source); })())) {
  221.                 // line 63
  222.                 echo "                            <img src=\"";
  223.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'63$this->source); })()), "thumbnails", [], "any"falsefalsefalse63), "sulu-400x400", [], "array"falsefalsefalse63), "html"nulltrue);
  224.                 echo "\" class=\"img-cover img-bg\">    
  225.                             ";
  226.             }
  227.             // line 64
  228.             echo "                
  229.                             <div class=\"infos\">
  230.                                 ";
  231.             // line 67
  232.             $context["logo"] = (($this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->source, (isset($context["logoAlt"]) || array_key_exists("logoAlt"$context) ? $context["logoAlt"] : (function () { throw new RuntimeError('Variable "logoAlt" does not exist.'67$this->source); })()), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["societe"], "account", [], "any"falsefalsefalse67), "id", [], "any"falsefalsefalse67), [], "array"falsefalsefalse67), "fr")) ? ($this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->source, (isset($context["logoAlt"]) || array_key_exists("logoAlt"$context) ? $context["logoAlt"] : (function () { throw new RuntimeError('Variable "logoAlt" does not exist.'67$this->source); })()), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["societe"], "account", [], "any"falsefalsefalse67), "id", [], "any"falsefalsefalse67), [], "array"falsefalsefalse67), "fr")) : ($this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["societe"], "account", [], "any"falsefalsefalse67), "entity", [], "any"falsefalsefalse67), "logo", [], "any"falsefalsefalse67), "fr")));
  233.             // line 68
  234.             echo "                               
  235.                                 ";
  236.             // line 69
  237.             if (((array_key_exists("logo"$context)) ? (_twig_default_filter((isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'69$this->source); })()), null)) : (null))) {
  238.                 // line 70
  239.                 echo "                                    <div class=\"logo-wrapper d-flex align-items-center justify-content-center text-center\">
  240.                                         <img src=\"";
  241.                 // line 71
  242.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'71$this->source); })()), "thumbnails", [], "any"falsefalsefalse71), "logo-x600", [], "array"falsefalsefalse71), "html"nulltrue);
  243.                 echo "\" class=\"account-logo\">
  244.                                     </div>
  245.                                 ";
  246.             }
  247.             // line 74
  248.             echo "                                <h3>";
  249.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["societe"], "emplacement", [], "any"falsefalsefalse74), "html"nulltrue);
  250.             echo "</h3>
  251.                                 <div>";
  252.             // line 75
  253.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["societe"], "titre", [], "any"falsefalsefalse75), "html"nulltrue);
  254.             echo "</div>
  255.                             </div>
  256.                         </div>
  257.                     </div>
  258.                 ";
  259.         }
  260.         $_parent $context['_parent'];
  261.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['societe'], $context['_parent'], $context['loop']);
  262.         $context array_intersect_key($context$_parent) + $_parent;
  263.         // line 80
  264.         echo "            </div>
  265.         </div>
  266.     </div>
  267.     <div class=\"engagements my-0 my-lg-5\">
  268.         <div class=\"container\">
  269.             <div class=\"row gx-lg-5\">
  270.                 <div class=\"col-lg-6 py-4 mb-5 mb-lg-5\">
  271.                     ";
  272.         // line 87
  273.         if (twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'87$this->source); })()), "service_image", [], "any"falsefalsefalse87)) {
  274.             // line 88
  275.             echo "                        <img src=\"";
  276.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'88$this->source); })()), "service_image", [], "any"falsefalsefalse88), "formats", [], "any"falsefalsefalse88), "media-960x540", [], "array"falsefalsefalse88), "html"nulltrue);
  277.             echo "\" class=\"img-fluid img-intro mb-3\">
  278.                     ";
  279.         }
  280.         // line 90
  281.         echo "                    ";
  282.         echo twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'90$this->source); })()), "service_description", [], "any"falsefalsefalse90);
  283.         echo "
  284.                 </div>
  285.                 <div class=\"col-lg-6 mb-5 mb-lg-0\">
  286.                     <div class=\"engagements-list bg-overlay p-3 p-lg-5\">
  287.                         <div class=\"engagements-head-title\">";
  288.         // line 94
  289.         echo twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'94$this->source); })()), "engagements_description", [], "any"falsefalsefalse94);
  290.         echo "</div>
  291.                         <ul class=\"m-0 p-0\">
  292.                             ";
  293.         // line 96
  294.         if (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'96$this->source); })()), "engagements", [], "any"falsefalsefalse96))) {
  295.             // line 97
  296.             echo "                                ";
  297.             $context['_parent'] = $context;
  298.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'97$this->source); })()), "engagements", [], "any"falsefalsefalse97));
  299.             foreach ($context['_seq'] as $context["_key"] => $context["engagement"]) {
  300.                 // line 98
  301.                 echo "                                    <li class=\"mt-5 py-3 px-4\">
  302.                                         ";
  303.                 // line 99
  304.                 if (twig_get_attribute($this->env$this->source$context["engagement"], "picto", [], "any"falsefalsefalse99)) {
  305.                     // line 100
  306.                     echo "                                            <i class=\"picto ";
  307.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["engagement"], "picto", [], "any"falsefalsefalse100), "html"nulltrue);
  308.                     echo "\" ></i>
  309.                                         ";
  310.                 }
  311.                 // line 102
  312.                 echo "                                        <div>
  313.                                             <h4>";
  314.                 // line 103
  315.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["engagement"], "titre", [], "any"falsefalsefalse103), "html"nulltrue);
  316.                 echo "</h4>
  317.                                             <div class=\"engagements-list-short\">";
  318.                 // line 104
  319.                 echo twig_get_attribute($this->env$this->source$context["engagement"], "description", [], "any"falsefalsefalse104);
  320.                 echo "</div>
  321.                                         </div>
  322.                                     </li>
  323.                                 ";
  324.             }
  325.             $_parent $context['_parent'];
  326.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engagement'], $context['_parent'], $context['loop']);
  327.             $context array_intersect_key($context$_parent) + $_parent;
  328.             // line 108
  329.             echo "                            ";
  330.         }
  331.         // line 109
  332.         echo "                        </ul>
  333.                         ";
  334.         // line 110
  335.         if (twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'110$this->source); })()), "engagements_image", [], "any"falsefalsefalse110)) {
  336.             // line 111
  337.             echo "                            <img src=\"";
  338.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'111$this->source); })()), "engagements_image", [], "any"falsefalsefalse111), "formats", [], "any"falsefalsefalse111), "sulu-large", [], "array"falsefalsefalse111), "html"nulltrue);
  339.             echo "\" class=\"img-bg img-cover\">
  340.                         ";
  341.         }
  342.         // line 113
  343.         echo "                    </div>
  344.                 </div>
  345.             </div>
  346.         </div>
  347.     </div>
  348. ";
  349.         
  350.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  351.         
  352.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  353.     }
  354.     public function getTemplateName()
  355.     {
  356.         return "pages/homepage.html.twig";
  357.     }
  358.     public function isTraitable()
  359.     {
  360.         return false;
  361.     }
  362.     public function getDebugInfo()
  363.     {
  364.         return array (  358 => 113,  352 => 111,  350 => 110,  347 => 109,  344 => 108,  334 => 104,  330 => 103,  327 => 102,  321 => 100,  319 => 99,  316 => 98,  311 => 97,  309 => 96,  304 => 94,  296 => 90,  290 => 88,  288 => 87,  279 => 80,  268 => 75,  263 => 74,  257 => 71,  254 => 70,  252 => 69,  249 => 68,  247 => 67,  242 => 64,  236 => 63,  234 => 62,  228 => 60,  226 => 59,  220 => 58,  217 => 57,  214 => 56,  212 => 55,  204 => 50,  196 => 45,  191 => 42,  182 => 36,  178 => 34,  164 => 33,  155 => 30,  148 => 29,  143 => 28,  140 => 27,  137 => 26,  134 => 25,  126 => 20,  122 => 19,  119 => 18,  113 => 17,  111 => 16,  106 => 13,  103 => 12,  100 => 11,  82 => 10,  80 => 9,  75 => 7,  71 => 5,  68 => 4,  58 => 3,  35 => 1,);
  365.     }
  366.     public function getSourceContext()
  367.     {
  368.         return new Source("{% extends \"base.html.twig\" %}
  369. {% block content %}
  370.     {% if content.bannieres|length %}
  371.         <div class=\"container-fluid\">
  372.             <div class=\"row\">
  373.                 <div class=\"col-12 swiper swiper-banner\" {{ content.bannieres|length > 1 ? 'data-loop=\"true\"' : '' }}>
  374.                     <div class=\"swiper-wrapper\">
  375.                         {% set firstCaption = null %}
  376.                         {% for ban in content.bannieres  %}
  377.                             {% set banIndex = loop.index0 %}
  378.                             {% set caption %}
  379.                                 <div class=\"container h-100\">
  380.                                     <div class=\"row h-100 align-items-end\">
  381.                                         <div class=\"col-lg-5 my-5\"> 
  382.                                             {% if ban.picto %}
  383.                                                 <i class=\"picto {{ ban.picto }}\" ></i>
  384.                                             {% endif %}                          
  385.                                             <h2>{{ ban.titre|raw }}</h2>
  386.                                             <h3>{{ ban.description|raw }}</h3>
  387.                                         </div>
  388.                                     </div>
  389.                                 </div>
  390.                             {% endset %}
  391.                             {% if not firstCaption %}
  392.                                 {% set firstCaption = caption %}
  393.                             {% endif %}
  394.                             {% for img in ban.image %}
  395.                                 <div class=\"swiper-slide d-flex bg-overlay\" data-caption='{{ {html:caption|spaceless}|json_encode|raw }}' data-parent=\"ban_{{ banIndex }}\" >
  396.                                     <img src=\"{{ img.formats['banner-1600x'] }}\" class=\"img-cover img-bg\">
  397.                                 </div>
  398.                             {% endfor %}
  399.                         {% endfor %}
  400.                     </div>
  401.                     <div class=\"caption home-banner\">
  402.                         {{ firstCaption }}
  403.                     </div>
  404.                 </div>
  405.             </div>
  406.         </div>
  407.     {% endif %}
  408.     <div class=\"container\">
  409.         <div class=\"row justify-content-center assistense-info\">
  410.             <div class=\"col-lg-6 mb-3 intro pt-5 pb-3\">
  411.                 {{ content.intro|raw }}
  412.             </div>
  413.         </div>
  414.     </div>
  415.     
  416.     {% set groupe = sulu_content_load('fe636747-6382-44fe-840a-c6130f1a1428',{'societes' : 'societes'}) %}    
  417. \t
  418.     <div class=\"accounts pb-0 pb-lg-5\">
  419.         <div class=\"container\">
  420.             <div class=\"row justify-content-center g-lg-3\">
  421.                 {% set logoAlt = {1:109,2:110,3:111,4:110} %}
  422.                 {% set bgLogo = {1:99,2:97,3:98,4:142} %}
  423.                 
  424.                 {% for societe in groupe.content.societes %}  
  425.                     {% set image = sulu_resolve_media(bgLogo[societe.account.id],'fr') %}
  426.                     <div class=\"col-lg-3 mb-3 mb-lg-0 account-{{ societe.account.id }}\">
  427.                         <div class=\"item p-4 h-100\">
  428.                             {% if image %}
  429.                             <img src=\"{{ image.thumbnails['sulu-400x400'] }}\" class=\"img-cover img-bg\">    
  430.                             {% endif %}                
  431.                             <div class=\"infos\">
  432.                                 {% set logo = sulu_resolve_media(logoAlt[societe.account.id],'fr') ? sulu_resolve_media(logoAlt[societe.account.id],'fr') : sulu_resolve_media(societe.account.entity.logo,'fr') %}
  433.                                
  434.                                 {% if logo|default(null) %}
  435.                                     <div class=\"logo-wrapper d-flex align-items-center justify-content-center text-center\">
  436.                                         <img src=\"{{ logo.thumbnails['logo-x600'] }}\" class=\"account-logo\">
  437.                                     </div>
  438.                                 {% endif %}
  439.                                 <h3>{{ societe.emplacement }}</h3>
  440.                                 <div>{{ societe.titre }}</div>
  441.                             </div>
  442.                         </div>
  443.                     </div>
  444.                 {% endfor %}
  445.             </div>
  446.         </div>
  447.     </div>
  448.     <div class=\"engagements my-0 my-lg-5\">
  449.         <div class=\"container\">
  450.             <div class=\"row gx-lg-5\">
  451.                 <div class=\"col-lg-6 py-4 mb-5 mb-lg-5\">
  452.                     {% if content.service_image %}
  453.                         <img src=\"{{ content.service_image.formats['media-960x540'] }}\" class=\"img-fluid img-intro mb-3\">
  454.                     {% endif %}
  455.                     {{ content.service_description|raw }}
  456.                 </div>
  457.                 <div class=\"col-lg-6 mb-5 mb-lg-0\">
  458.                     <div class=\"engagements-list bg-overlay p-3 p-lg-5\">
  459.                         <div class=\"engagements-head-title\">{{ content.engagements_description|raw }}</div>
  460.                         <ul class=\"m-0 p-0\">
  461.                             {% if content.engagements|length %}
  462.                                 {% for engagement in content.engagements %}
  463.                                     <li class=\"mt-5 py-3 px-4\">
  464.                                         {% if engagement.picto %}
  465.                                             <i class=\"picto {{ engagement.picto }}\" ></i>
  466.                                         {% endif %}
  467.                                         <div>
  468.                                             <h4>{{ engagement.titre }}</h4>
  469.                                             <div class=\"engagements-list-short\">{{ engagement.description|raw }}</div>
  470.                                         </div>
  471.                                     </li>
  472.                                 {% endfor %}
  473.                             {% endif %}
  474.                         </ul>
  475.                         {% if content.engagements_image %}
  476.                             <img src=\"{{ content.engagements_image.formats['sulu-large'] }}\" class=\"img-bg img-cover\">
  477.                         {% endif %}
  478.                     </div>
  479.                 </div>
  480.             </div>
  481.         </div>
  482.     </div>
  483. {% endblock %}
  484. ""pages/homepage.html.twig""/var/www/vhosts/fereol-depannage.com/preprod.fereol-depannage.com/templates/pages/homepage.html.twig");
  485.     }
  486. }