templates/includes/contact_us_new_c2_form.html.twig line 1

Open in your IDE?
  1. <style type="text/css" scoped>
  2.   .mauticform-error {
  3.     margin-bottom: 10px;
  4.     color: red;
  5.   }
  6.   .mauticform-message {
  7.     margin-bottom: 10px;
  8.     color: green;
  9.   }
  10.   .mauticform-errormsg {
  11.     display: block;
  12.     color: red;
  13.     margin-top: 2px;
  14.   }
  15.   .mauticform-field-hidden {
  16.     display: none;
  17.   }
  18. </style>
  19. <!-- Row -->
  20. <div class="content-row full light-section change-header-color" data-bgcolor="#fff"></div>
  21. <!-- /Row -->
  22. <!-- Contact Form Start -->
  23. <div data-bgcolor="#fff" class="light-section row_padding_top row_padding_bottom change-header-color our-product-N contact-brew-wrapper" id = "lets-talk">
  24.   {# <hr />
  25.   <br />
  26.   <h2 class="has-mask-fill no-margins">Get</h2>
  27.   <h2 class="has-mask-fill">In Touch</h2> #}
  28.   <!-- Row -->
  29.   <!-- <h6 class="has-icon">Let's Talk</h6> -->
  30.   {# <br /> #}
  31.   <!-- /Row -->
  32.   <div class="contact-layout">
  33.     <div class="contact-cup">
  34.       <h3>
  35.         <svg id="Group_606" data-name="Group 606" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="21.519" height="22.46" viewbox="0 0 21.519 22.46">
  36.           <defs>
  37.             <clipPath id="clip-path">
  38.               <rect id="Rectangle_152" data-name="Rectangle 152" width="21.519" height="22.46" />
  39.             </clipPath>
  40.           </defs>
  41.           <g id="Group_605" data-name="Group 605" clip-path="url(#clip-path)">
  42.             <path id="Path_184" data-name="Path 184" d="M12.306,93.011H9.251a6.9,6.9,0,0,1-6.809-5.724L1.411,81.382A1.175,1.175,0,0,1,2.571,80H18.988a1.175,1.175,0,0,1,1.159,1.378l-1.03,5.905a6.9,6.9,0,0,1-6.81,5.724M2.785,81.361l.994,5.693a5.544,5.544,0,0,0,5.472,4.6h3.055a5.545,5.545,0,0,0,5.473-4.6l.993-5.693Z" transform="translate(-1.275 -73.176)" />
  43.             <path id="Path_185" data-name="Path 185" d="M200.519,98.918a2.36,2.36,0,0,1,3.343.009,3.091,3.091,0,0,1,.195,3.665,2.935,2.935,0,0,1-2.608,1.446,4.348,4.348,0,0,1-1.328-.221l.415-1.291a1.838,1.838,0,0,0,2.373-2.633,1.008,1.008,0,0,0-1.463.015Z" transform="translate(-183.04 -89.84)" />
  44.             <path id="Path_186" data-name="Path 186" d="M65.228,5.977a.674.674,0,0,1-.574-.321,3.1,3.1,0,0,1-.409-1.512,3.1,3.1,0,0,1,.409-1.512,1.761,1.761,0,0,0,.209-.8,1.759,1.759,0,0,0-.208-.8A.679.679,0,0,1,65.808.32a3.086,3.086,0,0,1,.411,1.513,3.075,3.075,0,0,1-.411,1.512,1.769,1.769,0,0,0-.207.8,1.762,1.762,0,0,0,.211.8.681.681,0,0,1-.584,1.028" transform="translate(-58.761 0)" />
  45.             <path id="Path_187" data-name="Path 187" d="M100.761,5.977a.673.673,0,0,1-.574-.321,3.077,3.077,0,0,1-.411-1.512,3.077,3.077,0,0,1,.411-1.512,1.765,1.765,0,0,0,.208-.8,1.759,1.759,0,0,0-.208-.8A.679.679,0,0,1,101.342.32a3.086,3.086,0,0,1,.411,1.513,3.075,3.075,0,0,1-.411,1.512,1.765,1.765,0,0,0-.208.8,1.765,1.765,0,0,0,.211.8.681.681,0,0,1-.584,1.028" transform="translate(-91.261 0)" />
  46.             <path id="Path_188" data-name="Path 188" d="M136.3,5.977a.673.673,0,0,1-.574-.321,3.077,3.077,0,0,1-.411-1.512,3.077,3.077,0,0,1,.411-1.512,1.764,1.764,0,0,0,.208-.8,1.758,1.758,0,    0,0-.208-.8A.679.679,0,0,1,136.883.32a3.086,3.086,0,0,1,.411,1.513,3.075,3.075,0,0,1-.411,1.512,1.765,1.765,0,0,0-.208.8,1.765,1.765,0,0,0,.211.8.681.681,0,0,1-.584,1.028" transform="translate(-123.768 0)" />
  47.             <path id="Path_189" data-name="Path 189" d="M18.329,248.611H.678a.678.678,0,1,1,0-1.357H18.329a.678.678,0,1,1,0,1.357" transform="translate(0 -226.151)" />
  48.           </g>
  49.         </svg>Contact us
  50.       </h3>
  51.       <img src="/assets/images/coffee_cup_2x.png" alt="coffee_cup_2x" />
  52.       <div class="cup-smoke" id="viewport"></div>
  53.       <p class="has-animation" data-delay="0">Spanning 8 cities worldwide and with partners in 100 more, we’re your local yet global agency.</p>
  54.       <p class="has-animation" data-delay="0">Fancy a coffee, virtual or physical? It’s on us – let’s connect!</p>
  55.     </div>
  56.     <div class="contact-main">
  57.       <!-- Row -->
  58.       <!-- Contact Formular -->
  59.       <div id="contact-formular">
  60.         <br />
  61.         <br />
  62.         <br />
  63.         <div id="message"></div>
  64.         <form autocomplete="false" role="form" method="post" action="https://c2.centricdxb.com/form/submit?formId=1" id="mauticform_centricv2contactform" data-mautic-form="centricv2contactform" enctype="multipart/form-data">
  65.           <div class="mauticform-innerform">
  66.             <div class="mauticform-page-wrapper mauticform-page-1" data-mautic-form-page="1">
  67.               <div id="mauticform_centricv2contactform_first_name" data-validate="first_name" data-validation-type="text" class="mauticform-row mauticform-text mauticform-field-1 mauticform-required input-box has-animation">
  68.                 <input id="mauticform_input_centricv2contactform_first_name" name="mauticform[first_name]" value="" placeholder="First Name" class="mauticform-input" type="text" />
  69.                 <span class="mauticform-errormsg" style="display: none">Please enter your first name</span>
  70.               </div>
  71.               <div id="mauticform_centricv2contactform_last_name" data-validate="last_name" data-validation-type="text" class="mauticform-row mauticform-text mauticform-field-2 mauticform-required input-box has-animation">
  72.                 <input id="mauticform_input_centricv2contactform_last_name" name="mauticform[last_name]" value="" placeholder="Last Name" class="mauticform-input" type="text" />
  73.                 <span class="mauticform-errormsg" style="display: none">Please enter your last name</span>
  74.               </div>
  75.               <div id="mauticform_centricv2contactform_company" data-validate="company" data-validation-type="text" class="mauticform-row mauticform-text mauticform-field-4 mauticform-required input-box has-animation">
  76.                 <input id="mauticform_input_centricv2contactform_company" name="mauticform[company]" value="" placeholder="Company" class="mauticform-input" type="text" />
  77.                 <span class="mauticform-errormsg" style="display: none">Please enter your company</span>
  78.               </div>
  79.               <div id="mauticform_centricv2contactform_email" data-validate="email" data-validation-type="email" class="mauticform-row mauticform-email mauticform-field-3 mauticform-required left-input-box has-animation">
  80.                 <input id="mauticform_input_centricv2contactform_email" name="mauticform[email]" value="" placeholder="Email" class="mauticform-input" type="email" />
  81.                 <span class="mauticform-errormsg" style="display: none">Please enter your email</span>
  82.               </div>
  83.               <div id="mauticform_centricv2contactform_contact" data-validate="contact" data-validation-type="tel" class="mauticform-row mauticform-tel mauticform-field-5 mauticform-required right-input-box has-animation">
  84.                 <input id="mauticform_input_centricv2contactform_contact" name="mauticform[contact]" value="" placeholder="Phone" class="mauticform-input" type="tel" />
  85.                 <span class="mauticform-errormsg" style="display: none">Please enter your Phone number</span>
  86.               </div>
  87.               <div class="input-box" data-delay="150">
  88.                 <!-- dropdown here -->
  89.                 <select id="mauticform_input_centricv2contactform_potential" name="mauticform[potential]" value="I am a Potential" class="mauticform-selectbox custom-dropdown">
  90.                   <option value="Null">I am a potential...</option>
  91.                   <option value="Customer">Customer</option>
  92.                   <option value="Supplier">Supplier</option>
  93.                   <option value="Job Seeker">Job Seeker</option>
  94.                 </select>
  95.               </div>
  96.               <div id="mauticform_centricv2contactform_f_message" data-validate="f_message" data-validation-type="textarea" class="mauticform-row mauticform-text mauticform-field-7 mauticform-required message-box has-animation">
  97.                 <textarea id="mauticform_input_centricv2contactform_f_message" placeholder="Message" name="mauticform[f_message]" class="mauticform-textarea"></textarea>
  98.                 <span class="mauticform-errormsg" style="display: none">Please enter your message</span>
  99.               </div>
  100.               <div id="mauticform_centricv2contactform_recaptcha" class="mauticform-row mauticform-div-wrapper mauticform-field-8 verify-box has-animation">
  101.                 <div class="g-recaptcha" data-sitekey="6Lc2TAslAAAAAJ5_ZDO6X_FSikn_4WAI4T7gO0rg" data-callback="verifyCallback_a52ce9c516ad1ac1f92be0b29b0831a5"></div>
  102.                 <input id="mauticform_input_centricv2contactform_recaptcha" name="mauticform[recaptcha]" value="" class="mauticform-input" type="hidden" />
  103.                 <span class="mauticform-errormsg" style="display: none"></span>
  104.               </div>
  105.               <div id="mauticform_centricv2contactform_submit" class="mauticform-row mauticform-button-wrapper mauticform-field-9 button-box has-animation">
  106.                 <div class="clapat-button-wrap parallax-wrap">
  107.                   <div class="clapat-button parallax-element">
  108.                     <div class="button-border outline parallax-element-second">
  109.                       <input type="submit" name="mauticform[submit]" id="mauticform_input_centricv2contactform_submit" value="Submit" class="mauticform-button send_message" />
  110.                     </div>
  111.                   </div>
  112.                 </div>
  113.               </div>
  114.             </div>
  115.           </div>
  116.           <div class="mauticform-error" id="mauticform_centricv2contactform_error"></div>
  117.           <div class="mauticform-message" id="mauticform_centricv2contactform_message"></div>
  118.           <input type="hidden" name="mauticform[formId]" id="mauticform_centricv2contactform_id" value="1" />
  119.           <input type="hidden" name="mauticform[return]" id="mauticform_centricv2contactform_return" value="" />
  120.           <input type="hidden" name="mauticform[formName]" id="mauticform_centricv2contactform_name" value="centricv2contactform" />
  121.         </form>
  122.       </div>
  123.       <hr />
  124.       <!-- /Contact Formular -->
  125.       <!-- /Row -->
  126.     </div>
  127.     <!-- Locations included here starts -->
  128.     {# {{ pimcore_inc(document.getProperty("location")) }} #}
  129.     <!-- Locations included here starts -->
  130.   </div>
  131. </div>
  132. <!-- Contact Form End -->
  133. <script type="text/javascript">
  134.   /** This section is only needed once per page if manually copying **/
  135.   if (typeof MauticSDKLoaded == 'undefined') {
  136.     var MauticSDKLoaded = true
  137.     var head = document.getElementsByTagName('head')[0]
  138.     var script = document.createElement('script')
  139.     script.type = 'text/javascript'
  140.     script.src = 'https://c2.centricdxb.com/media/js/mautic-form.js?v0c32cac9'
  141.     script.onload = function () {
  142.       MauticSDK.onLoad()
  143.     }
  144.     head.appendChild(script)
  145.     var MauticDomain = 'https://c2.centricdxb.com'
  146.     var MauticLang = {
  147.       submittingMessage: 'Please wait...'
  148.     }
  149.   } else if (typeof MauticSDK != 'undefined') {
  150.     MauticSDK.onLoad()
  151.   }
  152. </script>
  153. <script type="text/javascript">
  154.   function verifyCallback_a52ce9c516ad1ac1f92be0b29b0831a5(response) {
  155.     document.getElementById('mauticform_input_centricv2contactform_recaptcha').value = response
  156.   }
  157.   function onLoada52ce9c516ad1ac1f92be0b29b0831a5() {
  158.     grecaptcha
  159.       .execute('6Lc2TAslAAAAAJ5_ZDO6X_FSikn_4WAI4T7gO0rg', {
  160.         action: 'form'
  161.       })
  162.       .then(function (token) {
  163.         verifyCallback_a52ce9c516ad1ac1f92be0b29b0831a5(token)
  164.       })
  165.   }
  166. </script>
  167. <script>
  168.   ;(function () {
  169.     'use strict'
  170.   
  171.     var i = 0
  172.     for (; i < 5; i += 1) {
  173.       setTimeout(function addSmoke() {
  174.         var time = Math.random() * 1000 + 3000,
  175.           smoke = $('<div />', {
  176.             class: 'smoke',
  177.             css: {
  178.               opacity: 0,
  179.               left: $(window).width() > 620 ? Math.random() * 175 : Math.random() * 100
  180.             }
  181.           })
  182.   
  183.         $(smoke).append('<img src="/assets/images/smoke-effect.png" alt="smoke effect"/>')
  184.         // add to viewport
  185.         $(smoke).appendTo('#viewport')
  186.   
  187.         // animate
  188.         $.when(
  189.           // animate to 100% opacity in half the time (fade in)
  190.           $(smoke).animate(
  191.             {
  192.               opacity: 1
  193.             },
  194.             {
  195.               duration: time / 2,
  196.               easing: 'linear',
  197.               queue: false,
  198.   
  199.               // animate to 0% opacity in the remaining time (fade out)
  200.               complete: function () {
  201.                 $(smoke).animate(
  202.                   {
  203.                     opacity: 0
  204.                   },
  205.                   {
  206.                     duration: time / 2,
  207.                     easing: 'linear',
  208.                     queue: false
  209.                   }
  210.                 )
  211.               }
  212.             }
  213.           ),
  214.   
  215.           // animate movement
  216.           $(smoke).animate(
  217.             {
  218.               bottom: $('#viewport').height()
  219.             },
  220.             {
  221.               duration: time,
  222.               easing: 'linear',
  223.               queue: false
  224.             }
  225.           )
  226.   
  227.           // when all down, remove and add new random smoke
  228.         ).then(function () {
  229.           $(smoke).remove()
  230.           addSmoke()
  231.         })
  232.       }, Math.random() * 10000)
  233.     }
  234.   })()
  235. </script>
  236. <script src="https://www.google.com/recaptcha/api.js" defer></script>