Angle-matched landing pages (?v=hook on the invite link)
/join/<id>?v=pocket|phone|two|graveyard swaps the hero headline and the watch-first video to continue the curiosity hook that brought the prospect, keeping the sponsor identity in the sub line. Tools page: each angle card gains a "Copy matched invite link" button (personalizes through the existing bare-domain swap); Posts 6/7 carry ?v=pocket. AI prompt knows to recommend matched links.
This commit is contained in:
@@ -101,3 +101,31 @@
|
||||
}
|
||||
load();
|
||||
})();
|
||||
|
||||
// Angle-matched landing: ?v=<hook> continues the thought of whichever curiosity
|
||||
// video brought them here — headline + lead video swap, everything else stays.
|
||||
(function(){
|
||||
var ANGLES={
|
||||
pocket:{h:'You already <span class="gold">found the money</span>.',w:'The flip, in full.',
|
||||
v:'/v/rmc-pocket-change-b403fb2f75.mp4',p:'/v/rmc-pocket-change-poster.jpg'},
|
||||
phone:{h:'Time your phone started <span class="gold">paying YOU</span>.',w:'Same phone. Different job description.',
|
||||
v:'/v/rmc-phone-32ac648844.mp4',p:'/v/rmc-phone-poster.jpg'},
|
||||
two:{h:'You know two people.<br><span class="gold">That’s all this takes.</span>',w:'Nothing to sell. Really.',
|
||||
v:'/v/rmc-two-people-4102f2d719.mp4',p:'/v/rmc-two-people-poster.jpg'},
|
||||
graveyard:{h:'This one runs on <span class="gold">teamwork</span> — not your transmission.',w:'Out of the graveyard, into a team.',
|
||||
v:'/v/rmc-graveyard-290fabee9d.mp4',p:'/v/rmc-graveyard-poster.jpg'}
|
||||
};
|
||||
var a=ANGLES[new URLSearchParams(location.search).get('v')];
|
||||
if(!a)return;
|
||||
var head=document.getElementById('angleHead');
|
||||
if(head){
|
||||
// keep the personal-invitation identity in the sub position instead
|
||||
var inv=document.getElementById('invId');var idTxt=inv?inv.outerHTML:'';
|
||||
head.innerHTML=a.h;
|
||||
var sub=document.getElementById('invSub');
|
||||
if(sub)sub.innerHTML='Personally invited by <span class="gold">Member '+idTxt+'</span> — this page is their real position, read live from the blockchain.';
|
||||
}
|
||||
var wh=document.getElementById('angleWatchHead'); if(wh)wh.textContent=a.w;
|
||||
var vid=document.getElementById('angleVideo');
|
||||
if(vid){vid.setAttribute('poster',a.p);vid.setAttribute('src',a.v);vid.load();}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user