aboutsummaryrefslogtreecommitdiff
path: root/src/Pages/art/portfolio.html
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-03-27 22:56:56 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-03-27 22:56:56 +0100
commitcbd095f66add3ec8d6220a9447c49567c37804e1 (patch)
tree25a1962631efa0157fd58382fb15d528f5ff71cf /src/Pages/art/portfolio.html
parentaeb99d6937ff91374f66e01cdd2ef9509e3451f5 (diff)
moved art.html to portfolio.html
Diffstat (limited to 'src/Pages/art/portfolio.html')
-rw-r--r--src/Pages/art/portfolio.html75
1 files changed, 75 insertions, 0 deletions
diff --git a/src/Pages/art/portfolio.html b/src/Pages/art/portfolio.html
new file mode 100644
index 0000000..daa7670
--- /dev/null
+++ b/src/Pages/art/portfolio.html
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>256phi | Portfolio</title>
+ <link rel="stylesheet" href="../../Style/style.css">
+</head>
+<body>
+ <canvas id="bg"></canvas>
+ <div class="container">
+ <h1>PORTFOLIO</h1>
+ <p class="subtitle">// visual output from the collective</p>
+
+ <p style="text-align: center;">
+ Interested in a commission? Check out my <a href="/commissions">commissions page</a>.
+ </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>&copy; 256phi | 2026 | <a href="/home">Home</a> | <a href="/commissions">Commissions</a></p>
+ </footer>
+ </div>
+
+ <!-- Lightbox for viewing art -->
+ <div id="lightbox" class="lightbox">
+ <span class="lightbox-close">&times;</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>