templates/frontend/board/_related.html.twig line 1

  1. <div class="flex gap-12 overflow-auto p-6">
  2.     {% for board in boards %}
  3.         <div class="shadow shadow-2xl text-center space-y-1">
  4.             <a href="{{ path('app_board_show', {id: board.id}) }}" class="relative block">
  5.                 <div class="h-[250px] w-[234px]"
  6.                      style="background-image: url({{ asset(board.image) }}); background-size: cover; background-repeat: no-repeat; background-position: center top">
  7.                 </div>
  8.                 <div class="py-3">
  9.                     <h4 class="font-bold">{{ board.translate(app.request.locale).title }}</h4>
  10.                     <div class="text-sm px-3">{{ board.translate(app.request.locale).position }}</div>
  11.                 </div>
  12.             </a>
  13.         </div>
  14.     {% endfor %}
  15. </div>