<?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_16fd5c3d2dfbb1870001d7672b1b1ba4 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_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/escapade-destination.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 5
public function block_seo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 20
public function block_header_classes($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_classes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_classes"));
yield "header-overlay";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 21
public function block_navbar_theme($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar_theme"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar_theme"));
yield "navbar-dark";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 23
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 24
yield "
";
// line 28
yield "<section class=\"hero hero--offer-fallback is-animated position-relative text-white\">
<div class=\"hero__media 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=\"";
// line 32
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.', 32, $this->source); })()), "title", [], "any", false, false, false, 32), "html", null, true);
yield "\"
class=\"hero__img object-fit-cover w-100 h-100\">
";
} else {
// line 35
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.', 35, $this->source); })()), "destination", [], "any", false, false, false, 35), "slug", [], "any", false, false, false, 35)) . "/") . 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.', 35, $this->source); })()), "destination", [], "any", false, false, false, 35), "img", [], "any", false, false, false, 35))), "html", null, true);
yield "\"
alt=\"";
// line 36
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.', 36, $this->source); })()), "title", [], "any", false, false, false, 36), "html", null, true);
yield "\"
class=\"hero__img object-fit-cover w-100 h-100\">
";
}
// line 39
yield " </div>
<div class=\"hero__overlay hero__overlay--left\">
<div class=\"container\">
<div class=\"hero__card\" style=\"max-width: 600px;\">
<h1 class=\"hero__title display-5 fw-bold txt-ot-green mb-3\">";
// line 44
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.', 44, $this->source); })()), "title", [], "any", false, false, false, 44), "html", null, true);
yield "</h1>
<p class=\"hero__subtitle mb-3\">";
// line 45
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.', 45, $this->source); })()), "subtitle", [], "any", false, false, false, 45), "html", null, true);
yield "</p>
";
// line 47
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.', 47, $this->source); })()), "includedText", [], "any", false, false, false, 47)) {
// line 48
yield " <h6 class=\"fw-bold txt-ot-green mb-2\">Inclus :</h6>
<ul class=\"list-unstyled mb-0\">
";
// line 50
$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.', 50, $this->source); })()), "includedText", [], "any", false, false, false, 50), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 51
yield " ";
if ((Twig\Extension\CoreExtension::trim($context["line"]) != "")) {
// line 52
yield " <li class=\"mb-1\">✔️ ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
// line 54
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 55
yield " </ul>
";
}
// line 57
yield " </div>
</div>
</div>
</section>
";
// line 63
yield "<nav class=\"container my-4\" aria-label=\"breadcrumb\">
<ol class=\"breadcrumb small\">
<li class=\"breadcrumb-item\"><a href=\"";
// line 65
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app");
yield "\">Accueil</a></li>
<li class=\"breadcrumb-item\"><a href=\"";
// line 66
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 67
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.', 67, $this->source); })()), "destination", [], "any", false, false, false, 67), "name", [], "any", false, false, false, 67), "html", null, true);
yield "</li>
</ol>
</nav>
";
// line 71
if ((isset($context["formules"]) || array_key_exists("formules", $context) ? $context["formules"] : (function () { throw new RuntimeError('Variable "formules" does not exist.', 71, $this->source); })())) {
// line 75
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 80
$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.', 80, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
// line 81
yield " ";
// line 82
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 85
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "durationLabel", [], "any", false, false, false, 85), "html", null, true);
yield "</span>
<h3 class=\"h5 fw-bold mb-3\">";
// line 86
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "title", [], "any", false, false, false, 86), "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 90
$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, 90), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 91
yield " ";
if ((Twig\Extension\CoreExtension::trim($context["line"]) != "")) {
// line 92
yield " <li class=\"mb-1\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
// line 94
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 95
yield " </ul>
<p class=\"small text-muted mb-2\"><i class=\"bi bi-airplane\"></i> Transports :</p>
<ul class=\"small mb-3\">
";
// line 99
$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, 99), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 100
yield " ";
if ((Twig\Extension\CoreExtension::trim($context["line"]) != "")) {
// line 101
yield " <li class=\"mb-1\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
// line 103
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 104
yield " </ul>
<p class=\"text-muted small mb-4\">";
// line 106
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "description", [], "any", false, false, false, 106), "html", null, true);
yield "</p>
<a href=\"";
// line 107
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 112
yield "</section>
";
}
// line 114
yield "
";
// line 118
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 121
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.', 121, $this->source); })()), "title", [], "any", false, false, false, 121), "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 130
$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.', 130, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["h"]) {
// line 131
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 133
yield "\" class=\"stretched-link text-decoration-none\">
<div class=\"ratio ratio-4x3\">
<img src=\"";
// line 135
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, 135), "country", [], "any", false, false, false, 135), "slug", [], "any", false, false, false, 135)) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["h"], "hebergement", [], "any", false, false, false, 135), "slug", [], "any", false, false, false, 135)) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["h"], "hebergement", [], "any", false, false, false, 135), "img", [], "any", false, false, false, 135))), "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, 135), "name", [], "any", false, false, false, 135), "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 139
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, 139), "name", [], "any", false, false, false, 139), "html", null, true);
yield "</span>
<span class=\"hotel-price\">à partir de ";
// line 140
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["h"], "priceFrom", [], "any", false, false, false, 140), "html", null, true);
yield "€</span>
</h3>
<p class=\"small text-muted mb-0\">";
// line 142
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["h"], "blurb", [], "any", false, false, false, 142), "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 148
yield " </div>
</section>
";
// line 151
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.', 151, $this->source); })()), "widget", [], "any", false, false, false, 151)) {
// line 152
yield "<div class=\"container\">
<h2 class=\"h3 txt-ot-green fw-bold mb-3\">Activités</h2>
<div class=\"widget\">
";
// line 155
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.', 155, $this->source); })()), "widget", [], "any", false, false, false, 155);
yield "
</div>
</div>
";
}
// line 159
yield "
";
// line 177
yield "
";
// line 195
yield "
";
// line 199
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 207
$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 213
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.', 213, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 214
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 216
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["o"], "url", [], "any", false, false, false, 216), "html", null, true);
yield "\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"";
// line 218
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, 218))), "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, 218), "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 221
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["o"], "title", [], "any", false, false, false, 221), "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 230
yield " </div>
<div class=\"section-divider mx-auto my-5\"></div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 238
public function block_extra_head($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extra_head"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extra_head"));
// line 239
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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_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 ( 559 => 239, 549 => 238, 532 => 230, 517 => 221, 509 => 218, 504 => 216, 500 => 214, 495 => 213, 493 => 207, 483 => 199, 480 => 195, 477 => 177, 474 => 159, 467 => 155, 462 => 152, 460 => 151, 455 => 148, 443 => 142, 438 => 140, 434 => 139, 425 => 135, 421 => 133, 417 => 131, 413 => 130, 401 => 121, 396 => 118, 393 => 114, 389 => 112, 378 => 107, 374 => 106, 370 => 104, 364 => 103, 358 => 101, 355 => 100, 350 => 99, 344 => 95, 338 => 94, 332 => 92, 329 => 91, 324 => 90, 317 => 86, 313 => 85, 308 => 82, 306 => 81, 302 => 80, 295 => 75, 293 => 71, 286 => 67, 282 => 66, 278 => 65, 274 => 63, 267 => 57, 263 => 55, 257 => 54, 251 => 52, 248 => 51, 243 => 50, 239 => 48, 237 => 47, 232 => 45, 228 => 44, 221 => 39, 215 => 36, 210 => 35, 204 => 32, 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=\"hero hero--offer-fallback is-animated position-relative text-white\">
<div class=\"hero__media ratio ratio-21x9\">
{% if offer.img %}
<img src=\"{{ asset('img/offer/' ~ offer.img) }}\"
alt=\"{{ offer.title }}\"
class=\"hero__img object-fit-cover w-100 h-100\">
{% else %}
<img src=\"{{ asset('img/destination/' ~ offer.destination.slug ~ '/' ~ offer.destination.img) }}\"
alt=\"{{ offer.title }}\"
class=\"hero__img object-fit-cover w-100 h-100\">
{% endif %}
</div>
<div class=\"hero__overlay hero__overlay--left\">
<div class=\"container\">
<div class=\"hero__card\" style=\"max-width: 600px;\">
<h1 class=\"hero__title display-5 fw-bold txt-ot-green mb-3\">{{ offer.title }}</h1>
<p class=\"hero__subtitle mb-3\">{{ offer.subtitle }}</p>
{% 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>
</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");
}
}