Skip to content

Homepage playground with dock-aligned design#263

Draft
PuruVJ wants to merge 7 commits into
new-homepagefrom
cursor/homepage-playground-dock-theme-7976
Draft

Homepage playground with dock-aligned design#263
PuruVJ wants to merge 7 commits into
new-homepagefrom
cursor/homepage-playground-dock-theme-7976

Conversation

@PuruVJ

@PuruVJ PuruVJ commented May 26, 2026

Copy link
Copy Markdown
Owner

Summary

Replaces the scroll-snap marketing homepage with a play-first layout that matches the docs bottom dock aesthetic: pill surfaces, primary-tinted color-mix backgrounds, and inset border shadows.

What's included

  • Intro band — tagline (“Everything's a plugin”), Getting Started / GitHub CTAs
  • Scenario strip — world picker (Night desk live; others marked coming soon)
  • Live stage — Night desk with draggable dock-style panels (no faux macOS wallpaper)
  • Code panel — framework tabs, Shiki highlighting (theme-aware), copy + docs link
  • Shared chromeplayground-chrome.css mirrors Dock.svelte surface tokens

Fixes

  • Dock — migrated to v3 Draggable + {@attach dockDrag.attachment} (was calling removed draggable() helper)
  • Snippets — Svelte sample updated to v3 Draggable + @neodrag/svelte/plugins

Follow-ups (not in this PR)

  • Additional worlds (Last mile, Split bill, etc.)
  • Interactive “Everything is a plugin” section on homepage
  • Re-enable or replace removed marketing feature sections if desired

Test plan

  • cd docs && pnpm build
  • Manual: homepage drag on Night desk panels, framework tabs, light/dark code highlighting
  • Manual: dock still drags via handle on docs + homepage
Open in Web Open in Cursor 

Replace scroll-snap marketing sections with a play-first homepage:
intro band, scenario strip, live stage, and Shiki-highlighted code panel.
Night desk uses site primary/shell surfaces and dock-style panels instead
of faux macOS chrome. Wire v3 Draggable API and fix Dock attachment.

Co-authored-by: Puru Vijay <PuruVJ@users.noreply.github.com>
@changeset-bot

changeset-bot Bot commented May 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: aa7034d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented May 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
neodrag Error Error May 26, 2026 1:45pm

Request Review

Drop the cramped three-column dashboard. Use large masthead typography,
one dock-quality play canvas (~62vh), stage-first layout with code as a
side panel, and horizontal scenario pills instead of an emoji sidebar.

Co-authored-by: Puru Vijay <PuruVJ@users.noreply.github.com>
Use Hero recessed well for the desk, dock inset shadows on shell windows,
and dock-style dividers. Remove custom gradients, grids, and grip chrome
that sat outside the existing neodrag.dev language.

Co-authored-by: Puru Vijay <PuruVJ@users.noreply.github.com>
Stop global link hover from flipping CTAs to white on light fills.
Use solid primary pills with contrast text for selected scenarios.
Replace heavy window/desk drop shadows with hairline borders.

Co-authored-by: Puru Vijay <PuruVJ@users.noreply.github.com>
Use github-light/github-dark together with astro-code classes so
themes.css dark-mode token overrides apply. Cache highlighter for tab
switches; map Solid to jsx. Add recessed code body in source panel.

Co-authored-by: Puru Vijay <PuruVJ@users.noreply.github.com>
Raise z-index when a panel is clicked or drag starts so Notes and Tasks
layer correctly.

Co-authored-by: Puru Vijay <PuruVJ@users.noreply.github.com>
Pre-render all world×framework snippets with Astro Code at build time.
Toggle visibility with hidden attribute when tabs change. Remove browser
shiki.ts and HighlightedCode.svelte.

Co-authored-by: Puru Vijay <PuruVJ@users.noreply.github.com>
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