diff options
Diffstat (limited to 'src/Pages/art/art.html')
| -rw-r--r-- | src/Pages/art/art.html | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/src/Pages/art/art.html b/src/Pages/art/art.html deleted file mode 100644 index 2b714e9..0000000 --- a/src/Pages/art/art.html +++ /dev/null @@ -1,71 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>256phi | Gallery</title> - <link rel="stylesheet" href="../../Style/style.css"> -</head> -<body> - <canvas id="bg"></canvas> - <div class="container"> - <h1>GALLERY</h1> - <p class="subtitle">// visual output from the collective</p> - - <div class="gallery"> - <!-- Add your art here. Example: --> - <a href="../../Assets/art/YouAreBeingWatched_11-3-2026.png" class="gallery-item"> - <img src="../../Assets/art/YouAreBeingWatched_11-3-2026.png" alt="You Are Being Watched"> - </a> - <a href="placeholder.png" class="gallery-item"> - <img src="placeholder.png" alt="Artwork title"> - </a> - <a href="placeholder.png" class="gallery-item"> - <img src="placeholder.png" alt="Artwork title"> - </a> - </div> - - <footer> - <p>© 256phi | 2026 | <a href="/home">Home</a></p> - </footer> - </div> - - <!-- Lightbox for viewing art --> - <div id="lightbox" class="lightbox"> - <span class="lightbox-close">×</span> - <img class="lightbox-img" src="" alt=""> - </div> - - <script type="module" src="../../Background/main.js"></script> - <script> - const lightbox = document.getElementById('lightbox'); - const lightboxImg = lightbox.querySelector('.lightbox-img'); - const lightboxClose = lightbox.querySelector('.lightbox-close'); - - document.querySelectorAll('.gallery-item').forEach(item => { - item.addEventListener('click', e => { - e.preventDefault(); - lightboxImg.src = item.href; - lightboxImg.alt = item.querySelector('img').alt; - lightbox.classList.add('active'); - }); - }); - - lightboxClose.addEventListener('click', () => { - lightbox.classList.remove('active'); - }); - - lightbox.addEventListener('click', e => { - if (e.target === lightbox) { - lightbox.classList.remove('active'); - } - }); - - document.addEventListener('keydown', e => { - if (e.key === 'Escape') { - lightbox.classList.remove('active'); - } - }); - </script> -</body> -</html> |
