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(discovery): give the discovery card a real width inside the corner stack

nirholasd06054aa2fea
diff --git a/public/feature-discovery.css b/public/feature-discovery.css
index 77f4c0402..0be4606cf 100644
--- a/public/feature-discovery.css
+++ b/public/feature-discovery.css
@@ -119,6 +119,14 @@
@media (max-width: 520px) {
.tws-disc-card { right: 12px; left: 12px; bottom: 12px; width: auto; }
+ /* Inside the shared corner stack the card is a flex item that sizes to its
+ content, so `width: auto` shrink-wraps it around its longest link and the
+ copy wraps to a ribbon. The edge-to-edge rule above is the standalone
+ fallback; in the stack the card states the width it wants. */
+ .tws-corner-item.tws-disc-card { width: min(340px, calc(100vw - 24px)); }
+ /* Content-width buttons in a narrow card read as a ragged staircase; one
+ column of equal buttons is both tidier and easier to hit. */
+ .tws-disc-card .tws-disc-cta { justify-content: center; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
diff --git a/public/feature-discovery.js b/public/feature-discovery.js
index 27fbb8559..0b9b9beff 100644
--- a/public/feature-discovery.js
+++ b/public/feature-discovery.js
@@ -92,36 +92,36 @@
// registered avatar carries name + thumbnail; a bare URL doesn't)
// A link with none of these stays a plain route.
var CROSSLINKS = {
- forge: { kicker: 'Nice model — what now?', links: [
+ forge: { kicker: 'Nice model. What now?', links: [
{ route: '/scene', label: 'Open in Scene Studio', primary: true, modelParam: 'model', nameParam: 'name' },
{ route: '/embed.html', label: 'Embed editor', modelParam: 'avatar' },
{ route: '/deploy', label: 'Deploy onchain', idParam: 'avatar', modelParam: 'model', nameParam: 'name' },
{ route: '/play', label: 'Drop it in a world', modelParam: 'avatar' },
] },
- segment: { kicker: 'Parts split — what now?', links: [
+ segment: { kicker: 'Parts split. What now?', links: [
{ route: '/scene', label: 'Open in Scene Studio', primary: true, modelParam: 'model', nameParam: 'name' },
{ route: '/forge', label: 'Forge another model' },
{ route: '/play', label: 'Drop it in a world', modelParam: 'avatar' },
{ route: '/docs', label: 'Read the docs' },
] },
- prompt: { kicker: 'Avatar ready — what now?', links: [
+ prompt: { kicker: 'Avatar ready. What now?', links: [
{ route: '/studio', label: 'Open Studio', primary: true, idParam: 'avatar', modelParam: 'model' },
{ route: '/create-agent', label: 'Make it an agent' },
{ route: '/walk', label: 'Walk your avatar', idParam: 'avatar', modelParam: 'avatarUrl' },
{ route: '/embed.html', label: 'Embed editor', idParam: 'avatar', modelParam: 'avatar' },
] },
- scan: { kicker: 'Avatar ready — what now?', links: [
+ scan: { kicker: 'Avatar ready. What now?', links: [
{ route: '/studio', label: 'Open Studio', primary: true, idParam: 'avatar', modelParam: 'model' },
{ route: '/walk', label: 'Walk your avatar', idParam: 'avatar', modelParam: 'avatarUrl' },
{ route: '/embed.html', label: 'Embed editor', idParam: 'avatar', modelParam: 'avatar' },
{ route: '/docs', label: 'Read the docs' },
] },
- studio: { kicker: 'Widget ready — share it?', links: [
+ studio: { kicker: 'Widget ready. Share it?', links: [
{ route: '/embed.html', label: 'Embed editor', primary: true },
{ route: '/deploy', label: 'Deploy onchain', idParam: 'avatar', modelParam: 'model', nameParam: 'name' },
{ route: '/docs', label: 'Integration guide' },
] },
- embed: { kicker: 'Embedded — what else?', links: [
+ embed: { kicker: 'Embedded. What else?', links: [
{ route: '/deploy', label: 'Deploy onchain', primary: true, idParam: 'avatar', modelParam: 'model', nameParam: 'name' },
{ route: '/marketplace', label: 'List on marketplace' },
{ route: '/docs', label: 'API reference' },