feat: bring back photos page - #125
Merged
Merged
Conversation
Entire-Checkpoint: 14559c43567d
Entire-Checkpoint: 87194c94bc97
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…one/102-photos-page * 'main' of github.com:jaspermayone/website: feat: bring back friends page # Conflicts: # public/sitemap.xml
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
This branch was successfully deployed
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 #102
Brings back the
/photospage as a responsive masonry gallery of 133 photos.Note
The layout reference tweet linked in the issue (x.com/sorenblank/status/1979079948204757089) has been deleted with no archive available, so the layout follows the site's existing conventions: a CSS-columns masonry grid (1/2/3/4 columns by breakpoint) with rounded corners and blur-up placeholders. Happy to rework if you can describe Soren's layout.
What's included
src/lib/photo-exif.json) — no runtime EXIF parsing. GPS data is deliberately excluded, and the shipped WebPs are fully stripped (originals contain location coordinates).bun scripts/import-photos.ts [source-dir]converts new originals, extracts EXIF, and regenerates thesrc/lib/photos.tsmanifest (static imports → automatic dimensions + blur placeholders).ImageGalleryJSON-LD, OG metadata, sitemap entry,/slashesentry, and a link from the home page's "photography" mention.flowchart LR A[Original JPGs] -->|"magick: strip, resize 1600px, webp q80"| B[public/images/photography/*.webp] A -->|"magick identify: EXIF minus GPS"| C[src/lib/photo-exif.json] B --> D[src/lib/photos.ts manifest] C --> D D -->|static imports + blur placeholders| E[/photos page/]Verification
next buildandbun run lintpass