<?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_e6dc9900254792dfe992e8ebe6622f061b303f49b0ba5ef088f987c805eab975 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/continent.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/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_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'Continent — ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 7
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 8
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 10
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 11
yield "
";
// line 15
yield "<section class=\"position-relative text-white\">
<div class=\"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=\"Carnaval St Lucie\" class=\"object-fit-cover w-100 h-100\">
</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\" style=\"margin:0 !important\">";
// line 23
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.', 23, $this->source); })()), "name", [], "any", false, false, false, 23), "html", null, true);
yield "</h1>
<p class=\"mb-3\">";
// line 24
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.', 24, $this->source); })()), "subtitle", [], "any", false, false, false, 24), "html", null, true);
yield "</p>
</div>
</div>
</div>
</section>
";
// line 31
yield "<nav class=\"container my-4\" aria-label=\"breadcrumb\">
<ol class=\"breadcrumb small\">
<li class=\"breadcrumb-item\"><a href=\"";
// line 33
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 35
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.', 35, $this->source); })()), "name", [], "any", false, false, false, 35), "html", null, true);
yield "</li>
</ol>
</nav>
";
// line 43
yield "<section class=\"py-5 bg-white\">
<div class=\"container\">
<div class=\"text-center mb-5\">
";
// line 46
if ((0 === CoreExtension::compare(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.', 46, $this->source); })()), "id", [], "any", false, false, false, 46), 1))) {
// line 47
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.', 47, $this->source); })()), "name", [], "any", false, false, false, 47), "html", null, true);
yield " autrement</h2>
<p class=\"text-muted mb-0\">Entre paysages spectaculaires, cultures fascinantes et expériences authentiques, l'";
// line 48
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.', 48, $this->source); })()), "name", [], "any", false, false, false, 48), "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 ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, // line 50
(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), 2))) {
// line 51
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.', 51, $this->source); })()), "name", [], "any", false, false, false, 51), "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 ((0 === CoreExtension::compare(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), 3))) {
// line 55
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.', 55, $this->source); })()), "name", [], "any", false, false, false, 55), "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 57
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.', 57, $this->source); })()), "name", [], "any", false, false, false, 57), "html", null, true);
yield ".</p>
";
} elseif ((0 === CoreExtension::compare(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), 4))) {
// 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 " 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 ((0 === CoreExtension::compare(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), 5))) {
// line 63
yield " <div class=\"text-center mb-5 green\">
<h2 class=\"h3 text-ot-green mb-1 fw-bold\">Cap sur la ";
// line 64
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.', 64, $this->source); })()), "name", [], "any", false, false, false, 64), "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 69
yield " </div>
<div class=\"row g-3 g-md-4\">
";
// line 71
$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.', 71, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 72
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 74
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["o"], "type", [], "any", false, false, false, 74), "id", [], "any", false, false, false, 74), 1))) {
// line 75
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, 75)]), "html", null, true);
yield "\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"";
// line 77
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["o"], "title", [], "any", false, false, false, 77), "html", null, true);
yield "\" class=\"object-fit-cover w-100 h-100\">
</div>
";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 79
$context["o"], "type", [], "any", false, false, false, 79), "id", [], "any", false, false, false, 79), 2))) {
// line 80
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, 80)]), "html", null, true);
yield "\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"";
// line 82
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, 82)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["o"], "img", [], "any", false, false, false, 82))), "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, 82), "html", null, true);
yield "\" class=\"object-fit-cover w-100 h-100\">
</div>
";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 84
$context["o"], "type", [], "any", false, false, false, 84), "id", [], "any", false, false, false, 84), 3))) {
// line 85
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, 85)]), "html", null, true);
yield "\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"";
// line 87
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, 87)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["o"], "img", [], "any", false, false, false, 87))), "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, 87), "html", null, true);
yield "\" class=\"object-fit-cover w-100 h-100\">
</div>
";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 89
$context["o"], "type", [], "any", false, false, false, 89), "id", [], "any", false, false, false, 89), 4))) {
// line 90
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, 90)]), "html", null, true);
yield "\" class=\"stretched-link text-decoration-none text-white\">
<div class=\"ratio ratio-4x5\">
<img src=\"";
// line 92
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, 92)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["o"], "img", [], "any", false, false, false, 92))), "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, 92), "html", null, true);
yield "\" class=\"object-fit-cover w-100 h-100\"> </div>
";
}
// line 94
yield " <div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
<p>";
// line 95
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, 95), "name", [], "any", false, false, false, 95), "html", null, true);
yield "</p>
<h3 class=\"h5 fw-bold text-white text-shadow-sm mb-3\">";
// line 96
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 "</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 105
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 113
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 114
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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/continent.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 359 => 114, 349 => 113, 332 => 105, 317 => 96, 313 => 95, 310 => 94, 303 => 92, 297 => 90, 295 => 89, 288 => 87, 282 => 85, 280 => 84, 273 => 82, 267 => 80, 265 => 79, 259 => 77, 253 => 75, 251 => 74, 247 => 72, 243 => 71, 239 => 69, 231 => 64, 228 => 63, 226 => 62, 219 => 59, 217 => 58, 213 => 57, 207 => 55, 205 => 54, 198 => 51, 196 => 50, 191 => 48, 186 => 47, 184 => 46, 179 => 43, 171 => 35, 166 => 33, 162 => 31, 153 => 24, 149 => 23, 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=\"position-relative text-white\">
<div class=\"ratio ratio-21x9\">
<img src=\"{{ asset('img/continent/' ~ continent.img) }}\" alt=\"Carnaval St Lucie\" class=\"object-fit-cover w-100 h-100\">
</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\" style=\"margin:0 !important\">{{continent.name}}</h1>
<p class=\"mb-3\">{{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");
}
}