Skip to content

feat(referral): redesign invite settings page around 3-invites Plus promo#6367

Open
tsahimatsliah wants to merge 3 commits into
mainfrom
claude/refer-friend-settings-redesign-a23ebe
Open

feat(referral): redesign invite settings page around 3-invites Plus promo#6367
tsahimatsliah wants to merge 3 commits into
mainfrom
claude/refer-friend-settings-redesign-a23ebe

Conversation

@tsahimatsliah

@tsahimatsliah tsahimatsliah commented Jul 22, 2026

Copy link
Copy Markdown
Member

Changes

Rebuilds /settings/invite as a compact, flat campaign surface. Every block uses the same settings-page rhythm (AccountContentSection heading + description), one card treatment, and a single accent color — no gradients, glows, mascots, or animations:

  • "Invite 3 friends, get 1 month of Plus free" — the offer is the first section's heading, with a compact inline progress chain: 3 avatar slots (referred users' real avatars, dashed placeholders until then) → a small Plus "1 month" chip, plus a "X of 3 friends joined" caption. The invite link input and social share row live in the same section, so the whole invite job is one block. Driven by referredUsersCount from the generic referral campaign, display capped at 3.
  • How it works — flat numbered list (share → they join → Plus unlocks), no cards.
  • More ways to give back — flag-gated (featureGiveback) flat float card with a gift icon and a secondary "Explore Giveback" button into /giveback; honest-trade copy per the giveback voice guide.
  • Your referrals — unchanged list.
  • Plus subscribers see a note that the free month stacks on their current plan.
  • Tests: AccountInvitePage.tsx covers promo render, 0/2/3 progress states, and giveback gating on/off.

Note

The "1 month of Plus free" grant is frontend framing only — there's no backend mechanic granting Plus at 3 referrals yet. The completed state celebrates the unlock without promising a timeline; fulfillment needs backend work.

Events

No new event names. One existing event fires from a new surface:

Type event_name value
Change click giveback gift entry now also fired from the invite page giveback card with target_id: invite friends page

Experiment

No new experiments. The giveback section reuses the existing giveback flag via useConditionalFeature.

Manual Testing

Caution

Please make sure existing components are not breaking/affected by this PR

The page is auth-gated, so visual review is best done on the Vercel preview at /settings/invite. Jest (__tests__/AccountInvitePage.tsx), ESLint, and the strict typecheck guard pass locally; the progress row and giveback card stack vertically below the tablet breakpoint and should get a sanity pass at MobileL/Tablet/Laptop widths on the preview.

🤖 Generated with Claude Code

Preview domain

https://claude-refer-friend-settings-red.preview.app.daily.dev

…romo

Rebuild /settings/invite as a campaign surface: a marketing-inspired hero
with a cabbage-to-onion gradient headline promoting "invite 3 friends,
get 1 month of Plus free", a 3-slot progress chain filled with referred
users' avatars ending in a Plus reward chip, a how-it-works step grid,
and a giveback cross-promo card (gated on featureGiveback) inviting
users to contribute to the community. The reward framing is driven by
referredUsersCount from the generic referral campaign; share link input,
social share list, and the referrals list stay intact.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Jul 22, 2026 8:42pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Jul 22, 2026 8:42pm

Request Review

…ions

Replace the aurora hero and per-section bespoke styling with one visual
language: every block is a standard settings AccountContentSection, the
progress chain shrinks to a compact inline row (size-8 avatar slots +
neutral connectors + a single Plus-accent chip), how-it-works becomes a
flat numbered list, and the giveback promo becomes a plain float card
with a gift icon instead of gradients and mascot art. No gradients,
glows, blend modes, or animations — one accent color, one card
treatment, one section rhythm.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Reuse the visual language of GivebackFoundingAward for the invite page's
giveback promo: a 1px avocado/cabbage/cheese gradient frame over an
opaque base washed with the same gradient at 8% via color-mix, a
gradient-text eyebrow, callout title, footnote body, primary CTA, and
the Giveback charm on a glow.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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