Repository navigation
feat(docs): live market playground section and sibling-style OG cards - #153
Merged
Merged
Conversation
- Add a live market data playground: pick an asset and a feed to stream Hyperliquid mainnet data over the SDK's WebSocket transport, with the subscription code scrambling in and the panel height animating. - Give the playground its own section below the hero, like the chart and sfx sites, and keep the hero's market-data.ts quick-start window. - Hero actions: "Try the playground" (primary, jumps down) and "Get started" (secondary). - Social cards now match the chart and sfx cards: bloxwap/hyperliquid title, a stats row counted from the SDK's clients and version, and a weighted brand color bar. The landing card moves to /og/home.png. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
components/market-playground.tsx) that streams Hyperliquid mainnet data through the SDK'sSubscriptionClientandWebSocketTransport. Asset and feed pickers, generated subscription code with a scramble reveal, and an animated panel height (committed on completion so React Strict Mode re-runs still animate).market-data.tsquick-start window.#playground) and "Get started →" (secondary).bloxwap/hyperliquid, the description, and stats computed at build time (91 Info queries, 68 Exchange actions, 29 Subscriptions, v0.5.0 Latest). Docs cards show the title withbloxwap/hyperliquid · <section>. The landing card moves from/og/index.pngto/og/home.png;verify-export.tsis updated to match.Test plan
bun run checkinapps/docs(content, markdownlint, typegen, tsc)bun run build: 14 unique social cards verified,og:imagepoints at/og/home.png🤖 Generated with Claude Code