<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/escapade-destination.html.twig */
class __TwigTemplate_b3f168965c8e495227899445f61d453aef9f13013c580b071aeae3aba018054f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'seo' => [$this, 'block_seo'],
'header_classes' => [$this, 'block_header_classes'],
'navbar_theme' => [$this, 'block_navbar_theme'],
'body' => [$this, 'block_body'],
'extra_head' => [$this, 'block_extra_head'],
];
}
protected function doGetParent(array $context)
{
// line 2
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", "default/escapade-destination.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/escapade-destination.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "default/escapade-destination.html.twig", 2);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "O'Escapade — ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 4, $this->source); })()), "title", [], "any", false, false, false, 4), "html", null, true);
yield " | O Tropik – Agence de voyage en Guadeloupe ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 5
public function block_seo($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", "seo"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
// line 6
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 6, $this->source); })()), "description", [], "any", false, false, false, 6), "html", null, true);
yield "\" >
\t<meta property=\"og:title\" content=\"";
// line 8
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 8, $this->source); })()), "metaTitle", [], "any", false, false, false, 8), "html", null, true);
yield "\" />
\t<meta property=\"og:type\" content=\"Website\" />
\t<meta property=\"og:description\" content=\"";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 10, $this->source); })()), "metaDescription", [], "any", false, false, false, 10), "html", null, true);
yield "\" />
\t<meta property=\"og:url\" content=\"";
// line 11
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "uri", [], "any", false, false, false, 11)), "html", null, true);
yield "\" />
\t<meta property=\"og:image\" content=\"";
// line 12
yield "\" />
\t<meta name =\"twitter:card\" content=\"summary_large_image\" />
\t<meta name=\"twitter:title\" content=\"";
// line 15
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 15, $this->source); })()), "metaTitle", [], "any", false, false, false, 15), "html", null, true);
yield "\">
\t<meta name=\"twitter:description\" content=\"";
// line 16
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 16, $this->source); })()), "metaDescription", [], "any", false, false, false, 16), "html", null, true);
yield "\">
\t<meta name=\"twitter:image\" content=\"";
// line 17
yield "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 20
public function block_header_classes($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", "header_classes"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_classes"));
yield "header-overlay";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 21
public function block_navbar_theme($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", "navbar_theme"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar_theme"));
yield "navbar-dark";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 23
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 24
yield "
";
// line 28
yield "<section class=\"position-relative text-white\">
<div class=\"ratio ratio-21x9\">
";
// line 30
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 30, $this->source); })()), "img", [], "any", false, false, false, 30)) {
// line 31
yield " <img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("img/offer/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 31, $this->source); })()), "img", [], "any", false, false, false, 31))), "html", null, true);
yield "\" alt=\"Carnaval St Lucie\" class=\"object-fit-cover w-100 h-100\">
";
} else {
// line 33
yield " <img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("img/destination/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 33, $this->source); })()), "destination", [], "any", false, false, false, 33), "slug", [], "any", false, false, false, 33)) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 33, $this->source); })()), "destination", [], "any", false, false, false, 33), "img", [], "any", false, false, false, 33))), "html", null, true);
yield "\" alt=\"Carnaval St Lucie\" class=\"object-fit-cover w-100 h-100\">
";
}
// line 35
yield " </div>
<div class=\"position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center\">
<div class=\"container\">
<div class=\"bg-white text-dark p-4 p-md-5 rounded-4 shadow-sm\" style=\"max-width: 600px;\">
<h1 class=\"display-5 fw-bold txt-ot-green mb-3\">";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 40, $this->source); })()), "title", [], "any", false, false, false, 40), "html", null, true);
yield "</h1>
<p class=\"mb-3\">";
// line 41
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 41, $this->source); })()), "subtitle", [], "any", false, false, false, 41), "html", null, true);
yield "</p>
<div>
";
// line 44
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 44, $this->source); })()), "includedText", [], "any", false, false, false, 44)) {
// line 45
yield " <h6 class=\"fw-bold txt-ot-green mb-2\">Inclus :</h6>
<ul class=\"list-unstyled mb-0\">
";
// line 47
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 47, $this->source); })()), "includedText", [], "any", false, false, false, 47), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 48
yield " ";
if ((0 !== CoreExtension::compare(Twig\Extension\CoreExtension::trim($context["line"]), ""))) {
// line 49
yield " <li class=\"mb-1\">✔️ ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
// line 51
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['line'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
yield " </ul>
";
}
// line 54
yield " </div>
</div>
</div>
</div>
</section>
";
// line 61
yield "<nav class=\"container my-4\" aria-label=\"breadcrumb\">
<ol class=\"breadcrumb small\">
<li class=\"breadcrumb-item\"><a href=\"";
// line 63
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app");
yield "\">Accueil</a></li>
<li class=\"breadcrumb-item\"><a href=\"";
// line 64
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("o.escapade");
yield "\">O'escapade</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">";
// line 65
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 65, $this->source); })()), "destination", [], "any", false, false, false, 65), "name", [], "any", false, false, false, 65), "html", null, true);
yield "</li>
</ol>
</nav>
";
// line 69
if ((isset($context["formules"]) || array_key_exists("formules", $context) ? $context["formules"] : (function () { throw new RuntimeError('Variable "formules" does not exist.', 69, $this->source); })())) {
// line 73
yield "<section class=\"container py-5\">
<h2 class=\"display-6 lh-1 fw-bold txt-ot-green mb-4\">Nos formules O’Escapade</h2>
<div class=\"row row-cols-1 row-cols-md-2 g-4\">
";
// line 78
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["formules"]) || array_key_exists("formules", $context) ? $context["formules"] : (function () { throw new RuntimeError('Variable "formules" does not exist.', 78, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
// line 79
yield " ";
// line 80
yield " <div class=\"col\">
<div class=\"card h-100 border-0 shadow-sm rounded-4 overflow-hidden\">
<div class=\"card-body p-4\">
<span class=\"badge bg-ot-green text-white mb-3\">";
// line 83
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "durationLabel", [], "any", false, false, false, 83), "html", null, true);
yield "</span>
<h3 class=\"h5 fw-bold mb-3\">";
// line 84
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "title", [], "any", false, false, false, 84), "html", null, true);
yield "</h3>
<p class=\"small text-muted mb-2\"><i class=\"bi bi-calendar-week\"></i> Départs :</p>
<ul class=\"small mb-3\">
";
// line 88
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["f"], "departuresText", [], "any", false, false, false, 88), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 89
yield " ";
if ((0 !== CoreExtension::compare(Twig\Extension\CoreExtension::trim($context["line"]), ""))) {
// line 90
yield " <li class=\"mb-1\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
// line 92
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['line'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 93
yield " </ul>
<p class=\"small text-muted mb-2\"><i class=\"bi bi-airplane\"></i> Transports :</p>
<ul class=\"small mb-3\">
";
// line 97
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["f"], "transportText", [], "any", false, false, false, 97), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 98
yield " ";
if ((0 !== CoreExtension::compare(Twig\Extension\CoreExtension::trim($context["line"]), ""))) {
// line 99
yield " <li class=\"mb-1\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
// line 101
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['line'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 102
yield " </ul>
<p class=\"text-muted small mb-4\">";
// line 104
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "description", [], "any", false, false, false, 104), "html", null, true);
yield "</p>
<a href=\"";
// line 105
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("o.devis");
yield "\" class=\"btn btn-outline-ot-green rounded-pill\">Demander un devis</a>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 110
yield "</section>
";
}
// line 112
yield "
";
// line 116
yield "<section class=\"container py-4 py-md-5\">
<div class=\"row g-4\">
<div class=\"col-12 col-lg-6\">
<p class=\"text-muted small mb-1\">";
// line 119
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 119, $this->source); })()), "title", [], "any", false, false, false, 119), "html", null, true);
yield "</p>
<h2 class=\"display-6 lh-1 fw-bold txt-ot-green mb-3\">Hébergement</h2>
<p class=\"text-muted\">
Notre sélection d’hôtels partenaires pour une escapade sans fausse note : confort, localisation idéale et accueil au top.
</p>
</div>
</div>
<div class=\"row g-3 g-md-4 mt-2\">
";
// line 128
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["offerHebergement"]) || array_key_exists("offerHebergement", $context) ? $context["offerHebergement"] : (function () { throw new RuntimeError('Variable "offerHebergement" does not exist.', 128, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["h"]) {
// line 129
yield " <div class=\"col-12 col-sm-6 col-lg-4\">
<article class=\"card hotel-card border-0 shadow-sm h-100 rounded-4 overflow-hidden\">
<a href=\"";
// line 131
yield "\" class=\"stretched-link text-decoration-none\">
<div class=\"ratio ratio-4x3\">
<img src=\"";
// line 133
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((((("img/hotels/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["h"], "hebergement", [], "any", false, false, false, 133), "country", [], "any", false, false, false, 133), "slug", [], "any", false, false, false, 133)) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["h"], "hebergement", [], "any", false, false, false, 133), "slug", [], "any", false, false, false, 133)) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["h"], "hebergement", [], "any", false, false, false, 133), "img", [], "any", false, false, false, 133))), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["h"], "hebergement", [], "any", false, false, false, 133), "name", [], "any", false, false, false, 133), "html", null, true);
yield " — photo de l’hôtel\" class=\"object-fit-cover w-100 h-100\">
</div>
<div class=\"card-body\">
<h3 class=\"h6 mb-1 d-flex justify-content-between align-items-baseline\">
<span class=\"hotel-name\">";
// line 137
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["h"], "hebergement", [], "any", false, false, false, 137), "name", [], "any", false, false, false, 137), "html", null, true);
yield "</span>
<span class=\"hotel-price\">à partir de ";
// line 138
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["h"], "priceFrom", [], "any", false, false, false, 138), "html", null, true);
yield "€</span>
</h3>
<p class=\"small text-muted mb-0\">";
// line 140
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["h"], "blurb", [], "any", false, false, false, 140), "html", null, true);
yield "</p>
</div>
</a>
</article>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['h'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 146
yield " </div>
</section>
";
// line 149
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 149, $this->source); })()), "widget", [], "any", false, false, false, 149)) {
// line 150
yield "<div class=\"container\">
<h2 class=\"h3 txt-ot-green fw-bold mb-3\">Activités</h2>
<div class=\"widget\">
";
// line 153
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 153, $this->source); })()), "widget", [], "any", false, false, false, 153);
yield "
</div>
</div>
";
}
// line 157
yield "
";
// line 175
yield "
";
// line 193
yield "
";
// line 197
yield "<section class=\"py-5 bg-white\">
<div class=\"container\">
<header class=\"mb-3\">
<h2 class=\"h3 txt-ot-green mb-1 fw-bold\">Nos O'offres du moment</h2>
<p class=\"text-muted mb-0\">Découvrez nos dernières expériences en immersion !</p>
</header>
<div class=\"row g-3 g-md-4\">
";
// line 205
$context["offres"] = [["title" => "Carnaval St Lucie", "img" => "carnaval.jpg", "url" => "#"], ["title" => "Croisière Caraïbes", "img" => "caraibes.jpg", "url" => "#"], ["title" => "Spring Break Cancun", "img" => "cancun.jpg", "url" => "#"], ["title" => "Road trip Route 66", "img" => "road-66.jpg", "url" => "#"]];
// line 211
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["offres"]) || array_key_exists("offres", $context) ? $context["offres"] : (function () { throw new RuntimeError('Variable "offres" does not exist.', 211, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 212
yield " <div class=\"col-12 col-sm-6 col-lg-3\">
<article class=\"card card-offer border-0 shadow-sm h-100 overflow-hidden rounded-4\">
<a href=\"";
// line 214
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["o"], "url", [], "any", false, false, false, 214), "html", null, true);
yield "\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"";
// line 216
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("img/offre/" . CoreExtension::getAttribute($this->env, $this->source, $context["o"], "img", [], "any", false, false, false, 216))), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["o"], "title", [], "any", false, false, false, 216), "html", null, true);
yield "\" class=\"object-fit-cover w-100 h-100\">
</div>
<div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
<h3 class=\"h5 fw-bold text-white text-shadow-sm mb-3\">";
// line 219
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["o"], "title", [], "any", false, false, false, 219), "html", null, true);
yield "</h3>
<div>
<span class=\"btn btn-outline-light btn-sm\">Découvrir</span>
</div>
</div>
</a>
</article>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 228
yield " </div>
<div class=\"section-divider mx-auto my-5\"></div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 236
public function block_extra_head($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", "extra_head"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extra_head"));
// line 237
yield " ";
yield from $this->yieldParentBlock("extra_head", $context, $blocks);
yield "
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css\">
<style>
.text-shadow-sm{ text-shadow:0 2px 4px rgba(0,0,0,.35); }
.text-ot-green{ color: var(--ot-primary, #2ea37a); }
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/escapade-destination.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 551 => 237, 541 => 236, 524 => 228, 509 => 219, 501 => 216, 496 => 214, 492 => 212, 487 => 211, 485 => 205, 475 => 197, 472 => 193, 469 => 175, 466 => 157, 459 => 153, 454 => 150, 452 => 149, 447 => 146, 435 => 140, 430 => 138, 426 => 137, 417 => 133, 413 => 131, 409 => 129, 405 => 128, 393 => 119, 388 => 116, 385 => 112, 381 => 110, 370 => 105, 366 => 104, 362 => 102, 356 => 101, 350 => 99, 347 => 98, 342 => 97, 336 => 93, 330 => 92, 324 => 90, 321 => 89, 316 => 88, 309 => 84, 305 => 83, 300 => 80, 298 => 79, 294 => 78, 287 => 73, 285 => 69, 278 => 65, 274 => 64, 270 => 63, 266 => 61, 258 => 54, 254 => 52, 248 => 51, 242 => 49, 239 => 48, 234 => 47, 230 => 45, 228 => 44, 222 => 41, 218 => 40, 211 => 35, 205 => 33, 199 => 31, 197 => 30, 193 => 28, 190 => 24, 180 => 23, 160 => 21, 140 => 20, 128 => 17, 124 => 16, 120 => 15, 115 => 12, 111 => 11, 107 => 10, 102 => 8, 96 => 6, 86 => 5, 64 => 4, 41 => 2,);
}
public function getSourceContext()
{
return new Source("{# templates/escapade/show.html.twig #}
{% extends 'base.html.twig' %}
{% block title %}O'Escapade — {{ offer.title }} | O Tropik – Agence de voyage en Guadeloupe {% endblock %}
{% block seo %}
<meta name=\"description\" content=\"{{offer.description}}\" >
\t<meta property=\"og:title\" content=\"{{offer.metaTitle}}\" />
\t<meta property=\"og:type\" content=\"Website\" />
\t<meta property=\"og:description\" content=\"{{offer.metaDescription}}\" />
\t<meta property=\"og:url\" content=\"{{absolute_url( app.request.uri)}}\" />
\t<meta property=\"og:image\" content=\"{#{asset('img/asset/cardimg-fb.jpg')}#}\" />
\t<meta name =\"twitter:card\" content=\"summary_large_image\" />
\t<meta name=\"twitter:title\" content=\"{{offer.metaTitle}}\">
\t<meta name=\"twitter:description\" content=\"{{offer.metaDescription}}\">
\t<meta name=\"twitter:image\" content=\"{#{asset('img/asset/cardimg-fb.jpg')}#}\">
{% endblock %}
{# Header standard ou overlay si besoin sur le hero #}
{% block header_classes %}header-overlay{% endblock %}
{% block navbar_theme %}navbar-dark{% endblock %}
{% block body %}
{# -----------------------------
HERO Escapade (avec inclus)
------------------------------ #}
<section class=\"position-relative text-white\">
<div class=\"ratio ratio-21x9\">
{% if offer.img %}
<img src=\"{{asset('img/offer/' ~ offer.img)}}\" alt=\"Carnaval St Lucie\" class=\"object-fit-cover w-100 h-100\">
{% else %}
<img src=\"{{asset('img/destination/' ~ offer.destination.slug ~ '/' ~ offer.destination.img)}}\" alt=\"Carnaval St Lucie\" class=\"object-fit-cover w-100 h-100\">
{% endif %}
</div>
<div class=\"position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center\">
<div class=\"container\">
<div class=\"bg-white text-dark p-4 p-md-5 rounded-4 shadow-sm\" style=\"max-width: 600px;\">
<h1 class=\"display-5 fw-bold txt-ot-green mb-3\">{{offer.title}}</h1>
<p class=\"mb-3\">{{offer.subtitle}}</p>
<div>
{% if offer.includedText %}
<h6 class=\"fw-bold txt-ot-green mb-2\">Inclus :</h6>
<ul class=\"list-unstyled mb-0\">
{% for line in offer.includedText|split(\"\\n\") %}
{% if line|trim != '' %}
<li class=\"mb-1\">✔️ {{ line }}</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</div>
</div>
</div>
</div>
</section>
{# Fil d'Ariane #}
<nav class=\"container my-4\" aria-label=\"breadcrumb\">
<ol class=\"breadcrumb small\">
<li class=\"breadcrumb-item\"><a href=\"{{ path('app') }}\">Accueil</a></li>
<li class=\"breadcrumb-item\"><a href=\"{{ path('o.escapade') }}\">O'escapade</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">{{offer.destination.name}}</li>
</ol>
</nav>
{% if formules %}
{# -----------------------------
Formules
------------------------------ #}
<section class=\"container py-5\">
<h2 class=\"display-6 lh-1 fw-bold txt-ot-green mb-4\">Nos formules O’Escapade</h2>
<div class=\"row row-cols-1 row-cols-md-2 g-4\">
{% for f in formules %}
{# Formule 1 #}
<div class=\"col\">
<div class=\"card h-100 border-0 shadow-sm rounded-4 overflow-hidden\">
<div class=\"card-body p-4\">
<span class=\"badge bg-ot-green text-white mb-3\">{{f.durationLabel}}</span>
<h3 class=\"h5 fw-bold mb-3\">{{f.title}}</h3>
<p class=\"small text-muted mb-2\"><i class=\"bi bi-calendar-week\"></i> Départs :</p>
<ul class=\"small mb-3\">
{% for line in f.departuresText|split(\"\\n\") %}
{% if line|trim != '' %}
<li class=\"mb-1\">{{ line }}</li>
{% endif %}
{% endfor %}
</ul>
<p class=\"small text-muted mb-2\"><i class=\"bi bi-airplane\"></i> Transports :</p>
<ul class=\"small mb-3\">
{% for line in f.transportText|split(\"\\n\") %}
{% if line|trim != '' %}
<li class=\"mb-1\">{{ line }}</li>
{% endif %}
{% endfor %}
</ul>
<p class=\"text-muted small mb-4\">{{f.description}}</p>
<a href=\"{{ path('o.devis') }}\" class=\"btn btn-outline-ot-green rounded-pill\">Demander un devis</a>
</div>
</div>
</div>
{% endfor %}
</section>
{% endif %}
{# -----------------------------
SECTION 1 — Hébergement (SÉLECTION D'HÔTELS)
------------------------------ #}
<section class=\"container py-4 py-md-5\">
<div class=\"row g-4\">
<div class=\"col-12 col-lg-6\">
<p class=\"text-muted small mb-1\">{{offer.title}}</p>
<h2 class=\"display-6 lh-1 fw-bold txt-ot-green mb-3\">Hébergement</h2>
<p class=\"text-muted\">
Notre sélection d’hôtels partenaires pour une escapade sans fausse note : confort, localisation idéale et accueil au top.
</p>
</div>
</div>
<div class=\"row g-3 g-md-4 mt-2\">
{% for h in offerHebergement %}
<div class=\"col-12 col-sm-6 col-lg-4\">
<article class=\"card hotel-card border-0 shadow-sm h-100 rounded-4 overflow-hidden\">
<a href=\"{#{ h.url }#}\" class=\"stretched-link text-decoration-none\">
<div class=\"ratio ratio-4x3\">
<img src=\"{{asset('img/hotels/' ~ h.hebergement.country.slug ~ '/' ~ h.hebergement.slug ~ '/' ~ h.hebergement.img)}}\" alt=\"{{ h.hebergement.name }} — photo de l’hôtel\" class=\"object-fit-cover w-100 h-100\">
</div>
<div class=\"card-body\">
<h3 class=\"h6 mb-1 d-flex justify-content-between align-items-baseline\">
<span class=\"hotel-name\">{{ h.hebergement.name }}</span>
<span class=\"hotel-price\">à partir de {{ h.priceFrom }}€</span>
</h3>
<p class=\"small text-muted mb-0\">{{ h.blurb }}</p>
</div>
</a>
</article>
</div>
{% endfor %}
</div>
</section>
{% if offer.widget %}
<div class=\"container\">
<h2 class=\"h3 txt-ot-green fw-bold mb-3\">Activités</h2>
<div class=\"widget\">
{{offer.widget|raw}}
</div>
</div>
{% endif %}
{# -----------------------------
SECTION 2 — Parade (texte gauche, image droite)
------------------------------
<section class=\"container py-4 py-md-5\">
<div class=\"row g-4 align-items-center\">
<div class=\"col-12 col-lg-6 order-1 order-lg-0\">
<p class=\"text-muted small mb-1\">{{ escapade.kicker|default('Carnaval St Lucie') }}</p>
<h2 class=\"display-6 lh-1 fw-bold text-ot-green mb-3\">Parade</h2>
<p class=\"text-muted\">Lorem Ipsum is simply dummy text of the printing and typesetting industry…</p>
</div>
<div class=\"col-12 col-lg-6 order-0 order-lg-1\">
<div class=\"ratio ratio-4x3 rounded-4 overflow-hidden shadow-sm\">
<img src=\"{{ asset(escapade.parade_img|default('img/escapade/parade.jpg')) }}\" alt=\"Parade\" class=\"object-fit-cover w-100 h-100\">
</div>
</div>
</div>
</section>#}
{# -----------------------------
SECTION 3 — Activités (image gauche, texte droite)
------------------------------
<section class=\"container py-4 py-md-5\">
<div class=\"row g-4 align-items-center\">
<div class=\"col-12 col-lg-6\">
<div class=\"ratio ratio-4x3 rounded-4 overflow-hidden shadow-sm\">
<img src=\"{{ asset(escapade.activites_img|default('img/escapade/activity.jpg')) }}\" alt=\"Activités\" class=\"object-fit-cover w-100 h-100\">
</div>
</div>
<div class=\"col-12 col-lg-6\">
<p class=\"text-muted small mb-1\">{{ escapade.kicker|default('Carnaval St Lucie') }}</p>
<h2 class=\"display-6 lh-1 fw-bold text-ot-green mb-3\">Activités</h2>
<p class=\"text-muted\">Lorem Ipsum is simply dummy text of the printing and typesetting industry…</p>
</div>
</div>
</section> #}
{# -----------------------------
OFFRES DU MOMENT — réutilisation grille cartes maquette
------------------------------ #}
<section class=\"py-5 bg-white\">
<div class=\"container\">
<header class=\"mb-3\">
<h2 class=\"h3 txt-ot-green mb-1 fw-bold\">Nos O'offres du moment</h2>
<p class=\"text-muted mb-0\">Découvrez nos dernières expériences en immersion !</p>
</header>
<div class=\"row g-3 g-md-4\">
{% set offres = [
{ title: 'Carnaval St Lucie', img: 'carnaval.jpg', url: '#' },
{ title: 'Croisière Caraïbes', img: 'caraibes.jpg', url: '#' },
{ title: 'Spring Break Cancun', img: 'cancun.jpg', url: '#' },
{ title: 'Road trip Route 66', img: 'road-66.jpg', url: '#' }
] %}
{% for o in offres %}
<div class=\"col-12 col-sm-6 col-lg-3\">
<article class=\"card card-offer border-0 shadow-sm h-100 overflow-hidden rounded-4\">
<a href=\"{{ o.url }}\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"{{ asset('img/offre/' ~ o.img) }}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
</div>
<div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
<h3 class=\"h5 fw-bold text-white text-shadow-sm mb-3\">{{ o.title }}</h3>
<div>
<span class=\"btn btn-outline-light btn-sm\">Découvrir</span>
</div>
</div>
</a>
</article>
</div>
{% endfor %}
</div>
<div class=\"section-divider mx-auto my-5\"></div>
</div>
</section>
{% endblock %}
{% block extra_head %}
{{ parent() }}
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css\">
<style>
.text-shadow-sm{ text-shadow:0 2px 4px rgba(0,0,0,.35); }
.text-ot-green{ color: var(--ot-primary, #2ea37a); }
</style>
{% endblock %}
", "default/escapade-destination.html.twig", "/home/ladomitiyc/otropik/templates/default/escapade-destination.html.twig");
}
}