templates/includes/blocks/estimateCtaSection.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. <section class="pt-10 pb-28 md:pb-44 text-white"
  4.   section-shade="dark">
  5.   <div class="container">
  6.     <div class="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-8 sm:gap-12 xl:pr-32">
  7.       <div class="relative sm:w-5/12 shrink-0">
  8.         <div class="relative w-full h-full overflow-hidden z-10">
  9.         {% if content.Image|length > 0 %}
  10.           <img class="w-full"
  11.             src="{{ content.Image.url }}"
  12.             alt="Let's appraise your property"
  13.             zoom-out
  14.             zoom-out-trigger="scroll" />
  15.         {% endif %}
  16.         </div>
  17.         <svg
  18.           class="hidden sm:block absolute top-1/2 -translate-y-1/2 translate-x-1/2 aspect-square text-white/5 pointer-events-none">
  19.           <use xlink:href="#circle"></use>
  20.         </svg>
  21.       </div>
  22.  
  23.       <div class="relative flex flex-col gap-14 max-w-[568px]">
  24.         <svg
  25.           class="block sm:hidden absolute top-1/2 -translate-y-1/2 -translate-x-1/2 w-[550px] aspect-square text-white/5 pointer-events-none">
  26.           <use xlink:href="#circle"></use>
  27.         </svg>
  28.         <h2 class="h2"
  29.           split-direction="top"
  30.           split-trigger="scroll">
  31.           {{content.title }}
  32.         </h2>
  33.         <p class="text-sm xs:text-base sm:text-sm lg:text-base"
  34.           fade
  35.           fade-trigger="scroll">
  36.           {{content.description|raw }}
  37.         </p>
  38.         
  39.         {{ macrosButton.arrowLink({
  40.         wrappClass: 'text-white',
  41.         text: 'contact an expert',
  42.         href: '/contact',
  43.         trigger: 'scroll'
  44.         }) }}
  45.       </div>
  46.     </div>
  47.   </div>
  48. </section>