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 "      ";
  222.             if (CoreExtension::getAttribute($this->env$this->source$context["o"], "type", [], "any"falsefalsefalse76)) {
  223.                 // line 77
  224.                 yield "      <div class=\"col-12 col-sm-6 col-lg-3\">
  225.         <article class=\"card card-offer border-0 shadow-sm h-100 overflow-hidden rounded-4\">
  226.         ";
  227.                 // line 79
  228.                 if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["o"], "type", [], "any"falsefalsefalse79), "id", [], "any"falsefalsefalse79) == 1)) {
  229.                     // line 80
  230.                     yield "          <a href=\"";
  231.                     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"falsefalsefalse80)]), "html"nulltrue);
  232.                     yield "\" class=\"stretched-link text-decoration-none text-white\">
  233.               <div class=\"ratio ratio-4x5\">
  234.               ";
  235.                     // line 82
  236.                     if (CoreExtension::getAttribute($this->env$this->source$context["o"], "destination", [], "any"falsefalsefalse82)) {
  237.                         // line 83
  238.                         yield "              <img src=\"";
  239.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("img/destination/" CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["o"], "destination", [], "any"falsefalsefalse83), "slug", [], "any"falsefalsefalse83)) . "/") . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["o"], "destination", [], "any"falsefalsefalse83), "img", [], "any"falsefalsefalse83))), "html"nulltrue);
  240.                         yield "\" alt=\"";
  241.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse83), "html"nulltrue);
  242.                         yield "\" class=\"object-fit-cover w-100 h-100\">
  243.               ";
  244.                     }
  245.                     // line 85
  246.                     yield "            </div>
  247.         ";
  248.                 } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,                 // line 86
  249. $context["o"], "type", [], "any"falsefalsefalse86), "id", [], "any"falsefalsefalse86) == 2)) {
  250.                     // line 87
  251.                     yield "            <a href=\"";
  252.                     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"falsefalsefalse87)]), "html"nulltrue);
  253.                     yield "\" class=\"stretched-link text-decoration-none text-white\">
  254.               <div class=\"ratio ratio-4x5\">
  255.               <img src=\"";
  256.                     // line 89
  257.                     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"falsefalsefalse89)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["o"], "img", [], "any"falsefalsefalse89))), "html"nulltrue);
  258.                     yield "\" alt=\"";
  259.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse89), "html"nulltrue);
  260.                     yield "\" class=\"object-fit-cover w-100 h-100\">
  261.             </div>
  262.         ";
  263.                 } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,                 // line 91
  264. $context["o"], "type", [], "any"falsefalsefalse91), "id", [], "any"falsefalsefalse91) == 3)) {
  265.                     // line 92
  266.                     yield "                 <a href=\"";
  267.                     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"falsefalsefalse92)]), "html"nulltrue);
  268.                     yield "\" class=\"stretched-link text-decoration-none text-white\">
  269.               <div class=\"ratio ratio-4x5\">
  270.               <img src=\"";
  271.                     // line 94
  272.                     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"falsefalsefalse94)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["o"], "img", [], "any"falsefalsefalse94))), "html"nulltrue);
  273.                     yield "\" alt=\"";
  274.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse94), "html"nulltrue);
  275.                     yield "\" class=\"object-fit-cover w-100 h-100\">
  276.             </div>
  277.             ";
  278.                 } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,                 // line 96
  279. $context["o"], "type", [], "any"falsefalsefalse96), "id", [], "any"falsefalsefalse96) == 4)) {
  280.                     // line 97
  281.                     yield "                 <a href=\"";
  282.                     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"falsefalsefalse97)]), "html"nulltrue);
  283.                     yield "\" class=\"stretched-link text-decoration-none text-white\">
  284.               <div class=\"ratio ratio-4x5\">
  285.               <img src=\"";
  286.                     // line 99
  287.                     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"falsefalsefalse99)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["o"], "img", [], "any"falsefalsefalse99))), "html"nulltrue);
  288.                     yield "\" alt=\"";
  289.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse99), "html"nulltrue);
  290.                     yield "\" class=\"object-fit-cover w-100 h-100\">            </div>
  291.           ";
  292.                 }
  293.                 // line 101
  294.                 yield "            <div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
  295.               <p>";
  296.                 // line 102
  297.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["o"], "type", [], "any"falsefalsefalse102), "name", [], "any"falsefalsefalse102), "html"nulltrue);
  298.                 yield "</p>
  299.               <h3 class=\"h5 fw-bold text-white text-shadow-sm mb-3\">";
  300.                 // line 103
  301.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse103), "html"nulltrue);
  302.                 yield "</h3>
  303.               <div>
  304.                 <span class=\"btn btn-outline-light btn-sm\">Découvrir</span>
  305.               </div>
  306.             </div>
  307.           </a>
  308.         </article>
  309.       </div>
  310.       ";
  311.             }
  312.             // line 112
  313.             yield "      ";
  314.         }
  315.         $_parent $context['_parent'];
  316.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  317.         $context array_intersect_key($context$_parent) + $_parent;
  318.         // line 113
  319.         yield "    </div>
  320.     <div class=\"section-divider mx-auto my-5\"></div>
  321.   </div>
  322. </section>
  323. ";
  324.         
  325.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  326.         
  327.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  328.         return; yield '';
  329.     }
  330.     // line 121
  331.     public function block_extra_head($context, array $blocks = [])
  332.     {
  333.         $macros $this->macros;
  334.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  335.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extra_head"));
  336.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  337.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extra_head"));
  338.         // line 122
  339.         yield "  ";
  340.         yield from $this->yieldParentBlock("extra_head"$context$blocks);
  341.         yield "
  342.   <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css\">
  343.   <style>
  344.     .text-shadow-sm{ text-shadow:0 2px 4px rgba(0,0,0,.35); }
  345.     .text-ot-green{ color: var(--ot-primary, #2ea37a); }
  346.     .bg-ot-green{ background: var(--ot-primary, #2ea37a); }
  347.   </style>
  348. ";
  349.         
  350.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  351.         
  352.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  353.         return; yield '';
  354.     }
  355.     /**
  356.      * @codeCoverageIgnore
  357.      */
  358.     public function getTemplateName()
  359.     {
  360.         return "default/continent.html.twig";
  361.     }
  362.     /**
  363.      * @codeCoverageIgnore
  364.      */
  365.     public function isTraitable()
  366.     {
  367.         return false;
  368.     }
  369.     /**
  370.      * @codeCoverageIgnore
  371.      */
  372.     public function getDebugInfo()
  373.     {
  374.         return array (  379 => 122,  369 => 121,  352 => 113,  346 => 112,  334 => 103,  330 => 102,  327 => 101,  320 => 99,  314 => 97,  312 => 96,  305 => 94,  299 => 92,  297 => 91,  290 => 89,  284 => 87,  282 => 86,  279 => 85,  271 => 83,  269 => 82,  263 => 80,  261 => 79,  257 => 77,  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,);
  375.     }
  376.     public function getSourceContext()
  377.     {
  378.         return new Source("{# templates/escapade/show.html.twig #}
  379. {% extends 'base.html.twig' %}
  380. {% block title %}O'Continent — {% endblock %}
  381. {# Header standard ou overlay si besoin sur le hero #}
  382. {% block header_classes %}header-overlay{% endblock %}
  383. {% block navbar_theme %}navbar-dark{% endblock %}
  384. {% block body %}
  385. {# -----------------------------
  386.    HERO Escapade (avec inclus)
  387. ------------------------------ #}
  388. <section class=\"hero hero--continent is-animated position-relative text-white\">
  389.   <div class=\"hero__media ratio ratio-21x9\">
  390.     <img src=\"{{ asset('img/continent/' ~ continent.img) }}\"
  391.          alt=\"{{ continent.name }}\"
  392.          class=\"hero__img object-fit-cover w-100 h-100\">
  393.   </div>
  394.   <div class=\"hero__overlay hero__overlay--left\">
  395.     <div class=\"container\">
  396.       <div class=\"hero__card\" style=\"max-width: 600px;\">
  397.         <h1 class=\"hero__title display-5 fw-bold txt-ot-green mb-2\" style=\"margin:0 !important\">
  398.           {{ continent.name }}
  399.         </h1>
  400.         <p class=\"hero__subtitle mb-0\">{{ continent.subtitle }}</p>
  401.       </div>
  402.     </div>
  403.   </div>
  404. </section>
  405. {# Fil d'Ariane #}
  406. <nav class=\"container my-4\" aria-label=\"breadcrumb\">
  407.   <ol class=\"breadcrumb small\">
  408.     <li class=\"breadcrumb-item\"><a href=\"{{ path('app') }}\">Accueil</a></li>
  409.     <li class=\"breadcrumb-item active\" aria-current=\"page\">Continent</li>
  410.     <li class=\"breadcrumb-item active\" aria-current=\"page\">{{ continent.name }}</li>
  411.   </ol>
  412. </nav>
  413. {# -----------------------------
  414.    OFFRES DU MOMENT — réutilisation grille cartes maquette
  415. ------------------------------ #}
  416. <section class=\"py-5 bg-white\">
  417.   <div class=\"container\">
  418.     <div class=\"text-center mb-5\">
  419.     {% if continent.id == 1 %}
  420.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Explorez l'{{ continent.name }} autrement</h2>
  421.       <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>
  422.       <p class=\"text-muted mb-0\">Découvrez nos offres soigneusement sélectionnées et laissez-vous guider vers votre prochaine grande aventure.</p>
  423.     {% elseif continent.id == 2 %}
  424.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Partez à la conquête des {{ continent.name }} !</h2>
  425.       <p class=\"text-muted mb-0\">De villes vibrantes en paysages sauvages, ce continent regorge d’expériences inoubliables à vivre.</p>
  426.       <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>
  427.        {% elseif continent.id == 3 %}
  428.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">L'{{ continent.name }}, une invitation à l’évasion.</h2>
  429.       <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>
  430.       <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>
  431.        {% elseif continent.id == 4 %}
  432.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">L'{{ continent.name }} n’attend plus que vous !</h2>
  433.       <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>
  434.       <p class=\"text-muted mb-0\">Faites vos valises et laissez-vous tenter par une nouvelle aventure signée O’Tropik</p>
  435.        {% elseif continent.id == 5 %}
  436.     <div class=\"text-center mb-5 green\">
  437.       <h2 class=\"h3 text-ot-green mb-1 fw-bold\">Cap sur la {{ continent.name }}</h2>
  438.       <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>
  439.       <p class=\"text-muted mb-0\">Explorez nos offres et laissez-vous porter par la chaleur et la beauté des Antilles..</p>
  440.     </div>
  441.     {% endif %}
  442.     </div>
  443.     <div class=\"row g-3 g-md-4\">
  444.       {% for o in offers %}
  445.       {% if o.type %}
  446.       <div class=\"col-12 col-sm-6 col-lg-3\">
  447.         <article class=\"card card-offer border-0 shadow-sm h-100 overflow-hidden rounded-4\">
  448.         {% if o.type.id == 1 %}
  449.           <a href=\"{{ path('o.escapade.destination',{slug:o.slug}) }}\" class=\"stretched-link text-decoration-none text-white\">
  450.               <div class=\"ratio ratio-4x5\">
  451.               {% if o.destination %}
  452.               <img src=\"{{ asset('img/destination/' ~ o.destination.slug ~ '/' ~ o.destination.img) }}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
  453.               {% endif %}
  454.             </div>
  455.         {% elseif o.type.id == 2 %}
  456.             <a href=\"{{ path('o.circuit.destination',{slug:o.slug}) }}\" class=\"stretched-link text-decoration-none text-white\">
  457.               <div class=\"ratio ratio-4x5\">
  458.               <img src=\"{{asset('img/offer/circuit/' ~ o.slug  ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
  459.             </div>
  460.         {% elseif o.type.id == 3 %}
  461.                  <a href=\"{{ path('o.roadtrip.destination',{slug:o.slug}) }}\" class=\"stretched-link text-decoration-none text-white\">
  462.               <div class=\"ratio ratio-4x5\">
  463.               <img src=\"{{asset('img/offer/road/' ~ o.slug  ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
  464.             </div>
  465.             {% elseif o.type.id == 4 %}
  466.                  <a href=\"{{ path('o.croisiere.destination',{slug:o.slug})}}\" class=\"stretched-link text-decoration-none text-white\">
  467.               <div class=\"ratio ratio-4x5\">
  468.               <img src=\"{{asset('img/offer/croisiere/' ~ o.slug  ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">            </div>
  469.           {% endif %}
  470.             <div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
  471.               <p>{{o.type.name}}</p>
  472.               <h3 class=\"h5 fw-bold text-white text-shadow-sm mb-3\">{{ o.title }}</h3>
  473.               <div>
  474.                 <span class=\"btn btn-outline-light btn-sm\">Découvrir</span>
  475.               </div>
  476.             </div>
  477.           </a>
  478.         </article>
  479.       </div>
  480.       {% endif %}
  481.       {% endfor %}
  482.     </div>
  483.     <div class=\"section-divider mx-auto my-5\"></div>
  484.   </div>
  485. </section>
  486. {% endblock %}
  487. {% block extra_head %}
  488.   {{ parent() }}
  489.   <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css\">
  490.   <style>
  491.     .text-shadow-sm{ text-shadow:0 2px 4px rgba(0,0,0,.35); }
  492.     .text-ot-green{ color: var(--ot-primary, #2ea37a); }
  493.     .bg-ot-green{ background: var(--ot-primary, #2ea37a); }
  494.   </style>
  495. {% endblock %}
  496. ""default/continent.html.twig""/home/ladomitiyc/otropik/templates/default/continent.html.twig");
  497.     }
  498. }