more index sections, left split, new footer, nicer background color

This commit is contained in:
2022-11-23 19:56:13 +02:00
parent 339b06f2b8
commit 6bf63746f3
7 changed files with 151 additions and 112 deletions

View File

@ -0,0 +1,11 @@
%section.overflow-hidden.sm:grid.sm:grid-cols-2
= image_for( section , "p-5 h-56 w-full object-cover sm:h-full")
.p-8.m-5.bg-cyan-100.md:p-12.lg:px-16.lg:py-24
.mx-auto.max-w-xl.text-center.sm:text-left
%h2.text-2xl.font-bold.text-gray-900.md:text-3xl
= section["header"]
%p.hidden.text-gray-500.md:mt-4.md:block
= section["text"]
.mt-4.md:mt-8
-if section["button"]
= render 'elements/button' , button: section["button"]

View File

@ -1,5 +1,5 @@
%section.overflow-hidden.sm:grid.sm:grid-cols-2
.p-8.m-5.bg-gray-50.md:p-12.lg:px-16.lg:py-24
.p-8.m-5.bg-cyan-100.md:p-12.lg:px-16.lg:py-24
.mx-auto.max-w-xl.text-center.sm:text-left
%h2.text-2xl.font-bold.text-gray-900.md:text-3xl
= section["header"]