Skip to content

feat(website): redesign homepage with staged hero, motion, DNA footer, and bilingual copy - #2629

Merged
zhanghuidinah merged 11 commits into
oceanbase:masterfrom
stvlynn:claude/quirky-keller-lw1cl1
Nov 17, 2026
Merged

zhanghuidinah merged 11 commits into
oceanbase:masterfrom
stvlynn:claude/quirky-keller-lw1cl1

Conversation

@stvlynn

@stvlynn stvlynn commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

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?

  • Staged hero & live handoff demo: Rebuilt the homepage around HomeHero, HeroStage, and HeroDemo (SessionWindow + Dashboard board) showing a concrete handoff between Claude Code and Codex.
  • Homepage motion: Added RevealOnScroll, looping feature card illustrations, benchmark CountUp animations, and prefers-reduced-motion support, plus fixed contributor row layout jumping on advance.
  • Theme toggle: Added ThemeSwitch and unified light/dark paper-and-ink tokens in website/src/components/home/home.css and website/src/lib/site.tsx.
  • Testimonials: Added TestimonialsSection with pause/resume controls and localized quotes.
  • Footer & DNA helix: Added an optional slot to SiteFooter pinned under .pc-home-sheet, and added FooterHelix (reusing the previous SpiralVisual geometry along a horizontal axis, styled with low-saturation footer tokens, idling in a slow spin and rotating to follow horizontal mouse movement on hover).
  • Clarified bilingual copy: Updated docs/en/index.md and docs/zh/index.md in 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 --noEmit in website/: passed.
  • pnpm test in website/: 36/36 tests passed (including Home (en) and Home (zh) frontmatter validation).
  • pnpm exec oxlint on website/src/components/home/footer-helix.tsx, website/src/components/site-footer.tsx, and website/src/components/home-page.tsx: passed.
  • Headless Chrome static harness render of FooterHelix in light mode, dark mode, and synthetic pointer move: verified rendering and cursor-following rotation.
  • Note: Full next build / pnpm check:links / pnpm verify:export were not run in this session.

AI usage statement

Built with Cursor AI coding assistant.

stvlynn and others added 10 commits November 12, 2026 08:03
- 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
@CLAassistant

CLAassistant commented Nov 13, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@AlexStocks AlexStocks added the 1.6.0 v1.6.0 release tracking label Nov 17, 2026
@stvlynn
stvlynn force-pushed the claude/quirky-keller-lw1cl1 branch from 0779bdf to 48edc59 Compare November 17, 2026 08:19
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 zhanghuidinah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm. Thanks for the thoughtful homepage redesign.

@zhanghuidinah
zhanghuidinah merged commit 09e7dd9 into oceanbase:master Nov 17, 2026
45 checks passed

@Zxf-xufeng Zxf-xufeng left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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}>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 frf12 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 0fb080e50f294cd8781a8e0b2125f5cd3b59687c. Since this PR is already merged, please address these three interaction defects in a follow-up:

  1. Hero playback does not initialize when returning from the docs through client-side navigation (new inline finding below).
  2. Keyboard focus can move to a footer link that is still covered by the page sheet (additional reproduction in the footer thread).
  3. 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;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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.

Comment thread docs/zh/index.md
- 检查 41 项通过 · 1 项受阻
- 已保存 atomic-memory/m_k2f9@2
result_label: 已准备
result: handoff/h_7c3d@3

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.6.0 v1.6.0 release tracking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants