<?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/circuit-destination.html.twig */
class __TwigTemplate_b6bf9a20b7365d2d9cc02eec8c9d449672747abd8f801560c3a9f2af3abda18e 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'],
];
}
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/circuit-destination.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/circuit-destination.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "default/circuit-destination.html.twig", 2);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "O'Circuit - ";
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);
$__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/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.', 17, $this->source); })()), "file", [], "any", false, false, false, 17)) . "/") . 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.', 17, $this->source); })()), "slug", [], "any", false, false, false, 17)) . "/") . 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.', 17, $this->source); })()), "img", [], "any", false, false, false, 17))), "html", null, true);
yield "\" alt=\"";
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.', 17, $this->source); })()), "title", [], "any", false, false, false, 17), "html", null, true);
yield "\" 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: 760px;\">
<h1 class=\"display-5 fw-bold txt-ot-yellow mb-1\">";
// line 22
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.', 22, $this->source); })()), "title", [], "any", false, false, false, 22), "html", null, true);
yield "</h1>
<p class=\"mb-3\">";
// line 23
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.', 23, $this->source); })()), "subtitle", [], "any", false, false, false, 23), "html", null, true);
yield "</p>
<div class=\"d-flex flex-wrap align-items-center gap-2 mb-3\">
<span class=\"badge bg-ot-green\">";
// line 25
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.', 25, $this->source); })()), "durationText", [], "any", false, false, false, 25), "html", null, true);
yield "</span>
<span class=\"badge text-bg-light\">";
// line 26
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.', 26, $this->source); })()), "dateText", [], "any", false, false, false, 26), "html", null, true);
yield "</span>
<span class=\"badge text-bg-light\">À partir de ";
// line 27
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.', 27, $this->source); })()), "priceFrom", [], "any", false, false, false, 27), "html", null, true);
yield "€</span>
</div>
<div class=\"mb-3\">
<h6 class=\"fw-bold txt-ot-yellow mb-2\">Inclus :</h6>
<ul class=\"list-unstyled mb-0\">
";
// line 32
$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.', 32, $this->source); })()), "includedText", [], "any", false, false, false, 32), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 33
yield " <li class=\"mb-1\">✔️ ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['line'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 35
yield " </ul>
</div>
<div class=\"d-flex gap-2 flex-wrap\">
<a href=\"";
// line 38
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("o.devis");
yield "\" class=\"btn btn-primary rounded-pill\">Demander un devis</a>
";
// line 39
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.', 39, $this->source); })()), "brochure", [], "any", false, false, false, 39)) {
// line 40
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(CoreExtension::getAttribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 40, $this->source); })()), "brochure", [], "any", false, false, false, 40)), "html", null, true);
yield "\" target=\"_blank\" class=\"btn btn-outline-ot-green rounded-pill\">Télécharger la brochure</a>
";
}
// line 42
yield " </div>
</div>
</div>
</div>
</section>
";
// line 50
yield "<section class=\"py-5 bg-body-tertiary\">
<div class=\"container\">
<div class=\"row g-3 g-md-4 row-cols-1 row-cols-md-2 row-cols-lg-4\">
<div class=\"col\">
<div class=\"card h-100 border-0 shadow-sm rounded-4\"><div class=\"card-body\">
<h3 class=\"h6 txt-ot-yellow fw-bold mb-1\">Durée & dates</h3>
<p class=\"mb-0 text-muted\">";
// line 56
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.', 56, $this->source); })()), "summaryDuration", [], "any", false, false, false, 56), "html", null, true);
yield "</p>
<p class=\"mb-0 text-muted\">";
// line 57
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.', 57, $this->source); })()), "dateText", [], "any", false, false, false, 57), "html", null, true);
yield "</p>
</div></div>
</div>
<div class=\"col\">
<div class=\"card h-100 border-0 shadow-sm rounded-4\"><div class=\"card-body\">
<h3 class=\"h6 txt-ot-yellow fw-bold mb-1\">Vols</h3>
<ul class=\"list-unstyled mb-0\">
";
// line 64
$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.', 64, $this->source); })()), "summaryFlights", [], "any", false, false, false, 64), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 65
yield " ";
if ((0 !== CoreExtension::compare(Twig\Extension\CoreExtension::trim($context["line"]), ""))) {
// line 66
yield " <li class=\"mb-1\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
// line 68
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 69
yield " </ul>
</div></div>
</div>
<div class=\"col\">
<div class=\"card h-100 border-0 shadow-sm rounded-4\"><div class=\"card-body\">
<h3 class=\"h6 txt-ot-yellow fw-bold mb-1\">Rythme & repas</h3>
<ul class=\"list-unstyled mb-0\">
";
// line 76
$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.', 76, $this->source); })()), "summaryPaceMeals", [], "any", false, false, false, 76), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 77
yield " ";
if ((0 !== CoreExtension::compare(Twig\Extension\CoreExtension::trim($context["line"]), ""))) {
// line 78
yield " <li>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
// line 80
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 81
yield " </ul>
</div></div>
</div>
<div class=\"col\">
<div class=\"card h-100 border-0 shadow-sm rounded-4\"><div class=\"card-body\">
<h3 class=\"h6 txt-ot-yellow fw-bold mb-1\">Tarif dès</h3>
<p class=\"small text-muted mb-0\">";
// line 87
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.', 87, $this->source); })()), "priceFrom", [], "any", false, false, false, 87), "html", null, true);
yield "€</p>
</div></div>
</div>
</div>
</div>
</section>
";
// line 97
yield "<section class=\"py-5 bg-white\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-6 p-5\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Les incontournables de votre voyage</h2>
<p class=\"text-muted\">
Chaque étape de ce circuit a été pensée pour vous offrir une immersion
authentique et des souvenirs inoubliables. Entre paysages iconiques,
découvertes culturelles et activités exclusives, voici ce qui rend ce voyage unique.
</p>
</div>
<div class=\"col-md-6\">
<div class=\"row g-3\">
<div class=\"d-flex flex-column gap-3\">
";
// line 111
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["highlight"]) || array_key_exists("highlight", $context) ? $context["highlight"] : (function () { throw new RuntimeError('Variable "highlight" does not exist.', 111, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["h"]) {
// line 112
yield " <div class=\"card border-0 shadow-sm rounded-4\">
<div class=\"card-body\">
<h3 class=\"h6 fw-semibold mb-1\">";
// line 114
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["h"], "title", [], "any", false, false, false, 114), "html", null, true);
yield "</h3>
";
// line 115
if (CoreExtension::getAttribute($this->env, $this->source, $context["h"], "details", [], "any", false, false, false, 115)) {
// line 116
yield " <p class=\"small text-muted mb-0\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["h"], "details", [], "any", false, false, false, 116), "html", null, true);
yield "</p>
";
}
// line 118
yield " </div>
</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 121
yield "</div>
</div>
</div>
</div>
</section>
";
// line 132
yield "<section class=\"py-5 bg-white\" id=\"itineraire\">
<div class=\"container\">
<div class=\"row align-items-center g-4\"> ";
// line 135
yield "
";
// line 137
yield " <div class=\"col-12 col-lg-6 d-flex\">
<div class=\"w-100 d-flex align-items-center\">
<div id=\"circuitCarousel\"
class=\"carousel slide rounded-4 overflow-hidden shadow-sm w-100\"
data-bs-ride=\"carousel\"
data-bs-interval=\"5000\"
data-bs-pause=\"hover\"
data-bs-touch=\"true\"
aria-label=\"Galerie circuit\">
<div class=\"carousel-inner\">
";
// line 148
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["photoItinerary"]) || array_key_exists("photoItinerary", $context) ? $context["photoItinerary"] : (function () { throw new RuntimeError('Variable "photoItinerary" does not exist.', 148, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["p"]) {
// line 149
yield " <div class=\"carousel-item ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 149)) {
yield "active";
}
yield "\">
<div class=\"ratio ratio-4x3\">
<img src=\"";
// line 151
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((((("img/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["p"], "offer", [], "any", false, false, false, 151), "file", [], "any", false, false, false, 151)) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["p"], "offer", [], "any", false, false, false, 151), "slug", [], "any", false, false, false, 151)) . "/itinerary/") . CoreExtension::getAttribute($this->env, $this->source, $context["p"], "img", [], "any", false, false, false, 151))), "html", null, true);
yield "\" class=\"d-block w-100 h-100 object-fit-cover\" alt=\"Photo circuit ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 151), "html", null, true);
yield "\">
</div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['p'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 155
yield " </div>
<button class=\"carousel-control-prev\" type=\"button\" data-bs-target=\"#circuitCarousel\" data-bs-slide=\"prev\">
<span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>
<span class=\"visually-hidden\">Précédent</span>
</button>
<button class=\"carousel-control-next\" type=\"button\" data-bs-target=\"#circuitCarousel\" data-bs-slide=\"next\">
<span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>
<span class=\"visually-hidden\">Suivant</span>
</button>
<div class=\"carousel-indicators\">
";
// line 167
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["photoItinerary"]) || array_key_exists("photoItinerary", $context) ? $context["photoItinerary"] : (function () { throw new RuntimeError('Variable "photoItinerary" does not exist.', 167, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["p"]) {
// line 168
yield " <button type=\"button\"
data-bs-target=\"#circuitCarousel\"
data-bs-slide-to=\"";
// line 170
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 170), "html", null, true);
yield "\"
class=\"";
// line 171
if (CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 171)) {
yield "active";
}
yield "\"
aria-current=\"";
// line 172
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 172)) ? ("true") : ("false"));
yield "\"
aria-label=\"Slide ";
// line 173
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 173), "html", null, true);
yield "\"></button>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['p'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 175
yield " </div>
</div>
</div>
</div>
";
// line 181
yield " <div class=\"col-12 col-lg-6\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Itinéraire jour par jour</h2>
<div class=\"list-group list-group-flush\">
";
// line 185
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["itinerary"]) || array_key_exists("itinerary", $context) ? $context["itinerary"] : (function () { throw new RuntimeError('Variable "itinerary" does not exist.', 185, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["it"]) {
// line 186
yield " <div class=\"list-group-item px-0\">
<button class=\"btn w-100 d-flex justify-content-between align-items-center text-start\"
data-bs-toggle=\"collapse\" data-bs-target=\"#day";
// line 188
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 188), "html", null, true);
yield "\" aria-expanded=\"false\">
<span class=\"fw-bold\">Jour ";
// line 189
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 189), "html", null, true);
yield " - ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["it"], "title", [], "any", false, false, false, 189), "html", null, true);
if (CoreExtension::getAttribute($this->env, $this->source, $context["it"], "kmLabel", [], "any", false, false, false, 189)) {
yield " <span class=\"text-muted fw-normal\"> (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["it"], "kmLabel", [], "any", false, false, false, 189), "html", null, true);
yield ") km</span>";
}
yield "</span>
<i class=\"bi bi-chevron-down\"></i>
</button>
<div id=\"day";
// line 192
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 192), "html", null, true);
yield "\" class=\"collapse mt-2\">
<p class=\"small text-muted mb-0\">";
// line 193
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["it"], "details", [], "any", false, false, false, 193), "html", null, true);
yield "</p>
</div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['it'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 197
yield " </div>
</div>
</div>
</div>
</section>
";
// line 203
if ((isset($context["hebergementOffer"]) || array_key_exists("hebergementOffer", $context) ? $context["hebergementOffer"] : (function () { throw new RuntimeError('Variable "hebergementOffer" does not exist.', 203, $this->source); })())) {
// line 207
yield "<section class=\"py-5 bg-body-tertiary\" id=\"hotels\">
<div class=\"container\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Hébergements prévus (ou similaires)</h2>
<ul class=\"list-group\">
";
// line 211
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["hebergementOffer"]) || array_key_exists("hebergementOffer", $context) ? $context["hebergementOffer"] : (function () { throw new RuntimeError('Variable "hebergementOffer" does not exist.', 211, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["h"]) {
yield "<li class=\"list-group-item\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["h"], "name", [], "any", false, false, false, 211), "html", null, true);
yield "</li>";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['h'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 212
yield " </ul>
</div>
</section>
";
}
// line 216
yield "
";
// line 217
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.', 217, $this->source); })()), "widget", [], "any", false, false, false, 217)) {
// line 218
yield "<div class=\"container\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Activités</h2>
<div class=\"widget\">
";
// line 221
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.', 221, $this->source); })()), "widget", [], "any", false, false, false, 221);
yield "
</div>
</div>
";
}
// line 225
yield "
";
// line 226
if ((isset($context["included"]) || array_key_exists("included", $context) ? $context["included"] : (function () { throw new RuntimeError('Variable "included" does not exist.', 226, $this->source); })())) {
// line 230
yield "<section class=\"py-5 bg-white\" id=\"inclus\">
<div class=\"container\">
<div class=\"row g-4\">
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4 h-100\">
<div class=\"card-body\">
<h2 class=\"h5 fw-bold txt-ot-yellow\">Inclus</h2>
<ul class=\"small mb-0 list-unstyled\">
";
// line 238
$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.', 238, $this->source); })()), "included", [], "any", false, false, false, 238), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 239
yield " <li class=\"mb-1\">✔️ ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['line'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 241
yield " </ul>
</div>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4 h-100\">
<div class=\"card-body\">
<h2 class=\"h5 fw-bold txt-ot-yellow\">Non inclus</h2>
<ul class=\"small mb-0 list-unstyled\">
";
// line 250
$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.', 250, $this->source); })()), "notIncluded", [], "any", false, false, false, 250), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 251
yield " <li class=\"mb-1\">- ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['line'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 253
yield " </ul>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 261
yield "
";
// line 262
if ((isset($context["flight"]) || array_key_exists("flight", $context) ? $context["flight"] : (function () { throw new RuntimeError('Variable "flight" does not exist.', 262, $this->source); })())) {
// line 266
yield "<section class=\"py-5 bg-body-tertiary\" id=\"vols\">
<div class=\"container\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Vols & horaires (indicatifs)</h2>
<div class=\"row g-4\">
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4 h-100\">
<div class=\"card-body\">
<h3 class=\"h6 fw-bold mb-2\">Aller</h3>
<ul class=\"small mb-0\">
";
// line 275
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["flight"]) || array_key_exists("flight", $context) ? $context["flight"] : (function () { throw new RuntimeError('Variable "flight" does not exist.', 275, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
// line 276
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "type", [], "any", false, false, false, 276), "1"))) {
// line 277
yield " <li>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "departureCity", [], "any", false, false, false, 277), "html", null, true);
yield " → ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "departureCity", [], "any", false, false, false, 277), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "departureTime", [], "any", false, false, false, 277), "html", null, true);
yield " / ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "arrivalTime", [], "any", false, false, false, 277), "html", null, true);
yield " </li>
";
}
// line 279
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 280
yield " </ul>
</div>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4 h-100\">
<div class=\"card-body\">
<h3 class=\"h6 fw-bold mb-2\">Retour</h3>
<ul class=\"small mb-0\">
";
// line 290
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["flight"]) || array_key_exists("flight", $context) ? $context["flight"] : (function () { throw new RuntimeError('Variable "flight" does not exist.', 290, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
yield "
";
// line 291
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "type", [], "any", false, false, false, 291), "2"))) {
// line 292
yield " <li>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "departureCity", [], "any", false, false, false, 292), "html", null, true);
yield " → ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "departureCity", [], "any", false, false, false, 292), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "departureTime", [], "any", false, false, false, 292), "html", null, true);
yield " / ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "arrivalTime", [], "any", false, false, false, 292), "html", null, true);
yield " </li>
";
}
// line 294
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 295
yield " </ul>
</div>
</div>
</div>
</div>
<p class=\"small text-muted mt-3 mb-0\">Horaires et compagnies susceptibles d’évolution. À confirmer à l’émission des billets.</p>
</div>
</section>
";
}
// line 304
yield "
";
// line 330
if ((isset($context["infos"]) || array_key_exists("infos", $context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.', 330, $this->source); })())) {
// line 334
yield "<section class=\"py-5 bg-body-tertiary\" id=\"paiement\">
<div class=\"container\">
<div class=\"row g-4\">
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4\">
<div class=\"card-body\">
<h2 class=\"h5 fw-bold txt-ot-yellow\">Facilités de paiement</h2>
<ul class=\"small mb-0\">
";
// line 342
$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.', 342, $this->source); })()), "paymentMethod", [], "any", false, false, false, 342), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 343
yield " <li class=\"mb-1\">✔️ ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['line'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 345
yield " </ul>
</div>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4\">
<div class=\"card-body\">
<h2 class=\"h5 fw-bold txt-ot-yellow\">Formalités</h2>
<ul class=\"small mb-0\">
";
// line 355
$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.', 355, $this->source); })()), "formalities", [], "any", false, false, false, 355), "
"));
foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
// line 356
yield " <li class=\"mb-1\">✔️ ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["line"], "html", null, true);
yield "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['line'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 358
yield " </ul>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 367
yield "
";
// line 372
yield "<section class=\"py-5 bg-ot-green text-white text-center\">
<div class=\"container\">
<h2 class=\"h4 fw-bold mb-2\">Envie de rejoindre le ";
// line 374
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.', 374, $this->source); })()), "title", [], "any", false, false, false, 374), "html", null, true);
yield " ?</h2>
<p class=\"mb-4\">Parlez à un conseiller Otropik : on s’occupe de tout.</p>
<div class=\"d-flex gap-2 justify-content-center flex-wrap\">
<a href=\"";
// line 377
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("o.devis");
yield "\" class=\"btn btn-light rounded-pill\">Demander un devis</a>
<a href=\"tel:0590505134\" class=\"btn btn-outline-light rounded-pill\">Appeler</a>
</div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/circuit-destination.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 843 => 377, 837 => 374, 833 => 372, 829 => 367, 818 => 358, 809 => 356, 804 => 355, 792 => 345, 783 => 343, 778 => 342, 768 => 334, 766 => 330, 763 => 304, 752 => 295, 746 => 294, 734 => 292, 732 => 291, 726 => 290, 714 => 280, 708 => 279, 696 => 277, 693 => 276, 689 => 275, 678 => 266, 676 => 262, 673 => 261, 663 => 253, 654 => 251, 649 => 250, 638 => 241, 629 => 239, 624 => 238, 614 => 230, 612 => 226, 609 => 225, 602 => 221, 597 => 218, 595 => 217, 592 => 216, 586 => 212, 575 => 211, 569 => 207, 567 => 203, 559 => 197, 541 => 193, 537 => 192, 524 => 189, 520 => 188, 516 => 186, 499 => 185, 493 => 181, 486 => 175, 470 => 173, 466 => 172, 460 => 171, 456 => 170, 452 => 168, 435 => 167, 421 => 155, 401 => 151, 393 => 149, 376 => 148, 363 => 137, 360 => 135, 356 => 132, 346 => 121, 338 => 118, 332 => 116, 330 => 115, 326 => 114, 322 => 112, 318 => 111, 302 => 97, 292 => 87, 284 => 81, 278 => 80, 272 => 78, 269 => 77, 264 => 76, 255 => 69, 249 => 68, 243 => 66, 240 => 65, 235 => 64, 225 => 57, 221 => 56, 213 => 50, 206 => 42, 200 => 40, 198 => 39, 194 => 38, 189 => 35, 180 => 33, 175 => 32, 167 => 27, 163 => 26, 159 => 25, 154 => 23, 150 => 22, 140 => 17, 136 => 15, 133 => 11, 123 => 10, 103 => 8, 83 => 7, 62 => 4, 39 => 2,);
}
public function getSourceContext()
{
return new Source("{# templates/circuit/golden-western.html.twig #}
{% extends 'base.html.twig' %}
{% block title %}O'Circuit - {{offer.title}}{% endblock %}
{# Si tu veux header overlay blanc sur photo hero : #}
{% block header_classes %}header-overlay{% endblock %}
{% block navbar_theme %}navbar-dark{% endblock %}
{% block body %}
{# =====================================================
1) HERO — Titre, sous-titre, prix/CTA, bloc inclus
===================================================== #}
<section class=\"position-relative text-white\">
<div class=\"ratio ratio-21x9\">
<img src=\"{{asset('img/offer/' ~ offer.file ~ '/' ~ offer.slug ~ '/' ~ offer.img )}}\" alt=\"{{ offer.title}}\" 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: 760px;\">
<h1 class=\"display-5 fw-bold txt-ot-yellow mb-1\">{{ offer.title}}</h1>
<p class=\"mb-3\">{{ offer.subtitle}}</p>
<div class=\"d-flex flex-wrap align-items-center gap-2 mb-3\">
<span class=\"badge bg-ot-green\">{{ offer.durationText}}</span>
<span class=\"badge text-bg-light\">{{ offer.dateText }}</span>
<span class=\"badge text-bg-light\">À partir de {{ offer.priceFrom}}€</span>
</div>
<div class=\"mb-3\">
<h6 class=\"fw-bold txt-ot-yellow mb-2\">Inclus :</h6>
<ul class=\"list-unstyled mb-0\">
{% for line in offer.includedText|split(\"\\n\") %}
<li class=\"mb-1\">✔️ {{ line }}</li>
{% endfor %}
</ul>
</div>
<div class=\"d-flex gap-2 flex-wrap\">
<a href=\"{{ path('o.devis') }}\" class=\"btn btn-primary rounded-pill\">Demander un devis</a>
{% if offer.brochure %}
<a href=\"{{ asset(offer.brochure) }}\" target=\"_blank\" class=\"btn btn-outline-ot-green rounded-pill\">Télécharger la brochure</a>
{% endif %}
</div>
</div>
</div>
</div>
</section>
{# =====================================================
3) INFOS CLÉS — Durée/Dates · Vols · Rythme · Prix
===================================================== #}
<section class=\"py-5 bg-body-tertiary\">
<div class=\"container\">
<div class=\"row g-3 g-md-4 row-cols-1 row-cols-md-2 row-cols-lg-4\">
<div class=\"col\">
<div class=\"card h-100 border-0 shadow-sm rounded-4\"><div class=\"card-body\">
<h3 class=\"h6 txt-ot-yellow fw-bold mb-1\">Durée & dates</h3>
<p class=\"mb-0 text-muted\">{{ offer.summaryDuration }}</p>
<p class=\"mb-0 text-muted\">{{ offer.dateText }}</p>
</div></div>
</div>
<div class=\"col\">
<div class=\"card h-100 border-0 shadow-sm rounded-4\"><div class=\"card-body\">
<h3 class=\"h6 txt-ot-yellow fw-bold mb-1\">Vols</h3>
<ul class=\"list-unstyled mb-0\">
{% for line in offer.summaryFlights|split(\"\\n\") %}
{% if line|trim != '' %}
<li class=\"mb-1\">{{ line }}</li>
{% endif %}
{% endfor %}
</ul>
</div></div>
</div>
<div class=\"col\">
<div class=\"card h-100 border-0 shadow-sm rounded-4\"><div class=\"card-body\">
<h3 class=\"h6 txt-ot-yellow fw-bold mb-1\">Rythme & repas</h3>
<ul class=\"list-unstyled mb-0\">
{% for line in offer.summaryPaceMeals|split(\"\\n\") %}
{% if line|trim != '' %}
<li>{{ line }}</li>
{% endif %}
{% endfor %}
</ul>
</div></div>
</div>
<div class=\"col\">
<div class=\"card h-100 border-0 shadow-sm rounded-4\"><div class=\"card-body\">
<h3 class=\"h6 txt-ot-yellow fw-bold mb-1\">Tarif dès</h3>
<p class=\"small text-muted mb-0\">{{ offer.priceFrom }}€</p>
</div></div>
</div>
</div>
</div>
</section>
{# =====================================================
2) POINTS FORTS — 3 à 6 cartes icônes
===================================================== #}
<section class=\"py-5 bg-white\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-6 p-5\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Les incontournables de votre voyage</h2>
<p class=\"text-muted\">
Chaque étape de ce circuit a été pensée pour vous offrir une immersion
authentique et des souvenirs inoubliables. Entre paysages iconiques,
découvertes culturelles et activités exclusives, voici ce qui rend ce voyage unique.
</p>
</div>
<div class=\"col-md-6\">
<div class=\"row g-3\">
<div class=\"d-flex flex-column gap-3\">
{% for h in highlight %}
<div class=\"card border-0 shadow-sm rounded-4\">
<div class=\"card-body\">
<h3 class=\"h6 fw-semibold mb-1\">{{ h.title }}</h3>
{% if h.details %}
<p class=\"small text-muted mb-0\">{{ h.details}}</p>
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</section>
{# =====================================================
4) ITINÉRAIRE — Timeline jour par jour (collapses)
===================================================== #}
<section class=\"py-5 bg-white\" id=\"itineraire\">
<div class=\"container\">
<div class=\"row align-items-center g-4\"> {# align-items-center = centrage vertical #}
{# COLONNE GAUCHE — CAROUSEL #}
<div class=\"col-12 col-lg-6 d-flex\">
<div class=\"w-100 d-flex align-items-center\">
<div id=\"circuitCarousel\"
class=\"carousel slide rounded-4 overflow-hidden shadow-sm w-100\"
data-bs-ride=\"carousel\"
data-bs-interval=\"5000\"
data-bs-pause=\"hover\"
data-bs-touch=\"true\"
aria-label=\"Galerie circuit\">
<div class=\"carousel-inner\">
{% for p in photoItinerary %}
<div class=\"carousel-item {% if loop.first %}active{% endif %}\">
<div class=\"ratio ratio-4x3\">
<img src=\"{{asset('img/' ~ p.offer.file ~ '/' ~ p.offer.slug ~ '/itinerary/' ~ p.img)}}\" class=\"d-block w-100 h-100 object-fit-cover\" alt=\"Photo circuit {{ loop.index }}\">
</div>
</div>
{% endfor %}
</div>
<button class=\"carousel-control-prev\" type=\"button\" data-bs-target=\"#circuitCarousel\" data-bs-slide=\"prev\">
<span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>
<span class=\"visually-hidden\">Précédent</span>
</button>
<button class=\"carousel-control-next\" type=\"button\" data-bs-target=\"#circuitCarousel\" data-bs-slide=\"next\">
<span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>
<span class=\"visually-hidden\">Suivant</span>
</button>
<div class=\"carousel-indicators\">
{% for p in photoItinerary %}
<button type=\"button\"
data-bs-target=\"#circuitCarousel\"
data-bs-slide-to=\"{{ loop.index0 }}\"
class=\"{% if loop.first %}active{% endif %}\"
aria-current=\"{{ loop.first ? 'true' : 'false' }}\"
aria-label=\"Slide {{ loop.index }}\"></button>
{% endfor %}
</div>
</div>
</div>
</div>
{# COLONNE DROITE — ITINÉRAIRE #}
<div class=\"col-12 col-lg-6\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Itinéraire jour par jour</h2>
<div class=\"list-group list-group-flush\">
{% for it in itinerary %}
<div class=\"list-group-item px-0\">
<button class=\"btn w-100 d-flex justify-content-between align-items-center text-start\"
data-bs-toggle=\"collapse\" data-bs-target=\"#day{{ loop.index }}\" aria-expanded=\"false\">
<span class=\"fw-bold\">Jour {{loop.index}} - {{it.title }}{% if it.kmLabel %} <span class=\"text-muted fw-normal\"> ({{ it.kmLabel }}) km</span>{% endif %}</span>
<i class=\"bi bi-chevron-down\"></i>
</button>
<div id=\"day{{ loop.index }}\" class=\"collapse mt-2\">
<p class=\"small text-muted mb-0\">{{ it.details }}</p>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</section>
{% if hebergementOffer %}
{# =====================================================
5) HÔTELS — liste ou tableau simple
===================================================== #}
<section class=\"py-5 bg-body-tertiary\" id=\"hotels\">
<div class=\"container\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Hébergements prévus (ou similaires)</h2>
<ul class=\"list-group\">
{% for h in hebergementOffer %}<li class=\"list-group-item\">{{ h.name }}</li>{% endfor %}
</ul>
</div>
</section>
{% endif %}
{% if offer.widget %}
<div class=\"container\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Activités</h2>
<div class=\"widget\">
{{offer.widget|raw}}
</div>
</div>
{% endif %}
{% if included %}
{# =====================================================
6) INCLUS / NON INCLUS — deux colonnes
===================================================== #}
<section class=\"py-5 bg-white\" id=\"inclus\">
<div class=\"container\">
<div class=\"row g-4\">
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4 h-100\">
<div class=\"card-body\">
<h2 class=\"h5 fw-bold txt-ot-yellow\">Inclus</h2>
<ul class=\"small mb-0 list-unstyled\">
{% for line in offer.included|split(\"\\n\") %}
<li class=\"mb-1\">✔️ {{ line }}</li>
{% endfor %}
</ul>
</div>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4 h-100\">
<div class=\"card-body\">
<h2 class=\"h5 fw-bold txt-ot-yellow\">Non inclus</h2>
<ul class=\"small mb-0 list-unstyled\">
{% for line in offer.notIncluded|split(\"\\n\") %}
<li class=\"mb-1\">- {{ line }}</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% if flight %}
{# =====================================================
7) VOLS & HORAIRES — bloc détaillé
===================================================== #}
<section class=\"py-5 bg-body-tertiary\" id=\"vols\">
<div class=\"container\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Vols & horaires (indicatifs)</h2>
<div class=\"row g-4\">
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4 h-100\">
<div class=\"card-body\">
<h3 class=\"h6 fw-bold mb-2\">Aller</h3>
<ul class=\"small mb-0\">
{% for f in flight %}
{% if f.type == '1' %}
<li>{{ f.departureCity }} → {{ f.departureCity }} {{f.departureTime}} / {{f.arrivalTime}} </li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4 h-100\">
<div class=\"card-body\">
<h3 class=\"h6 fw-bold mb-2\">Retour</h3>
<ul class=\"small mb-0\">
{% for f in flight %}
{% if f.type == '2' %}
<li>{{ f.departureCity }} → {{ f.departureCity }} {{f.departureTime}} / {{f.arrivalTime}} </li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
<p class=\"small text-muted mt-3 mb-0\">Horaires et compagnies susceptibles d’évolution. À confirmer à l’émission des billets.</p>
</div>
</section>
{% endif %}
{# =====================================================
8) TARIFS — tableau + bases pax
===================================================== #}
{#<section class=\"py-5 bg-white\" id=\"tarifs\">
<div class=\"container\">
<h2 class=\"h3 txt-ot-yellow fw-bold mb-3\">Tarifs</h2>
<div class=\"table-responsive\">
<table class=\"table align-middle\">
<thead><tr><th>Occupation</th><th>Tarif</th><th>Base</th></tr></thead>
<tbody>
{% set prices = circuit.prices|default([
{label:'Double', price:'3390€', base:'31 pax'},
{label:'Triple', price:'3860€', base:'31 pax'},
{label:'Quad', price:'3840€', base:'31 pax'},
{label:'Single', price:'3890€', base:'31 pax'}
]) %}
{% for p in prices %}
<tr><td>{{ p.label }}</td><td>{{ p.price }}</td><td>{{ p.base }}</td></tr>
{% endfor %}
</tbody>
</table>
</div>
<p class=\"small text-muted mb-0\">Base modifiable : ex. <strong>+245€</strong>/pers si 29–20 pax. Sous réserve de disponibilité & modifications.</p>
</div>
</section> #}
{% if infos %}
{# =====================================================
9) FACILITÉS DE PAIEMENT — encart
===================================================== #}
<section class=\"py-5 bg-body-tertiary\" id=\"paiement\">
<div class=\"container\">
<div class=\"row g-4\">
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4\">
<div class=\"card-body\">
<h2 class=\"h5 fw-bold txt-ot-yellow\">Facilités de paiement</h2>
<ul class=\"small mb-0\">
{% for line in offer.paymentMethod|split(\"\\n\") %}
<li class=\"mb-1\">✔️ {{ line }}</li>
{% endfor %}
</ul>
</div>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"card border-0 shadow-sm rounded-4\">
<div class=\"card-body\">
<h2 class=\"h5 fw-bold txt-ot-yellow\">Formalités</h2>
<ul class=\"small mb-0\">
{% for line in offer.formalities|split(\"\\n\") %}
<li class=\"mb-1\">✔️ {{ line }}</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{# =====================================================
11) CTA FINAL — devis & contact
===================================================== #}
<section class=\"py-5 bg-ot-green text-white text-center\">
<div class=\"container\">
<h2 class=\"h4 fw-bold mb-2\">Envie de rejoindre le {{offer.title}} ?</h2>
<p class=\"mb-4\">Parlez à un conseiller Otropik : on s’occupe de tout.</p>
<div class=\"d-flex gap-2 justify-content-center flex-wrap\">
<a href=\"{{ path('o.devis') }}\" class=\"btn btn-light rounded-pill\">Demander un devis</a>
<a href=\"tel:0590505134\" class=\"btn btn-outline-light rounded-pill\">Appeler</a>
</div>
</div>
</section>
{% endblock %}", "default/circuit-destination.html.twig", "/home/ladomitiyc/otropik/templates/default/circuit-destination.html.twig");
}
}