var/cache/dev/twig/24/24bfa84a981ced9141f5e1424a4d0acc.php line 51

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/contact.html.twig */
  15. class __TwigTemplate_c35e5278cf8d88ebeb90d97b44df7bd2 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.             'seo' => [$this'block_seo'],
  26.             'body' => [$this'block_body'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/contact.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/contact.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""default/contact.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         yield "Contact – OTropik Agence de voyage en Guadeloupe";
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.         return; yield '';
  62.     }
  63.     // line 4
  64.     public function block_seo($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  71.         // line 5
  72.         yield " <meta name=\"description\" content=\"Contactez OTropik, agence de voyage en Guadeloupe, pour organiser votre séjour, circuit ou voyage sur mesure au départ des Antilles. Notre équipe vous accompagne.\" >
  73. \t<meta property=\"og:title\" content=\"Contact – OTropik Agence de voyage en Guadeloupe\" />
  74. \t<meta property=\"og:type\" content=\"Website\" />
  75. \t<meta property=\"og:description\" content=\"Besoin d’un conseiller voyage en Guadeloupe ? Contactez OTropik pour organiser votre prochain séjour sur mesure.\" />
  76. \t<meta property=\"og:url\" content=\"";
  77.         // line 10
  78.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'10$this->source); })()), "request", [], "any"falsefalsefalse10), "uri", [], "any"falsefalsefalse10)), "html"nulltrue);
  79.         yield "\" />
  80. \t<meta property=\"og:image\" content=\"";
  81.         // line 11
  82.         yield "\" />
  83. \t<meta name =\"twitter:card\" content=\"summary_large_image\" />
  84. \t<meta name=\"twitter:title\" content=\"Contact – OTropik Agence de voyage en Guadeloupe\">
  85. \t<meta name=\"twitter:description\" content=\"Besoin d’un conseiller voyage en Guadeloupe ? Contactez OTropik pour organiser votre prochain séjour sur mesure.\">
  86. \t<meta name=\"twitter:image\" content=\"";
  87.         // line 16
  88.         yield "\">
  89. ";
  90.         
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92.         
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94.         return; yield '';
  95.     }
  96.     // line 18
  97.     public function block_body($context, array $blocks = [])
  98.     {
  99.         $macros $this->macros;
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  104.         // line 19
  105.         $context['_parent'] = $context;
  106.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'19$this->source); })()), "flashes", [], "any"falsefalsefalse19));
  107.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  108.             // line 20
  109.             yield "  ";
  110.             $context['_parent'] = $context;
  111.             $context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
  112.             foreach ($context['_seq'] as $context["_key"] => $context["m"]) {
  113.                 // line 21
  114.                 yield "    <div class=\"alert alert-";
  115.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["label"], "html"nulltrue);
  116.                 yield " rounded-3 m-3\">";
  117.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["m"], "html"nulltrue);
  118.                 yield "</div>
  119.   ";
  120.             }
  121.             $_parent $context['_parent'];
  122.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['m'], $context['_parent'], $context['loop']);
  123.             $context array_intersect_key($context$_parent) + $_parent;
  124.         }
  125.         $_parent $context['_parent'];
  126.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  127.         $context array_intersect_key($context$_parent) + $_parent;
  128.         // line 25
  129.         yield "<section class=\"position-relative text-white\">
  130.   <div class=\"ratio ratio-21x9\">
  131.   ";
  132.         // line 27
  133.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'27$this->source); })()), "img", [], "any"falsefalsefalse27)) {
  134.             // line 28
  135.             yield "  <img src=\"";
  136.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/banner/"), "html"nulltrue);
  137.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'28$this->source); })()), "img", [], "any"falsefalsefalse28), "html"nulltrue);
  138.             yield "\" alt=\"Plage paradisiaque\" class=\"w-100 h-100 object-fit-cover\">
  139.   ";
  140.         } else {
  141.             // line 30
  142.             yield "    <img src=\"";
  143.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/cta-tourist.jpg"), "html"nulltrue);
  144.             yield "\" alt=\"Plage paradisiaque\" class=\"w-100 h-100 object-fit-cover\">
  145.   ";
  146.         }
  147.         // line 32
  148.         yield "  </div>
  149.   <div class=\"position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center text-center bg-dark bg-opacity-50\">
  150.     <div class=\"p-3\">
  151.       <h1 class=\"display-4 fw-bold mb-3\">Restons en contact 🌴</h1>
  152.       <p class=\"lead\">Une question, une envie d’évasion ou besoin d’un devis sur mesure ?  
  153.         L’équipe <span class=\"fw-bold text-warning\">Otropik</span> est à votre écoute.</p>
  154.     </div>
  155.   </div>
  156. </section>
  157. ";
  158.         // line 43
  159.         yield "<section class=\"container py-5\">
  160.   <div class=\"row g-5\">
  161.     ";
  162.         // line 47
  163.         yield "    <div class=\"col-12 col-lg-5\">
  164.       <h2 class=\"h4 fw-bold mb-4\">Nos coordonnées</h2>
  165.       <p class=\"text-muted mb-4\">
  166.         Passez nous voir, appelez-nous ou envoyez un message : nous répondons rapidement.
  167.       </p>
  168.       <ul class=\"list-unstyled\">
  169.         <li class=\"mb-3 d-flex align-items-start\">
  170.           <i class=\"bi bi-geo-alt txt-ot-green fs-4 me-3\"></i>
  171.           <div>
  172.             <strong>Adresse</strong><br>
  173.             ";
  174.         // line 58
  175.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'58$this->source); })()), "adress", [], "any"falsefalsefalse58), "html"nulltrue);
  176.         yield " <br> ";
  177.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'58$this->source); })()), "zip", [], "any"falsefalsefalse58), "html"nulltrue);
  178.         yield " ";
  179.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'58$this->source); })()), "city", [], "any"falsefalsefalse58), "html"nulltrue);
  180.         yield "
  181.           </div>
  182.         </li>
  183.         <li class=\"mb-3 d-flex align-items-start\">
  184.           <i class=\"bi bi-telephone txt-ot-green fs-4 me-3\"></i>
  185.           <div>
  186.             <strong>Téléphone</strong><br>
  187.             ";
  188.         // line 65
  189.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'65$this->source); })()), "phone", [], "any"falsefalsefalse65)) {
  190.             yield 
  191.             Bureau : <a class=\"link-info\" href=\"tel:";
  192.             // line 66
  193.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'66$this->source); })()), "phone", [], "any"falsefalsefalse66), "html"nulltrue);
  194.             yield "\">";
  195.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'66$this->source); })()), "phone", [], "any"falsefalsefalse66), "html"nulltrue);
  196.             yield "</a> ";
  197.         }
  198.         // line 67
  199.         yield "            ";
  200.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'67$this->source); })()), "mobile", [], "any"falsefalsefalse67)) {
  201.             yield 
  202.             <br>Mobile : <a class=\"link-info\" href=\"tel:";
  203.             // line 68
  204.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'68$this->source); })()), "mobile", [], "any"falsefalsefalse68), "html"nulltrue);
  205.             yield "\">";
  206.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'68$this->source); })()), "mobile", [], "any"falsefalsefalse68), "html"nulltrue);
  207.             yield "</a> ";
  208.         }
  209.         // line 69
  210.         yield "            ";
  211.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'69$this->source); })()), "mobileTwo", [], "any"falsefalsefalse69)) {
  212.             yield 
  213.             <br>Mobile : <a class=\"link-info\" href=\"tel:";
  214.             // line 70
  215.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'70$this->source); })()), "mobileTwo", [], "any"falsefalsefalse70), "html"nulltrue);
  216.             yield "\">";
  217.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'70$this->source); })()), "mobileTwo", [], "any"falsefalsefalse70), "html"nulltrue);
  218.             yield "</a> ";
  219.         }
  220.         // line 71
  221.         yield "          </div>
  222.         </li>
  223.         <li class=\"mb-3 d-flex align-items-start\">
  224.           <i class=\"bi bi-envelope txt-ot-green fs-4 me-3\"></i>
  225.           <div>
  226.           ";
  227.         // line 76
  228.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'76$this->source); })()), "mail", [], "any"falsefalsefalse76)) {
  229.             yield 
  230.             <strong>Email</strong><br>
  231.             <a class=\"link-info\" href=\"mailto:";
  232.             // line 78
  233.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'78$this->source); })()), "mail", [], "any"falsefalsefalse78), "html"nulltrue);
  234.             yield "\">";
  235.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["infos"]) || array_key_exists("infos"$context) ? $context["infos"] : (function () { throw new RuntimeError('Variable "infos" does not exist.'78$this->source); })()), "mail", [], "any"falsefalsefalse78), "html"nulltrue);
  236.             yield "</a>
  237.           ";
  238.         }
  239.         // line 80
  240.         yield "          </div>
  241.         </li>
  242.       </ul>
  243.       <div class=\"map-container\" style=\"width: 100%; height: 400px; border-radius: 12px; overflow: hidden;\">
  244.   <iframe
  245.     width=\"100%\"
  246.     height=\"100%\"
  247.     frameborder=\"0\"
  248.     scrolling=\"no\"
  249.     marginheight=\"0\"
  250.     marginwidth=\"0\"
  251.     src=\"https://www.openstreetmap.org/export/embed.html?bbox=-61.5270%2C16.2570%2C-61.5070%2C16.2770&amp;layer=mapnik&amp;marker=16.2669%2C-61.5170\"
  252.     style=\"border:1px solid #ccc;\">
  253.   </iframe>
  254. </div>
  255. <p class=\"text-muted small text-center\">
  256.   <a href=\"https://www.openstreetmap.org/?mlat=16.2669&amp;mlon=-61.5170#map=15/16.2669/-61.5170\" target=\"_blank\">
  257.     Voir la carte agrandie
  258.   </a>
  259. </p>
  260.     </div>
  261.     ";
  262.         // line 104
  263.         yield "    <div class=\"col-12 col-lg-7\">
  264.       <div class=\"card border-0 shadow-lg rounded-4\">
  265.         <div class=\"card-body p-4\">
  266.           <h2 class=\"h5 fw-bold mb-4\">Envoyez-nous un message</h2>
  267.           <form method=\"post\" action=\"";
  268.         // line 108
  269.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact.send");
  270.         yield "\">
  271.             <div class=\"row g-3\">
  272.               <div class=\"col-md-6\">
  273.                 <label class=\"form-label\">Nom</label>
  274.                 <input type=\"text\" name=\"name\" class=\"form-control rounded-pill\" placeholder=\"Votre nom complet\" required>
  275.               </div>
  276.               <div class=\"col-md-6\">
  277.                 <label class=\"form-label\">Email</label>
  278.                 <input type=\"email\" name=\"email\" class=\"form-control rounded-pill\" placeholder=\"vous@email.com\" required>
  279.               </div>
  280.               <div class=\"col-md-6\">
  281.                 <label class=\"form-label\">Téléphone</label>
  282.                 <input type=\"tel\" name=\"phone\" class=\"form-control rounded-pill\" placeholder=\"+590 ...\" >
  283.               </div>
  284.               <div class=\"col-md-6\">
  285.                 <label class=\"form-label\">Sujet</label>
  286.                 <input type=\"text\" name=\"subject\" class=\"form-control rounded-pill\" placeholder=\"Ex: Demande de devis\">
  287.               </div>
  288.               <div class=\"col-12\">
  289.                 <label class=\"form-label\">Message</label>
  290.                 <textarea name=\"message\" rows=\"5\" class=\"form-control rounded-4\" placeholder=\"Votre message...\" required></textarea>
  291.               </div>
  292.             </div>
  293.             <div class=\"mt-4\">
  294.               <div class=\"h-captcha mb-3\" data-sitekey=\"";
  295.         // line 133
  296.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["hcaptchaSiteKey"]) || array_key_exists("hcaptchaSiteKey"$context) ? $context["hcaptchaSiteKey"] : (function () { throw new RuntimeError('Variable "hcaptchaSiteKey" does not exist.'133$this->source); })()), "html"nulltrue);
  297.         yield "\"></div>
  298.               <div class=\"text-end\">
  299.                 <button type=\"submit\" class=\"btn btn-primary rounded-pill px-4\">
  300.                   <i class=\"bi bi-send me-1\"></i> Envoyer
  301.                 </button>
  302.               </div>
  303.             </div>
  304.           </form>
  305.           <script src=\"https://js.hcaptcha.com/1/api.js\" async defer></script>
  306.         </div>
  307.       </div>
  308.     </div>
  309.   </div>
  310. </section>
  311. ";
  312.         
  313.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  314.         
  315.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  316.         return; yield '';
  317.     }
  318.     /**
  319.      * @codeCoverageIgnore
  320.      */
  321.     public function getTemplateName()
  322.     {
  323.         return "default/contact.html.twig";
  324.     }
  325.     /**
  326.      * @codeCoverageIgnore
  327.      */
  328.     public function isTraitable()
  329.     {
  330.         return false;
  331.     }
  332.     /**
  333.      * @codeCoverageIgnore
  334.      */
  335.     public function getDebugInfo()
  336.     {
  337.         return array (  328 => 133,  300 => 108,  294 => 104,  269 => 80,  262 => 78,  257 => 76,  250 => 71,  244 => 70,  239 => 69,  233 => 68,  228 => 67,  222 => 66,  218 => 65,  204 => 58,  191 => 47,  186 => 43,  174 => 32,  168 => 30,  161 => 28,  159 => 27,  155 => 25,  140 => 21,  135 => 20,  131 => 19,  121 => 18,  109 => 16,  102 => 11,  98 => 10,  91 => 5,  81 => 4,  61 => 3,  38 => 1,);
  338.     }
  339.     public function getSourceContext()
  340.     {
  341.         return new Source("{% extends 'base.html.twig' %}
  342. {% block title %}Contact – OTropik Agence de voyage en Guadeloupe{% endblock %}
  343. {% block seo %}
  344.  <meta name=\"description\" content=\"Contactez OTropik, agence de voyage en Guadeloupe, pour organiser votre séjour, circuit ou voyage sur mesure au départ des Antilles. Notre équipe vous accompagne.\" >
  345. \t<meta property=\"og:title\" content=\"Contact – OTropik Agence de voyage en Guadeloupe\" />
  346. \t<meta property=\"og:type\" content=\"Website\" />
  347. \t<meta property=\"og:description\" content=\"Besoin d’un conseiller voyage en Guadeloupe ? Contactez OTropik pour organiser votre prochain séjour sur mesure.\" />
  348. \t<meta property=\"og:url\" content=\"{{absolute_url( app.request.uri)}}\" />
  349. \t<meta property=\"og:image\" content=\"{#{asset('img/asset/cardimg-fb.jpg')}#}\" />
  350. \t<meta name =\"twitter:card\" content=\"summary_large_image\" />
  351. \t<meta name=\"twitter:title\" content=\"Contact – OTropik Agence de voyage en Guadeloupe\">
  352. \t<meta name=\"twitter:description\" content=\"Besoin d’un conseiller voyage en Guadeloupe ? Contactez OTropik pour organiser votre prochain séjour sur mesure.\">
  353. \t<meta name=\"twitter:image\" content=\"{#{asset('img/asset/cardimg-fb.jpg')}#}\">
  354. {% endblock %}
  355. {% block body %}
  356. {% for label, messages in app.flashes %}
  357.   {% for m in messages %}
  358.     <div class=\"alert alert-{{ label }} rounded-3 m-3\">{{ m }}</div>
  359.   {% endfor %}
  360. {% endfor %}
  361. {# --- Hero Banner --- #}
  362. <section class=\"position-relative text-white\">
  363.   <div class=\"ratio ratio-21x9\">
  364.   {% if banner.img %}
  365.   <img src=\"{{ asset('img/banner/')}}{{banner.img}}\" alt=\"Plage paradisiaque\" class=\"w-100 h-100 object-fit-cover\">
  366.   {% else %}
  367.     <img src=\"{{ asset('img/cta-tourist.jpg')}}\" alt=\"Plage paradisiaque\" class=\"w-100 h-100 object-fit-cover\">
  368.   {% endif %}
  369.   </div>
  370.   <div class=\"position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center text-center bg-dark bg-opacity-50\">
  371.     <div class=\"p-3\">
  372.       <h1 class=\"display-4 fw-bold mb-3\">Restons en contact 🌴</h1>
  373.       <p class=\"lead\">Une question, une envie d’évasion ou besoin d’un devis sur mesure ?  
  374.         L’équipe <span class=\"fw-bold text-warning\">Otropik</span> est à votre écoute.</p>
  375.     </div>
  376.   </div>
  377. </section>
  378. {# --- Section principale --- #}
  379. <section class=\"container py-5\">
  380.   <div class=\"row g-5\">
  381.     {# Infos de contact #}
  382.     <div class=\"col-12 col-lg-5\">
  383.       <h2 class=\"h4 fw-bold mb-4\">Nos coordonnées</h2>
  384.       <p class=\"text-muted mb-4\">
  385.         Passez nous voir, appelez-nous ou envoyez un message : nous répondons rapidement.
  386.       </p>
  387.       <ul class=\"list-unstyled\">
  388.         <li class=\"mb-3 d-flex align-items-start\">
  389.           <i class=\"bi bi-geo-alt txt-ot-green fs-4 me-3\"></i>
  390.           <div>
  391.             <strong>Adresse</strong><br>
  392.             {{infos.adress}} <br> {{infos.zip}} {{infos.city}}
  393.           </div>
  394.         </li>
  395.         <li class=\"mb-3 d-flex align-items-start\">
  396.           <i class=\"bi bi-telephone txt-ot-green fs-4 me-3\"></i>
  397.           <div>
  398.             <strong>Téléphone</strong><br>
  399.             {% if infos.phone %} 
  400.             Bureau : <a class=\"link-info\" href=\"tel:{{infos.phone}}\">{{infos.phone}}</a> {% endif %}
  401.             {% if infos.mobile %} 
  402.             <br>Mobile : <a class=\"link-info\" href=\"tel:{{infos.mobile}}\">{{infos.mobile}}</a> {% endif %}
  403.             {% if infos.mobileTwo %} 
  404.             <br>Mobile : <a class=\"link-info\" href=\"tel:{{infos.mobileTwo}}\">{{infos.mobileTwo}}</a> {% endif %}
  405.           </div>
  406.         </li>
  407.         <li class=\"mb-3 d-flex align-items-start\">
  408.           <i class=\"bi bi-envelope txt-ot-green fs-4 me-3\"></i>
  409.           <div>
  410.           {% if infos.mail %} 
  411.             <strong>Email</strong><br>
  412.             <a class=\"link-info\" href=\"mailto:{{infos.mail}}\">{{infos.mail}}</a>
  413.           {% endif %}
  414.           </div>
  415.         </li>
  416.       </ul>
  417.       <div class=\"map-container\" style=\"width: 100%; height: 400px; border-radius: 12px; overflow: hidden;\">
  418.   <iframe
  419.     width=\"100%\"
  420.     height=\"100%\"
  421.     frameborder=\"0\"
  422.     scrolling=\"no\"
  423.     marginheight=\"0\"
  424.     marginwidth=\"0\"
  425.     src=\"https://www.openstreetmap.org/export/embed.html?bbox=-61.5270%2C16.2570%2C-61.5070%2C16.2770&amp;layer=mapnik&amp;marker=16.2669%2C-61.5170\"
  426.     style=\"border:1px solid #ccc;\">
  427.   </iframe>
  428. </div>
  429. <p class=\"text-muted small text-center\">
  430.   <a href=\"https://www.openstreetmap.org/?mlat=16.2669&amp;mlon=-61.5170#map=15/16.2669/-61.5170\" target=\"_blank\">
  431.     Voir la carte agrandie
  432.   </a>
  433. </p>
  434.     </div>
  435.     {# Formulaire de contact #}
  436.     <div class=\"col-12 col-lg-7\">
  437.       <div class=\"card border-0 shadow-lg rounded-4\">
  438.         <div class=\"card-body p-4\">
  439.           <h2 class=\"h5 fw-bold mb-4\">Envoyez-nous un message</h2>
  440.           <form method=\"post\" action=\"{{ path('contact.send') }}\">
  441.             <div class=\"row g-3\">
  442.               <div class=\"col-md-6\">
  443.                 <label class=\"form-label\">Nom</label>
  444.                 <input type=\"text\" name=\"name\" class=\"form-control rounded-pill\" placeholder=\"Votre nom complet\" required>
  445.               </div>
  446.               <div class=\"col-md-6\">
  447.                 <label class=\"form-label\">Email</label>
  448.                 <input type=\"email\" name=\"email\" class=\"form-control rounded-pill\" placeholder=\"vous@email.com\" required>
  449.               </div>
  450.               <div class=\"col-md-6\">
  451.                 <label class=\"form-label\">Téléphone</label>
  452.                 <input type=\"tel\" name=\"phone\" class=\"form-control rounded-pill\" placeholder=\"+590 ...\" >
  453.               </div>
  454.               <div class=\"col-md-6\">
  455.                 <label class=\"form-label\">Sujet</label>
  456.                 <input type=\"text\" name=\"subject\" class=\"form-control rounded-pill\" placeholder=\"Ex: Demande de devis\">
  457.               </div>
  458.               <div class=\"col-12\">
  459.                 <label class=\"form-label\">Message</label>
  460.                 <textarea name=\"message\" rows=\"5\" class=\"form-control rounded-4\" placeholder=\"Votre message...\" required></textarea>
  461.               </div>
  462.             </div>
  463.             <div class=\"mt-4\">
  464.               <div class=\"h-captcha mb-3\" data-sitekey=\"{{ hcaptchaSiteKey }}\"></div>
  465.               <div class=\"text-end\">
  466.                 <button type=\"submit\" class=\"btn btn-primary rounded-pill px-4\">
  467.                   <i class=\"bi bi-send me-1\"></i> Envoyer
  468.                 </button>
  469.               </div>
  470.             </div>
  471.           </form>
  472.           <script src=\"https://js.hcaptcha.com/1/api.js\" async defer></script>
  473.         </div>
  474.       </div>
  475.     </div>
  476.   </div>
  477. </section>
  478. {% endblock %}
  479. ""default/contact.html.twig""/home/ladomitiyc/otropik/templates/default/contact.html.twig");
  480.     }
  481. }