templates/includes/partials/hero_usp_bar.html.twig line 1

Open in your IDE?
  1. {% if pimcore_checkbox('usp-enabled').isChecked()|default() %}
  2.     <section class="max-w-screen w-full relative sm:mt-[52px] sm:h-0">
  3.         <div class="md:absolute sm:-top-[52px] whitespace-nowrap swiper hero-usp-swiper md:border-b-2 border-gray-300">
  4.             <div class="swiper-wrapper min-h-[52px] items-center xl:!container xl:!box-border xl:justify-between">
  5.                 {% for usp in ['usp-1', 'usp-2', 'usp-3', 'usp-4'] %}
  6.                     {% if not pimcore_wysiwyg(usp).isEmpty() %}
  7.                         <div
  8.                             class="swiper-slide flex items-center justify-center xl:justify-start gap-2 xl:!w-max w-[100%]">
  9.                             <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
  10.                                  width="16px" height="16px" viewBox="0 0 16 16" version="1.1">
  11.                                 <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  12.                                     <g transform="translate(-317.000000, -131.000000)" fill="#01B902">
  13.                                         <g transform="translate(0.000000, 113.000000)">
  14.                                             <g transform="translate(317.000000, 18.000000)">
  15.                                                 <g transform="translate(0.000000, -0.000000)">
  16.                                                     <path
  17.                                                         d="M8,-4.4408921e-16 C3.581722,-4.4408921e-16 8.8817842e-16,3.581722 8.8817842e-16,8 C8.8817842e-16,12.418278 3.581722,16 8,16 C12.418278,16 16,12.418278 16,8 C15.9948422,3.58386021 12.4161398,0.00515783683 8,-4.4408921e-16 Z M8,14.4 C4.4653776,14.4 1.6,11.5346224 1.6,8 C1.6,4.4653776 4.4653776,1.6 8,1.6 C11.5346224,1.6 14.4,4.4653776 14.4,8 C14.3959441,11.532941 11.532941,14.3959441 8,14.4 Z M10.06872,5.6 L11.2,6.73128 L7.7656,10.1656 C7.61562989,10.3156749 7.41216387,10.3999949 7.2,10.3999949 C6.98783613,10.3999949 6.78437011,10.3156749 6.6344,10.1656 L4.8,8.33128 L5.93128,7.2 L7.2,8.46872 L10.06872,5.6 Z"
  18.                                                         id="Shape"/>
  19.                                                 </g>
  20.                                             </g>
  21.                                         </g>
  22.                                     </g>
  23.                                 </g>
  24.                             </svg>
  25.                             {{ pimcore_wysiwyg(usp).getData() | raw }}
  26.                         </div>
  27.                     {% endif %}
  28.                 {% endfor %}
  29.             </div>
  30.         </div>
  31.     </section>
  32. {% endif %}