templates/areas/hero-regular-brick/view.html.twig line 1

Open in your IDE?
  1. {% include 'includes/partials/hero_usp_bar.html.twig' %}
  2. {% embed 'app/area-brick-layout.html.twig' %}
  3.     {% block content %}
  4.         <section>
  5.             <div class="{{ pimcore_select('backgroundColor').getData()|default('bg-white') }} sm:py-20 sm:min-h-[640px]">
  6.                 <div class="relative sm:-mb-[260px] sm:pb-0 sm:container flex flex-col h-full sm:flex-row-reverse items-center">
  7.                     <div class="w-full sm:w-[50%] relative sm:-left-[62px] sm:rounded overflow-hidden">
  8.                         {% if not pimcore_image('background-image').isEmpty() %}
  9.                             {{ pimcore_image('background-image').getThumbnail('header-regular-image').html()|raw }}
  10.                         {% endif %}
  11.                     </div>
  12.                     <div class="relative m-4 sm:w-[50%] hero-card z-1 hero-card--overlap bg-white py-8 px-10 sm:ml-8 rounded">
  13.                         {% include 'includes/partials/hero_content.html.twig' %}
  14.                     </div>
  15.                 </div>
  16.             </div>
  17.         </section>
  18.     {% endblock %}
  19. {% endembed %}