small step on features
This commit is contained in:
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
BIN
app/assets/images/merged/card_preview/card_feature_small.png
Normal file
BIN
app/assets/images/merged/card_preview/card_feature_small.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
8
app/views/merged/view/cards/_card_feature_normal.haml
Normal file
8
app/views/merged/view/cards/_card_feature_normal.haml
Normal file
@ -0,0 +1,8 @@
|
||||
.max-w-md.sm:mx-auto.sm:text-center
|
||||
.flex.items-center.justify-center.mb-4.rounded-full.mx-auto.w-40.h-40{options(card,:background )}
|
||||
= image_for( card , "h-20 w-20")
|
||||
%h6.mb-3.text-xl.font-bold.leading-5{options(card, :color)}= card.header
|
||||
.mb-3.text-sm.text-gray-900{ prose_classes }
|
||||
= markdown(card)
|
||||
- if card.has_option?("button_link")
|
||||
%a.inline-flex.items-center.font-semibold.transition-colors.duration-200.text-deep-purple-accent-400.hover:text-deep-purple-800{"aria-label" => "", :href => "/"} Learn more
|
Reference in New Issue
Block a user