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