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