last story and last picture section style

This commit is contained in:
Torsten
2023-01-28 16:00:36 +02:00
parent 17a0ace013
commit 1cbb29f16a
12 changed files with 55 additions and 21 deletions

View File

@ -0,0 +1,3 @@
.mx-20.grid.grid-cols-1.md:grid-cols-2.lg:grid-cols-3.2xl:grid-cols-4.gap-8.md:gap-12.lg:gap-16
- Picture.all.limit(4).each do |picture|
= render "pictures/picture" , picture: picture

View File

@ -0,0 +1,2 @@
- story = Story.last
= render_story story