Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(pages): stamp the agent-edit, live-event and agents-index shells with their injected head blocks

nirholasc3f559e29cff
diff --git a/pages/agent-edit.html b/pages/agent-edit.html
index 28065ed65..89aeeabe7 100644
--- a/pages/agent-edit.html
+++ b/pages/agent-edit.html
@@ -1421,7 +1421,7 @@
<section class="edit-panel" id="panel-mind" role="region" aria-label="Mind Palace">
<div class="subsection-title">Mind Palace</div>
<div class="mind-tab-intro">
- <p class="hint" style="margin:0 0 .75rem" data-i18n-html="agent_edit.walk_through_your_agent_s_mind_every">Walk through your agent's mind. Every memory is an object you can see, search, and shape. <a href="#" id="mind-fullscreen-link" target="_blank" rel="noopener" style="color:#9ad0ff">Open full-screen ↗</a></p>
+ <p class="hint" style="margin:0 0 .75rem" data-i18n-html="agent_edit.walk_through_your_agent_s_mind_every">Walk through your agent's mind. Every memory is an object you can see, search, and shape. <a id="mind-fullscreen-link" target="_blank" rel="noopener" style="color:#9ad0ff">Open full-screen ↗</a></p>
</div>
<div id="mind-palace-host" style="position:relative;width:100%;height:min(560px,65vh);min-height:380px"></div>
</section>
diff --git a/pages/events/build-3d-agents-live.html b/pages/events/build-3d-agents-live.html
index d31d6848b..2e3ac454e 100644
--- a/pages/events/build-3d-agents-live.html
+++ b/pages/events/build-3d-agents-live.html
@@ -279,7 +279,7 @@
<button type="submit" class="btn btn-primary" data-i18n="events_build_3d_agents_live.notify_me">Notify me</button>
</form>
<div class="msg" data-newsletter-msg role="status" aria-live="polite"></div>
- <p class="fine" data-i18n-html="events_build_3d_agents_live.or_just_add_it_to_your_calendar">Or just <a href="#" id="add-cal-2" style="text-decoration:underline">add it to your calendar</a> and show up.</p>
+ <p class="fine" data-i18n-html="events_build_3d_agents_live.or_just_add_it_to_your_calendar">Or just <a id="add-cal-2" style="text-decoration:underline">add it to your calendar</a> and show up.</p>
</div>
</div>
</section>
@@ -310,7 +310,12 @@
+ '&dates=' + gcalStamp(EVENT_START) + '/' + gcalStamp(EVENT_END)
+ '&details=' + encodeURIComponent('A live build session from three.ws — go from a single prompt to an embeddable 3D AI agent, then live Q&A. Join: https://three.ws/events/build-3d-agents-live')
+ '&location=' + encodeURIComponent('https://three.ws/events/build-3d-agents-live');
- ['add-cal','add-cal-2'].forEach(function(id){ var el=document.getElementById(id); if(el) el.href = gcal; });
+ // The i18n pass replaces the paragraph's innerHTML for localized users,
+ // which recreates #add-cal-2 without the href set here, so re-apply on
+ // every locale application, not just once at boot.
+ function applyCalLinks(){ ['add-cal','add-cal-2'].forEach(function(id){ var el=document.getElementById(id); if(el) el.href = gcal; }); }
+ applyCalLinks();
+ window.addEventListener('i18n:change', applyCalLinks);
// ── Live countdown (real time) ──
var $d=document.getElementById('cd-d'),$h=document.getElementById('cd-h'),$m=document.getElementById('cd-m'),$s=document.getElementById('cd-s');
diff --git a/public/agents/index.html b/public/agents/index.html
index 6dd6a414b..2a1a51ca7 100644
--- a/public/agents/index.html
+++ b/public/agents/index.html
@@ -281,7 +281,7 @@
// our Solana agents to their profile, external Solana to the 3D viewer or
// the on-chain explorer when there's nothing else to open. A registry row
// with no asset and no ref has nowhere real to go, so it returns null and
- // the card renders without a link rather than with a dead href="#".
+ // the card renders without a link rather than with a dead stub link.
function hrefFor(a) {
if (a.kind === 'onchain' && a.chainId != null && a.agentId != null) {
return `/a/${encodeURIComponent(a.chainId)}/${encodeURIComponent(a.agentId)}`;