From 0839e58dd1de98145e215147c2d93d1b3a3e57c5 Mon Sep 17 00:00:00 2001 From: martbost Date: Sat, 22 Aug 2026 08:45:11 -0500 Subject: [PATCH] Angle links render a pure squeeze step: headline + hook video + one proceed button; click-through loads the full invite page --- public/join.js | 61 +++++++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 35 deletions(-) diff --git a/public/join.js b/public/join.js index 70635e6..eb0ef12 100644 --- a/public/join.js +++ b/public/join.js @@ -102,48 +102,39 @@ load(); })(); -// Angle-matched landing: ?v= serves BOTH arrivals — link-clickers get the -// hook video right on the page under the matched headline; people who already -// watched it skip ahead. When the hook video ends, the page auto-advances to -// the overview + join steps. Nobody ever leaves the site. +// Angle-matched landing: ?v= renders a NON-DISTRACTING squeeze step — +// matched headline, the hook video, one proceed button. Nothing else. Clicking +// through loads the full invite page (same path, no query); attribution +// (angle:) is already stamped in sessionStorage by track.js. (function(){ var ANGLES={ - pocket:{h:'You already found the money.',w:'You saw where it goes. Here’s how the flip actually works.', + pocket:{h:'You already found the money.', v:'/v/rmc-pocket-change-b403fb2f75.mp4',p:'/v/rmc-pocket-change-poster.jpg'}, - phone:{h:'Time your phone started paying YOU.',w:'You saw who’s profiting. Here’s how the phone starts paying you back.', + phone:{h:'Time your phone started paying YOU.', v:'/v/rmc-phone-32ac648844.mp4',p:'/v/rmc-phone-poster.jpg'}, - two:{h:'You know two people.
That’s all this takes.',w:'You’ve got your two in mind. Here’s exactly what this is.', + two:{h:'You know two people.
That’s all this takes.', v:'/v/rmc-two-people-4102f2d719.mp4',p:'/v/rmc-two-people-poster.jpg'}, - graveyard:{h:'This one runs on teamwork — not your transmission.',w:'You’ve buried enough hustles. Here’s why this one’s built different.', + graveyard:{h:'This one runs on teamwork — not your transmission.', 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){ - 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 Member '+idTxt+' — this page is their real position, read live from the blockchain.'; - } - // the overview section becomes step two, with a bridge headline - var wh=document.getElementById('angleWatchHead'); if(wh)wh.textContent=a.w; - var overviewSection=null, ov=document.getElementById('angleVideo'); - if(ov)overviewSection=ov.closest('section'); - // insert the hook video as its own section ABOVE the overview - if(overviewSection&&overviewSection.parentNode){ - var s=document.createElement('section'); - s.className='section'; s.style.paddingBottom='0'; s.id='hookVideo'; - s.innerHTML='
Ninety seconds
'+ - '

Watch this first.

'+ - '

Already seen it? Skip to how it works ↓

'+ - '
'+ - '
'; - overviewSection.parentNode.insertBefore(s,overviewSection); - overviewSection.id='afterHook'; - var hp=document.getElementById('hookPlayer'); - if(hp)hp.addEventListener('ended',function(){ - overviewSection.scrollIntoView({behavior:'smooth',block:'start'}); - }); - } + var main=document.querySelector('main'); + if(!main)return; + // clear the stage: hide everything, including the nav's competing buttons + Array.prototype.forEach.call(main.children,function(el){el.style.display='none';}); + var nav=document.querySelector('.nav-actions'); if(nav)nav.style.display='none'; + var s=document.createElement('section'); + s.className='hero wrap'; + s.innerHTML='

'+a.h+'

'+ + '
'+ + '
'+ + ''+ + '
Independent team training resource • Participation involves risk • No income is guaranteed
'; + main.appendChild(s); + var hp=document.getElementById('hookPlayer'),cta=document.getElementById('hookCta'); + if(hp&&cta)hp.addEventListener('ended',function(){ + cta.style.boxShadow='0 0 0 4px rgba(243,190,67,.45)'; + cta.scrollIntoView({behavior:'smooth',block:'center'}); + }); })();