more sections

This commit is contained in:
Torsten 2022-11-23 21:22:57 +02:00
parent 6bf63746f3
commit 2638be4ad1
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,10 @@
.flex.flex-col.bg-white
%img.object-cover.w-full.h-96{:alt => "", :src => "https://images.unsplash.com/photo-1558769132-cb1aea458c5e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1548&q=80"}/
.flex.items-center.justify-center.flex-1
.max-w-xl.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"]
%a.inline-block.px-5.py-3.mt-6.text-sm.font-medium.text-white.bg-indigo-600.rounded.hover:bg-indigo-700.focus:outline-none.focus:ring{:href => "#"}
= section["button"]["text"]

View File

@ -0,0 +1,14 @@
%section
.mx-auto.max-w-screen-xl.px-4.py-16.sm:px-6.sm:py-24.lg:px-8
.max-w-3xl
%h2.text-3xl.font-bold.sm:text-4xl
= section["header"]
.mt-8.grid.grid-cols-1.gap-8.lg:grid-cols-2.lg:gap-16
.relative.h-64.overflow-hidden.sm:h-80.lg:h-full
%img.absolute.inset-0.h-full.w-full.object-cover{:alt => "Party", :src => "https://images.unsplash.com/photo-1496843916299-590492c751f4?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1771&q=80"}/
.lg:py-16
%article.space-y-4.text-gray-600
%p
= section["text"]
%p
= section["text"]

10
cms/makerspace.yaml Normal file
View File

@ -0,0 +1,10 @@
- template: section_full_up
header: Makerspace
text:
The hub encourages all people to be creative in any way they choose.
We provide facilities from more traditional sowing and woodworking,
to modern 3d printers and electronics lab.
button:
text: Makerspace
link: makerspace
image: makerspace.webp