Skip to content

feat: Add new gallery images#9

Open
Cleboost wants to merge 5 commits intomainfrom
feat/galery-folder
Open

feat: Add new gallery images#9
Cleboost wants to merge 5 commits intomainfrom
feat/galery-folder

Conversation

@Cleboost
Copy link
Owner

This pull request introduces a new gallery events data structure and a script for automated data generation, and significantly refactors the gallery page to support event-based photo browsing with improved UI and navigation. The changes modernize the gallery experience by grouping images into events, adding modal views and lightbox functionality, and enabling keyboard navigation.

Gallery Data & Automation

  • Added a new gallery-events.json file which organizes gallery images into events, each with metadata like title, year, cover image, and a list of images.
  • Introduced the generate-gallery.ts script to automatically scan the public/gallery directory and generate the gallery-events.json manifest, ensuring data consistency and simplifying updates.

Gallery Page Refactor & UI Enhancements

  • Refactored galerie.tsx to use the new gallery-events.json data, replacing the previous flat image list with event cards.
  • Redesigned the gallery UI to show event cards, each displaying a cover image and event info, with hover effects using additional images for visual depth.
  • Added modal views for event photo grids and a fullscreen lightbox with keyboard and button navigation, including Escape/arrow key support and image counters for improved accessibility and user experience. [1] [2]

@github-actions
Copy link

github-actions bot commented Feb 12, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://Cleboost.github.io/DiabeTeam/pr-preview/pr-9/

Built to branch gh-pages at 2026-02-12 14:53 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments