From e337ec4b9bec6a505f219e3a429c205a8e36dc4c Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Tue, 31 Mar 2026 20:03:51 +0200 Subject: Add lightbox to commission type examples - Wrap example images in clickable anchor tags with gallery-item class - Add lightbox HTML and JavaScript (matching portfolio implementation) - Add hover effect CSS for example thumbnails - Fix incorrect image paths (add missing /art/ directory) --- src/Pages/commissions/commissions.php | 61 ++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 5 deletions(-) (limited to 'src/Pages/commissions') diff --git a/src/Pages/commissions/commissions.php b/src/Pages/commissions/commissions.php index 4eade7a..ae1a6a9 100644 --- a/src/Pages/commissions/commissions.php +++ b/src/Pages/commissions/commissions.php @@ -168,6 +168,11 @@ height: 100%; object-fit: cover; border: 1px solid rgba(255, 0, 255, 0.3); + cursor: pointer; + transition: border-color 0.3s ease; + } + .commission-type-example a:hover img { + border-color: #00ffff; } @media (max-width: 500px) { .commission-type { @@ -237,7 +242,9 @@

Price: N/A

- Icon example + + Icon example +
@@ -248,7 +255,9 @@

Price: N/A

- Banner example + + Banner example +
@@ -259,7 +268,9 @@

Price: N/A

- Half scene example + + Half scene example +
@@ -270,7 +281,9 @@

Price: N/A

- Full scene example + + Full scene example +
@@ -281,7 +294,9 @@

Price: N/A

- Complex scene example + + Complex scene example +
@@ -436,6 +451,42 @@ + + + + -- cgit v1.2.3