feat(spotlight): add Developer Spotlight layout with cover hero#779
Merged
dergigi merged 16 commits intoMay 22, 2026
Conversation
Share sidebar, prose, footer, and comment chrome between PostLayout and the upcoming spotlight layout.
Full-bleed cover band with title and date overlay, aligned to the post grid. Uses images[1] for the hero via getSpotlightHeroImage.
Auto-apply the spotlight layout when a post includes the spotlight tag; explicit layout in frontmatter still overrides.
images[0] is featured.jpg for social previews; images[1] is hero.jpg for the in-page cover band.
Position the header over the hero on spotlight pages with light nav text. Show the cover at native aspect ratio on desktop so less of the photo is cropped.
Taller hero band with stronger gradients, smaller title and shorter date, left-aligned author row, and clearer overlay nav on small screens.
Frame Kurt's portrait better in narrow viewports while keeping desktop object position unchanged.
Use calc-based full-bleed breakout, drop nested SectionContainer, enable sidebar grid from 1000px, and share section width classes site-wide.
Remove overflow clipping and calc full-bleed that truncated the hero. Use full-width main for spotlight pages with header and content sharing postSectionClasses alignment.
Keeps the Apply CTA on desktop spotlight pages and on all layouts at smaller widths where the full nav is not shown.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
Author
Member
Author
|
I'll do the |
Member
Author
|
@Kokkomaki tested this as well so I'll go ahead and merge it. |
879fa10
into
developer-spotlight-kurt-unger-bitshoka
2 checks passed
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.
Adds a
SpotlightLayoutfor posts taggedspotlight, built on the existing blog post shell with a Substack-style full-width cover hero. The first image inimagesis used for OG/social cards; the second is the in-page hero. The nav overlays the cover on spotlight pages, with responsive tweaks for mobile and ~1000px widths.SpotlightLayout,PostCoverHero, and sharedPostArticleBodyextracted fromPostLayoutspotlighttag (getBlogLayout)featured.jpg+hero.jpg; Apply button hidden belowlgon spotlight onlyBuild preview: