fix: Standardize spacing and render author photos from Notion#132
Open
vibemarketerpromax wants to merge 2 commits intomainfrom
Open
fix: Standardize spacing and render author photos from Notion#132vibemarketerpromax wants to merge 2 commits intomainfrom
vibemarketerpromax wants to merge 2 commits intomainfrom
Conversation
Visual alignment: normalize section padding to py-16 sm:py-24, container padding to px-4 sm:px-6, eyebrow labels to font-semibold tracking-widest, and CTA button sizing across 14 components. Author images: add cacheAuthorPhoto() with HEIC/HEIF conversion, extract author photo from Notion properties, and render via next/image in both the blog hero avatar and BlogAuthorBio component (gradient initial fallback).
a0a2f6f to
6e20d6c
Compare
Deploying website with
|
| Latest commit: |
7eefe9a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://95936e99.website-yiq.pages.dev |
| Branch Preview URL: | https://fix-visual-alignment-audit.website-yiq.pages.dev |
…ng images - cacheAuthorPhoto now caches ANY external URL (not just Notion S3), so Google-hosted and other external avatars also get persisted locally. - downloadImage detects content-type vs file-extension mismatch and converts via sharp when saving as .jpg but content isn't JPEG. - Added warn log when author photo property is missing to help diagnose which Notion posts lack an "Author image" file. - Fixed duplicate avatar property in mapAuthor from rebase conflict.
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.
Summary
py-16 sm:py-24), container padding (px-4 sm:px-6), eyebrow label typography (font-semibold tracking-widest), and CTA button sizing across 14 componentscacheAuthorPhoto()to download and cache author photos from Notion (with HEIC/HEIF→JPEG conversion via sharp), and render them vianext/imagein blog hero avatars andBlogAuthorBio— falls back to gradient initial when no photo existsTest plan
npm run lint— 0 errors (4 pre-existing warnings)🤖 Generated with Claude Code