Merged
Conversation
…d implementation This commit introduces new CSS animations for album components, including 3D floating and rotation effects, enhancing the visual appeal of the catalog. The `AlbumCard` component is replaced with `AlbumStackCard` for improved functionality and consistency across the catalog pages. Additionally, the loading states are updated for better user experience, and the API routes are modified to fetch album files with their added dates, ensuring comprehensive data handling. The gallery and album detail pages are also refactored to utilize the new image viewer component, streamlining the image display process.
… component This commit adds a new `deploy:cron` script to the `package.json` for automated deployment tasks. Additionally, the `CatalogLanding` component is updated to handle hero images more effectively by mapping the image data to extract names. The `HeroBackground` component is also modified to use a unique key for each image based on its index, improving rendering performance and avoiding potential key conflicts.
…er commands This commit modifies the `deploy-cron` script to include new options for stopping and building Docker containers, allowing for more flexible deployment configurations. The `package.json` is updated to reflect changes in the clean command, streamlining project cleanup processes. Additionally, documentation is updated to include new environment variables for improved deployment control.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request refactors the catalog's album and gallery pages to improve code organization, enhance the image viewing experience, and standardize how image and album data are handled. The main changes include replacing the custom lightbox implementation with a reusable
PublicImageViewercomponent, updating the data structures for images, and introducing theAlbumStackCardcomponent for album display.Image viewing and data handling improvements:
page.client.tsx) and gallery pages with thePublicImageViewercomponent, centralizing image viewing logic and navigation. The new viewer supports keyboard navigation and improved metadata display. (app/(catalog)/catalog/albums/[slug]/page.client.tsxL220-L268, app/(catalog)/catalog/gallery/page.client.tsxL110-L158)name,url,addedAt, and (where relevant) album information. This change enables richer displays and easier data handling throughout the UI. (app/(catalog)/catalog/albums/[slug]/page.client.tsxR16-R34, app/(catalog)/catalog/albums/[slug]/page.client.tsxL46-R59, app/(catalog)/catalog/gallery/page.client.tsxL3-R39)Component and UI refactoring:
AlbumCardcomponent with the newAlbumStackCardin both the albums list and landing page, improving consistency and maintainability of album displays. [1] [2]AlbumCardimplementation. (app/(catalog)/catalog/albums/[slug]/page.client.tsxL7-R7, app/(catalog)/catalog/albums/page.client.tsxL103-L183)Loading state and UI polish: