var/cache/dev/twig/89/89066f028b222e53f97ffe8002ede696eb5afb93f114a2469aa684dc8420a6a2.php line 43

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/offers.html.twig */
  15. class __TwigTemplate_ab044bf3b7133c5acf1b316051d5211be1a3532723bf99ea6716ecdf771fba96 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/offers.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/offers.html.twig"));
  43.         $this->parent $this->loadTemplate("base.html.twig""default/offers.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'Escapade — ";
  59.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["escapade"] ?? null), "title", [], "any"truetruefalse4)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["escapade"] ?? null), "title", [], "any"falsefalsefalse4), "Carnaval St Lucie")) : ("Carnaval St Lucie")), "html"nulltrue);
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.         return; yield '';
  65.     }
  66.     // line 7
  67.     public function block_header_classes($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_classes"));
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_classes"));
  74.         yield "header-overlay";
  75.         
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  77.         
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  79.         return; yield '';
  80.     }
  81.     // line 8
  82.     public function block_navbar_theme($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_theme"));
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_theme"));
  89.         yield "navbar-dark";
  90.         
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  92.         
  93.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  94.         return; yield '';
  95.     }
  96.     // line 10
  97.     public function block_body($context, array $blocks = [])
  98.     {
  99.         $macros $this->macros;
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  104.         // line 11
  105.         yield "
  106. ";
  107.         // line 15
  108.         yield "<section class=\"position-relative text-white\">
  109.   <div class=\"ratio ratio-21x9\">
  110.     ";
  111.         // line 17
  112.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'17$this->source); })()), "img", [], "any"falsefalsefalse17)) {
  113.             // line 18
  114.             yield "    <img src=\"";
  115.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/offer/"), "html"nulltrue);
  116.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'18$this->source); })()), "img", [], "any"falsefalsefalse18), "html"nulltrue);
  117.             yield "\" alt=\"Carnaval St Lucie\" class=\"object-fit-cover w-100 h-100\">
  118.   ";
  119.         } else {
  120.             // line 20
  121.             yield "    <img src=\"";
  122.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/2633.jpg"), "html"nulltrue);
  123.             yield "\" alt=\"\" class=\"object-fit-cover w-100 h-100\">
  124.   ";
  125.         }
  126.         // line 22
  127.         yield "  </div>
  128.   <div class=\"position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center\">
  129.     <div class=\"container\">
  130.       <div class=\"bg-white text-dark p-4 p-md-5 rounded-4 shadow-sm\" style=\"max-width: 600px;\">
  131.         <h1 class=\"display-5 fw-bold 
  132.         ";
  133.         // line 29
  134.         if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source, (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'29$this->source); })()), "id", [], "any"falsefalsefalse29), "1"))) {
  135.             // line 30
  136.             yield "          txt-ot-green 
  137.         ";
  138.         } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 31
  139. (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'31$this->source); })()), "id", [], "any"falsefalsefalse31), "2"))) {
  140.             // line 32
  141.             yield "          txt-ot-yellow
  142.         ";
  143.         } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 33
  144. (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'33$this->source); })()), "id", [], "any"falsefalsefalse33), "3"))) {
  145.             // line 34
  146.             yield "          txt-ot-brown 
  147.         ";
  148.         } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 35
  149. (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'35$this->source); })()), "id", [], "any"falsefalsefalse35), "4"))) {
  150.             // line 36
  151.             yield "          txt-ot-blue 
  152.         ";
  153.         }
  154.         // line 37
  155.         yield 
  156.         mb-3\">";
  157.         // line 38
  158.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'38$this->source); })()), "name", [], "any"falsefalsefalse38), "html"nulltrue);
  159.         yield "</h1>
  160.         <p class=\"mb-3\">";
  161.         // line 39
  162.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'39$this->source); })()), "hook", [], "any"falsefalsefalse39), "html"nulltrue);
  163.         yield "</p>
  164.       </div>
  165.     </div>
  166.   </div>
  167. </section>
  168. ";
  169.         // line 46
  170.         yield "<nav class=\"container my-4\" aria-label=\"breadcrumb\">
  171.   <ol class=\"breadcrumb small\">
  172.     <li class=\"breadcrumb-item\"><a href=\"";
  173.         // line 48
  174.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app");
  175.         yield "\">Accueil</a></li>
  176.     <li class=\"breadcrumb-item active\">";
  177.         // line 49
  178.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'49$this->source); })()), "name", [], "any"falsefalsefalse49), "html"nulltrue);
  179.         yield "</li>
  180.   </ol>
  181. </nav>
  182. ";
  183.         // line 55
  184.         yield "<section class=\"py-5 bg-white\">
  185.   <div class=\"container\">
  186.     <header class=\"mb-3\">
  187.       <h2 class=\"h3 txt-ot-";
  188.         // line 58
  189.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'58$this->source); })()), "color", [], "any"falsefalsefalse58), "html"nulltrue);
  190.         yield " mb-1 fw-bold\">Notre sélection ";
  191.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'58$this->source); })()), "name", [], "any"falsefalsefalse58), "html"nulltrue);
  192.         yield ".</h2>
  193.       <p class=\"text-muted mb-0\">";
  194.         // line 59
  195.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["typeOffer"]) || array_key_exists("typeOffer"$context) ? $context["typeOffer"] : (function () { throw new RuntimeError('Variable "typeOffer" does not exist.'59$this->source); })()), "description", [], "any"falsefalsefalse59), "html"nulltrue);
  196.         yield "</p>
  197.     </header>
  198.   <div class=\"row g-3 g-md-4\">
  199.       ";
  200.         // line 63
  201.         $context['_parent'] = $context;
  202.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["offers"]) || array_key_exists("offers"$context) ? $context["offers"] : (function () { throw new RuntimeError('Variable "offers" does not exist.'63$this->source); })()));
  203.         foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  204.             // line 64
  205.             yield "      <div class=\"col-12 col-sm-6 col-lg-3\">
  206.         <article class=\"card card-offer border-0 shadow-sm h-100 overflow-hidden rounded-4\">
  207.         ";
  208.             // line 66
  209.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["o"], "type", [], "any"falsefalsefalse66), "id", [], "any"falsefalsefalse66), "1"))) {
  210.                 // line 67
  211.                 yield "          <a href=\"";
  212.                 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->sourceCoreExtension::getAttribute($this->env$this->source$context["o"], "destination", [], "any"falsefalsefalse67), "slug", [], "any"falsefalsefalse67)]), "html"nulltrue);
  213.                 yield "\" class=\"stretched-link text-decoration-none text-white\">
  214.           <div class=\"ratio ratio-4x5\">
  215.               <img src=\"";
  216.                 // line 69
  217.                 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"falsefalsefalse69), "slug", [], "any"falsefalsefalse69)) . "/") . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["o"], "destination", [], "any"falsefalsefalse69), "img", [], "any"falsefalsefalse69))), "html"nulltrue);
  218.                 yield "\" alt=\"";
  219.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse69), "html"nulltrue);
  220.                 yield "\" alt=\"";
  221.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse69), "html"nulltrue);
  222.                 yield "\" class=\"object-fit-cover w-100 h-100\">
  223.         ";
  224.             } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 70
  225. $context["o"], "type", [], "any"falsefalsefalse70), "id", [], "any"falsefalsefalse70), "2"))) {
  226.                 // line 71
  227.                 yield "          <a href=\"";
  228.                 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"falsefalsefalse71)]), "html"nulltrue);
  229.                 yield "\" class=\"stretched-link text-decoration-none text-white\">
  230.           <div class=\"ratio ratio-4x5\">
  231.               <img src=\"";
  232.                 // line 73
  233.                 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"falsefalsefalse73)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["o"], "img", [], "any"falsefalsefalse73))), "html"nulltrue);
  234.                 yield "\" alt=\"";
  235.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "file", [], "any"falsefalsefalse73), "html"nulltrue);
  236.                 yield "\" class=\"object-fit-cover w-100 h-100\">
  237.         ";
  238.             } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 74
  239. $context["o"], "type", [], "any"falsefalsefalse74), "id", [], "any"falsefalsefalse74), "3"))) {
  240.                 // line 75
  241.                 yield "          <a href=\"";
  242.                 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"falsefalsefalse75)]), "html"nulltrue);
  243.                 yield "\" class=\"stretched-link text-decoration-none text-white\">
  244.           <div class=\"ratio ratio-4x5\">
  245.               <img src=\"";
  246.                 // line 77
  247.                 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"falsefalsefalse77)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["o"], "img", [], "any"falsefalsefalse77))), "html"nulltrue);
  248.                 yield "\" alt=\"";
  249.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse77), "html"nulltrue);
  250.                 yield "\" class=\"object-fit-cover w-100 h-100\">
  251.         ";
  252.             } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 78
  253. $context["o"], "type", [], "any"falsefalsefalse78), "id", [], "any"falsefalsefalse78), "4"))) {
  254.                 // line 79
  255.                 yield "          <a href=\"";
  256.                 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"falsefalsefalse79)]), "html"nulltrue);
  257.                 yield "\" class=\"stretched-link text-decoration-none text-white\">
  258.           <div class=\"ratio ratio-4x5\">
  259.               <img src=\"";
  260.                 // line 81
  261.                 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"falsefalsefalse81)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["o"], "img", [], "any"falsefalsefalse81))), "html"nulltrue);
  262.                 yield "\" alt=\"";
  263.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse81), "html"nulltrue);
  264.                 yield "\" class=\"object-fit-cover w-100 h-100\">
  265.         ";
  266.             }
  267.             // line 83
  268.             yield "            </div>
  269.             <div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
  270.               <h3 class=\"h5 fw-bold text-white text-shadow-sm mb-3\">";
  271.             // line 85
  272.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["o"], "title", [], "any"falsefalsefalse85), "html"nulltrue);
  273.             yield "</h3>
  274.               <div>
  275.                 <span class=\"btn btn-outline-light btn-sm rounded-pill\">Découvrir</span>
  276.               </div>
  277.             </div>
  278.           </a>
  279.         </article>
  280.       </div>
  281.       ";
  282.         }
  283.         $_parent $context['_parent'];
  284.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  285.         $context array_intersect_key($context$_parent) + $_parent;
  286.         // line 94
  287.         yield "    </div>
  288.     <div class=\"section-divider mx-auto my-5\"></div>
  289.   </div>
  290. </section>
  291. ";
  292.         
  293.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  294.         
  295.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  296.         return; yield '';
  297.     }
  298.     // line 102
  299.     public function block_extra_head($context, array $blocks = [])
  300.     {
  301.         $macros $this->macros;
  302.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  303.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extra_head"));
  304.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  305.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extra_head"));
  306.         // line 103
  307.         yield "  ";
  308.         yield from $this->yieldParentBlock("extra_head"$context$blocks);
  309.         yield "
  310.   <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css\">
  311.   <style>
  312.     .text-shadow-sm{ text-shadow:0 2px 4px rgba(0,0,0,.35); }
  313.     .text-ot-green{ color: var(--ot-primary, #2ea37a); }
  314.     .bg-ot-green{ background: var(--ot-primary, #2ea37a); }
  315.   </style>
  316. ";
  317.         
  318.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  319.         
  320.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  321.         return; yield '';
  322.     }
  323.     /**
  324.      * @codeCoverageIgnore
  325.      */
  326.     public function getTemplateName()
  327.     {
  328.         return "default/offers.html.twig";
  329.     }
  330.     /**
  331.      * @codeCoverageIgnore
  332.      */
  333.     public function isTraitable()
  334.     {
  335.         return false;
  336.     }
  337.     /**
  338.      * @codeCoverageIgnore
  339.      */
  340.     public function getDebugInfo()
  341.     {
  342.         return array (  347 => 103,  337 => 102,  320 => 94,  305 => 85,  301 => 83,  294 => 81,  288 => 79,  286 => 78,  280 => 77,  274 => 75,  272 => 74,  266 => 73,  260 => 71,  258 => 70,  250 => 69,  244 => 67,  242 => 66,  238 => 64,  234 => 63,  227 => 59,  221 => 58,  216 => 55,  210 => 49,  206 => 48,  202 => 46,  193 => 39,  189 => 38,  186 => 37,  182 => 36,  180 => 35,  177 => 34,  175 => 33,  172 => 32,  170 => 31,  167 => 30,  165 => 29,  156 => 22,  150 => 20,  143 => 18,  141 => 17,  137 => 15,  134 => 11,  124 => 10,  104 => 8,  84 => 7,  63 => 4,  40 => 2,);
  343.     }
  344.     public function getSourceContext()
  345.     {
  346.         return new Source("{# templates/escapade/show.html.twig #}
  347. {% extends 'base.html.twig' %}
  348. {% block title %}O'Escapade — {{ escapade.title|default('Carnaval St Lucie') }}{% endblock %}
  349. {# Header standard ou overlay si besoin sur le hero #}
  350. {% block header_classes %}header-overlay{% endblock %}
  351. {% block navbar_theme %}navbar-dark{% endblock %}
  352. {% block body %}
  353. {# -----------------------------
  354.    HERO Escapade (avec inclus)
  355. ------------------------------ #}
  356. <section class=\"position-relative text-white\">
  357.   <div class=\"ratio ratio-21x9\">
  358.     {% if typeOffer.img %}
  359.     <img src=\"{{ asset('img/offer/')}}{{typeOffer.img}}\" alt=\"Carnaval St Lucie\" class=\"object-fit-cover w-100 h-100\">
  360.   {% else %}
  361.     <img src=\"{{ asset('img/2633.jpg') }}\" alt=\"\" class=\"object-fit-cover w-100 h-100\">
  362.   {% endif %}
  363.   </div>
  364.   <div class=\"position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center\">
  365.     <div class=\"container\">
  366.       <div class=\"bg-white text-dark p-4 p-md-5 rounded-4 shadow-sm\" style=\"max-width: 600px;\">
  367.         <h1 class=\"display-5 fw-bold 
  368.         {% if typeOffer.id == '1' %}
  369.           txt-ot-green 
  370.         {% elseif typeOffer.id == '2' %}
  371.           txt-ot-yellow
  372.         {% elseif typeOffer.id == '3' %}
  373.           txt-ot-brown 
  374.         {% elseif typeOffer.id == '4' %}
  375.           txt-ot-blue 
  376.         {% endif %} 
  377.         mb-3\">{{typeOffer.name}}</h1>
  378.         <p class=\"mb-3\">{{typeOffer.hook}}</p>
  379.       </div>
  380.     </div>
  381.   </div>
  382. </section>
  383. {# Fil d'Ariane #}
  384. <nav class=\"container my-4\" aria-label=\"breadcrumb\">
  385.   <ol class=\"breadcrumb small\">
  386.     <li class=\"breadcrumb-item\"><a href=\"{{ path('app') }}\">Accueil</a></li>
  387.     <li class=\"breadcrumb-item active\">{{typeOffer.name}}</li>
  388.   </ol>
  389. </nav>
  390. {# -----------------------------
  391.    OFFRES DU MOMENT — réutilisation grille cartes maquette
  392. ------------------------------ #}
  393. <section class=\"py-5 bg-white\">
  394.   <div class=\"container\">
  395.     <header class=\"mb-3\">
  396.       <h2 class=\"h3 txt-ot-{{typeOffer.color}} mb-1 fw-bold\">Notre sélection {{typeOffer.name}}.</h2>
  397.       <p class=\"text-muted mb-0\">{{typeOffer.description}}</p>
  398.     </header>
  399.   <div class=\"row g-3 g-md-4\">
  400.       {% for o in offers %}
  401.       <div class=\"col-12 col-sm-6 col-lg-3\">
  402.         <article class=\"card card-offer border-0 shadow-sm h-100 overflow-hidden rounded-4\">
  403.         {% if o.type.id == '1' %}
  404.           <a href=\"{{ path('o.escapade.destination',{slug:o.destination.slug}) }}\" class=\"stretched-link text-decoration-none text-white\">
  405.           <div class=\"ratio ratio-4x5\">
  406.               <img src=\"{{asset('img/destination/' ~ o.destination.slug  ~ '/' ~ o.destination.img)}}\" alt=\"{{ o.title }}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
  407.         {% elseif o.type.id == '2' %}
  408.           <a href=\"{{ path('o.circuit.destination',{slug:o.slug})}}\" class=\"stretched-link text-decoration-none text-white\">
  409.           <div class=\"ratio ratio-4x5\">
  410.               <img src=\"{{asset('img/offer/circuit/' ~ o.slug  ~ '/' ~ o.img)}}\" alt=\"{{ o.file }}\" class=\"object-fit-cover w-100 h-100\">
  411.         {% elseif o.type.id == \"3\" %}
  412.           <a href=\"{{ path('o.roadtrip.destination',{slug:o.slug})}}\" class=\"stretched-link text-decoration-none text-white\">
  413.           <div class=\"ratio ratio-4x5\">
  414.               <img src=\"{{asset('img/offer/road/' ~ o.slug  ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
  415.         {% elseif o.type.id == \"4\" %}
  416.           <a href=\"{{ path('o.croisiere.destination',{slug:o.slug})}}\" class=\"stretched-link text-decoration-none text-white\">
  417.           <div class=\"ratio ratio-4x5\">
  418.               <img src=\"{{asset('img/offer/croisiere/' ~ o.slug  ~ '/' ~ o.img)}}\" alt=\"{{ o.title }}\" class=\"object-fit-cover w-100 h-100\">
  419.         {% endif %}
  420.             </div>
  421.             <div class=\"card-img-overlay d-flex flex-column justify-content-end p-3 p-md-4\">
  422.               <h3 class=\"h5 fw-bold text-white text-shadow-sm mb-3\">{{ o.title }}</h3>
  423.               <div>
  424.                 <span class=\"btn btn-outline-light btn-sm rounded-pill\">Découvrir</span>
  425.               </div>
  426.             </div>
  427.           </a>
  428.         </article>
  429.       </div>
  430.       {% endfor %}
  431.     </div>
  432.     <div class=\"section-divider mx-auto my-5\"></div>
  433.   </div>
  434. </section>
  435. {% endblock %}
  436. {% block extra_head %}
  437.   {{ parent() }}
  438.   <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css\">
  439.   <style>
  440.     .text-shadow-sm{ text-shadow:0 2px 4px rgba(0,0,0,.35); }
  441.     .text-ot-green{ color: var(--ot-primary, #2ea37a); }
  442.     .bg-ot-green{ background: var(--ot-primary, #2ea37a); }
  443.   </style>
  444. {% endblock %}
  445. ""default/offers.html.twig""/home/ladomitiyc/otropik/templates/default/offers.html.twig");
  446.     }
  447. }