<?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/service.html.twig */
class __TwigTemplate_57e65d7227f97cf5b0e85913564eacd9b47028d57132d7f106b1f0b0cf24ad9b 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/service.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/service.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "pages/service.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 " ";
$context["banners"] = 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); })()), "banner", [], "any", false, false, false, 4);
// line 5
echo "
";
// line 6
if ( !twig_length_filter($this->env, (isset($context["banners"]) || array_key_exists("banners", $context) ? $context["banners"] : (function () { throw new RuntimeError('Variable "banners" does not exist.', 6, $this->source); })()))) {
// line 7
echo " ";
$context["parent"] = $this->env->getFunction('sulu_content_load_parent')->getCallable()((isset($context["uuid"]) || array_key_exists("uuid", $context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.', 7, $this->source); })()), ["banner" => "banner"]);
// line 8
echo " ";
$context["banners"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["parent"] ?? null), "content", [], "any", false, true, false, 8), "banner", [], "any", true, true, false, 8)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["parent"] ?? null), "content", [], "any", false, true, false, 8), "banner", [], "any", false, false, false, 8), [])) : ([]));
// line 9
echo " ";
}
// line 10
echo "
";
// line 11
$context["promotions"] = 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.', 11, $this->source); })()), "promotions", [], "any", false, false, false, 11);
// line 12
echo "
";
// line 13
if ( !twig_length_filter($this->env, (isset($context["promotions"]) || array_key_exists("promotions", $context) ? $context["promotions"] : (function () { throw new RuntimeError('Variable "promotions" does not exist.', 13, $this->source); })()))) {
// line 14
echo " ";
$context["parent"] = $this->env->getFunction('sulu_content_load_parent')->getCallable()((isset($context["uuid"]) || array_key_exists("uuid", $context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.', 14, $this->source); })()), ["promotion" => "promotion"]);
// line 15
echo " ";
$context["promotions"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["parent"] ?? null), "content", [], "any", false, true, false, 15), "promotion", [], "any", true, true, false, 15)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["parent"] ?? null), "content", [], "any", false, true, false, 15), "promotion", [], "any", false, false, false, 15), [])) : ([]));
// line 16
echo " ";
}
// line 17
echo "
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-12 swiper swiper-banner banner-sm\">
<div class=\"swiper-wrapper\">
";
// line 23
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["banners"]) || array_key_exists("banners", $context) ? $context["banners"] : (function () { throw new RuntimeError('Variable "banners" does not exist.', 23, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ban"]) {
// line 24
echo " <div class=\"swiper-slide d-flex bg-overlay\">
<div class=\"container\">
<div class=\"row h-100 align-items-center justify-content-center\">
<div class=\"col-auto my-5 text-center anim-fade-up anim-stagger anim-no-scrub\">
<h1>";
// line 28
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.', 28, $this->source); })()), "title", [], "any", false, false, false, 28);
echo "</h1>
";
// line 29
$context["logoAlt"] = [1 => 109, 2 => 110, 3 => 111, 4 => 110];
// line 30
echo "\t\t\t\t\t\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "account", [], "any", false, true, false, 30), "id", [], "any", true, true, false, 30)) {
// line 31
echo "\t\t\t\t\t\t\t\t\t\t";
$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.', 31, $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.', 31, $this->source); })()), "account", [], "any", false, false, false, 31), "id", [], "any", false, false, false, 31), [], "array", false, false, false, 31), "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.', 31, $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.', 31, $this->source); })()), "account", [], "any", false, false, false, 31), "id", [], "any", false, false, false, 31), [], "array", false, false, false, 31), "fr")) : (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.', 31, $this->source); })()), "account", [], "any", false, false, false, 31), "logo", [], "any", false, false, false, 31)));
// line 32
echo "\t\t\t\t\t\t\t\t\t\t";
if ((isset($context["logo"]) || array_key_exists("logo", $context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.', 32, $this->source); })())) {
// line 33
echo "\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
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.', 33, $this->source); })()), "thumbnails", [], "any", false, false, false, 33), "logo-x200", [], "array", false, false, false, 33), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t";
}
// line 35
echo "\t\t\t\t\t\t\t\t\t";
}
// line 36
echo " </div>
</div>
</div>
<img src=\"";
// line 39
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ban"], "formats", [], "any", false, false, false, 39), "banner-1600x", [], "array", false, false, false, 39), "html", null, true);
echo "\" class=\"img-cover img-bg\">
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ban'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
echo " </div>
</div>
</div>
</div>
<div class=\"container-fluid intro dark\">
<div class=\"container\">
<div class=\"row justify-content-center\">
<div class=\"col-12 mb-3 p-5\">
";
// line 50
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.', 50, $this->source); })()), "article", [], "any", false, false, false, 50);
echo "
</div>
</div>
</div>
</div>
";
// line 56
if (twig_length_filter($this->env, (isset($context["promotions"]) || array_key_exists("promotions", $context) ? $context["promotions"] : (function () { throw new RuntimeError('Variable "promotions" does not exist.', 56, $this->source); })()))) {
// line 57
echo " <aside class=\"container mt-4 promotions\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"swiper-promo swiper\">
<div class=\"swiper-wrapper\">
";
// line 62
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["promotions"]) || array_key_exists("promotions", $context) ? $context["promotions"] : (function () { throw new RuntimeError('Variable "promotions" does not exist.', 62, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["promo"]) {
// line 63
echo " <div class=\"swiper-slide d-flex justify-content-end align-items-center p-4 anim-fade-left\">
";
// line 64
if (twig_get_attribute($this->env, $this->source, $context["promo"], "image", [], "any", false, false, false, 64)) {
// line 65
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, $context["promo"], "image", [], "any", false, false, false, 65), "formats", [], "any", false, false, false, 65), "banner-1600x", [], "array", false, false, false, 65), "html", null, true);
echo "\" class=\"img-cover img-bg\">
";
}
// line 67
echo " <div class=\"col-12 col-lg-4 caption bg-danger p-3 text-center anim-fade-zoom\">
<h3 class=\"fs-3\">";
// line 68
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["promo"], "titre", [], "any", false, false, false, 68), "html", null, true);
echo "</h3>
";
// line 69
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["promo"], "description", [], "any", false, false, false, 69), "html", null, true);
echo "
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['promo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 73
echo " </div>
</div>
</div>
</div>
</aside>
";
}
// line 79
echo " <section class=\"container prestations\">
<div class=\"row justify-content-center my-5\">
<h2 class=\"travaux around w-auto\">";
// line 81
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("TYPES DE PRESTATIONS", [], "messages");
echo "</h2>
</div>
<div class=\"row g-lg-5 align-items-start\">
";
// line 84
$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.', 84, $this->source); })()), "prestations", [], "any", false, false, false, 84));
foreach ($context['_seq'] as $context["_key"] => $context["prestation"]) {
// line 85
echo " <div class=\"col-lg-6\">
<div class=\"prestation\">
";
// line 87
if (twig_get_attribute($this->env, $this->source, $context["prestation"], "picto", [], "any", false, false, false, 87)) {
// line 88
echo " <i class=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["prestation"], "picto", [], "any", false, false, false, 88), "html", null, true);
echo " me-3\"></i>
";
}
// line 90
echo " <h3 class=\"fs-4\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["prestation"], "titre", [], "any", false, false, false, 90), "html", null, true);
echo "</h3>
<hr>
";
// line 92
echo twig_get_attribute($this->env, $this->source, $context["prestation"], "texte", [], "any", false, false, false, 92);
echo "
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prestation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 96
echo " </div>
</section>
";
// line 99
$context["parent"] = $this->env->getFunction('sulu_content_load_parent')->getCallable()((isset($context["uuid"]) || array_key_exists("uuid", $context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.', 99, $this->source); })()));
// line 100
echo " ";
$context["services_tree"] = twig_array_filter($this->env, $this->env->getFunction('sulu_navigation_tree')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["parent"]) || array_key_exists("parent", $context) ? $context["parent"] : (function () { throw new RuntimeError('Variable "parent" does not exist.', 100, $this->source); })()), "uuid", [], "any", false, false, false, 100)), function ($__s__) use ($context, $macros) { $context["s"] = $__s__; return (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["s"]) || array_key_exists("s", $context) ? $context["s"] : (function () { throw new RuntimeError('Variable "s" does not exist.', 100, $this->source); })()), "uuid", [], "any", false, false, false, 100), (isset($context["uuid"]) || array_key_exists("uuid", $context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.', 100, $this->source); })()))); });
// line 101
echo " <aside class=\"container-fluid accounts my-5\">
<div class=\"row\">
<h3 class=\"fs-5 travaux mb-0 col-lg-6 offset-lg-6 text-center fst-italic\">";
// line 103
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Découvrez<br>nos autres expertises !", [], "messages");
echo "</h3>
</div>
<div class=\"row row-accounts\">
";
// line 106
$context["groupe"] = $this->env->getFunction('sulu_content_load')->getCallable()("fe636747-6382-44fe-840a-c6130f1a1428", ["societes" => "societes"]);
echo "
";
// line 108
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["services_tree"]) || array_key_exists("services_tree", $context) ? $context["services_tree"] : (function () { throw new RuntimeError('Variable "services_tree" does not exist.', 108, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service_page"]) {
// line 109
echo " ";
$context["page_content"] = $this->env->getFunction('sulu_content_load')->getCallable()(twig_get_attribute($this->env, $this->source, $context["service_page"], "uuid", [], "any", false, false, false, 109), ["account" => "account"]);
// line 110
echo "\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["page_content"] ?? null), "content", [], "any", false, true, false, 110), "account", [], "any", false, true, false, 110), "id", [], "any", true, true, false, 110)) {
// line 111
echo "\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, 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.', 111, $this->source); })()), "content", [], "any", false, false, false, 111), "societes", [], "any", false, false, false, 111), function ($__s__) use ($context, $macros) { $context["s"] = $__s__; return (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["s"]) || array_key_exists("s", $context) ? $context["s"] : (function () { throw new RuntimeError('Variable "s" does not exist.', 111, $this->source); })()), "account", [], "any", false, false, false, 111), "id", [], "any", false, false, false, 111), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["page_content"]) || array_key_exists("page_content", $context) ? $context["page_content"] : (function () { throw new RuntimeError('Variable "page_content" does not exist.', 111, $this->source); })()), "content", [], "any", false, false, false, 111), "account", [], "any", false, false, false, 111), "id", [], "any", false, false, false, 111))); }));
foreach ($context['_seq'] as $context["_key"] => $context["societe"]) {
echo "
\t\t\t\t\t\t";
// line 112
$context["image"] = $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, 112), "entity", [], "any", false, false, false, 112), "media", [], "any", false, false, false, 112), "fr");
// line 113
echo "\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["service_page"], "url", [], "any", false, false, false, 113), twig_get_attribute($this->env, $this->source, $context["service_page"], "webspaceKey", [], "any", false, false, false, 113)), "html", null, true);
echo "\" class=\"col-md-6 p-0\">
\t\t\t\t\t\t\t<div class=\"item p-4\">
\t\t\t\t\t\t\t\t";
// line 115
if ((isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 115, $this->source); })())) {
// line 116
echo "\t\t\t\t\t\t\t\t<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.', 116, $this->source); })()), "thumbnails", [], "any", false, false, false, 116), "sulu-400x400", [], "array", false, false, false, 116), "html", null, true);
echo "\" class=\"img-cover img-bg\">
\t\t\t\t\t\t\t\t";
}
// line 117
echo "
\t\t\t\t\t\t\t\t<div class=\"infos text-center d-flex justify-content-center\">
\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 120
$context["logo"] = ((((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, true, false, 120), "entity", [], "any", false, true, false, 120), "logoAlt", [], "any", true, true, false, 120)) ? (_twig_default_filter(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, true, false, 120), "entity", [], "any", false, true, false, 120), "logoAlt", [], "any", false, false, false, 120), null)) : (null))) ? ($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, 120), "entity", [], "any", false, false, false, 120), "logoAlt", [], "any", false, false, false, 120), "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, 120), "entity", [], "any", false, false, false, 120), "logo", [], "any", false, false, false, 120), "fr")));
// line 121
echo "\t\t\t\t\t\t\t\t\t\t";
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.', 121, $this->source); })()), null)) : (null))) {
// line 122
echo "\t\t\t\t\t\t\t\t\t\t<div class=\"logo-wrapper d-flex align-items-center justify-content-center text-center\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
// line 123
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.', 123, $this->source); })()), "thumbnails", [], "any", false, false, false, 123), "logo-x600", [], "array", false, false, false, 123), "html", null, true);
echo "\" class=\"account-logo\">
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t";
}
// line 126
echo "\t\t\t\t\t\t\t\t\t\t<h3>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["societe"], "emplacement", [], "any", false, false, false, 126), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t\t\t";
// line 127
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["societe"], "titre", [], "any", false, false, false, 127), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</a>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['societe'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 133
echo "\t\t\t\t";
}
// line 134
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service_page'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 135
echo "
</div>
</aside>
\t
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "pages/service.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 373 => 135, 367 => 134, 364 => 133, 352 => 127, 347 => 126, 341 => 123, 338 => 122, 335 => 121, 333 => 120, 328 => 117, 322 => 116, 320 => 115, 314 => 113, 312 => 112, 305 => 111, 302 => 110, 299 => 109, 295 => 108, 290 => 106, 284 => 103, 280 => 101, 277 => 100, 275 => 99, 270 => 96, 260 => 92, 254 => 90, 248 => 88, 246 => 87, 242 => 85, 238 => 84, 232 => 81, 228 => 79, 220 => 73, 210 => 69, 206 => 68, 203 => 67, 197 => 65, 195 => 64, 192 => 63, 188 => 62, 181 => 57, 179 => 56, 170 => 50, 160 => 42, 151 => 39, 146 => 36, 143 => 35, 137 => 33, 134 => 32, 131 => 31, 128 => 30, 126 => 29, 122 => 28, 116 => 24, 112 => 23, 104 => 17, 101 => 16, 98 => 15, 95 => 14, 93 => 13, 90 => 12, 88 => 11, 85 => 10, 82 => 9, 79 => 8, 76 => 7, 74 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block content %}
{% set banners = content.banner %}
{% if not banners|length %}
{% set parent = sulu_content_load_parent(uuid,{'banner':'banner'}) %}
{% set banners = parent.content.banner|default([]) %}
{% endif %}
{% set promotions = content.promotions %}
{% if not promotions|length %}
{% set parent = sulu_content_load_parent(uuid,{'promotion':'promotion'}) %}
{% set promotions = parent.content.promotion|default([]) %}
{% endif %}
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-12 swiper swiper-banner banner-sm\">
<div class=\"swiper-wrapper\">
{% for ban in banners %}
<div class=\"swiper-slide d-flex bg-overlay\">
<div class=\"container\">
<div class=\"row h-100 align-items-center justify-content-center\">
<div class=\"col-auto my-5 text-center anim-fade-up anim-stagger anim-no-scrub\">
<h1>{{ content.title|raw }}</h1>
{% set logoAlt = {1:109,2:110,3:111,4:110} %}
\t\t\t\t\t\t\t\t\t{% if content.account.id is defined %}
\t\t\t\t\t\t\t\t\t\t{% set logo = sulu_resolve_media(logoAlt[content.account.id],'fr') ? sulu_resolve_media(logoAlt[content.account.id],'fr') : content.account.logo %}
\t\t\t\t\t\t\t\t\t\t{% if logo %}
\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ logo.thumbnails['logo-x200'] }}\">
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% endif %}
</div>
</div>
</div>
<img src=\"{{ ban.formats['banner-1600x'] }}\" class=\"img-cover img-bg\">
</div>
{% endfor %}
</div>
</div>
</div>
</div>
<div class=\"container-fluid intro dark\">
<div class=\"container\">
<div class=\"row justify-content-center\">
<div class=\"col-12 mb-3 p-5\">
{{ content.article|raw }}
</div>
</div>
</div>
</div>
{% if promotions|length %}
<aside class=\"container mt-4 promotions\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"swiper-promo swiper\">
<div class=\"swiper-wrapper\">
{% for promo in promotions %}
<div class=\"swiper-slide d-flex justify-content-end align-items-center p-4 anim-fade-left\">
{% if promo.image %}
<img src=\"{{ promo.image.formats['banner-1600x'] }}\" class=\"img-cover img-bg\">
{% endif %}
<div class=\"col-12 col-lg-4 caption bg-danger p-3 text-center anim-fade-zoom\">
<h3 class=\"fs-3\">{{ promo.titre }}</h3>
{{ promo.description }}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</aside>
{% endif %}
<section class=\"container prestations\">
<div class=\"row justify-content-center my-5\">
<h2 class=\"travaux around w-auto\">{% trans %}TYPES DE PRESTATIONS{% endtrans %}</h2>
</div>
<div class=\"row g-lg-5 align-items-start\">
{% for prestation in content.prestations %}
<div class=\"col-lg-6\">
<div class=\"prestation\">
{% if prestation.picto %}
<i class=\"{{ prestation.picto }} me-3\"></i>
{% endif %}
<h3 class=\"fs-4\">{{ prestation.titre }}</h3>
<hr>
{{ prestation.texte|raw }}
</div>
</div>
{% endfor %}
</div>
</section>
{% set parent = sulu_content_load_parent(uuid) %}
{% set services_tree = sulu_navigation_tree(parent.uuid)|filter(s => s.uuid != uuid) %}
<aside class=\"container-fluid accounts my-5\">
<div class=\"row\">
<h3 class=\"fs-5 travaux mb-0 col-lg-6 offset-lg-6 text-center fst-italic\">{% trans %}Découvrez<br>nos autres expertises !{% endtrans %}</h3>
</div>
<div class=\"row row-accounts\">
{% set groupe = sulu_content_load('fe636747-6382-44fe-840a-c6130f1a1428',{'societes' : 'societes'}) %}
{% for service_page in services_tree %}
{% set page_content = sulu_content_load(service_page.uuid,{'account':'account'}) %}
\t\t\t\t{% if page_content.content.account.id is defined %}
\t\t\t\t\t{% for societe in groupe.content.societes|filter(s => s.account.id == page_content.content.account.id) %}
\t\t\t\t\t\t{% set image = sulu_resolve_media(societe.account.entity.media, 'fr') %}
\t\t\t\t\t\t<a href=\"{{ sulu_content_path(service_page.url, service_page.webspaceKey) }}\" class=\"col-md-6 p-0\">
\t\t\t\t\t\t\t<div class=\"item p-4\">
\t\t\t\t\t\t\t\t{% if image %}
\t\t\t\t\t\t\t\t<img src=\"{{ image.thumbnails['sulu-400x400'] }}\" class=\"img-cover img-bg\">
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t<div class=\"infos text-center d-flex justify-content-center\">
\t\t\t\t\t\t\t\t\t<div class=\"col-lg-6\">
\t\t\t\t\t\t\t\t\t\t{% set logo = societe.account.entity.logoAlt|default(null) ? sulu_resolve_media(societe.account.entity.logoAlt,'fr') : sulu_resolve_media(societe.account.entity.logo,'fr') %}
\t\t\t\t\t\t\t\t\t\t{% if logo|default(null) %}
\t\t\t\t\t\t\t\t\t\t<div class=\"logo-wrapper d-flex align-items-center justify-content-center text-center\">
\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ logo.thumbnails['logo-x600'] }}\" class=\"account-logo\">
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t<h3>{{ societe.emplacement }}</h3>
\t\t\t\t\t\t\t\t\t\t{{ societe.titre }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</a>
\t\t\t\t\t{% endfor %}
\t\t\t\t{% endif %}
{% endfor %}
</div>
</aside>
\t
{% endblock %}
", "pages/service.html.twig", "/var/www/vhosts/fereol-depannage.com/preprod.fereol-depannage.com/templates/pages/service.html.twig");
}
}