Skip to content

Sync membership CTA styling across public and dashboard pages - #543

Merged
bokelley merged 2 commits into
mainfrom
bokelley/membership-cta-sync
Jan 4, 2026
Merged

bokelley merged 2 commits into
mainfrom
bokelley/membership-cta-sync

Conversation

@bokelley

@bokelley bokelley commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Show personalized pricing for logged-in users based on their revenue tier ($2,500 for under $5M, $10,000 for $5M+)
  • Display prominent "You're a Member!" confirmation for existing members on public membership page
  • Add matching green member benefits card on dashboard membership page
  • Fix dev mode mock to return active subscription for member test users

Changes

  • server/public/join-cta.js: Added member confirmation rendering, user context fetching, XSS prevention
  • server/public/dashboard-membership.html: Updated member benefits styling to match public page
  • server/src/routes/billing-public.ts: Fixed dev mode mock for member subscription status

Test plan

  • Tested with Vibium browser automation
  • Verified "You're a Member!" displays on public page for logged-in members
  • Verified dashboard shows matching green member benefits card
  • All tests pass

🤖 Generated with Claude Code

bokelley and others added 2 commits January 3, 2026 20:44
- Show personalized pricing for logged-in users based on revenue tier
- Display "You're a Member!" confirmation for existing members on public page
- Add matching prominent green member benefits card on dashboard
- Fix dev mode mock to return active subscription for member users
- Add HTML escaping for XSS prevention in join-cta.js
- Use design system CSS variables throughout

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Keep both escapeHtml functions: escapeHtml for member confirmation
and escapeHtmlForInvoice from main for invoice modal.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@bokelley
bokelley merged commit d86e921 into main Jan 4, 2026
6 checks passed
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