Redesign homepage hero: distinct slogan & current-campaign sections#901
Open
Maximophone wants to merge 1 commit into
Open
Redesign homepage hero: distinct slogan & current-campaign sections#901Maximophone wants to merge 1 commit into
Maximophone wants to merge 1 commit into
Conversation
Differentiate the permanent slogan from the rotating current campaign,
following the comms mockup while keeping the site's existing tech
(Saira Condensed headings, brand orange, the enhanced-img pipeline).
- Slogan: full-bleed protest photo (new London June 2025 image) with a
solid orange band behind the menu and a clean edge to the photo. The
band height is measured from the actual nav so the menu is perfectly
centred in it — one row on desktop, wrapped rows on mobile.
- Current campaign: compact, clearly-labelled band ("Current campaign"
eyebrow) that adapts to light/dark theme.
- Slogan + campaign fill the viewport; the slogan flexes while the
campaign keeps its compact natural height.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for pauseai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.

What & why
Reworks the homepage hero so the movement's permanent slogan and the rotating current campaign read as clearly distinct sections, following the comms director's mockup. Previously both shared one flat orange photo background and looked like a single block.
Stays faithful to the existing build — Saira Condensed headings, brand orange, and the
?enhancedresponsive-image pipeline — rather than adopting the mockup's isolated fonts/styles.Changes
ResizeObserver, so the menu is perfectly centred in it — one row on desktop, wrapped rows on mobile (the band grows to contain the whole wrapped menu).Files
src/lib/components/Hero.svelte— the hero markup & stylessrc/routes/+layout.svelte— nav-band measurement + tighter hero-nav paddingsrc/assets/protests/Home Hero - London June 2025.jpg— new hero photoNotes
campaignblock at the top ofHero.svelte.🤖 Generated with Claude Code