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

Open in your IDE?
  1. <section class="hero-section relative h-screen min-h-[600px] bg-blue text-white pt-[88px] lg:pt-28"
  2.   section-shade="transparent">
  3.   <div class="big-container h-full">
  4.     <div
  5.       class="relative flex flex-col md:justify-end pt-10 pb-28 md:w-10/12 lg:w-9/12 xl:w-7/12 max-w-[690px] h-full z-10">
  6.       <div class="hero-uppertitle uppertitle"
  7.         fade
  8.         fade-trigger="none">
  9.         <i></i>
  10.         {{content.heroSectionSubTitle}}
  11.       </div>
  12.       <h1 class="hero-title h1 mt-6"
  13.         split-direction="bottom"
  14.         split-trigger="none">
  15.         {{content.heroSectionTitle}}
  16.       </h1>
  17.       <div class="hero-p lg:text-lg xl:text-2xl mt-6 {{text|length < 160 ? 'max-w-[480px] xl:max-w-xl' : ''}}"
  18.         fade
  19.         fade-trigger="none">
  20.         {{content.heroSectionDescription|raw}}
  21.       </div>
  22.     </div>
  23.   </div>
  24.   <div
  25.     class="absolute md:top-0 bottom-0 left-4 md:left-auto right-0 min-h-[240px] h-[45vh] md:h-auto md:w-10/12 max-w-[1920px] pointer-events-none">
  26.     <div
  27.       class="hero-img-wrapp relative h-full {{ luminosity ? 'mix-blend-luminosity' : '' }} overflow-hidden opacity-50"
  28.       style="clip-path: polygon(43% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 37%, 42% 37%, 42% 100%, 43% 100%);">
  29.       {# Image size 1720*1080 #}
  30.       {% if content.heroSectionImage|length > 0 %}
  31.       {% set image = content.heroSectionImage.thumbnails['1720x1080'] %}
  32.       <img class="hero-img opacity-0 scale-[1.4] w-full h-full object-cover"
  33.         src="{{image}}"
  34.         alt="Our Services">
  35.       {% endif %}
  36.     </div>
  37.   </div>
  38. </section>