feat(site): /react and /devtool landing pages + @xnetjs/server docs (0224) - #271
Merged
Conversation
- /react: choose-your-own-adventure for React devs — hooks first, then a two-card fork (managed Hub vs. bring-your-own @xnetjs/server) with per-path code and doc links, a DevTools feature section, and CTAs. - /devtool: DevTools showcase — a 5-panel switcher (Data/Changes/Performance/ Logs/Seed) with stylized panel representations, enable snippet, and the 20-panel map. Built on the same hooks; zero bytes in prod. - New CodeTabs.astro (package-manager tabs, localStorage-synced, no-JS fallback). - New docs/guides/server.mdx (canonical @xnetjs/server reference) + sidebar entry; cross-linked from the Hub guide and hooks overview. llms-full.txt regenerated. - Footer gains a 'Develop' column; Nav gains a 'React' link. Matches the minimal (post-revert) marketing aesthetic. Site builds (92 pages); both pages verified in preview (tabs switch, dark mode, no console errors). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
8/9 implementation + 8/9 validation done. Real DevTools screenshot capture and a Lighthouse pass remain (tracked as follow-ups); page ships with stylized panel representations.
Contributor
|
Preview removed for PR #271. |
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.
Implements exploration 0224: discoverable, single-page guides for React developers, plus docs for the new
@xnetjs/serverkit.Built off the reverted (minimal) main — matches the current minimal marketing aesthetic, not the reverted performative UI.
What landed
/react— a choose-your-own-adventure: hero "magic line" → schema + hooks → 3-step "how it works" → a two-card fork (Managed Hub vs. bring-your-own@xnetjs/server) with per-path code and doc links → DevTools feature section → feature grid → CTA. Reads stand alone; links into the docs throughout./devtool— a DevTools showcase: a 5-panel switcher (Data / Changes / Performance / Logs / Seed) with stylized panel representations, "built on the same hooks / zero bytes in prod", an enable snippet, and the 20-panel map.docs/guides/server.mdx— canonical@xnetjs/serverreference (trust spectrum, the three auth hooks,createRemoteQueryClient), registered insidebar.mjs;llms-full.txtregenerated. Cross-linked from the Hub guide and hooks overview.CodeTabs.astro— small dependency-free package-manager tabs (localStorage-synced, no-JS fallback).Verification
pnpm --filter site buildsucceeds — 92 pages, including/react,/devtool,/docs/guides/server/.Checklist
8/9implementation +8/9validation in the doc; it stays[_]because two items are deferred:apps/webrunning (passkey bypass → Seed → ⌘⇧D), which is orthogonal to this site PR. The page ships with clean, clearly-labeled stylized panel representations; swapping in real captures is a quick follow-up.🤖 Generated with Claude Code