2023-08-31 11:48:20 +02:00
|
|
|
.flex.flex-col.overflow-hidden.rounded-lg.border.border-gray-100.shadow-sm.m-10
|
|
|
|
=link_to main_app.event_path(event) do
|
|
|
|
= picture_for( event , class: "h-60 w-full object-cover")
|
2023-06-12 14:47:54 +02:00
|
|
|
%div
|
|
|
|
%h3.pt-5.text-2xl.bg-gray-100.text-black.font-bold.text-center
|
|
|
|
= event.name
|
|
|
|
.py-1.text-xl.bg-gray-100.text-black.font-bold.text-center
|
|
|
|
= small_date(event.start_date) + " - " + small_date(event.end_date)
|
|
|
|
%div.h-full
|
|
|
|
.p-5.text-center
|
|
|
|
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
|
2023-09-01 19:55:27 +02:00
|
|
|
= shorten markdown(event.text)
|