Tools page auto-personalization: dashboard hands off ?id=, every post/swipe (copy payload AND visible preview) swaps the bare main-domain link for the member's /join/<id> link; sticky via localStorage; green confirmation banner
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -92,6 +92,8 @@
|
||||
renderPitch(d);
|
||||
setTab(openDashTab?'dash':'pitch');
|
||||
document.getElementById('dTitle').textContent='#'+d.id;
|
||||
// hand the member's id to the tools page so every promo asset arrives pre-personalized
|
||||
document.querySelectorAll('a[href="/tools"]').forEach(function(a){a.href='/tools?id='+d.id;});
|
||||
const qb=document.getElementById('dQualified');
|
||||
if(qb)qb.outerHTML=d.directCount>=2
|
||||
?'<span id="dQualified" class="q-badge q-yes">★ Qualified</span>'
|
||||
|
||||
Reference in New Issue
Block a user