<?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;
/* pages/homepage.html.twig */
class __TwigTemplate_bb88cf764837fe17ac6725af6c9704b86130bf2852ea34d8d98cb0b90a21e214 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
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", "pages/homepage.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/homepage.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "pages/homepage.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_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo " ";
if (twig_length_filter($this->env, 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.', 4, $this->source); })()), "bannieres", [], "any", false, false, false, 4))) {
// line 5
echo " <div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-12 swiper swiper-banner\" ";
// line 7
echo (((1 === twig_compare(twig_length_filter($this->env, 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.', 7, $this->source); })()), "bannieres", [], "any", false, false, false, 7)), 1))) ? ("data-loop=\"true\"") : (""));
echo ">
<div class=\"swiper-wrapper\">
";
// line 9
$context["firstCaption"] = null;
// line 10
echo " ";
$context['_parent'] = $context;
$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", false, false, false, 10));
$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["ban"]) {
// line 11
echo " ";
$context["banIndex"] = twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 11);
// line 12
echo " ";
ob_start();
// line 13
echo " <div class=\"container h-100\">
<div class=\"row h-100 align-items-end\">
<div class=\"col-lg-5 my-5\">
";
// line 16
if (twig_get_attribute($this->env, $this->source, $context["ban"], "picto", [], "any", false, false, false, 16)) {
// line 17
echo " <i class=\"picto ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ban"], "picto", [], "any", false, false, false, 17), "html", null, true);
echo "\" ></i>
";
}
// line 18
echo "
<h2>";
// line 19
echo twig_get_attribute($this->env, $this->source, $context["ban"], "titre", [], "any", false, false, false, 19);
echo "</h2>
<h3>";
// line 20
echo twig_get_attribute($this->env, $this->source, $context["ban"], "description", [], "any", false, false, false, 20);
echo "</h3>
</div>
</div>
</div>
";
$context["caption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 25
echo " ";
if ( !(isset($context["firstCaption"]) || array_key_exists("firstCaption", $context) ? $context["firstCaption"] : (function () { throw new RuntimeError('Variable "firstCaption" does not exist.', 25, $this->source); })())) {
// line 26
echo " ";
$context["firstCaption"] = (isset($context["caption"]) || array_key_exists("caption", $context) ? $context["caption"] : (function () { throw new RuntimeError('Variable "caption" does not exist.', 26, $this->source); })());
// line 27
echo " ";
}
// line 28
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["ban"], "image", [], "any", false, false, false, 28));
foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
// line 29
echo " <div class=\"swiper-slide d-flex bg-overlay\" data-caption='";
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); })()))]);
echo "' data-parent=\"ban_";
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", null, true);
echo "\" >
<img src=\"";
// line 30
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["img"], "formats", [], "any", false, false, false, 30), "banner-1600x", [], "array", false, false, false, 30), "html", null, true);
echo "\" class=\"img-cover img-bg\">
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 33
echo " ";
++$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['ban'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
echo " </div>
<div class=\"caption home-banner\">
";
// line 36
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", null, true);
echo "
</div>
</div>
</div>
</div>
";
}
// line 42
echo " <div class=\"container\">
<div class=\"row justify-content-center assistense-info\">
<div class=\"col-lg-6 mb-3 intro pt-5 pb-3\">
";
// line 45
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", false, false, false, 45);
echo "
</div>
</div>
</div>
";
// line 50
$context["groupe"] = $this->env->getFunction('sulu_content_load')->getCallable()("fe636747-6382-44fe-840a-c6130f1a1428", ["societes" => "societes"]);
echo "
\t
<div class=\"accounts pb-0 pb-lg-5\">
<div class=\"container\">
<div class=\"row justify-content-center g-lg-3\">
";
// line 55
$context["logoAlt"] = [1 => 109, 2 => 110, 3 => 111, 4 => 110];
// line 56
echo " ";
$context["bgLogo"] = [1 => 99, 2 => 97, 3 => 98, 4 => 142];
// line 57
echo "
";
// line 58
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 58), "societes", [], "any", false, false, false, 58));
foreach ($context['_seq'] as $context["_key"] => $context["societe"]) {
echo "
";
// line 59
$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->source, twig_get_attribute($this->env, $this->source, $context["societe"], "account", [], "any", false, false, false, 59), "id", [], "any", false, false, false, 59), [], "array", false, false, false, 59), "fr");
// line 60
echo " <div class=\"col-lg-3 mb-3 mb-lg-0 account-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["societe"], "account", [], "any", false, false, false, 60), "id", [], "any", false, false, false, 60), "html", null, true);
echo "\">
<div class=\"item p-4 h-100\">
";
// line 62
if ((isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 62, $this->source); })())) {
// line 63
echo " <img src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 63), "sulu-400x400", [], "array", false, false, false, 63), "html", null, true);
echo "\" class=\"img-cover img-bg\">
";
}
// line 64
echo "
<div class=\"infos\">
";
// line 67
$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->source, twig_get_attribute($this->env, $this->source, $context["societe"], "account", [], "any", false, false, false, 67), "id", [], "any", false, false, false, 67), [], "array", false, false, false, 67), "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->source, twig_get_attribute($this->env, $this->source, $context["societe"], "account", [], "any", false, false, false, 67), "id", [], "any", false, false, false, 67), [], "array", false, false, false, 67), "fr")) : ($this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["societe"], "account", [], "any", false, false, false, 67), "entity", [], "any", false, false, false, 67), "logo", [], "any", false, false, false, 67), "fr")));
// line 68
echo "
";
// line 69
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))) {
// line 70
echo " <div class=\"logo-wrapper d-flex align-items-center justify-content-center text-center\">
<img src=\"";
// line 71
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 71), "logo-x600", [], "array", false, false, false, 71), "html", null, true);
echo "\" class=\"account-logo\">
</div>
";
}
// line 74
echo " <h3>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["societe"], "emplacement", [], "any", false, false, false, 74), "html", null, true);
echo "</h3>
<div>";
// line 75
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["societe"], "titre", [], "any", false, false, false, 75), "html", null, true);
echo "</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['societe'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 80
echo " </div>
</div>
</div>
<div class=\"engagements my-0 my-lg-5\">
<div class=\"container\">
<div class=\"row gx-lg-5\">
<div class=\"col-lg-6 py-4 mb-5 mb-lg-5\">
";
// line 87
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", false, false, false, 87)) {
// line 88
echo " <img src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 88, $this->source); })()), "service_image", [], "any", false, false, false, 88), "formats", [], "any", false, false, false, 88), "media-960x540", [], "array", false, false, false, 88), "html", null, true);
echo "\" class=\"img-fluid img-intro mb-3\">
";
}
// line 90
echo " ";
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", false, false, false, 90);
echo "
</div>
<div class=\"col-lg-6 mb-5 mb-lg-0\">
<div class=\"engagements-list bg-overlay p-3 p-lg-5\">
<div class=\"engagements-head-title\">";
// line 94
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", false, false, false, 94);
echo "</div>
<ul class=\"m-0 p-0\">
";
// line 96
if (twig_length_filter($this->env, 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.', 96, $this->source); })()), "engagements", [], "any", false, false, false, 96))) {
// line 97
echo " ";
$context['_parent'] = $context;
$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", false, false, false, 97));
foreach ($context['_seq'] as $context["_key"] => $context["engagement"]) {
// line 98
echo " <li class=\"mt-5 py-3 px-4\">
";
// line 99
if (twig_get_attribute($this->env, $this->source, $context["engagement"], "picto", [], "any", false, false, false, 99)) {
// line 100
echo " <i class=\"picto ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engagement"], "picto", [], "any", false, false, false, 100), "html", null, true);
echo "\" ></i>
";
}
// line 102
echo " <div>
<h4>";
// line 103
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["engagement"], "titre", [], "any", false, false, false, 103), "html", null, true);
echo "</h4>
<div class=\"engagements-list-short\">";
// line 104
echo twig_get_attribute($this->env, $this->source, $context["engagement"], "description", [], "any", false, false, false, 104);
echo "</div>
</div>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['engagement'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 108
echo " ";
}
// line 109
echo " </ul>
";
// line 110
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", false, false, false, 110)) {
// line 111
echo " <img src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 111, $this->source); })()), "engagements_image", [], "any", false, false, false, 111), "formats", [], "any", false, false, false, 111), "sulu-large", [], "array", false, false, false, 111), "html", null, true);
echo "\" class=\"img-bg img-cover\">
";
}
// line 113
echo " </div>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "pages/homepage.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block content %}
{% if content.bannieres|length %}
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-12 swiper swiper-banner\" {{ content.bannieres|length > 1 ? 'data-loop=\"true\"' : '' }}>
<div class=\"swiper-wrapper\">
{% set firstCaption = null %}
{% for ban in content.bannieres %}
{% set banIndex = loop.index0 %}
{% set caption %}
<div class=\"container h-100\">
<div class=\"row h-100 align-items-end\">
<div class=\"col-lg-5 my-5\">
{% if ban.picto %}
<i class=\"picto {{ ban.picto }}\" ></i>
{% endif %}
<h2>{{ ban.titre|raw }}</h2>
<h3>{{ ban.description|raw }}</h3>
</div>
</div>
</div>
{% endset %}
{% if not firstCaption %}
{% set firstCaption = caption %}
{% endif %}
{% for img in ban.image %}
<div class=\"swiper-slide d-flex bg-overlay\" data-caption='{{ {html:caption|spaceless}|json_encode|raw }}' data-parent=\"ban_{{ banIndex }}\" >
<img src=\"{{ img.formats['banner-1600x'] }}\" class=\"img-cover img-bg\">
</div>
{% endfor %}
{% endfor %}
</div>
<div class=\"caption home-banner\">
{{ firstCaption }}
</div>
</div>
</div>
</div>
{% endif %}
<div class=\"container\">
<div class=\"row justify-content-center assistense-info\">
<div class=\"col-lg-6 mb-3 intro pt-5 pb-3\">
{{ content.intro|raw }}
</div>
</div>
</div>
{% set groupe = sulu_content_load('fe636747-6382-44fe-840a-c6130f1a1428',{'societes' : 'societes'}) %}
\t
<div class=\"accounts pb-0 pb-lg-5\">
<div class=\"container\">
<div class=\"row justify-content-center g-lg-3\">
{% set logoAlt = {1:109,2:110,3:111,4:110} %}
{% set bgLogo = {1:99,2:97,3:98,4:142} %}
{% for societe in groupe.content.societes %}
{% set image = sulu_resolve_media(bgLogo[societe.account.id],'fr') %}
<div class=\"col-lg-3 mb-3 mb-lg-0 account-{{ societe.account.id }}\">
<div class=\"item p-4 h-100\">
{% if image %}
<img src=\"{{ image.thumbnails['sulu-400x400'] }}\" class=\"img-cover img-bg\">
{% endif %}
<div class=\"infos\">
{% 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') %}
{% if logo|default(null) %}
<div class=\"logo-wrapper d-flex align-items-center justify-content-center text-center\">
<img src=\"{{ logo.thumbnails['logo-x600'] }}\" class=\"account-logo\">
</div>
{% endif %}
<h3>{{ societe.emplacement }}</h3>
<div>{{ societe.titre }}</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<div class=\"engagements my-0 my-lg-5\">
<div class=\"container\">
<div class=\"row gx-lg-5\">
<div class=\"col-lg-6 py-4 mb-5 mb-lg-5\">
{% if content.service_image %}
<img src=\"{{ content.service_image.formats['media-960x540'] }}\" class=\"img-fluid img-intro mb-3\">
{% endif %}
{{ content.service_description|raw }}
</div>
<div class=\"col-lg-6 mb-5 mb-lg-0\">
<div class=\"engagements-list bg-overlay p-3 p-lg-5\">
<div class=\"engagements-head-title\">{{ content.engagements_description|raw }}</div>
<ul class=\"m-0 p-0\">
{% if content.engagements|length %}
{% for engagement in content.engagements %}
<li class=\"mt-5 py-3 px-4\">
{% if engagement.picto %}
<i class=\"picto {{ engagement.picto }}\" ></i>
{% endif %}
<div>
<h4>{{ engagement.titre }}</h4>
<div class=\"engagements-list-short\">{{ engagement.description|raw }}</div>
</div>
</li>
{% endfor %}
{% endif %}
</ul>
{% if content.engagements_image %}
<img src=\"{{ content.engagements_image.formats['sulu-large'] }}\" class=\"img-bg img-cover\">
{% endif %}
</div>
</div>
</div>
</div>
</div>
{% endblock %}
", "pages/homepage.html.twig", "/var/www/vhosts/fereol-depannage.com/preprod.fereol-depannage.com/templates/pages/homepage.html.twig");
}
}