Wire the join funnel to the live /join-now self-enroll page
/join-now now honors ?ref=<id> (resolves that member's moving-link joinTarget; falls back to the global rotation sponsor). Repointed: /start 'Join With Current Sponsor' -> /join-now; /my pitch buttons -> /join-now?ref=<id>; invite page /join/<id> join button -> /join-now?ref=<id>; bare /join redirect -> /join-now. 'Get Started' learn CTAs still go to /start for onboarding. When the flag is off, /join-now gracefully redirects to /start, so the wiring is safe either way. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@
|
||||
const t=d.joinTarget||{id:d.id,referralUrl:d.referralUrl,reason:'self'};
|
||||
joinTargetId=t.id;
|
||||
const jb=document.getElementById('joinBtn');
|
||||
if(t.referralUrl)jb.href=t.referralUrl;
|
||||
jb.href='/join-now?ref='+id; jb.removeAttribute('target'); // self-enroll page, placed in this leg
|
||||
// the join CTA + "join under" header + dApp-sponsor mentions reflect the
|
||||
// ACTUAL sponsor the entry lands on, not the inviter (only the top
|
||||
// "invited by #X" line keeps the inviter's id)
|
||||
|
||||
Reference in New Issue
Block a user