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

10 lines
429 B
Plaintext

.grid.grid-cols-1.gap-12.m-12.md:gap-8.md:m-8.lg:gap-12.lg:m-12
%div{ order_option(card)}
= image_for( card , "h-70 w-full object-cover grid")
.grid.h-70{options(card , :text_align , :color , :background )}
%h3.p-4.mt-10.text-3xl.font-bold= card.header
-if card.has_option?("subheader")
%h4.p-4.text-xl= card.option("subheader")
.prose.m-6{options(card , :background , :color ) }
= markdown(card)