templates/frontend/default/contacto.html.twig line 1

Open in your IDE?
  1. {% extends 'frontend/layout.html.twig' %}
  2. {% block title %} {{ seo_on_page.titulo }} {% endblock title %}
  3. {% block metas_titulo %}
  4.     <meta name="title" content="{{ seo_on_page.titulo }}"/>
  5.     <meta http-equiv="title" content="{{ seo_on_page.titulo }}"/>
  6.     <meta name="DC.Title" content="{{ seo_on_page.titulo }}"/>
  7. {% endblock metas_titulo %}
  8. {% block metas_descripcion %}
  9.     <meta name="description" content="{{ seo_on_page.descripcion }}"/>
  10.     <meta http-equiv="description" content="{{ seo_on_page.descripcion }}"/>
  11.     <meta name="DC.description" content="{{ seo_on_page.descripcion }}"/>
  12. {% endblock metas_descripcion %}
  13. {% block keywords %}
  14.     <meta name="Keywords" content="{{ seo_on_page.tags }}"/>
  15.     <meta http-equiv="keywords" content="{{ seo_on_page.tags }}"/>
  16.     <meta name="DC.keywords" content="{{ seo_on_page.tags }}"/>
  17. {% endblock keywords %}
  18. {% block datosestructurados %}
  19. {% endblock datosestructurados %}
  20. {% block stylesheetspecific %}
  21. <style>
  22.     .has-error .form-control, .has-error .note-editor {
  23.         border-color: #cb5a5e;
  24.         box-shadow: none;
  25.     }
  26.     input.has-error, .required.has-error, span.has-error {
  27.         border: 1px solid #cb5a5e !important;
  28.     }
  29. </style>
  30. {% endblock %}
  31. {% block header_nav_item_contact_active_class %}active{% endblock %}
  32. {% block content %}
  33.     <div id="content" class="p-0 clearfix">
  34.         <div id="contact" class="container py-4 py-lg-6">
  35.             <hr class="hr-lg mt-0 mb-2 w-10 mx-auto hr-primary"/>
  36.             <h2 class="text-slab text-center text-uppercase mt-0 mb-5">
  37.                 Contact <span class="font-weight-bold">Us</span>
  38.             </h2>
  39.             <div class="row" data-animate="fadeIn" data-animate-delay="0.1">
  40.                 <div class="col-md-6">
  41.                     {% if message is defined %}
  42.                         <div id="message-error" class="alert alert-danger alert-dismissible" role="alert">
  43.                             <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">×</span> </button>
  44.                             <strong>Error!</strong> {{ message }}
  45.                         </div>
  46.                     {% endif %}
  47.                     <form id="contact-form" action="{{ url('contacto') }}" method="POST"
  48.                           data-animate="fadeIn" data-animate-delay="0.4">
  49.                         <div class="form-group">
  50.                             <label class="sr-only" for="contact-name">Name</label>
  51.                             <input type="text" class="form-control form-control-transparent" id="contact-name" name="nombre"
  52.                                    placeholder="Name">
  53.                             <hr class="hr-inverse mx-auto mt-1 mb-0"/>
  54.                         </div>
  55.                         <div class="form-group">
  56.                             <label class="sr-only" for="contact-email">Email</label>
  57.                             <input type="email" class="form-control form-control-transparent" id="contact-email"
  58.                                    placeholder="Email" name="email">
  59.                             <hr class="hr-inverse mx-auto mt-1 mb-0"/>
  60.                         </div>
  61.                         <div class="form-group">
  62.                             <label class="sr-only" for="contact-message">Message</label>
  63.                             <textarea rows="5" class="form-control form-control-transparent" id="contact-message"
  64.                                       placeholder="Message" name="mensaje"></textarea>
  65.                             <hr class="hr-inverse mx-auto mt-1 mb-0"/>
  66.                         </div>
  67.                         <div class="form-group">
  68.                             <div class="g-recaptcha" data-sitekey="{{ recaptcha_publick_key }}"></div>
  69.                             <script type="text/javascript"
  70.                                     src="https://www.google.com/recaptcha/api.js?hl=en">
  71.                             </script>
  72.                         </div>
  73.                         <a href="javascript:;" class="btn btn-dark btn-lg" id="btn-enviar-contacto">Send Message</a>
  74.                     </form>
  75.                 </div>
  76.                 <div class="col-md-5 offset-md-1 mt-4 mt-md-0" data-animate="fadeIn" data-animate-delay="0.4">
  77.                     <h4 class="mb-1 font-weight-bold">
  78.                         Contact Info
  79.                     </h4>
  80.                     {% if datos_contacto.direccion != '' %}
  81.                     <p class="mb-1">
  82.                         <abbr title="Address"><i class="fa fa-home pr-2"></i></abbr>
  83.                         {{ datos_contacto.direccion }}, {{ datos_contacto.city }}, {{ datos_contacto.state }}
  84.                         , {{ datos_contacto.zip }}
  85.                     </p>
  86.                     {% endif %}
  87.                     {% if datos_contacto.email != '' %}
  88.                     <p class="mb-1">
  89.                         <abbr title="Email"><i class="fa fa-envelope pr-2"></i></abbr>
  90.                         {{ datos_contacto.email }}
  91.                     </p>
  92.                     {% endif %}
  93.                     {% if datos_contacto.telefono != '' %}
  94.                     <p class="mb-4">
  95.                         <abbr title="Phone"><i class="fa fa-phone pr-2"></i></abbr>
  96.                         {{ datos_contacto.telefono }}
  97.                     </p>
  98.                     {% endif %}
  99.                 </div>
  100.                 <div class="col-md-12 mt-5">
  101.                     <div class="google-map">
  102.                         <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d17089.707425849036!2d-80.37325686049856!3d25.78151327713555!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x88d9b92cf6565f2f%3A0x28a7ec15e5d7803a!2s10300%20NW%209th%20St%20Cir%2C%20Miami%2C%20FL%2033172%2C%20EE.%20UU.!5e0!3m2!1ses-419!2sbr!4v1711560081648!5m2!1ses-419!2sbr" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
  103.                     </div>
  104.                 </div>
  105.             </div>
  106.         </div>
  107.     </div>
  108. {% endblock %}
  109. {% block javascriptspecific %}
  110.     <script src="{{ asset('bundles/ican/plugins/jquery-validation/js/jquery.validate.min.js') }}"></script>
  111.     <script src="{{ asset('bundles/frontend/js/my/contacto.js') }}"></script>
  112. {% endblock %}