Skip to content

Redesign the docs site landing page - #12

Merged
leoisadev1 merged 4 commits into
v2from
t3/design-hero-scene-landing
Oct 9, 2026
Merged

leoisadev1 merged 4 commits into
v2from
t3/design-hero-scene-landing

Conversation

@leoisadev1

@leoisadev1 leoisadev1 commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Summary

The docs site landing page was a placeholder that didn't show what Sandbox SDK does. This replaces it with a full landing page: an animated halftone harbor hero where sandboxes are unloaded and run jobs, a provider carousel with one animated scene per provider, an install walkthrough, a section on swapping providers, features, the conformance suite, and a closing call to action. The copy is rewritten throughout.

 apps/fumadocs/src/
 ├── app/(home)/
~│   ├── page.tsx               # new sections and copy
~│   ├── landing.module.css     # hairline frame layout, Geist Pixel type
+│   ├── harbor-viewport.tsx    # hero canvas and the crane state
+│   ├── providers-carousel.tsx # looping carousel, canvases only on visible cards
+│   └── code.tsx
 ├── components/
+│   ├── halftone/              # WebGL2 halftone shader over a Canvas2D source
+│   └── harbor/                # harbor and provider scene painters
+└── lib/fonts.ts               # Geist Pixel

Canvases animate only while on screen and the tab is visible, show a still frame under reduced motion, and rebuild their renderer after a lost WebGL context. The landing page turns off overscroll bounce; docs pages keep it.

Evidence

  • Checked in a real browser at 1440×900 and 390×844: every section renders, the hero animates, and all eight provider cards show their own scene.
  • WebGL context loss: forced with WEBGL_lose_context, then restored. The hero kept animating after restore (frames differ by ~5.6k pixels across one second, about the same as before the loss), with no page errors.
  • Offscreen: after scrolling away and back, the hero resumes animating.
  • Overscroll: computed overscroll-behavior-y is none on the landing page and auto on /docs.
  • bun run lint and bun run typecheck pass. The one lint warning is in an existing file this PR doesn't touch.

Not tested: a real trackpad pull on macOS, and Safari.

Merge Danger

Door: two-way. It only touches the docs site's home route and adds one font dependency; reverting the commit restores the old page.

Blast radius: the docs site home page. The root layout gains the Geist font variables; docs pages are otherwise unchanged.

Fixes SBX-1

Created with Claude Opus 5.5 in T3 Code.

🤖 Generated with Claude Code


Devin Review

Replace the placeholder landing page with an animated halftone harbor hero,
a provider carousel with one scene per provider, an install walkthrough,
a provider swap section, features, conformance and a closing call to action.

The halftone effect is a WebGL2 shader over Canvas2D painters. Canvases only
animate while on screen, respect reduced motion, and recover from a lost
WebGL context. The page stops overscroll bounce; docs pages are unchanged.

Fixes SBX-1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sandbox-sdk Ready Ready Preview Oct 9, 2026 8:50pm UTC

Request Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 6 potential issues.

Devin Review

Comment thread apps/fumadocs/src/components/halftone/halftone-canvas.tsx
Comment thread apps/fumadocs/src/app/(home)/providers-carousel.tsx Outdated
Comment thread apps/fumadocs/src/components/halftone/halftone-canvas.tsx Outdated
Comment thread apps/fumadocs/src/app/(home)/page.tsx Outdated
Comment thread apps/fumadocs/src/app/(home)/page.tsx
Comment thread apps/fumadocs/src/app/(home)/page.tsx
- Fall back to a fresh 2D canvas when the halftone shader fails, including
  after a restored WebGL context.
- Keep the selected provider card when the window resizes.
- Start the animation from the opening still so the hero doesn't jump back.
- Show `await using` in the create step, and wrap long step code.

Refs SBX-1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Medium impact] The latest focus fix appears safe to merge, with no new actionable issues found.

Summary

The PR replaces the docs landing page with animated harbor scenes, a provider carousel, install examples, and rewritten copy.

  • The docs home page now guides developers through Sandbox SDK.
  • Each provider gets its own animated card in a looping carousel.
  • A harbor animation shows sandboxes moving from the ship to working jobs.

Reviews (3) · Last reviewed commit: "Keep carousel focus on the visible card ..." · Reviewed by Greptile

Comment thread apps/fumadocs/src/app/(home)/providers-carousel.tsx
Comment thread apps/fumadocs/src/components/halftone/halftone-canvas.tsx Outdated
Comment thread apps/fumadocs/src/app/(home)/landing.module.css
Comment thread apps/fumadocs/src/components/halftone/painters.ts
Comment thread apps/fumadocs/src/app/(home)/providers-carousel.tsx Outdated
Comment thread apps/fumadocs/src/app/(home)/page.tsx Outdated
- Give the amber buttons their dark text back; the page-wide link colour
  was overriding it.
- Move focus to the guide link after selecting a card, since the select
  button unmounts.
- Stop hiding a selected card copy from screen readers.
- Follow reduced-motion changes while the page is open.
- Say that providers share calls but differ in support, and link to the
  compatibility table.

Refs SBX-1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread apps/fumadocs/src/app/(home)/providers-carousel.tsx
Refs SBX-1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leoisadev1
leoisadev1 merged commit f5cf737 into v2 Oct 9, 2026
5 checks passed
@leoisadev1
leoisadev1 deleted the t3/design-hero-scene-landing branch October 9, 2026 20:54

This branch was successfully deployed

1 active deployment
Preview — 6a9472de Deployed Oct 9, 2026 by vercel[bot]
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.

2 participants