merged/app/views/merged/view/cards/_card_normal_round.haml

9 lines
440 B
Plaintext

.fex.flex-col.overflow-hidden.rounded-lg.border.border-gray-100.shadow-sm
= image_for( card , class: "h-full w-full object-cover")
%h3.p-5.text-2xl.bg-gray-100.text-black.font-bold{ text_align_option(card)}= card.header
%div.h-full{background_option(card)}
.p-5{options(card , :text_align , :text_color)}
.m-2.text-sm.leading-relaxed.line-clamp-3{ prose_classes }
= markdown(card)
=view_button(card , "my-2")