templates/client/default/contact.html.twig line 1

Open in your IDE?
  1. {% extends '/client/common/base.html.twig' %}
  2. {% block title %}Contact Us{% endblock %}
  3. {% block body %}
  4. <div class="uk-section-default">
  5.     <div class="uk-container uk-padding-large">
  6.         <h1>Contact Us</h1>
  7.         <div uk-grid>
  8.             <div class="uk-width-2-3@l uk-flex uk-flex-middle">
  9.                 <iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d26245.602313416406!2d33.066075!3d34.687513!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x83db48419a2dc57b!2sYouDream%20Consulting%20Ltd!5e0!3m2!1sen!2sus!4v1633325489041!5m2!1sen!2sus" width="100%" height="450" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
  10.             </div>
  11.             <div class="uk-width-1-3@l">
  12.                 <div class="uk-margin-small">
  13.                     <div class="uk-card uk-card-default uk-card-body uk-card-small">
  14.                         <h4 class="uk-margin-small">Headquarter Offices</h4>
  15.                         <p class="uk-margin-small">
  16.                             359 28th October Street<br />
  17.                             World Trade Center Cyprus<br />
  18.                             Limassol, 3107, Cyprus
  19.                         </p>
  20.                     </div>
  21.                 </div>
  22.                 <div class="uk-margin-small">
  23.                     <div class="uk-card uk-card-default uk-card-body uk-card-small uk-background-muted">
  24.                         <h4 class="uk-margin-small">Contact Details</h4>
  25.                         <p class="uk-margin-small">
  26.                             Tel: <a class="uk-link-reset" href="tel:+35725029990">+357 25 029990</a><br />
  27.                             Fax: +357 25 029991<br />
  28.                             <a class="uk-link-reset" href="mailto:[email protected]">[email protected]</a><br />
  29.                             <a class="uk-link-reset" href="mailto:[email protected]">[email protected]</a>
  30.                         </p>
  31.                     </div>
  32.                 </div>
  33.                 <div class="uk-margin-small">
  34.                     <div class="uk-card uk-card-default uk-card-body uk-card-small">
  35.                         <h4 class="uk-margin-small">Get in touch</h4>
  36.                         <div class="uk-flex uk-flex-left">
  37.                             {#<a href="" class="uk-icon-button uk-margin-small-right" data-uk-icon="icon: facebook"></a>
  38.                             <a href="" class="uk-icon-button uk-margin-small-right" data-uk-icon="icon: twitter"></a>#}
  39.                             <a target="_blank" href="https://www.linkedin.com/company/youdream/" class="uk-icon-button" data-uk-icon="icon: linkedin"></a>
  40.                         </div>
  41.                     </div>
  42.                 </div>
  43.             </div>
  44.         </div>
  45.         <div class="uk-margin-large">
  46.             <h2>Contact Form</h2>
  47.             {{ form_start(contactForm) }}
  48.             {{ form_end(contactForm) }}
  49.         </div>
  50.     </div>
  51. </div>
  52. <script>
  53. var instestedEl = document.getElementById('contact_form_instested');
  54. var trainingsEl = document.getElementById('contact_form_trainings');
  55. var trainingsWrapperEl = document.getElementById('trainings-wrapper');
  56. var btoolboxEl = document.getElementById('contact_form_business-toolbox');
  57. var btoolboxWrapperEl = document.getElementById('btoolbox-wrapper');
  58. var ptoolboxEl = document.getElementById('contact_form_personal-toolbox');
  59. var ptoolboxWrapperEl = document.getElementById('ptoolbox-wrapper');
  60. trainingsEl.value = "";
  61. btoolboxEl.value = "";
  62. ptoolboxEl.value = "";
  63. document.addEventListener("DOMContentLoaded", function() {
  64.     instestedEl.addEventListener('change', function() {
  65.         trainingsEl.value = "";
  66.         trainingsWrapperEl.setAttribute("hidden", "");
  67.         btoolboxEl.value = "";
  68.         btoolboxWrapperEl.setAttribute("hidden", "");
  69.         ptoolboxEl.value = "";
  70.         ptoolboxWrapperEl.setAttribute("hidden", "");
  71.         if (instestedEl.value == 'trainings') {
  72.             trainingsEl.selectedIndex = 0;
  73.             trainingsWrapperEl.removeAttribute("hidden");
  74.         } else if (instestedEl.value == 'personal-toolbox') {
  75.             ptoolboxEl.selectedIndex = 0;
  76.             ptoolboxWrapperEl.removeAttribute("hidden");
  77.         } else if (instestedEl.value == 'business-toolbox') {
  78.             btoolboxEl.selectedIndex = 0;
  79.             btoolboxWrapperEl.removeAttribute("hidden");
  80.         }
  81.     });
  82. });
  83. </script>
  84. {% endblock %}