2022-11-23 23:26:18 +01:00
|
|
|
.flex.flex-col.bg-cyan-100.mx-5
|
|
|
|
.flex.items-center.justify-center.flex-1
|
|
|
|
.max-w-prose.px-4.py-8.mx-auto.text-center
|
|
|
|
%h1.text-2xl.font-bold.tracking-tight.text-gray-900.sm:text-4xl
|
|
|
|
= section["header"]
|
|
|
|
%p.mt-4.text-gray-500
|
|
|
|
= section["text"]
|
2022-11-25 21:00:33 +01:00
|
|
|
- template = "cards/" + section["card_template"]
|
2022-11-24 13:24:20 +01:00
|
|
|
.grid.grid-cols-1.md:grid-cols-2
|
2022-11-25 21:00:33 +01:00
|
|
|
- section["cards"].each do |element|
|
2022-11-23 23:26:18 +01:00
|
|
|
= render( template , element: element)
|