philomena/lib/philomena_web/templates/gallery/_gallery.html.slime
2024-06-06 22:28:35 +02:00

11 lines
No EOL
379 B
Text

- link = ~p"/galleries/#{@gallery}"
.media-box
a.media-box__header.media-box__header--link href=link title=@gallery.title
= @gallery.title
.media-box__overlay
= @gallery.spoiler_warning
.media-box__content.media-box__content--large
= render PhilomenaWeb.ImageView, "_image_container.html", image: @gallery.thumbnail, size: :thumb, conn: @conn, link: link