This commit is contained in:
2026-01-21 18:09:29 +01:00
parent 5e90213d61
commit 13d585376e
10 changed files with 91 additions and 22 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -93,4 +93,13 @@ document.addEventListener('DOMContentLoaded', () => {
const lenis = new Lenis({
autoRaf: true,
});
// Gallery interactions
// On click on .photo element, toggle the 'full' class
document.querySelectorAll('.photo').forEach(photoEl => {
photoEl.addEventListener('click', () => {
console.log('Photo clicked');
photoEl.classList.toggle('full');
});
});
});