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

Open in your IDE?
  1. <section class="vision-section pt-16 lg:pt-40 pb-11 lg:pb-14 bg-light text-blue"
  2.   section-shade="light">
  3.   <div class="container">
  4.     <div class="flex flex-col lg:flex-row gap-8 justify-between">
  5.       <h2 class="h2 lg:w-5/12 xl:w-4/12"
  6.         split-direction="top"
  7.         split-trigger="scroll">{{content.visionSectionTitle}}</h2>
  8.       <div class="md:text-2xl lg:w-6/12 xl:w-7/12"
  9.         fade
  10.         fade-trigger="scroll">
  11.         {{content.visionSectionDescription | raw}}
  12.       </div>
  13.     </div>
  14.   </div>
  15.   <div class="mt-8 md:mt-16 xl:mt-24">
  16.     {% set visions = [
  17.     {
  18.     'title': 'Impact Transformation. Exit places better than you found them.',
  19.     'text': 'We have the opportunity and the abilities to create massive impact through responsible and conscious
  20.     investing. We therefore cannot allow ourselves not to do it. We never invest solely driven by short term monetary
  21.     gains. We go beyond that.',
  22.     'img': './assets/oaks-lane/agency/vision-1.webp'
  23.     },
  24.     {
  25.     'title': 'It is easy to be a good partner in good times. Be a good partner in bad times.',
  26.     'text': 'The things worth doing are rarely easy, and the people pursuing them should be supported, even when the
  27.     road gets rough. That is why, when we enter a partnership, we are all in. We are passionate about backing
  28.     out-of-the-box thinkers with the ambition to push the boundaries of the expected in order to offer impact beyond the
  29.     imagined.',
  30.     'img': './assets/oaks-lane/agency/vision-2.webp'
  31.     },
  32.     {
  33.     'title': 'The future in Real Estate is always now. It is always a legacy.',
  34.     'text': 'The actions we take in real estate shape our surroundings and have lasting real-world impact. We believe
  35.     that is both a huge responsibility and an amazing opportunity. That is why we carefully assess every step we take.
  36.     It is our legacy.',
  37.     'img': './assets/oaks-lane/agency/vision-3.webp'
  38.     },
  39.     ] %}
  40.     <div class="container-mob-zero">
  41.       <div class="flex gap-2 snap-x overflow-x-auto overflow-y-hidden hide-scrollbar">
  42.         <div class="shrink-0 w-4 sm:w-8 lg:hidden"></div>
  43.         {% for vision in content.visions %}
  44.         <div class="vision-item snap-center grid grid-rows-[auto_1fr] shrink-0 lg:shrink w-10/12 sm:w-8/12 lg:w-1/3"
  45.           fade
  46.           fade-trigger="none">
  47.           <div
  48.             class="flex items-end w-full h-[60vh] min-h-[280px] max-h-[310px] md:max-h-[495px] img-clip text-white overflow-hidden">
  49.             <div class="vision-item__img absolute scale-110 opacity-0 inset-0 select-none">
  50.               {# image size 720x840 #}
  51.               {% if vision.visionImage|length > 0 %}
  52.               {% set image = vision.visionImage.url %}
  53.               <img src="{{ image }}"
  54.                 width="100"
  55.                 height="560"
  56.                 alt="{{vision.visionTitle}}"
  57.                 loading="lazy">
  58.               {% endif %}
  59.               {% if vision.visionImage|length > 0 %}
  60.               {% set image = vision.visionImage.url %}
  61.               <img src="{{ image }}"
  62.                 width="100"
  63.                 height="560"
  64.                 alt="{{vision.visionTitle}}"
  65.                 loading="lazy">
  66.               {% endif %}
  67.             </div>
  68.             <h3 class="vision-item__title relative z-10 text-xl md:text-[2rem] title px-6 lg:p-8 xl:px-10 pb-8"
  69.               fade
  70.               fade-trigger="none">{{vision.visionTitle}}</h3>
  71.           </div>
  72.           <div class="relative flex flex-col p-6 xl:p-10 bg-white text-blue">
  73.             <div class="vision-item__text text-sm"
  74.               fade
  75.               fade-trigger="none">
  76.               {{vision.visionText|raw}}
  77.             </div>
  78.           </div>
  79.         </div>
  80.         {% endfor %}
  81.         <div class="shrink-0 w-4 sm:w-8 lg:hidden"></div>
  82.       </div>
  83.     </div>
  84.   </div>
  85. </section>