Repository navigation
fix(landing): zh hero grammar + language dropdown in nav - #717
Merged
Merged
Conversation
…ightmost Sam's design feedback on the live zh landing: - Hero: the rotating term now sits INSIDE the sentence frame (titlePrefix/titleSuffix) so zh reads 「与你的[Claude Code]对话」 — previously 对话 was baked into the lead and the term dangled after it. en keeps 'Chat with your ___' (empty suffix). - Language switcher: two-button pill → dropdown menu styled like a nav option (trigger shows active language + caret; listbox with check; Escape/outside-click close). Rail variant opens leftward. - Nav order: language menu sits among nav links; the primary CTA is the rightmost element again. - Tests: dropdown interaction + close-without-change coverage (21 pass). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01DMeWzgFxsfBcjoLVLewEES
lilyshen0722
added a commit
that referenced
this pull request
Jul 22, 2026
#717 moved the rotating term inside the sentence frame so zh reads 「与你的___对话」. But the term slot was a fixed inline-grid sized to the WIDEST term, so short terms (Codex, 整个团队) stranded 对话 far to the right. Fix: an in-flow invisible sizer holds only the ACTIVE term, so the slot width tracks it; animated terms are absolutely positioned over the sizer; width transitions 350ms so the suffix glides as terms rotate. English has no suffix, so this is visually inert there. Claude-Session: https://claude.ai/code/session_01DMeWzgFxsfBcjoLVLewEES Co-authored-by: Claude Fable 5 <[email protected]>
This was referenced Sep 30, 2026
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.
Sam's design feedback on the live zh-CN landing:
titlePrefix/titleSuffixkeys (en: 'Chat with your ___', empty suffix). The previous shape stranded the term after a complete sentence.Tests: dropdown interaction, close-without-change, existing i18n/landing/invariants — 21 pass. Post-merge: live browser check EN + zh.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DMeWzgFxsfBcjoLVLewEES