moved section subsection templetes down

This commit is contained in:
2022-11-26 11:15:56 +02:00
parent 738bfe01a5
commit 27aea8e5ab
19 changed files with 84 additions and 13 deletions

View File

@ -0,0 +1,8 @@
.p-6
%h3.mt-4.text-lg.font-bold= key.upcase
%p
.font-bold Text
= value["text"]
%p
.font-bold Link
= value["link"]

View File

@ -0,0 +1,5 @@
.p-6
%h3.mt-4.text-lg.font-bold= key.upcase
%p= value
=image_tag("cms/card_preview/#{value}" , class: "w-full object-contain")
%p #{section.content['cards'].length} cards

View File

View File

@ -0,0 +1,3 @@
.p-6
%h3.mt-4.text-lg.font-bold= key.upcase
%p= value

View File

@ -0,0 +1,3 @@
.p-6
%h3.mt-4.text-lg.font-bold= key.upcase
= image_tag "cms/" + value

View File

@ -0,0 +1,4 @@
.p-6
%h3.mt-4.text-lg.font-bold= key.upcase
%p= value
=image_tag("cms/section_preview/#{section.template}" , class: "w-full object-contain")

View File

@ -0,0 +1,3 @@
.p-6
%h3.mt-4.text-lg.font-bold= key.upcase
%p= value