Skip to content

Show the plans and welcome-back cards on pages that ship no JS - #148

Merged
xuelink merged 1 commit into
mainfrom
fix/no-reveal-without-js
Sep 6, 2026
Merged

Show the plans and welcome-back cards on pages that ship no JS#148
xuelink merged 1 commit into
mainfrom
fix/no-reveal-without-js

Conversation

@xuelink

@xuelink xuelink commented Sep 6, 2026

Copy link
Copy Markdown
Member

Regression from #147: /pro and /welcome-back export csr = dev, so production ships no JS there. The two new cards started hidden for a scroll reveal and nothing ever showed them; the dev server (which does ship JS) hid the bug.

Fix: no reveal on those two cards; the plan cards only start hidden on the homepage. Verified on the prerendered output: data-reveal count is 0 in pro.html and welcome-back.html, 14 on the homepage as before.

🤖 Generated with Claude Code

/pro, /welcome-back and the legal pages export csr = dev, so in
production they are static HTML with no client bundle. The two cards
that landed there in #147 started hidden for a scroll reveal and had no
script to show them; the dev server, which does ship JS, hid the bug.

The reveal comes off those two cards, and the plan cards only start
hidden on the homepage. Checked on the prerendered output: no
data-reveal left in pro.html or welcome-back.html.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@xuelink
xuelink merged commit 955247b into main Sep 6, 2026
1 check passed
@xuelink
xuelink deleted the fix/no-reveal-without-js branch September 6, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant