templates/includes/blocks/getInTouchSection.html.twig line 1

Open in your IDE?
  1. {% import "./macros_typography.html.twig" as macrosTypography %}
  2. {% import "./macros_button.html.twig" as macrosButton %}
  3. {% set sectionClass =  'pt-8 lg:pt-[120px] pb-10 lg:pb-32' %}
  4. <section section-shade="light" class="get-in-touch-section pt-8 lg:pt-[120px] pb-10 lg:pb-32 bg-white text-blue">
  5.     <div class="big-container flex flex-col xl:flex-row justify-between">
  6.         <div class="sm:w-1/2 xl:w-3/12 xl:max-w-[305px]">
  7.             <h2 class="h2" split-direction="top" split-trigger="scroll">{{content.getInTouchSectionTitle|raw}}</h2>
  8.             <div class="text-sm sm:text-lg xl:text-sm mt-4 xl:mt-8" fade fade-trigger="scroll">{{content.getInTouchSectionDescription|raw}}</div>
  9.         </div>
  10.         <div fade="" fade-trigger="scroll" class="mt-8 xl:w-8/12 xl:max-w-[864px]" style="translate: none; rotate: none; scale: none; transform: translate(0px, 0px); opacity: 1;">
  11.             <div id="form-wrapp">
  12.                 {% set action_url = '/mail/send' %}
  13.                 <div id="alert" class="hidden">
  14.                     <span class="closebtn" onclick="this.parentElement.style.display='none';">&times;</span>
  15.                     This is an alert box.
  16.                 </div>
  17.                 <form id="message-response" action="{{ action_url }}" method="post" class="grid sm:grid-cols-2 gap-8">
  18.                     {% if app.flashes('sucess')|length == 0 %}
  19.                         {{ include('pages/blocks/sub-blocks/project-form.html.twig', {
  20.  
  21.                                 path : path('mail_send'),
  22.                                 snippets : content.snippets,
  23.                                 method : 'POST',
  24.                             }) }}
  25.                     {% endif %}
  26.                 </form>
  27.             </div>
  28.         </div>
  29.     </div>
  30. </section>