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(pitch): paint the model-viewer fallback over the stage instead of a transparent gap

nirholas6b7d9f4caf3f
diff --git a/pages/pitch.html b/pages/pitch.html
index 98dfb430b..a2a6fcb6b 100644
--- a/pages/pitch.html
+++ b/pages/pitch.html
@@ -748,7 +748,7 @@
// leaving a "Live - drag to orbit" badge over nothing.
const MODEL_VIEWER_SRC =
'https://ajax.googleapis.com/ajax/libs/model-viewer/4.0.0/model-viewer.min.js';
- const MODEL_VIEWER_TIMEOUT = 12000;
+ const MODEL_VIEWER_TIMEOUT = 6000;
function stageOf(mv) { return mv.closest('.title-stage'); }
@@ -756,6 +756,7 @@
const stage = stageOf(mv);
if (!stage) return;
stage.classList.add('is-fallback');
+ mv.inert = true;
const box = stage.querySelector('[data-stage-fallback]');
if (box) box.hidden = false;
}
@@ -764,6 +765,7 @@
const stage = stageOf(mv);
if (!stage) return;
stage.classList.remove('is-fallback');
+ mv.inert = false;
const box = stage.querySelector('[data-stage-fallback]');
if (box) box.hidden = true;
}
diff --git a/public/media/pitch/soldier-demo.webp b/public/media/pitch/soldier-demo.webp
index c30b26f28..b3f4f373c 100644
Binary files a/public/media/pitch/soldier-demo.webp and b/public/media/pitch/soldier-demo.webp differ
diff --git a/public/media/pitch/soldier-title.webp b/public/media/pitch/soldier-title.webp
index 808e32e42..cd37487b5 100644
Binary files a/public/media/pitch/soldier-title.webp and b/public/media/pitch/soldier-title.webp differ
diff --git a/public/pitch.css b/public/pitch.css
index f881913bb..3fdcdccee 100644
--- a/public/pitch.css
+++ b/public/pitch.css
@@ -103,6 +103,8 @@ a { color: inherit; }
font-size: var(--text-ui);
color: var(--ink);
opacity: 0.92;
+ min-height: 24px;
+ padding: 0.15rem 0;
transition: opacity var(--duration-fast) var(--ease-standard);
}
.deck-wordmark:hover { opacity: 1; }
@@ -327,10 +329,14 @@ a { color: inherit; }
[data-theme='light'] .stage-label { background: rgba(255, 255, 255, 0.6); }
/* A "Live" badge over a dead canvas is a lie; the fallback owns the stage. */
.title-stage.is-fallback .stage-label { display: none; }
-.title-stage.is-fallback model-viewer { display: none; }
.stage-fallback {
position: absolute;
inset: 0;
+ z-index: 1;
+ background:
+ var(--deck-glow),
+ linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
+ var(--bg-0);
display: grid;
grid-template-rows: 1fr auto auto;
justify-items: center;