Skip to content

feat(marketing): full-viewport video hero#101

Merged
f-amine merged 1 commit into
masterfrom
feat/video-hero
Jun 18, 2026
Merged

feat(marketing): full-viewport video hero#101
f-amine merged 1 commit into
masterfrom
feat/video-hero

Conversation

@f-amine

@f-amine f-amine commented Jun 18, 2026

Copy link
Copy Markdown
Owner

What

Replaces the oversized stacked-type hero (it dominated the page and crammed at laptop heights) with a full-viewport video-background hero per the requested pattern:

  • Background: muted, looping, autoplaying video filling the section edge-to-edge (public/hero-bg.mp4), with a dimming gradient (vertical scrim for nav + copy legibility, left scrim for the text column).
  • Top overlay: the existing fixed MarketingHeader (transparent at top) sits above the video.
  • Bottom overlay: left-aligned stack anchored low — eyebrow, Fraunces heading, paragraph at a comfortable width, then a row of two CTAs (gold primary + outline secondary).
  • Responsive: stack stays single-column on narrow viewports, CTAs collapse to stacked, reading order preserved.
  • A11y: video is aria-hidden + motion-reduce:hidden (ink gradient shows for reduced motion); the GSAP entrance is gated behind prefers-reduced-motion: no-preference so content stays visible when motion is off.

On-brand with DESIGN.md (Fraunces display, gold accent, ink canvas, no em dashes in prose).

Asset

The hero video is committed as public/hero-bg.mp4 (tracked). public/reels/* stays gitignored/regenerable; the landing asset is deliberate. Swap the file to rebrand.

Verified

Built + ran the marketing dev server, confirmed via DOM measurement: video plays (readyState 4), content bottom-anchors at laptop ratio (1280×577) clear of the nav (h1 238px down, no top overflow), CTAs 80px above section end. Typecheck + biome clean.

🤖 Generated with Claude Code

Replace the oversized stacked-type hero with a full-viewport section: a
muted looping background video (dimmed for legibility), the fixed nav as
the top overlay, and a bottom-anchored stack (eyebrow, heading, paragraph,
two CTAs side by side). Restrained type sizing so the content bottom-anchors
with headroom on laptop heights instead of overflowing into the nav.

- background video committed as public/hero-bg.mp4 (reels/ stays gitignored
  and regenerable; the hero asset is tracked deliberately)
- reduced-motion: video hidden via motion-reduce, ink gradient shows; gsap
  entrance gated behind prefers-reduced-motion: no-preference so content
  stays visible when motion is off
- mobile: CTAs and stack collapse to single column, reading order preserved

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@f-amine f-amine merged commit b4a2039 into master Jun 18, 2026
3 checks passed
@f-amine f-amine deleted the feat/video-hero branch June 18, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant