website: code dialog, dark theme, pink CTA, pacman reset fix - #73
Merged
Merged
Conversation
Replace the inline IDE card under "Fast machines" and the two lab accordions with a single CodeDialog component: a native <dialog> with a scrolling body and one delegated open/close listener. Drops the accordion scripts and CSS from the home page. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The header's hamburger targeted a sidebar that exists on no page. The dialog trigger is now a soft pink filled button so it reads as the section's call to action. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The home page resolves its theme before first paint from the same localStorage key Starlight uses, so the header toggle and the docs picker drive one shared theme. Dark palette goes through the existing Tailwind color vars; the black demo cards, cables, and the code dialog get dark-mode variants so they keep their contrast. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The ghost and board were reset on the tick after pacman's revive timer, so for one tick pacman stood on a still-eaten board with no ghost, then moved off as the board came back. A group sync now resets both in the same task as the revive, and the first tick after it is held so the fresh board is visible for a beat. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This branch was successfully deployed
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
website/src/components/code-dialog.astro: a native<dialog>with a title bar, close button, and a scrolling body holding the Starlight<Code>block. One delegated click listener serves every instance. Replaces the inline IDE card ("See machine code" button) and both lab accordions ("View code" bars).starlight-themelocalStorage key Starlight uses, so the header toggle and the docs picker drive one shared theme. Dark palette goes through the existing Tailwind color vars; cards, cables, and the code dialog get dark variants for contrast.Test plan
pnpm astro buildpasses, oxlint clean🤖 Generated with Claude Code