var/cache/dev/twig/1f/1f015e32d682617e289cca8082bf814d.php line 38

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @SyliusShop/contact.html.twig */
  14. class __TwigTemplate_59a8e9475716204f20d1d7709b37163a extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "@SyliusShop/layout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/contact.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/contact.html.twig"));
  38.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/contact.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 3
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         // line 4
  54.         echo "    <div class=\"container-h\">
  55.         <div class=\"div-contact\">
  56.             <div class=\"div-map\">
  57.                 <div id='map'>
  58.                 </div>
  59.                 <script>
  60.                   mapboxgl.accessToken = '";
  61.         // line 11
  62.         echo twig_escape_filter($this->env, (isset($context["token_mapbox"]) || array_key_exists("token_mapbox"$context) ? $context["token_mapbox"] : (function () { throw new RuntimeError('Variable "token_mapbox" does not exist.'11$this->source); })()), "html"nulltrue);
  63.         echo "';
  64.                   var map = new mapboxgl.Map({
  65.                     container: 'map',
  66.                     style: 'mapbox://styles/mapbox/streets-v11',
  67.                     center: [2, 48], // starting position
  68.                     zoom: 5 // starting zoom
  69.                   });
  70.                   // Ajouter un marqueur au centre de la carte
  71.                   new mapboxgl.Marker()
  72.                     .setLngLat([2, 48])
  73.                     .addTo(map);
  74.                 </script>
  75.             </div>
  76.             ";
  77.         // line 79
  78.         echo "<div class=\"div-contact-message\">
  79.                 <div class=\"div-form-contact\">
  80.                     <h4>
  81.                         Laissez nous un message
  82.                     </h4>
  83.                     <form class=\"form-contact\">
  84.                         <input class=\"\" placeholder=\"Votre Email\">
  85.                         <input class=\"\" placeholder=\"Objet\">
  86.                         <textarea class=\"\" placeholder=\"Votre message\"></textarea>
  87.                         <!-- Form buttons -->
  88.                         <div class=\"\">
  89.                             <button type=\"submit\" id=\"submit-contact\" class=\"btn round\">
  90.                                 Envoyer
  91.                             </button>
  92.                         </div>
  93.                     </form>
  94.                 </div>
  95.                 <div>
  96.                     <img class=\"ui fluid image\" id=\"image-contact\" src=\"";
  97.         // line 97
  98.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("contact-image.png""shop"), "html"nulltrue);
  99.         echo "\" alt=\"contact-image\">
  100.                 </div>
  101.             </div>
  102.         </div>
  103.     </div>
  104. ";
  105.         
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107.         
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109.     }
  110.     public function getTemplateName()
  111.     {
  112.         return "@SyliusShop/contact.html.twig";
  113.     }
  114.     public function isTraitable()
  115.     {
  116.         return false;
  117.     }
  118.     public function getDebugInfo()
  119.     {
  120.         return array (  114 => 97,  94 => 79,  77 => 11,  68 => 4,  58 => 3,  35 => 1,);
  121.     }
  122.     public function getSourceContext()
  123.     {
  124.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  125. {% block content %}
  126.     <div class=\"container-h\">
  127.         <div class=\"div-contact\">
  128.             <div class=\"div-map\">
  129.                 <div id='map'>
  130.                 </div>
  131.                 <script>
  132.                   mapboxgl.accessToken = '{{ token_mapbox }}';
  133.                   var map = new mapboxgl.Map({
  134.                     container: 'map',
  135.                     style: 'mapbox://styles/mapbox/streets-v11',
  136.                     center: [2, 48], // starting position
  137.                     zoom: 5 // starting zoom
  138.                   });
  139.                   // Ajouter un marqueur au centre de la carte
  140.                   new mapboxgl.Marker()
  141.                     .setLngLat([2, 48])
  142.                     .addTo(map);
  143.                 </script>
  144.             </div>
  145.             {#
  146.             <div class=\"div-contact-info\">
  147.                 <ul class=\"ul-div-1\">
  148.                     <li>
  149.                         <h4>
  150.                             Besoin d’aide ?
  151.                         </h4>
  152.                         <h4>
  153.                             Contactez nous
  154.                         </h4>
  155.                         <p>
  156.                             Leo duis ut diam quam nulla porttitor massa id. Cursus turpis massa tincidunt dui ut ornare lectus.
  157.                         </p>
  158.                     </li>
  159.                 </ul>
  160.                 <ul class=\"ul-div-2\">
  161.                     <li>
  162.                         <span>
  163.                             EMAIL
  164.                         </span>
  165.                         <p>
  166.                             Email: info@100percent.com
  167.                         </p>
  168.                     </li>
  169.                     <li>
  170.                         <span>
  171.                             ADRESSE
  172.                         </span>
  173.                         <p>
  174.                             9630 Aero Drive San Diego, CA 92123 United States
  175.                         </p>
  176.                     </li>
  177.                 </ul>
  178.                 <ul class=\"ul-div-3\">
  179.                     <li>
  180.                         <span>
  181.                             TELEPHONE
  182.                         </span>
  183.                         <p>
  184.                             Phone: +1 800 123 4567
  185.                         </p>
  186.                     </li>
  187.                     <li>
  188.                         <span>
  189.                             SUIVEZ NOUS
  190.                         </span>
  191.                         <div class=\"list-rs-contact\">
  192.                             <a target=\"_blank\" href=\"//facebook.com/bitbag\"><i class=\"big grey facebook icon\"></i></a>
  193.                             <a target=\"_blank\" href=\"//instagram.com/bitbag.commerce\"><i class=\"big grey instagram icon\"></i></a>
  194.                             <a target=\"_blank\" href=\"//twitter.com/bitbagcommerce\"><i class=\"big grey twitter card icon\"></i></a>
  195.                         </div>
  196.                     </li>
  197.                 </ul>
  198.             </div>
  199.             #}<div class=\"div-contact-message\">
  200.                 <div class=\"div-form-contact\">
  201.                     <h4>
  202.                         Laissez nous un message
  203.                     </h4>
  204.                     <form class=\"form-contact\">
  205.                         <input class=\"\" placeholder=\"Votre Email\">
  206.                         <input class=\"\" placeholder=\"Objet\">
  207.                         <textarea class=\"\" placeholder=\"Votre message\"></textarea>
  208.                         <!-- Form buttons -->
  209.                         <div class=\"\">
  210.                             <button type=\"submit\" id=\"submit-contact\" class=\"btn round\">
  211.                                 Envoyer
  212.                             </button>
  213.                         </div>
  214.                     </form>
  215.                 </div>
  216.                 <div>
  217.                     <img class=\"ui fluid image\" id=\"image-contact\" src=\"{{ asset('contact-image.png', 'shop') }}\" alt=\"contact-image\">
  218.                 </div>
  219.             </div>
  220.         </div>
  221.     </div>
  222. {% endblock %}
  223. ""@SyliusShop/contact.html.twig""/var/www/Bikers/templates/bundles/SyliusShopBundle/contact.html.twig");
  224.     }
  225. }