var/cache/dev/twig/c1/c17b91e094bd679277063357a96a25c369f27ad13602ea66186826f6348aa2c8.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* default/continent.html.twig */
  15. class __TwigTemplate_e6dc9900254792dfe992e8ebe6622f061b303f49b0ba5ef088f987c805eab975 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'header_classes' => [$this'block_header_classes'],
  26.             'navbar_theme' => [$this'block_navbar_theme'],
  27.             'body' => [$this'block_body'],
  28.             'extra_head' => [$this'block_extra_head'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/continent.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/continent.html.twig"));
  43.         $this->parent $this->loadTemplate("base.html.twig""default/continent.html.twig"2);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 4
  51.     public function block_title($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  58.         yield "O'Continent — ";
  59.         
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  61.         
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  63.         return; yield '';
  64.     }
  65.     // line 7
  66.     public function block_header_classes($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_classes"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_classes"));
  73.         yield "header-overlay";
  74.         
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  76.         
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  78.         return; yield '';
  79.     }
  80.     // line 8
  81.     public function block_navbar_theme($context, array $blocks = [])
  82.     {
  83.         $macros $this->macros;
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_theme"));
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_theme"));
  88.         yield "navbar-dark";
  89.         
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  91.         
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  93.         return; yield '';
  94.     }
  95.     // line 10
  96.     public function block_body($context, array $blocks = [])
  97.     {
  98.         $macros $this->macros;
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  101.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  103.         // line 11
  104.         yield "
  105. ";
  106.         // line 15
  107.         yield "<section class=\"position-relative text-white\">
  108.   <div class=\"ratio ratio-21x9\">
  109.     <img src=\"";
  110.         // line 17
  111.         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"falsefalsefalse17))), "html"nulltrue);
  112.         yield "\" alt=\"Carnaval St Lucie\" class=\"object-fit-cover w-100 h-100\">
  113.   </div>
  114.   <div class=\"position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center\">
  115.     <div class=\"container\">
  116.       <div class=\"bg-white text-dark p-4 p-md-5 rounded-4 shadow-sm\" style=\"max-width: 600px;\">
  117.         <h1 class=\"display-5 fw-bold txt-ot-green mb-3\" style=\"margin:0 !important\">";
  118.         // line 23
  119.         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"falsefalsefalse23), "html"nulltrue);
  120.         yield "</h1>
  121.         <p class=\"mb-3\">";
  122.         // line 24
  123.         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"falsefalsefalse24), "html"nulltrue);
  124.         yield "</p>
  125.       </div>
  126.     </div>
  127.   </div>
  128. </section>
  129. ";
  130.         // line 31
  131.         yield "<nav class=\"container my-4\" aria-label=\"breadcrumb\">
  132.   <ol class=\"breadcrumb small\">
  133.     <li class=\"breadcrumb-item\"><a href=\"";
  134.         // line 33
  135.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app");
  136.         yield "\">Accueil</a></li>
  137.     <li class=\"breadcrumb-item active\" aria-current=\"page\">Continent</li>
  138.     <li class=\"breadcrumb-item active\" aria-current=\"page\">";
  139.         // line 35
  140.         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"falsefalsefalse35), "html"nulltrue);
  141.         yield "</li>
  142.   </ol>
  143. </nav>
  144. ";
  145.         // line 43
  146.         yield "<section class=\"py-5 bg-white\">
  147.   <div class=\"container\">
  148.     <div class=\"text-center mb-5\">
  149.     ";
  150.         // line 46
  151.         if ((=== 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"falsefalsefalse46), 1))) {
  152.             // line 47
  153.             yield "      <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Explorez l'";
  154.             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"falsefalsefalse47), "html"nulltrue);
  155.             yield " autrement</h2>
  156.       <p class=\"text-muted mb-0\">Entre paysages spectaculaires, cultures fascinantes et expériences authentiques, l'";
  157.             // line 48
  158.             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"falsefalsefalse48), "html"nulltrue);
  159.             yield " vous invite à vivre un voyage unique.</p>
  160.       <p class=\"text-muted mb-0\">Découvrez nos offres soigneusement sélectionnées et laissez-vous guider vers votre prochaine grande aventure.</p>
  161.     ";
  162.         } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 50
  163. (isset($context["continent"]) || array_key_exists("continent"$context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.'50$this->source); })()), "id", [], "any"falsefalsefalse50), 2))) {
  164.             // line 51
  165.             yield "      <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Partez à la conquête des ";
  166.             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"falsefalsefalse51), "html"nulltrue);
  167.             yield " !</h2>
  168.       <p class=\"text-muted mb-0\">De villes vibrantes en paysages sauvages, ce continent regorge d’expériences inoubliables à vivre.</p>
  169.       <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>
  170.        ";
  171.         } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 54
  172. (isset($context["continent"]) || array_key_exists("continent"$context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.'54$this->source); })()), "id", [], "any"falsefalsefalse54), 3))) {
  173.             // line 55
  174.             yield "      <h2 class=\"h3 text-ot-green mb-1 fw-bold\">L'";
  175.             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"falsefalsefalse55), "html"nulltrue);
  176.             yield ", une invitation à l’évasion.</h2>
  177.       <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>
  178.       <p class=\"text-muted mb-0\">Laissez-vous séduire par nos offres d’exception et vivez le charme incomparable de l'";
  179.             // line 57
  180.             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"falsefalsefalse57), "html"nulltrue);
  181.             yield ".</p>
  182.        ";
  183.         } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 58
  184. (isset($context["continent"]) || array_key_exists("continent"$context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.'58$this->source); })()), "id", [], "any"falsefalsefalse58), 4))) {
  185.             // line 59
  186.             yield "      <h2 class=\"h3 text-ot-green mb-1 fw-bold\">L'";
  187.             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"falsefalsefalse59), "html"nulltrue);
  188.             yield " n’attend plus que vous !</h2>
  189.       <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>
  190.       <p class=\"text-muted mb-0\">Faites vos valises et laissez-vous tenter par une nouvelle aventure signée O’Tropik</p>
  191.        ";
  192.         } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 62
  193. (isset($context["continent"]) || array_key_exists("continent"$context) ? $context["continent"] : (function () { throw new RuntimeError('Variable "continent" does not exist.'62$this->source); })()), "id", [], "any"falsefalsefalse62), 5))) {
  194.             // line 63
  195.             yield "    <div class=\"text-center mb-5 green\">
  196.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Cap sur la ";
  197.             // line 64
  198.             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"falsefalsefalse64), "html"nulltrue);
  199.             yield "</h2>
  200.       <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>
  201.       <p class=\"text-muted mb-0\">Explorez nos offres et laissez-vous porter par la chaleur et la beauté des Antilles..</p>
  202.     </div>
  203.     ";
  204.         }
  205.         // line 69
  206.         yield "    </div>
  207.     <div class=\"row g-3 g-md-4\">
  208.       ";
  209.         // line 71
  210.         $context['_parent'] = $context;
  211.         $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); })()));
  212.         foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  213.             // line 72
  214.             yield "      <div class=\"col-12 col-sm-6 col-lg-3\">
  215.         <article class=\"card card-offer border-0 shadow-sm h-100 overflow-hidden rounded-4\">
  216.         ";
  217.             // line 74
  218.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["o"], "type", [], "any"falsefalsefalse74), "id", [], "any"falsefalsefalse74), 1))) {
  219.                 // line 75
  220.                 yield "          <a href=\"";
  221.                 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"falsefalsefalse75)]), "html"nulltrue);
  222.                 yield "\" class=\"stretched-link text-decoration-none text-white\">
  223.               <div class=\"ratio ratio-4x5\">
  224.               <img src=\"";
  225.                 // line 77
  226.                 yield "\" alt=\"";
  227.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse77), "html"nulltrue);
  228.                 yield "\" class=\"object-fit-cover w-100 h-100\">
  229.             </div>
  230.         ";
  231.             } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 79
  232. $context["o"], "type", [], "any"falsefalsefalse79), "id", [], "any"falsefalsefalse79), 2))) {
  233.                 // line 80
  234.                 yield "            <a href=\"";
  235.                 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"falsefalsefalse80)]), "html"nulltrue);
  236.                 yield "\" class=\"stretched-link text-decoration-none text-white\">
  237.               <div class=\"ratio ratio-4x5\">
  238.               <img src=\"";
  239.                 // line 82
  240.                 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"falsefalsefalse82)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["o"], "img", [], "any"falsefalsefalse82))), "html"nulltrue);
  241.                 yield "\" alt=\"";
  242.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse82), "html"nulltrue);
  243.                 yield "\" class=\"object-fit-cover w-100 h-100\">
  244.             </div>
  245.         ";
  246.             } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 84
  247. $context["o"], "type", [], "any"falsefalsefalse84), "id", [], "any"falsefalsefalse84), 3))) {
  248.                 // line 85
  249.                 yield "                 <a href=\"";
  250.                 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"falsefalsefalse85)]), "html"nulltrue);
  251.                 yield "\" class=\"stretched-link text-decoration-none text-white\">
  252.               <div class=\"ratio ratio-4x5\">
  253.               <img src=\"";
  254.                 // line 87
  255.                 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"falsefalsefalse87)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["o"], "img", [], "any"falsefalsefalse87))), "html"nulltrue);
  256.                 yield "\" alt=\"";
  257.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse87), "html"nulltrue);
  258.                 yield "\" class=\"object-fit-cover w-100 h-100\">
  259.             </div>
  260.             ";
  261.             } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 89
  262. $context["o"], "type", [], "any"falsefalsefalse89), "id", [], "any"falsefalsefalse89), 4))) {
  263.                 // line 90
  264.                 yield "                 <a href=\"";
  265.                 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"falsefalsefalse90)]), "html"nulltrue);
  266.                 yield "\" class=\"stretched-link text-decoration-none text-white\">
  267.               <div class=\"ratio ratio-4x5\">
  268.               <img src=\"";
  269.                 // line 92
  270.                 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"falsefalsefalse92)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["o"], "img", [], "any"falsefalsefalse92))), "html"nulltrue);
  271.                 yield "\" alt=\"";
  272.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse92), "html"nulltrue);
  273.                 yield "\" class=\"object-fit-cover w-100 h-100\">            </div>
  274.           ";
  275.             }
  276.             // line 94
  277.             yield "            <div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
  278.               <p>";
  279.             // line 95
  280.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["o"], "type", [], "any"falsefalsefalse95), "name", [], "any"falsefalsefalse95), "html"nulltrue);
  281.             yield "</p>
  282.               <h3 class=\"h5 fw-bold text-white text-shadow-sm mb-3\">";
  283.             // line 96
  284.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse96), "html"nulltrue);
  285.             yield "</h3>
  286.               <div>
  287.                 <span class=\"btn btn-outline-light btn-sm\">Découvrir</span>
  288.               </div>
  289.             </div>
  290.           </a>
  291.         </article>
  292.       </div>
  293.       ";
  294.         }
  295.         $_parent $context['_parent'];
  296.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  297.         $context array_intersect_key($context$_parent) + $_parent;
  298.         // line 105
  299.         yield "    </div>
  300.     <div class=\"section-divider mx-auto my-5\"></div>
  301.   </div>
  302. </section>
  303. ";
  304.         
  305.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  306.         
  307.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  308.         return; yield '';
  309.     }
  310.     // line 113
  311.     public function block_extra_head($context, array $blocks = [])
  312.     {
  313.         $macros $this->macros;
  314.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  315.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extra_head"));
  316.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  317.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extra_head"));
  318.         // line 114
  319.         yield "  ";
  320.         yield from $this->yieldParentBlock("extra_head"$context$blocks);
  321.         yield "
  322.   <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css\">
  323.   <style>
  324.     .text-shadow-sm{ text-shadow:0 2px 4px rgba(0,0,0,.35); }
  325.     .text-ot-green{ color: var(--ot-primary, #2ea37a); }
  326.     .bg-ot-green{ background: var(--ot-primary, #2ea37a); }
  327.   </style>
  328. ";
  329.         
  330.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  331.         
  332.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  333.         return; yield '';
  334.     }
  335.     /**
  336.      * @codeCoverageIgnore
  337.      */
  338.     public function getTemplateName()
  339.     {
  340.         return "default/continent.html.twig";
  341.     }
  342.     /**
  343.      * @codeCoverageIgnore
  344.      */
  345.     public function isTraitable()
  346.     {
  347.         return false;
  348.     }
  349.     /**
  350.      * @codeCoverageIgnore
  351.      */
  352.     public function getDebugInfo()
  353.     {
  354.         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,);
  355.     }
  356.     public function getSourceContext()
  357.     {
  358.         return new Source("{# templates/escapade/show.html.twig #}
  359. {% extends 'base.html.twig' %}
  360. {% block title %}O'Continent — {% endblock %}
  361. {# Header standard ou overlay si besoin sur le hero #}
  362. {% block header_classes %}header-overlay{% endblock %}
  363. {% block navbar_theme %}navbar-dark{% endblock %}
  364. {% block body %}
  365. {# -----------------------------
  366.    HERO Escapade (avec inclus)
  367. ------------------------------ #}
  368. <section class=\"position-relative text-white\">
  369.   <div class=\"ratio ratio-21x9\">
  370.     <img src=\"{{ asset('img/continent/' ~ continent.img) }}\" alt=\"Carnaval St Lucie\" class=\"object-fit-cover w-100 h-100\">
  371.   </div>
  372.   <div class=\"position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center\">
  373.     <div class=\"container\">
  374.       <div class=\"bg-white text-dark p-4 p-md-5 rounded-4 shadow-sm\" style=\"max-width: 600px;\">
  375.         <h1 class=\"display-5 fw-bold txt-ot-green mb-3\" style=\"margin:0 !important\">{{continent.name}}</h1>
  376.         <p class=\"mb-3\">{{continent.subtitle}}</p>
  377.       </div>
  378.     </div>
  379.   </div>
  380. </section>
  381. {# Fil d'Ariane #}
  382. <nav class=\"container my-4\" aria-label=\"breadcrumb\">
  383.   <ol class=\"breadcrumb small\">
  384.     <li class=\"breadcrumb-item\"><a href=\"{{ path('app') }}\">Accueil</a></li>
  385.     <li class=\"breadcrumb-item active\" aria-current=\"page\">Continent</li>
  386.     <li class=\"breadcrumb-item active\" aria-current=\"page\">{{ continent.name }}</li>
  387.   </ol>
  388. </nav>
  389. {# -----------------------------
  390.    OFFRES DU MOMENT — réutilisation grille cartes maquette
  391. ------------------------------ #}
  392. <section class=\"py-5 bg-white\">
  393.   <div class=\"container\">
  394.     <div class=\"text-center mb-5\">
  395.     {% if continent.id == 1 %}
  396.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Explorez l'{{ continent.name }} autrement</h2>
  397.       <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>
  398.       <p class=\"text-muted mb-0\">Découvrez nos offres soigneusement sélectionnées et laissez-vous guider vers votre prochaine grande aventure.</p>
  399.     {% elseif continent.id == 2 %}
  400.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Partez à la conquête des {{ continent.name }} !</h2>
  401.       <p class=\"text-muted mb-0\">De villes vibrantes en paysages sauvages, ce continent regorge d’expériences inoubliables à vivre.</p>
  402.       <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>
  403.        {% elseif continent.id == 3 %}
  404.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">L'{{ continent.name }}, une invitation à l’évasion.</h2>
  405.       <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>
  406.       <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>
  407.        {% elseif continent.id == 4 %}
  408.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">L'{{ continent.name }} n’attend plus que vous !</h2>
  409.       <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>
  410.       <p class=\"text-muted mb-0\">Faites vos valises et laissez-vous tenter par une nouvelle aventure signée O’Tropik</p>
  411.        {% elseif continent.id == 5 %}
  412.     <div class=\"text-center mb-5 green\">
  413.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Cap sur la {{ continent.name }}</h2>
  414.       <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>
  415.       <p class=\"text-muted mb-0\">Explorez nos offres et laissez-vous porter par la chaleur et la beauté des Antilles..</p>
  416.     </div>
  417.     {% endif %}
  418.     </div>
  419.     <div class=\"row g-3 g-md-4\">
  420.       {% for o in offers %}
  421.       <div class=\"col-12 col-sm-6 col-lg-3\">
  422.         <article class=\"card card-offer border-0 shadow-sm h-100 overflow-hidden rounded-4\">
  423.         {% if o.type.id == 1 %}
  424.           <a href=\"{{ path('o.escapade.destination',{slug:o.slug}) }}\" class=\"stretched-link text-decoration-none text-white\">
  425.               <div class=\"ratio ratio-4x5\">
  426.               <img src=\"{#{asset('img/destination/' ~ o.destination.slug  ~ '/' ~ o.destination.img)}#}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
  427.             </div>
  428.         {% elseif o.type.id == 2 %}
  429.             <a href=\"{{ path('o.circuit.destination',{slug:o.slug}) }}\" class=\"stretched-link text-decoration-none text-white\">
  430.               <div class=\"ratio ratio-4x5\">
  431.               <img src=\"{{asset('img/offer/circuit/' ~ o.slug  ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
  432.             </div>
  433.         {% elseif o.type.id == 3 %}
  434.                  <a href=\"{{ path('o.roadtrip.destination',{slug:o.slug}) }}\" class=\"stretched-link text-decoration-none text-white\">
  435.               <div class=\"ratio ratio-4x5\">
  436.               <img src=\"{{asset('img/offer/road/' ~ o.slug  ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
  437.             </div>
  438.             {% elseif o.type.id == 4 %}
  439.                  <a href=\"{{ path('o.croisiere.destination',{slug:o.slug})}}\" class=\"stretched-link text-decoration-none text-white\">
  440.               <div class=\"ratio ratio-4x5\">
  441.               <img src=\"{{asset('img/offer/croisiere/' ~ o.slug  ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">            </div>
  442.           {% endif %}
  443.             <div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
  444.               <p>{{o.type.name}}</p>
  445.               <h3 class=\"h5 fw-bold text-white text-shadow-sm mb-3\">{{ o.title }}</h3>
  446.               <div>
  447.                 <span class=\"btn btn-outline-light btn-sm\">Découvrir</span>
  448.               </div>
  449.             </div>
  450.           </a>
  451.         </article>
  452.       </div>
  453.       {% endfor %}
  454.     </div>
  455.     <div class=\"section-divider mx-auto my-5\"></div>
  456.   </div>
  457. </section>
  458. {% endblock %}
  459. {% block extra_head %}
  460.   {{ parent() }}
  461.   <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css\">
  462.   <style>
  463.     .text-shadow-sm{ text-shadow:0 2px 4px rgba(0,0,0,.35); }
  464.     .text-ot-green{ color: var(--ot-primary, #2ea37a); }
  465.     .bg-ot-green{ background: var(--ot-primary, #2ea37a); }
  466.   </style>
  467. {% endblock %}
  468. ""default/continent.html.twig""/home/ladomitiyc/otropik/templates/default/continent.html.twig");
  469.     }
  470. }