<?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/continent.html.twig */
class __TwigTemplate_d6ccaf99fd1114c836c8ae623e893167 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'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/continent.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/continent.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "default/continent.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'Continent — ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 7
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 8
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 10
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 11
yield "
";
// line 15
yield "<section class=\"hero hero--continent is-animated position-relative text-white\">
<div class=\"hero__media ratio ratio-21x9\">
<img src=\"";
// line 17
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("img/continent/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 17, $this->source); })()), "img", [], "any", false, false, false, 17))), "html", null, true);
yield "\"
alt=\"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 18, $this->source); })()), "name", [], "any", false, false, false, 18), "html", null, true);
yield "\"
class=\"hero__img object-fit-cover w-100 h-100\">
</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-2\" style=\"margin:0 !important\">
";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 26, $this->source); })()), "name", [], "any", false, false, false, 26), "html", null, true);
yield "
</h1>
<p class=\"hero__subtitle mb-0\">";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 28, $this->source); })()), "subtitle", [], "any", false, false, false, 28), "html", null, true);
yield "</p>
</div>
</div>
</div>
</section>
";
// line 35
yield "<nav class=\"container my-4\" aria-label=\"breadcrumb\">
<ol class=\"breadcrumb small\">
<li class=\"breadcrumb-item\"><a href=\"";
// line 37
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app");
yield "\">Accueil</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">Continent</li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">";
// line 39
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 39, $this->source); })()), "name", [], "any", false, false, false, 39), "html", null, true);
yield "</li>
</ol>
</nav>
";
// line 47
yield "<section class=\"py-5 bg-white\">
<div class=\"container\">
<div class=\"text-center mb-5\">
";
// line 50
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 50, $this->source); })()), "id", [], "any", false, false, false, 50) == 1)) {
// line 51
yield " <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Explorez l'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 51, $this->source); })()), "name", [], "any", false, false, false, 51), "html", null, true);
yield " autrement</h2>
<p class=\"text-muted mb-0\">Entre paysages spectaculaires, cultures fascinantes et expériences authentiques, l'";
// line 52
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 52, $this->source); })()), "name", [], "any", false, false, false, 52), "html", null, true);
yield " vous invite à vivre un voyage unique.</p>
<p class=\"text-muted mb-0\">Découvrez nos offres soigneusement sélectionnées et laissez-vous guider vers votre prochaine grande aventure.</p>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 54
(isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 54, $this->source); })()), "id", [], "any", false, false, false, 54) == 2)) {
// line 55
yield " <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Partez à la conquête des ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 55, $this->source); })()), "name", [], "any", false, false, false, 55), "html", null, true);
yield " !</h2>
<p class=\"text-muted mb-0\">De villes vibrantes en paysages sauvages, ce continent regorge d’expériences inoubliables à vivre.</p>
<p class=\"text-muted mb-0\">Parcourez nos circuits, escapades, roadtrips et croisières et trouvez le voyage qui fera battre votre cœur d’aventurier.</p>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 58
(isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 58, $this->source); })()), "id", [], "any", false, false, false, 58) == 3)) {
// line 59
yield " <h2 class=\"h3 text-ot-green mb-1 fw-bold\">L'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 59, $this->source); })()), "name", [], "any", false, false, false, 59), "html", null, true);
yield ", une invitation à l’évasion.</h2>
<p class=\"text-muted mb-0\">De ses sites emblématiques à ses trésors cachés, chaque voyage sur ce continent est une promesse d’émotions et de découvertes.</p>
<p class=\"text-muted mb-0\">Laissez-vous séduire par nos offres d’exception et vivez le charme incomparable de l'";
// line 61
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 61, $this->source); })()), "name", [], "any", false, false, false, 61), "html", null, true);
yield ".</p>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 62
(isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 62, $this->source); })()), "id", [], "any", false, false, false, 62) == 4)) {
// line 63
yield " <h2 class=\"h3 text-ot-green mb-1 fw-bold\">L'";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 63, $this->source); })()), "name", [], "any", false, false, false, 63), "html", null, true);
yield " n’attend plus que vous !</h2>
<p class=\"text-muted mb-0\">Que vous rêviez de grandes routes, de plages dorées ou de capitales bouillonnantes, nos offres vous emmènent au cœur de l’action.</p>
<p class=\"text-muted mb-0\">Faites vos valises et laissez-vous tenter par une nouvelle aventure signée O’Tropik</p>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 66
(isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 66, $this->source); })()), "id", [], "any", false, false, false, 66) == 5)) {
// line 67
yield " <div class=\"text-center mb-5 green\">
<h2 class=\"h3 text-ot-green mb-1 fw-bold\">Cap sur la ";
// line 68
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["continent"]) || array_key_exists("continent", $context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.', 68, $this->source); })()), "name", [], "any", false, false, false, 68), "html", null, true);
yield "</h2>
<p class=\"text-muted mb-0\">Entre plages de sable blanc, eaux turquoise et ambiance créole, chaque île vous invite à la détente et à la découverte.</p>
<p class=\"text-muted mb-0\">Explorez nos offres et laissez-vous porter par la chaleur et la beauté des Antilles..</p>
</div>
";
}
// line 73
yield " </div>
<div class=\"row g-3 g-md-4\">
";
// line 75
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["offers"]) || array_key_exists("offers", $context) ? $context["offers"] : (function () { throw new RuntimeError('Variable "offers" does not exist.', 75, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 76
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\">
";
// line 78
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["o"], "type", [], "any", false, false, false, 78), "id", [], "any", false, false, false, 78) == 1)) {
// line 79
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("o.escapade.destination", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["o"], "slug", [], "any", false, false, false, 79)]), "html", null, true);
yield "\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"";
// line 81
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["o"], "title", [], "any", false, false, false, 81), "html", null, true);
yield "\" class=\"object-fit-cover w-100 h-100\">
</div>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 83
$context["o"], "type", [], "any", false, false, false, 83), "id", [], "any", false, false, false, 83) == 2)) {
// line 84
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("o.circuit.destination", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["o"], "slug", [], "any", false, false, false, 84)]), "html", null, true);
yield "\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"";
// line 86
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("img/offer/circuit/" . CoreExtension::getAttribute($this->env, $this->source, $context["o"], "slug", [], "any", false, false, false, 86)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["o"], "img", [], "any", false, false, false, 86))), "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, 86), "html", null, true);
yield "\" class=\"object-fit-cover w-100 h-100\">
</div>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 88
$context["o"], "type", [], "any", false, false, false, 88), "id", [], "any", false, false, false, 88) == 3)) {
// line 89
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("o.roadtrip.destination", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["o"], "slug", [], "any", false, false, false, 89)]), "html", null, true);
yield "\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"";
// line 91
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("img/offer/road/" . CoreExtension::getAttribute($this->env, $this->source, $context["o"], "slug", [], "any", false, false, false, 91)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["o"], "img", [], "any", false, false, false, 91))), "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, 91), "html", null, true);
yield "\" class=\"object-fit-cover w-100 h-100\">
</div>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 93
$context["o"], "type", [], "any", false, false, false, 93), "id", [], "any", false, false, false, 93) == 4)) {
// line 94
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("o.croisiere.destination", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["o"], "slug", [], "any", false, false, false, 94)]), "html", null, true);
yield "\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"";
// line 96
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("img/offer/croisiere/" . CoreExtension::getAttribute($this->env, $this->source, $context["o"], "slug", [], "any", false, false, false, 96)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["o"], "img", [], "any", false, false, false, 96))), "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, 96), "html", null, true);
yield "\" class=\"object-fit-cover w-100 h-100\"> </div>
";
}
// line 98
yield " <div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
<p>";
// line 99
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["o"], "type", [], "any", false, false, false, 99), "name", [], "any", false, false, false, 99), "html", null, true);
yield "</p>
<h3 class=\"h5 fw-bold text-white text-shadow-sm mb-3\">";
// line 100
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["o"], "title", [], "any", false, false, false, 100), "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 109
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 117
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 118
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); }
.bg-ot-green{ background: 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/continent.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 366 => 118, 356 => 117, 339 => 109, 324 => 100, 320 => 99, 317 => 98, 310 => 96, 304 => 94, 302 => 93, 295 => 91, 289 => 89, 287 => 88, 280 => 86, 274 => 84, 272 => 83, 266 => 81, 260 => 79, 258 => 78, 254 => 76, 250 => 75, 246 => 73, 238 => 68, 235 => 67, 233 => 66, 226 => 63, 224 => 62, 220 => 61, 214 => 59, 212 => 58, 205 => 55, 203 => 54, 198 => 52, 193 => 51, 191 => 50, 186 => 47, 178 => 39, 173 => 37, 169 => 35, 160 => 28, 155 => 26, 144 => 18, 140 => 17, 136 => 15, 133 => 11, 123 => 10, 103 => 8, 83 => 7, 63 => 4, 40 => 2,);
}
public function getSourceContext()
{
return new Source("{# templates/escapade/show.html.twig #}
{% extends 'base.html.twig' %}
{% block title %}O'Continent — {% 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--continent is-animated position-relative text-white\">
<div class=\"hero__media ratio ratio-21x9\">
<img src=\"{{ asset('img/continent/' ~ continent.img) }}\"
alt=\"{{ continent.name }}\"
class=\"hero__img object-fit-cover w-100 h-100\">
</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-2\" style=\"margin:0 !important\">
{{ continent.name }}
</h1>
<p class=\"hero__subtitle mb-0\">{{ continent.subtitle }}</p>
</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 active\" aria-current=\"page\">Continent</li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">{{ continent.name }}</li>
</ol>
</nav>
{# -----------------------------
OFFRES DU MOMENT — réutilisation grille cartes maquette
------------------------------ #}
<section class=\"py-5 bg-white\">
<div class=\"container\">
<div class=\"text-center mb-5\">
{% if continent.id == 1 %}
<h2 class=\"h3 text-ot-green mb-1 fw-bold\">Explorez l'{{ continent.name }} autrement</h2>
<p class=\"text-muted mb-0\">Entre paysages spectaculaires, cultures fascinantes et expériences authentiques, l'{{ continent.name }} vous invite à vivre un voyage unique.</p>
<p class=\"text-muted mb-0\">Découvrez nos offres soigneusement sélectionnées et laissez-vous guider vers votre prochaine grande aventure.</p>
{% elseif continent.id == 2 %}
<h2 class=\"h3 text-ot-green mb-1 fw-bold\">Partez à la conquête des {{ continent.name }} !</h2>
<p class=\"text-muted mb-0\">De villes vibrantes en paysages sauvages, ce continent regorge d’expériences inoubliables à vivre.</p>
<p class=\"text-muted mb-0\">Parcourez nos circuits, escapades, roadtrips et croisières et trouvez le voyage qui fera battre votre cœur d’aventurier.</p>
{% elseif continent.id == 3 %}
<h2 class=\"h3 text-ot-green mb-1 fw-bold\">L'{{ continent.name }}, une invitation à l’évasion.</h2>
<p class=\"text-muted mb-0\">De ses sites emblématiques à ses trésors cachés, chaque voyage sur ce continent est une promesse d’émotions et de découvertes.</p>
<p class=\"text-muted mb-0\">Laissez-vous séduire par nos offres d’exception et vivez le charme incomparable de l'{{ continent.name }}.</p>
{% elseif continent.id == 4 %}
<h2 class=\"h3 text-ot-green mb-1 fw-bold\">L'{{ continent.name }} n’attend plus que vous !</h2>
<p class=\"text-muted mb-0\">Que vous rêviez de grandes routes, de plages dorées ou de capitales bouillonnantes, nos offres vous emmènent au cœur de l’action.</p>
<p class=\"text-muted mb-0\">Faites vos valises et laissez-vous tenter par une nouvelle aventure signée O’Tropik</p>
{% elseif continent.id == 5 %}
<div class=\"text-center mb-5 green\">
<h2 class=\"h3 text-ot-green mb-1 fw-bold\">Cap sur la {{ continent.name }}</h2>
<p class=\"text-muted mb-0\">Entre plages de sable blanc, eaux turquoise et ambiance créole, chaque île vous invite à la détente et à la découverte.</p>
<p class=\"text-muted mb-0\">Explorez nos offres et laissez-vous porter par la chaleur et la beauté des Antilles..</p>
</div>
{% endif %}
</div>
<div class=\"row g-3 g-md-4\">
{% for o in offers %}
<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\">
{% if o.type.id == 1 %}
<a href=\"{{ path('o.escapade.destination',{slug:o.slug}) }}\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"{#{asset('img/destination/' ~ o.destination.slug ~ '/' ~ o.destination.img)}#}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
</div>
{% elseif o.type.id == 2 %}
<a href=\"{{ path('o.circuit.destination',{slug:o.slug}) }}\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"{{asset('img/offer/circuit/' ~ o.slug ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
</div>
{% elseif o.type.id == 3 %}
<a href=\"{{ path('o.roadtrip.destination',{slug:o.slug}) }}\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"{{asset('img/offer/road/' ~ o.slug ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
</div>
{% elseif o.type.id == 4 %}
<a href=\"{{ path('o.croisiere.destination',{slug:o.slug})}}\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"{{asset('img/offer/croisiere/' ~ o.slug ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\"> </div>
{% endif %}
<div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
<p>{{o.type.name}}</p>
<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); }
.bg-ot-green{ background: var(--ot-primary, #2ea37a); }
</style>
{% endblock %}
", "default/continent.html.twig", "/home/ladomitiyc/otropik/templates/default/continent.html.twig");
}
}