merged/app/views/merged/view/_section_text.haml
2023-01-05 00:11:55 +02:00

13 lines
484 B
Plaintext

%section.p-20.my-20{ options(section , :background , :color)}
.flex.justify-center
.max-w-prose{ options(section , :text_align)}
- if !section.header.blank?
%h1.mb-10.text-2xl.font-bold.tracking-tight.sm:text-4xl
= section.header
-if section.has_option?("subheader")
.text-xl.pb-6{ prose_classes }
= section.option("subheader")
.max-w-full.mt-4.gap-16{ options(section , :text_column , :prose ) }
= markdown_image(section)