templates/digitalwandler/Components/successStory.html.twig line 1

Open in your IDE?
  1. <div class="p-1.5 h-full">
  2.     <div class="relative h-full bg-rs-red">
  3.         <img class="absolute top-0 left-0 object-cover w-full h-full" src="{{ successStory.teaserImage.getThumbnail('jumpstartImage') }}" />
  4.         <div class="relative flex flex-col justify-between w-full h-full p-2 text-white overlay bg-gradient-to-b from-black/0 to-black">
  5.             <div class="relative grow px-7 pt-[65%]">
  6.                 <h3 class="mb-4 text-3xl font-bold break-words">{{ successStory.title }}</h3>
  7.                 <label class="">
  8.                     {% set tags = successStory.tags|split('|') %}
  9.                     {% for tag in tags %}
  10.                         <span class="p-1 text-sm font-semibold bg-rs-red">{{ tag|upper }}</span>
  11.                     {% endfor %}
  12.                 </label>
  13.                 <p class="pt-4 font-thin">{{ successStory.teaser }}</p>
  14.             </div>
  15.             <div class="px-8 py-8">
  16.                 <a href="/erfolgsgeschichten/{% if successStory.url|length %}{{ successStory.url }}{% else %}ssid-{{ successStory.id }}{% endif %}">
  17.                     <button class="robotics-button">
  18.                         Erfolgsgeschichte ansehen
  19.                     </button>
  20.                 </a>
  21.             </div>
  22.         </div>
  23.     </div>
  24. </div>