From 6d303e5cef9c3a3c77294b79c4907ec69943226f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 26 Oct 2024 10:38:06 +0200 Subject: Lightbox fallback without :target --- tpl/views/lightbox.pug | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'tpl/views/lightbox.pug') diff --git a/tpl/views/lightbox.pug b/tpl/views/lightbox.pug index 4eb234a..7e366c0 100644 --- a/tpl/views/lightbox.pug +++ b/tpl/views/lightbox.pug @@ -1,5 +1,5 @@ mixin view-lightbox - +view('lightbox', 'Lightbox') + +view('lightbox', 'Lightbox')(wide=true) .c-box +lightbox(['avatar.png', 'ava_feralbot.png', 'volpeon_spooky.png']) = "Let's try multiple links! " @@ -37,3 +37,15 @@ mixin view-lightbox = ' ' a(href="https://mk.vulpes.one/files/081e0684-08dc-4a42-b810-b0ac63ec7d06") = "https://mk.vulpes.one/files/081e0684-08dc-4a42-b810-b0ac63ec7d06" + + +backdrop(maxHeight=true) + +lightbox(['avatar.png', 'ava_feralbot.png', 'volpeon_spooky.png'])(theme='static-white' interactive=true) + = "Let's try multiple links! " + a(href="https://mk.vulpes.one/files/3023f361-124a-4c80-bb69-9535e47c2925") + = "https://mk.vulpes.one/files/3023f361-124a-4c80-bb69-9535e47c2925" + = ' ' + a(href="https://mk.vulpes.one/files/741dcfd3-6a26-48ae-8985-d0c3ccca016c") + = "https://mk.vulpes.one/files/741dcfd3-6a26-48ae-8985-d0c3ccca016c" + = ' ' + a(href="https://mk.vulpes.one/files/081e0684-08dc-4a42-b810-b0ac63ec7d06") + = "https://mk.vulpes.one/files/081e0684-08dc-4a42-b810-b0ac63ec7d06" -- cgit v1.2.3-70-g09d2