Feat: Add gallery page#15
Open
Noololly wants to merge 4 commits into
Open
Conversation
…lback Agent-Logs-Url: https://github.com/Noololly/fusering/sessions/e5927a5b-2b1e-4432-b7c1-e893bbac6f55 Co-authored-by: Noololly <95478511+Noololly@users.noreply.github.com>
…heming Implement a Gallery
|
@Noololly is attempting to deploy a commit to the scapularsteam's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Closes #12
Gallery page:
gallery.astropage fetches project data from an Airtable table, displaying only records with gallery consent. If the Airtable fetch fails or returns no data, it falls back to a set of static preview images from the/publicdirectory. The gallery is rendered as a responsive grid, and each image uses the optimizedImagecomponent fromastro:assets.Update your .env
AIRTABLE_API_KEY - this is your PAT to access the base
AIRTABLE_BASE_ID - the base ID
AIRTABLE_TABLE_NAME - the table that contains the projects and the photos - NO PII!