Initial commit: RM Circle team sponsor router (bridge page, /start, /admin, Docker)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
(async function(){
|
||||
try{
|
||||
const r=await fetch('/api/public/config');
|
||||
if(!r.ok)return;
|
||||
const c=await r.json();
|
||||
document.title=`${c.siteName} | ${c.programName}`;
|
||||
const sub=document.getElementById('bridgeSubheadline');
|
||||
if(sub&&c.bridgeSubheadline)sub.textContent=c.bridgeSubheadline;
|
||||
const h=document.getElementById('bridgeHeadline');
|
||||
if(h&&c.bridgeHeadline)h.textContent=c.bridgeHeadline;
|
||||
const qs=window.location.search; if(qs){document.querySelectorAll('a[href="/start"]').forEach(a=>a.href='/start'+qs)}
|
||||
}catch(e){}
|
||||
for(const id of ['p8','p16']){
|
||||
const node=document.getElementById(id); if(!node)continue;
|
||||
const count=id==='p8'?8:16; for(let i=0;i<count;i++){const s=document.createElement('span');s.className='person';node.appendChild(s)}
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user