Repository navigation
feat(website): redesign homepage with staged hero, motion, DNA footer, and bilingual copy - #2629
Conversation
- Remove the hero label, both photo credits, and the setup note. - Cycle contributor avatars forward one at a time; the trailing link stays put. - Replace the theme toggle with a round button that reveals the next theme in a circle view transition. - Expand homepage photograph cards to cover the viewport while scrolling. - Pin the footer beneath the page so the content slides off to uncover it. Co-authored-by: Steven Lynn <stvlynn@users.noreply.github.com>
…tage Align the hero with the Arion landing page: copy on paper, then one photograph card carrying only the product demo that widens to fill the viewport on scroll. Agent cursors act out a Handoff in the demo. Remove the handoff turntable figure and its vendored drawing kit, replace the continuity stage with feature cards that share one photograph, and rebuild the ecosystem section with integration details, the setup command and the interface list. Add benchmark results. Claude-Session: https://claude.ai/code/session_01QwxHmq1i7ehthr6utVYt4H
0779bdf to
48edc59
Compare
The static export check matched a hard-coded copy of the former headline, so changing the home copy failed the build. Read the headline from the English home content instead. Claude-Session: https://claude.ai/code/session_01QwxHmq1i7ehthr6utVYt4H
zhanghuidinah
left a comment
There was a problem hiding this comment.
/lgtm. Thanks for the thoughtful homepage redesign.
Zxf-xufeng
left a comment
There was a problem hiding this comment.
Reviewed 0fb080e50f294cd8781a8e0b2125f5cd3b59687c. This PR was merged before submission, so I am recording these two P2 findings for follow-up fixes. I checked the existing review threads and have not repeated previously reported issues.
Validation: 36 existing website tests passed. Both issues were reproduced in Chromium against the PR source, with DOM/CSS controls confirming their causes. The locked dependency download failed, so runtime verification used locally available Next.js 16.3.3 rather than the pinned 16.4.1; a full production build was not completed.
| main.pc-home > footer { | ||
| --pc-footer: var(--pc-well); | ||
|
|
||
| position: sticky; |
There was a problem hiding this comment.
[P2] Disable the sticky footer when it exceeds the viewport height
Pinning the entire footer with position: sticky; bottom: 0 makes its upper content unreachable on short screens. At a 667 × 375 viewport, the footer is approximately 699px tall and its top stays at -324px. The Docs and Benchmarks links remain above the viewport (Docs is at y=-76px), even at the bottom of the page and after scrollIntoView(); scrolling upward leaves them covered by the higher-z-index page sheet. This prevents landscape mobile users from accessing those footer links.
Changing the footer to position: static in the same browser session allows Docs to scroll into view at y≈179px. Please keep the footer in normal document flow when it is taller than the available viewport, or otherwise ensure all of its content remains scrollable.
There was a problem hiding this comment.
[P2] Additional reproduction: keyboard focus is hidden in portrait mode as well
On the same head, in Chromium at 390 x 844, focus the final installation-command copy button and press Tab. Focus moves to the footer PowerContext logo without scrolling, but the logo is still covered by the higher-z-index page sheet; hit testing at its center finds the "Start Server" heading instead. A keyboard user cannot see the focused link. Please ensure a footer link is visible when it receives keyboard focus. Limiting the fix to footers taller than the viewport would leave this portrait-mode case unresolved.
| }) { | ||
| // The repeat only closes the loop: screen readers and the tab order skip it. | ||
| return ( | ||
| <ul aria-hidden={repeat || undefined} className="pc-quotes-set" data-repeat={repeat ? '' : undefined} inert={repeat || undefined}> |
There was a problem hiding this comment.
[P2] Preserve pointer interaction on the repeated testimonial cards
inert disables pointer interaction as well as focus, but this repeated list becomes visible during the marquee animation. Consequently, identical-looking cards alternate between working author links and completely unresponsive links depending on which copy is on screen. In Chromium at 1280px width, advancing the 44-second animation to 33 seconds places the repeated first card in view: a real mouse click hits the surrounding DIV instead of the author link. Removing inert makes the same click reach https://x.com/pluoki.
Please preserve pointer activation on visible repeated cards while excluding them from duplicate screen-reader announcements and the tab order, for example with aria-hidden on the duplicate group and tabIndex={-1} on its links rather than inert.
There was a problem hiding this comment.
Confirmed on the same head with the pinned Next.js 16.4.1. At 390 x 844, pausing the 44-second marquee at about 41 seconds leaves the repeated pluoki card visible, but its ancestor is inert and pointer hit testing skips the author link. This needs a follow-up fix: keep every visible testimonial link operable, including while scrolling is paused, while preserving a single keyboard stop per testimonial.
frf12
left a comment
There was a problem hiding this comment.
Reviewed 0fb080e50f294cd8781a8e0b2125f5cd3b59687c. Since this PR is already merged, please address these three interaction defects in a follow-up:
- Hero playback does not initialize when returning from the docs through client-side navigation (new inline finding below).
- Keyboard focus can move to a footer link that is still covered by the page sheet (additional reproduction in the footer thread).
- Visible repeated testimonial cards have inoperable author links (confirmed in the existing thread).
The separate Handoff-flow suggestion below is a non-blocking design note.
|
|
||
| useEffect(() => { | ||
| const demo = root.current; | ||
| if (!demo || demo.dataset.step === String(FINAL_STEP)) return; |
There was a problem hiding this comment.
[P2] Initialize Hero playback after client-side navigation
With normal motion enabled, open /zh/docs/ and use the sidebar logo to return to /zh/. Unlike a fresh document load, the demo stays at data-step="3" and never starts. This navigation preserves the document, so React does not execute the inline script at line 306 that resets the server-rendered final frame; the effect exits here. This was reproduced in Chromium, with a persistent window marker confirming client-side navigation. Please initialize playback when the homepage mounts through client-side navigation, while preserving the static frame for reduced motion.
| - 检查 41 项通过 · 1 项受阻 | ||
| - 已保存 atomic-memory/m_k2f9@2 | ||
| result_label: 已准备 | ||
| result: handoff/h_7c3d@3 |
There was a problem hiding this comment.
Design note (non-blocking): show temporary preparation followed by acknowledgement
Would you consider showing the current flow in the animation: prepare a temporary Handoff, pass it to Codex, then verify and acknowledge it? An ordinary "handoff this work" returns a temporary carrier, while the current copy immediately displays the durable revision handoff/h_7c3d@3. If the revision remains in the illustration, show the explicit durable-commit step separately; preparation or acknowledgement alone does not create that revision. The same clarification would apply to the English copy.
Which issue or RFC does this PR close?
N/A
Rationale for this change
Redesign the PowerContext homepage so first-time visitors can immediately understand what PowerContext does, how sessions hand off across coding agents, and how memories, reviews, skills, and bounded recall work together. The previous landing copy was also overly abstract and relied on negative phrasings; this PR rewrites both English and Chinese copy into direct, positive statements.
What changes are included in this PR?
HomeHero,HeroStage, andHeroDemo(SessionWindow+ Dashboard board) showing a concrete handoff between Claude Code and Codex.RevealOnScroll, looping feature card illustrations, benchmarkCountUpanimations, andprefers-reduced-motionsupport, plus fixed contributor row layout jumping on advance.ThemeSwitchand unified light/dark paper-and-ink tokens inwebsite/src/components/home/home.cssandwebsite/src/lib/site.tsx.TestimonialsSectionwith pause/resume controls and localized quotes.SiteFooterpinned under.pc-home-sheet, and addedFooterHelix(reusing the previousSpiralVisualgeometry along a horizontal axis, styled with low-saturation footer tokens, idling in a slow spin and rotating to follow horizontal mouse movement on hover).docs/en/index.mdanddocs/zh/index.mdin sync so PowerContext's role as a local shared memory and session handoff service is clear on first pass, rewriting negative phrasings (不/never/not) into direct positive statements.Are there any user-facing changes?
Yes. The English and Chinese homepages (
/en,/zh) have a redesigned layout, motion effects, theme toggle, sticky footer with an interactive DNA helix, and rewritten landing copy. No breaking changes to public APIs or persisted formats.How was this change tested?
pnpm exec tsc --noEmitinwebsite/: passed.pnpm testinwebsite/: 36/36 tests passed (includingHome (en)andHome (zh)frontmatter validation).pnpm exec oxlintonwebsite/src/components/home/footer-helix.tsx,website/src/components/site-footer.tsx, andwebsite/src/components/home-page.tsx: passed.FooterHelixin light mode, dark mode, and synthetic pointer move: verified rendering and cursor-following rotation.next build/pnpm check:links/pnpm verify:exportwere not run in this session.AI usage statement
Built with Cursor AI coding assistant.