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.

feat: home-next overhaul, studio expansion, gallery/discover/marketplace updates

nirholasda22f2ace9df
diff --git a/pages/create-review.html b/pages/create-review.html
index 1792c57da..fca9697d7 100644
--- a/pages/create-review.html
+++ b/pages/create-review.html
@@ -158,7 +158,7 @@
.fm-flow-line {
width: 1.5px;
height: 100%;
- background: linear-gradient(180deg, var(--border) 0%, rgba(214, 255, 61, 0.3) 50%, var(--border) 100%);
+ background: linear-gradient(180deg, var(--border) 0%, rgba(255, 255, 255, 0.15) 50%, var(--border) 100%);
}
.fm-flow-pulse {
animation: flowPulseMobile 2.4s ease-in-out infinite;
@@ -177,8 +177,8 @@
.viewer {
background:
- radial-gradient(120% 60% at 50% 108%, rgba(214, 255, 61, 0.07) 0, transparent 55%),
- radial-gradient(80% 80% at 50% 0%, rgba(106, 92, 255, 0.10) 0, transparent 60%),
+ radial-gradient(120% 60% at 50% 108%, rgba(255, 255, 255, 0.03) 0, transparent 55%),
+ radial-gradient(80% 80% at 50% 0%, rgba(255, 255, 255, 0.04) 0, transparent 60%),
var(--panel);
border: 1.5px solid var(--border);
border-radius: 14px;
@@ -248,7 +248,7 @@
.panel {
background:
- linear-gradient(180deg, rgba(214, 255, 61, 0.04) 0, transparent 90px),
+ linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0, transparent 90px),
var(--panel);
border: 1.5px solid var(--border);
border-radius: 14px;
@@ -290,7 +290,7 @@
background: var(--accent);
opacity: 0.75;
}
- .meta-tag.is-size::before { background: #6a5cff; }
+ .meta-tag.is-size::before { background: var(--muted); }
.label {
display: block;
font-size: 11px;
@@ -342,8 +342,8 @@
letter-spacing: 0.04em;
}
.handle-copy:disabled { opacity: 0.4; cursor: not-allowed; }
- .handle-copy:not(:disabled):hover { color: var(--accent); border-color: rgba(214, 255, 61, 0.4); }
- .handle-copy.is-copied { color: var(--accent); border-color: rgba(214, 255, 61, 0.5); }
+ .handle-copy:not(:disabled):hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
+ .handle-copy.is-copied { color: var(--text); border-color: rgba(255, 255, 255, 0.4); }
.handle-preview {
display: flex;
align-items: center;
@@ -363,7 +363,7 @@
.handle-preview.is-empty .handle-slug { color: #4a4d5a; font-style: italic; }
.handle-preview.is-flashing { animation: handleFlash 0.5s ease-out; }
@keyframes handleFlash {
- 0% { background: rgba(214, 255, 61, 0.12); border-color: rgba(214, 255, 61, 0.4); }
+ 0% { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
100% { background: #07080d; border-color: var(--border); }
}
@@ -394,8 +394,8 @@
position: relative;
}
.feature-tile:hover, .feature-tile:focus-visible {
- background: rgba(214, 255, 61, 0.06);
- border-color: rgba(214, 255, 61, 0.28);
+ background: rgba(255, 255, 255, 0.05);
+ border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-1px);
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
outline: none;
@@ -518,10 +518,10 @@
width: 6px;
height: 6px;
border-radius: 50%;
- background: var(--accent);
+ background: var(--text);
margin-top: 7px;
flex-shrink: 0;
- box-shadow: 0 0 6px rgba(214, 255, 61, 0.5);
+ box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}
.fm-code {
background: #07080d;
@@ -549,8 +549,8 @@
font-family: inherit;
transition: color 0.15s, border-color 0.15s;
}
- .fm-copy:hover { color: var(--accent); border-color: rgba(214, 255, 61, 0.4); }
- .fm-copy.copied { color: var(--accent); }
+ .fm-copy:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
+ .fm-copy.copied { color: var(--text); }
.fm-row {
display: flex;
justify-content: space-between;
@@ -651,15 +651,15 @@
}
.fm-tab:hover { color: var(--text); }
.fm-tab.is-active {
- background: rgba(214, 255, 61, 0.14);
- color: var(--accent);
+ background: rgba(255, 255, 255, 0.1);
+ color: var(--text);
}
/* ── Identity card ─────────────────────────────────────────────── */
.fm-id-card {
background:
- linear-gradient(135deg, rgba(214, 255, 61, 0.05) 0%, rgba(106, 92, 255, 0.06) 100%),
- rgba(255, 255, 255, 0.025);
+ linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.015) 100%),
+ rgba(255, 255, 255, 0.02);
border: 1px solid var(--border);
border-radius: 12px;
padding: 16px;
@@ -689,7 +689,7 @@
font-weight: 700;
color: var(--muted);
background:
- linear-gradient(135deg, rgba(153, 69, 255, 0.15) 0%, rgba(214, 255, 61, 0.08) 100%),
+ linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%),
#0a0b12;
}
.fm-id-card-top-right {
@@ -719,14 +719,14 @@
width: 5px;
height: 5px;
border-radius: 50%;
- background: #9945FF;
- box-shadow: 0 0 6px rgba(153, 69, 255, 0.6);
+ background: var(--muted);
+ box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}
.fm-id-pill {
font-size: 10px;
- color: var(--accent);
- background: rgba(214, 255, 61, 0.1);
- border: 1px solid rgba(214, 255, 61, 0.3);
+ color: var(--text);
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 999px;
padding: 2px 8px;
text-transform: uppercase;
@@ -761,10 +761,10 @@
}
.fm-id-addr-link:hover,
.fm-id-addr-link:focus-visible {
- border-color: rgba(153, 69, 255, 0.5);
- background: rgba(153, 69, 255, 0.06);
+ border-color: rgba(255, 255, 255, 0.25);
+ background: rgba(255, 255, 255, 0.04);
}
- .fm-id-addr-link:focus-visible { outline: 2px solid rgba(153, 69, 255, 0.5); outline-offset: 2px; }
+ .fm-id-addr-link:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.3); outline-offset: 2px; }
.fm-id-addr {
font-family: ui-monospace, 'SF Mono', monospace;
font-size: 12px;
@@ -775,7 +775,7 @@
}
.fm-id-explorer-hint {
font-size: 11px;
- color: #9945FF;
+ color: var(--muted);
white-space: nowrap;
flex-shrink: 0;
opacity: 0.7;
@@ -831,9 +831,9 @@
width: 26px;
height: 26px;
border-radius: 50%;
- background: rgba(214, 255, 61, 0.12);
- border: 1.5px solid rgba(214, 255, 61, 0.25);
- color: var(--accent);
+ background: rgba(255, 255, 255, 0.06);
+ border: 1.5px solid rgba(255, 255, 255, 0.18);
+ color: var(--text);
font-size: 12px;
font-weight: 700;
display: inline-flex;
@@ -842,14 +842,14 @@
flex-shrink: 0;
}
.fm-flow-step--mid .fm-flow-num {
- background: rgba(255, 190, 60, 0.12);
- border-color: rgba(255, 190, 60, 0.3);
- color: #ffbe3c;
+ background: rgba(255, 255, 255, 0.08);
+ border-color: rgba(255, 255, 255, 0.22);
+ color: var(--text);
}
.fm-flow-step--end .fm-flow-num {
- background: rgba(40, 200, 64, 0.12);
- border-color: rgba(40, 200, 64, 0.3);
- color: #28c840;
+ background: rgba(255, 255, 255, 0.10);
+ border-color: rgba(255, 255, 255, 0.25);
+ color: var(--text);
}
.fm-flow-label {
font-size: 13px;
@@ -883,14 +883,14 @@
margin-top: auto;
}
.fm-flow-badge--warn {
- color: #ffbe3c;
- border-color: rgba(255, 190, 60, 0.35);
- background: rgba(255, 190, 60, 0.08);
+ color: var(--muted);
+ border-color: rgba(255, 255, 255, 0.15);
+ background: rgba(255, 255, 255, 0.04);
}
.fm-flow-badge--ok {
- color: #28c840;
- border-color: rgba(40, 200, 64, 0.35);
- background: rgba(40, 200, 64, 0.08);
+ color: var(--text);
+ border-color: rgba(255, 255, 255, 0.2);
+ background: rgba(255, 255, 255, 0.05);
}
.fm-flow-connector {
display: flex;
@@ -903,15 +903,15 @@
.fm-flow-line {
width: 100%;
height: 1.5px;
- background: linear-gradient(90deg, var(--border) 0%, rgba(214, 255, 61, 0.3) 50%, var(--border) 100%);
+ background: linear-gradient(90deg, var(--border) 0%, rgba(255, 255, 255, 0.15) 50%, var(--border) 100%);
}
.fm-flow-pulse {
position: absolute;
width: 6px;
height: 6px;
border-radius: 50%;
- background: var(--accent);
- box-shadow: 0 0 8px rgba(214, 255, 61, 0.5);
+ background: var(--text);
+ box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
animation: flowPulse 2.4s ease-in-out infinite;
}
@keyframes flowPulse {
@@ -924,7 +924,7 @@
/* ── Pricing preview card ─────────────────────────────────────── */
.fm-pricing-preview {
background:
- linear-gradient(135deg, rgba(214, 255, 61, 0.04) 0%, rgba(106, 92, 255, 0.04) 100%),
+ linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%),
rgba(255, 255, 255, 0.02);
border: 1px solid var(--border);
border-radius: 12px;
@@ -992,8 +992,8 @@
/* ── Syntax highlighting (code blocks) ────────────────────────── */
.fm-code--highlighted pre { color: #cdd; }
.syn-comment { color: #6a6d82; font-style: italic; }
- .syn-keyword { color: #c792ea; }
- .syn-string { color: #c3e88d; }
+ .syn-keyword { color: #bbb; }
+ .syn-string { color: #999; }
/* ── Browser-chrome iframe preview ─────────────────────────────── */
.fm-browser {
@@ -1036,7 +1036,7 @@
display: flex;
align-items: center;
justify-content: center;
- background: radial-gradient(60% 80% at 50% 20%, rgba(106, 92, 255, 0.08), transparent 70%);
+ background: radial-gradient(60% 80% at 50% 20%, rgba(255, 255, 255, 0.03), transparent 70%);
}
.fm-browser-shot {
width: 100%;
@@ -1069,9 +1069,9 @@
.rep-card-head .muted { font-size: 11.5px; }
.rep-sample-pill {
font-size: 10px;
- background: rgba(106, 92, 255, 0.15);
- color: #b9c0ff;
- border: 1px solid rgba(106, 92, 255, 0.35);
+ background: rgba(255, 255, 255, 0.06);
+ color: var(--muted);
+ border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 999px;
padding: 2px 8px;
letter-spacing: 0.06em;
@@ -1090,7 +1090,7 @@
.rep-stats strong { font-weight: 600; font-size: 14px; }
.rep-stat-big { font-size: 18px !important; }
.rep-stats .muted { font-size: 10.5px; }
- .rep-stars { color: #ffd24a; letter-spacing: 1px; font-size: 12px; }
+ .rep-stars { color: var(--text); letter-spacing: 1px; font-size: 12px; }
.rep-reviews {
display: flex;
flex-direction: column;
@@ -1153,8 +1153,8 @@
transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.fm-download-row:hover:not([data-busy='1']) {
- background: rgba(214, 255, 61, 0.06);
- border-color: rgba(214, 255, 61, 0.4);
+ background: rgba(255, 255, 255, 0.05);
+ border-color: rgba(255, 255, 255, 0.25);
transform: translateY(-1px);
}
.fm-download-row[data-busy='1'] {
@@ -1188,7 +1188,7 @@
min-height: 1em;
margin-top: 2px;
}
- .fm-download-status[data-tone='busy'] { color: #b9c0ff; }
+ .fm-download-status[data-tone='busy'] { color: var(--text); }
.fm-download-status[data-tone='ok'] { color: var(--accent); }
.fm-download-status[data-tone='err'] { color: #ffb3b3; }
@@ -1361,8 +1361,8 @@
width: 5px;
height: 5px;
border-radius: 50%;
- background: var(--accent);
- box-shadow: 0 0 8px rgba(214, 255, 61, 0.5);
+ background: var(--text);
+ box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}
.capabilities .feature-grid {
grid-template-columns: 1fr 1fr 1fr;
@@ -1426,8 +1426,8 @@
flex-shrink: 0;
transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
- .emote-chip:hover { background: rgba(214, 255, 61, 0.12); border-color: rgba(214, 255, 61, 0.4); transform: scale(1.05); }
- .emote-chip.is-active { background: rgba(214, 255, 61, 0.2); border-color: var(--accent); }
+ .emote-chip:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); transform: scale(1.05); }
+ .emote-chip.is-active { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.4); }
.emote-strip-close {
appearance: none;
background: transparent;
@@ -1590,7 +1590,7 @@
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.status-toast.error { border-color: rgba(255, 92, 92, 0.4); color: #ffb3b3; background: #140a0a; }
- .status-toast.success { border-color: rgba(214, 255, 61, 0.3); color: var(--accent); }
+ .status-toast.success { border-color: rgba(255, 255, 255, 0.2); color: var(--text); }
</style>
<link rel="stylesheet" href="/nav.css" />
<link rel="stylesheet" href="/footer.css" />
diff --git a/pages/home-next.html b/pages/home-next.html
index e4f09f724..02560d59d 100644
--- a/pages/home-next.html
+++ b/pages/home-next.html
@@ -3,10 +3,10 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
- <title>three.ws — the 3D agent layer of the internet</title>
- <meta name="description" content="Drop one tag. Any character. Every page. three.ws is the 3D agent layer of the internet — embed a living 3D AI agent on any site with one line of HTML." />
- <meta property="og:title" content="three.ws — the 3D agent layer of the internet" />
- <meta property="og:description" content="Drop one tag. Any character. Every page." />
+ <title>three.ws — The 3D Agent Layer of the Internet</title>
+ <meta name="description" content="Create a 3D AI agent from a selfie in 60 seconds. Embed it anywhere with two lines of HTML. Charge per chat with x402. The 3D agent layer of the internet." />
+ <meta property="og:title" content="three.ws — The 3D Agent Layer of the Internet" />
+ <meta property="og:description" content="Create, embed, and monetize living 3D AI agents. One tag. Any site. Voice, memory, payments, and on-chain identity included." />
<meta property="og:image" content="/og-image.png" />
<meta name="twitter:card" content="summary_large_image" />
<link rel="icon" href="/favicon.ico" />
@@ -17,12 +17,16 @@
--surface-0: #0b0b0b;
--surface-1: #111111;
--surface-2: #181818;
+ --surface-3: #1e1e1e;
--hairline: #1c1c1c;
--hairline-strong: #2a2a2a;
--text: #f6f6f6;
--text-2: #a8a8a8;
--text-3: #6a6a6a;
--text-4: #4a4a4a;
+ --accent: #6a5cff;
+ --accent-2: #ff5ca8;
+ --green: #22c55e;
--font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
--font-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
@@ -38,19 +42,15 @@
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--text); color: var(--bg); }
-
- /* ── Top-level page rhythm ─────────────────────────────── */
.wrap-1280 { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-1440 { max-width: 1440px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
- @media (max-width: 720px) {
- .wrap-1280, .wrap-1440 { padding-left: 20px; padding-right: 20px; }
- }
+ @media (max-width: 720px) { .wrap-1280, .wrap-1440 { padding-left: 20px; padding-right: 20px; } }
- /* ── NAV ───────────────────────────────────────────────── */
+ /* ── NAV ─────────────────────────────────────────────────── */
.nav {
position: sticky; top: 0; z-index: 100;
border-bottom: 1px solid var(--hairline);
- background: rgba(5,5,5,0.78);
+ background: rgba(5,5,5,0.82);
backdrop-filter: blur(20px) saturate(140%);
}
.nav-inner {
@@ -61,6 +61,7 @@
display: flex; align-items: center; gap: 10px;
font-family: var(--font-display);
font-weight: 600; letter-spacing: -0.025em; font-size: 16.5px;
+ flex-shrink: 0;
}
.brand-mark {
width: 18px; height: 18px;
@@ -78,16 +79,12 @@
}
.nav-main a:hover { color: var(--text); }
.nav-end { display: flex; align-items: center; gap: 4px; }
- .nav-end a {
- padding: 7px 12px; font-size: 14px; font-weight: 450;
- color: var(--text-2);
- }
+ .nav-end a { padding: 7px 12px; font-size: 14px; font-weight: 450; color: var(--text-2); }
.nav-end a:hover { color: var(--text); }
.nav-end .console {
color: var(--text); font-weight: 500;
border: 1px solid var(--hairline-strong);
- padding: 7px 16px; border-radius: 7px;
- margin-left: 6px;
+ padding: 7px 16px; border-radius: 7px; margin-left: 6px;
transition: border-color 0.15s, background 0.15s;
}
.nav-end .console:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }
@@ -96,12 +93,31 @@
.nav-inner { padding: 14px 20px; gap: 16px; }
}
- /* ── HERO ──────────────────────────────────────────────── */
+ /* ── BUTTONS ─────────────────────────────────────────────── */
+ .btn {
+ display: inline-flex; align-items: center; gap: 10px;
+ padding: 13px 22px; border-radius: 8px;
+ font-size: 14.5px; font-weight: 500;
+ border: 1px solid var(--hairline-strong);
+ background: transparent; color: var(--text);
+ transition: border-color 0.15s, background 0.15s;
+ cursor: pointer; text-decoration: none; font-family: inherit;
+ }
+ .btn:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }
+ .btn.primary {
+ background: var(--text); color: var(--bg);
+ border-color: var(--text); font-weight: 550;
+ }
+ .btn.primary:hover { background: #fff; }
+ .btn .arrow { transition: transform 0.18s; }
+ .btn:hover .arrow { transform: translateX(3px); }
+ .btn.sm { padding: 9px 16px; font-size: 13.5px; }
+ .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
+
+ /* ── HERO ────────────────────────────────────────────────── */
.hero {
display: grid; grid-template-columns: 1.05fr 1fr;
- gap: 0;
- min-height: calc(100vh - 57px);
- position: relative;
+ gap: 0; min-height: calc(100vh - 57px); position: relative;
}
.hero::after {
content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
@@ -117,99 +133,77 @@
display: inline-flex; align-items: center; gap: 10px;
font-family: var(--font-mono); font-size: 11.5px;
text-transform: uppercase; letter-spacing: 0.18em;
- color: var(--text-3);
- margin-bottom: 32px;
+ color: var(--text-3); margin-bottom: 32px;
}
.eyebrow::before {
content: ""; width: 6px; height: 6px; border-radius: 50%;
- background: var(--text); opacity: 0.55;
+ background: var(--green); box-shadow: 0 0 6px var(--green);
+ animation: pulse-green 2.4s ease-in-out infinite;
}
+ @keyframes pulse-green { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
h1.hero-h {
font-family: var(--font-display);
- font-size: clamp(56px, 7.2vw, 112px);
+ font-size: clamp(52px, 6.8vw, 108px);
line-height: 0.92; letter-spacing: -0.045em;
- font-weight: 600;
- margin: 0 0 32px;
- color: var(--text);
- }
- h1.hero-h em {
- font-style: normal; color: var(--text-3); font-weight: 500;
+ font-weight: 600; margin: 0 0 32px; color: var(--text);
}
+ h1.hero-h em { font-style: normal; color: var(--text-3); font-weight: 500; }
.hero-sub {
font-size: 18px; color: var(--text-2);
- max-width: 480px; margin: 0 0 40px; line-height: 1.5;
- font-weight: 400;
+ max-width: 500px; margin: 0 0 36px; line-height: 1.55; font-weight: 400;
}
- .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
- .btn {
- display: inline-flex; align-items: center; gap: 10px;
- padding: 13px 22px; border-radius: 8px;
- font-size: 14.5px; font-weight: 500;
- border: 1px solid var(--hairline-strong);
- background: transparent; color: var(--text);
- transition: border-color 0.15s, background 0.15s;
- cursor: pointer; text-decoration: none;
- font-family: inherit;
+ .hero-bullets {
+ list-style: none; padding: 0; margin: 0 0 40px;
+ display: flex; flex-direction: column; gap: 10px;
}
- .btn:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }
- .btn.primary {
- background: var(--text); color: var(--bg);
- border-color: var(--text); font-weight: 550;
+ .hero-bullets li {
+ display: flex; align-items: center; gap: 12px;
+ font-size: 15px; color: var(--text-2);
}
- .btn.primary:hover { background: #fff; }
- .btn .arrow { transition: transform 0.18s; }
- .btn:hover .arrow { transform: translateX(3px); }
+ .hero-bullets li::before {
+ content: ""; width: 5px; height: 5px; border-radius: 50%;
+ background: var(--text-3); flex-shrink: 0;
+ }
+ .hero-bullets li strong { color: var(--text); font-weight: 550; }
+ .hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.metrics {
display: flex; gap: 28px; flex-wrap: wrap;
- padding-top: 28px;
- border-top: 1px solid var(--hairline);
+ padding-top: 28px; border-top: 1px solid var(--hairline);
font-family: var(--font-mono); font-size: 12px;
- color: var(--text-3);
- text-transform: uppercase; letter-spacing: 0.12em;
+ color: var(--text-3); text-transform: uppercase; letter-spacing: 0.12em;
}
.metric { display: flex; align-items: baseline; gap: 7px; }
.metric strong {
- font-family: var(--font-display);
- color: var(--text); font-weight: 600;
- font-size: 17px; letter-spacing: -0.02em;
- text-transform: none;
+ font-family: var(--font-display); color: var(--text); font-weight: 600;
+ font-size: 17px; letter-spacing: -0.02em; text-transform: none;
font-variant-numeric: tabular-nums;
}
- /* ── Hero stage (live agent — full column) ──────────── */
- .hero-stage {
- position: relative; overflow: hidden;
- background: var(--bg);
- }
+ /* ── Hero stage ──────────────────────────────────────────── */
+ .hero-stage { position: relative; overflow: hidden; background: var(--bg); }
.hero-stage agent-3d {
- position: absolute; inset: 0;
- display: block; width: 100%; height: 100%;
+ position: absolute; inset: 0; display: block; width: 100%; height: 100%;
}
.stage-marker {
position: absolute; top: 24px; left: 24px; z-index: 5;
display: flex; align-items: center; gap: 10px;
font-family: var(--font-mono); font-size: 10.5px;
- letter-spacing: 0.18em; text-transform: uppercase;
- color: var(--text-3);
+ letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3);
}
.stage-marker::before {
content: ""; width: 6px; height: 6px; border-radius: 50%;
- background: var(--text); animation: pulse 2.4s ease-in-out infinite;
+ background: var(--green); box-shadow: 0 0 6px var(--green);
+ animation: pulse-green 2.4s ease-in-out infinite;
}
- @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.stage-meta {
position: absolute; bottom: 24px; right: 28px; z-index: 5;
- text-align: right;
- font-family: var(--font-mono); font-size: 10.5px;
+ text-align: right; font-family: var(--font-mono); font-size: 10.5px;
letter-spacing: 0.14em; text-transform: uppercase;
- color: var(--text-4);
- line-height: 1.6;
+ color: var(--text-4); line-height: 1.6;
}
.stage-meta span { display: block; }
.stage-meta span:first-child { color: var(--text-3); }
-
- /* Subtle perspective tilt of the hero stage on mouse move */
.hero-stage-inner {
position: absolute; inset: 0;
transform-style: preserve-3d;
@@ -217,13 +211,65 @@
will-change: transform;
}
- /* ── Section frame ─────────────────────────────────── */
- section.block {
- padding: 128px 0;
+ /* ── STATS BAR ───────────────────────────────────────────── */
+ .stats-bar {
+ background: var(--surface-0);
border-top: 1px solid var(--hairline);
+ border-bottom: 1px solid var(--hairline);
+ padding: 0;
+ overflow: hidden;
+ }
+ .stats-bar-inner {
+ display: flex; align-items: stretch;
+ max-width: 1440px; margin: 0 auto;
+ }
+ .stat-cell {
+ flex: 1; padding: 20px 28px;
+ border-right: 1px solid var(--hairline);
+ display: flex; flex-direction: column; gap: 4px;
+ }
+ .stat-cell:last-child { border-right: none; }
+ .stat-val {
+ font-family: var(--font-display); font-size: 24px;
+ font-weight: 600; letter-spacing: -0.025em;
+ color: var(--text); font-variant-numeric: tabular-nums;
+ }
+ .stat-lbl {
+ font-family: var(--font-mono); font-size: 11px;
+ letter-spacing: 0.15em; text-transform: uppercase;
+ color: var(--text-3);
+ }
+ @media (max-width: 860px) {
+ .stats-bar-inner { flex-wrap: wrap; }
+ .stat-cell { flex: 1 0 50%; border-bottom: 1px solid var(--hairline); }
}
- @media (max-width: 720px) { section.block { padding: 80px 0; } }
- .block-head { margin-bottom: 64px; max-width: 760px; }
+ @media (max-width: 560px) { .stat-cell { flex: 1 0 100%; } }
+
+ /* ── LOGO STRIP ──────────────────────────────────────────── */
+ .logo-strip {
+ padding: 28px 0;
+ border-bottom: 1px solid var(--hairline);
+ }
+ .logo-strip-cap {
+ font-family: var(--font-mono); font-size: 10.5px;
+ letter-spacing: 0.2em; text-transform: uppercase;
+ color: var(--text-4); text-align: center; margin-bottom: 20px;
+ }
+ .logo-row {
+ display: flex; flex-wrap: wrap; justify-content: center;
+ gap: 48px; align-items: center;
+ }
+ .logo-row .logo {
+ font-family: var(--font-display); font-size: 15px; font-weight: 500;
+ letter-spacing: -0.02em; color: var(--text-3); opacity: 0.65;
+ transition: opacity 0.15s;
+ }
+ .logo-row .logo:hover { opacity: 1; }
+
+ /* ── SECTION FRAME ───────────────────────────────────────── */
+ section.block { padding: 112px 0; border-top: 1px solid var(--hairline); }
+ @media (max-width: 720px) { section.block { padding: 72px 0; } }
+ .block-head { margin-bottom: 60px; max-width: 800px; }
.block-eyebrow {
font-family: var(--font-mono); font-size: 11.5px;
letter-spacing: 0.2em; text-transform: uppercase;
@@ -232,7 +278,7 @@
.block-eyebrow .num { color: var(--text); margin-right: 12px; }
.block-h {
font-family: var(--font-display);
- font-size: clamp(36px, 4.2vw, 60px);
+ font-size: clamp(34px, 4vw, 58px);
line-height: 1.0; letter-spacing: -0.035em;
font-weight: 600; margin: 0 0 20px;
}
@@ -242,52 +288,40 @@
max-width: 600px; line-height: 1.55; margin: 0;
}
- /* ── EMBED SHOWCASE ────────────────────────────────── */
+ /* ── EMBED SHOWCASE ──────────────────────────────────────── */
.embed-grid {
display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
- background: var(--hairline);
- border: 1px solid var(--hairline);
+ background: var(--hairline); border: 1px solid var(--hairline);
border-radius: 14px; overflow: hidden;
}
@media (max-width: 980px) { .embed-grid { grid-template-columns: 1fr; } }
- .pane {
- background: var(--surface-0);
- min-height: 420px;
- display: flex; flex-direction: column;
- }
+ .pane { background: var(--surface-0); min-height: 420px; display: flex; flex-direction: column; }
.pane-head {
display: flex; align-items: center; justify-content: space-between;
- padding: 14px 18px;
- border-bottom: 1px solid var(--hairline);
- font-family: var(--font-mono); font-size: 12px;
- color: var(--text-3);
+ padding: 14px 18px; border-bottom: 1px solid var(--hairline);
+ font-family: var(--font-mono); font-size: 12px; color: var(--text-3);
}
.pane-head .tabs { display: flex; gap: 4px; }
.pane-head .tab {
padding: 5px 11px; border-radius: 5px;
font-family: var(--font-mono); font-size: 11.5px;
- color: var(--text-3); background: transparent;
- border: 0; cursor: pointer;
+ color: var(--text-3); background: transparent; border: 0; cursor: pointer;
}
.pane-head .tab.active { background: var(--surface-2); color: var(--text); }
.code-pane pre {
- margin: 0; padding: 28px 28px;
+ margin: 0; padding: 28px;
font-family: var(--font-mono); font-size: 13px; line-height: 1.75;
- color: var(--text); overflow-x: auto; flex: 1;
- background: var(--surface-0);
+ color: var(--text); overflow-x: auto; flex: 1; background: var(--surface-0);
}
- .code-pane pre .tag { color: #d3d3d3; }
+ .code-pane pre .tag { color: #d3d3d3; }
.code-pane pre .attr { color: #989898; }
- .code-pane pre .str { color: #f6f6f6; }
- .code-pane pre .com { color: var(--text-4); }
- .code-pane .pane-foot {
- padding: 14px 18px; border-top: 1px solid var(--hairline);
- }
+ .code-pane pre .str { color: #f6f6f6; }
+ .code-pane pre .com { color: var(--text-4); }
+ .code-pane .pane-foot { padding: 14px 18px; border-top: 1px solid var(--hairline); }
.copy-btn {
background: transparent; color: var(--text);
border: 1px solid var(--hairline-strong); cursor: pointer;
- padding: 7px 14px; border-radius: 7px;
- font-size: 13px; font-weight: 500;
+ padding: 7px 14px; border-radius: 7px; font-size: 13px; font-weight: 500;
}
.copy-btn:hover { border-color: var(--text); }
.copy-btn.copied { background: var(--text); color: var(--bg); border-color: var(--text); }
@@ -297,253 +331,515 @@
width: 100%; height: calc(100% - 49px);
}
- /* ── LOGO STRIP ─────────────────────────────────────── */
- .logo-strip {
- padding: 32px 0;
- border-top: 1px solid var(--hairline);
- border-bottom: 1px solid var(--hairline);
- }
- .logo-strip-cap {
- font-family: var(--font-mono); font-size: 10.5px;
- letter-spacing: 0.2em; text-transform: uppercase;
- color: var(--text-4); text-align: center; margin-bottom: 22px;
- }
- .logo-row {
- display: flex; flex-wrap: wrap; justify-content: center;
- gap: 56px; align-items: center;
- }
- .logo-row .logo {
- font-family: var(--font-display);
- font-size: 16px; font-weight: 500;
- letter-spacing: -0.02em;
- color: var(--text-3); opacity: 0.75;
- }
-
- /* ── DOORS ──────────────────────────────────────────── */
+ /* ── THREE DOORS ─────────────────────────────────────────── */
.doors {
display: grid; grid-template-columns: repeat(3, 1fr);
gap: 1px; background: var(--hairline);
- border: 1px solid var(--hairline);
- border-radius: 14px; overflow: hidden;
+ border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden;
}
@media (max-width: 980px) { .doors { grid-template-columns: 1fr; } }
.door {
- background: var(--surface-0);
- padding: 44px 36px 38px;
- display: flex; flex-direction: column;
- transition: background 0.15s;
+ background: var(--surface-0); padding: 44px 36px 38px;
+ display: flex; flex-direction: column; transition: background 0.15s;
}
.door:hover { background: var(--surface-1); }
.door-num {
font-family: var(--font-mono); font-size: 11.5px;
- letter-spacing: 0.18em; color: var(--text-4);
- margin-bottom: 28px;
+ letter-spacing: 0.18em; color: var(--text-4); margin-bottom: 28px;
display: flex; justify-content: space-between; align-items: baseline;
}
.door-num .lbl { color: var(--text-3); }
.door h3 {
- font-family: var(--font-display);
- font-size: 26px; line-height: 1.1; letter-spacing: -0.025em;
- font-weight: 600; margin: 0 0 14px;
- }
- .door p {
- color: var(--text-2); margin: 0 0 28px;
- font-size: 15px; line-height: 1.55; flex: 1;
+ font-family: var(--font-display); font-size: 26px; line-height: 1.1;
+ letter-spacing: -0.025em; font-weight: 600; margin: 0 0 14px;
}
+ .door p { color: var(--text-2); margin: 0 0 28px; font-size: 15px; line-height: 1.55; flex: 1; }
.door .door-cta {
font-size: 14px; font-weight: 500; color: var(--text);
display: inline-flex; align-items: center; gap: 8px;
}
.door .door-cta::after { content: "→"; transition: transform 0.18s; }
.door:hover .door-cta::after { transform: translateX(4px); }
+ .door-screenshot {
+ margin: 0 0 24px; border-radius: 8px; overflow: hidden;
+ border: 1px solid var(--hairline-strong);
+ aspect-ratio: 16/9; background: var(--surface-2);
+ }
+ .door-screenshot img { width: 100%; height: 100%; object-fit: cover; display: block; }
- /* ── STEPS ──────────────────────────────────────────── */
- .steps {
- display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px;
+ /* ── BENTO GRID ──────────────────────────────────────────── */
+ .bento {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ grid-template-rows: auto;
+ gap: 1px; background: var(--hairline);
+ border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden;
}
- @media (max-width: 980px) { .steps { grid-template-columns: 1fr; gap: 48px; } }
- .step {
- border-top: 1px solid var(--hairline-strong);
- padding-top: 28px;
+ @media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, 1fr); } }
+ @media (max-width: 680px) { .bento { grid-template-columns: 1fr; } }
+ .bento-card {
+ background: var(--surface-0);
+ padding: 36px 32px 32px;
+ display: flex; flex-direction: column; gap: 12px;
+ transition: background 0.15s;
+ position: relative; overflow: hidden;
}
- .step-num {
- font-family: var(--font-mono); font-size: 11.5px;
- letter-spacing: 0.18em; color: var(--text-3);
- margin-bottom: 22px;
+ .bento-card:hover { background: var(--surface-1); }
+ .bento-card.span2 { grid-column: span 2; }
+ @media (max-width: 1080px) { .bento-card.span2 { grid-column: span 1; } }
+ .bento-icon {
+ font-size: 22px; line-height: 1; margin-bottom: 4px;
+ display: flex; align-items: center; gap: 10px;
}
- .step-title {
- font-family: var(--font-display);
- font-size: 24px; letter-spacing: -0.025em;
- font-weight: 600; margin: 0 0 12px;
+ .bento-icon .dot {
+ width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
+ }
+ .bento-title {
+ font-family: var(--font-display); font-size: 20px;
+ font-weight: 600; letter-spacing: -0.02em; margin: 0;
+ }
+ .bento-desc {
+ font-size: 14.5px; color: var(--text-2);
+ line-height: 1.55; margin: 0; flex: 1;
}
+ .bento-tag {
+ display: inline-flex; align-items: center;
+ font-family: var(--font-mono); font-size: 10.5px;
+ letter-spacing: 0.15em; text-transform: uppercase;
+ color: var(--text-4); border: 1px solid var(--hairline-strong);
+ padding: 4px 9px; border-radius: 99px;
+ margin-top: 4px; width: fit-content;
+ }
+ .bento-screenshot {
+ border-radius: 7px; overflow: hidden;
+ border: 1px solid var(--hairline-strong);
+ margin-top: 8px; background: var(--surface-2);
+ }
+ .bento-screenshot img { width: 100%; display: block; }
+ .bento-pills {
+ display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
+ }
+ .bento-pill {
+ font-family: var(--font-mono); font-size: 11px;
+ letter-spacing: 0.1em; text-transform: uppercase;
+ color: var(--text-3); border: 1px solid var(--hairline-strong);
+ padding: 3px 8px; border-radius: 4px;
+ }
+ .bento-code {
+ font-family: var(--font-mono); font-size: 12.5px;
+ background: var(--surface-2); border: 1px solid var(--hairline-strong);
+ border-radius: 7px; padding: 14px 16px; color: var(--text-2);
+ line-height: 1.7; margin-top: 8px; overflow-x: auto;
+ }
+ .bento-code .kw { color: var(--text-3); }
+ .bento-code .val { color: var(--text); }
+ .bento-code .str { color: #c8c8c8; }
+
+ /* ── FEATURE SPLIT SECTIONS ──────────────────────────────── */
+ .feat-split {
+ display: grid; grid-template-columns: 1fr 1fr;
+ gap: 80px; align-items: center;
+ }
+ @media (max-width: 980px) { .feat-split { grid-template-columns: 1fr; gap: 48px; } }
+ .feat-split.rev { direction: rtl; }
+ .feat-split.rev > * { direction: ltr; }
+ @media (max-width: 980px) { .feat-split.rev { direction: ltr; } }
+ .feat-text { display: flex; flex-direction: column; gap: 20px; }
+ .feat-eyebrow {
+ font-family: var(--font-mono); font-size: 11px;
+ letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3);
+ }
+ .feat-h {
+ font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 44px);
+ line-height: 1.05; letter-spacing: -0.03em;
+ font-weight: 600; margin: 0; color: var(--text);
+ }
+ .feat-h em { font-style: normal; color: var(--text-3); font-weight: 500; }
+ .feat-body { font-size: 16px; color: var(--text-2); line-height: 1.6; margin: 0; }
+ .feat-list {
+ list-style: none; padding: 0; margin: 0;
+ display: flex; flex-direction: column; gap: 10px;
+ }
+ .feat-list li {
+ display: flex; align-items: flex-start; gap: 12px;
+ font-size: 14.5px; color: var(--text-2); line-height: 1.5;
+ }
+ .feat-list li::before {
+ content: ""; width: 5px; height: 5px; border-radius: 50%;
+ background: var(--text-3); flex-shrink: 0; margin-top: 7px;
+ }
+ .feat-list li strong { color: var(--text); font-weight: 550; }
+ .feat-visual {
+ border: 1px solid var(--hairline-strong);
+ border-radius: 14px; overflow: hidden;
+ background: var(--surface-0);
+ position: relative;
+ }
+ .feat-visual img { width: 100%; display: block; }
+ .feat-visual-inner {
+ padding: 28px; display: flex; flex-direction: column; gap: 16px;
+ }
+ .feat-visual-label {
+ font-family: var(--font-mono); font-size: 10.5px;
+ letter-spacing: 0.18em; text-transform: uppercase;
+ color: var(--text-3); padding: 14px 18px;
+ border-bottom: 1px solid var(--hairline);
+ }
+
+ /* Pump.fun earn rows */
+ .earn-rows { display: flex; flex-direction: column; gap: 1px; }
+ .earn-row {
+ background: var(--surface-1); padding: 14px 18px;
+ display: flex; justify-content: space-between; align-items: center;
+ border-bottom: 1px solid var(--hairline);
+ }
+ .earn-row:last-child { border-bottom: none; }
+ .earn-row-left { display: flex; flex-direction: column; gap: 2px; }
+ .earn-row-name { font-size: 14px; font-weight: 500; color: var(--text); }
+ .earn-row-time { font-family: var(--font-mono); font-size: 11px; color: var(--text-4); }
+ .earn-row-amount { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--green); }
+
+ /* Token card */
+ .token-card {
+ background: var(--surface-1); border: 1px solid var(--hairline-strong);
+ border-radius: 10px; padding: 18px; display: flex; gap: 14px; align-items: center;
+ }
+ .token-avatar {
+ width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
+ background: linear-gradient(135deg, #6a5cff 0%, #ff5ca8 100%);
+ display: flex; align-items: center; justify-content: center;
+ font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: #fff;
+ }
+ .token-info { flex: 1; }
+ .token-name { font-size: 14px; font-weight: 600; color: var(--text); }
+ .token-ticker { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
+ .token-price { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--green); }
+
+ /* ── STEPS ───────────────────────────────────────────────── */
+ .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; }
+ @media (max-width: 980px) { .steps { grid-template-columns: 1fr; gap: 48px; } }
+ .step { border-top: 1px solid var(--hairline-strong); padding-top: 28px; }
+ .step-num { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.18em; color: var(--text-3); margin-bottom: 22px; }
+ .step-title { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 12px; }
.step-body { color: var(--text-2); font-size: 15px; line-height: 1.55; margin: 0; }
- /* ── SHOWCASE ──────────────────────────────────────── */
+ /* ── SHOWCASE ────────────────────────────────────────────── */
.showcase {
display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
- background: var(--hairline);
- border: 1px solid var(--hairline);
+ background: var(--hairline); border: 1px solid var(--hairline);
border-radius: 14px; overflow: hidden;
}
@media (max-width: 1080px) { .showcase { grid-template-columns: repeat(2, 1fr); } }
.shot {
- background: var(--surface-0);
- aspect-ratio: 3 / 4;
- position: relative;
- overflow: hidden;
- transition: background 0.15s;
+ background: var(--surface-0); aspect-ratio: 3 / 4;
+ position: relative; overflow: hidden; transition: background 0.15s;
+ display: flex; flex-direction: column; justify-content: flex-end;
}
.shot:hover { background: var(--surface-1); }
- .shot-fill {
- position: absolute; inset: 0;
- }
+ .shot-fill { position: absolute; inset: 0; }
.shot-fill img {
width: 100%; height: 100%; object-fit: cover;
- filter: grayscale(0.3) contrast(1.05);
- transition: filter 0.3s;
+ filter: grayscale(0.25) contrast(1.05); transition: filter 0.3s;
}
.shot:hover .shot-fill img { filter: grayscale(0) contrast(1.05); }
- .shot-fill agent-3d {
- position: absolute; inset: 0; display: block;
- width: 100%; height: 100%;
- }
.shot-meta {
- position: absolute; bottom: 0; left: 0; right: 0;
- padding: 20px;
+ position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
background: linear-gradient(180deg, transparent 0%, rgba(5,5,5,0.92) 70%);
color: var(--text); z-index: 2;
}
- .shot-name {
- font-family: var(--font-display);
- font-size: 16px; font-weight: 600; letter-spacing: -0.015em;
- margin: 0 0 2px;
- }
- .shot-sub {
- font-family: var(--font-mono); font-size: 11px;
- color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase;
- }
+ .shot-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 2px; }
+ .shot-sub { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }
.shot-tag {
position: absolute; top: 14px; left: 14px; z-index: 2;
font-family: var(--font-mono); font-size: 10px;
- letter-spacing: 0.18em; text-transform: uppercase;
- color: var(--text);
- padding: 4px 9px;
- background: rgba(5,5,5,0.55);
- border: 1px solid var(--hairline-strong);
- border-radius: 99px;
+ letter-spacing: 0.18em; text-transform: uppercase; color: var(--text);
+ padding: 4px 9px; background: rgba(5,5,5,0.55);
+ border: 1px solid var(--hairline-strong); border-radius: 99px;
backdrop-filter: blur(6px);
}
- /* ── VERB PILLS ────────────────────────────────────── */
- .pills {
- display: flex; flex-wrap: wrap; gap: 8px;
+ /* ── DEVELOPER SECTION ───────────────────────────────────── */
+ .dev-grid {
+ display: grid; grid-template-columns: 1.1fr 1fr; gap: 1px;
+ background: var(--hairline); border: 1px solid var(--hairline);
+ border-radius: 14px; overflow: hidden;
}
- .pill {
- padding: 9px 16px;
- border: 1px solid var(--hairline-strong); border-radius: 99px;
- font-size: 13.5px; color: var(--text-2);
- font-weight: 450;
+ @media (max-width: 980px) { .dev-grid { grid-template-columns: 1fr; } }
+ .dev-pane { background: var(--surface-0); padding: 0; }
+ .dev-pane-head {
+ padding: 14px 20px; border-bottom: 1px solid var(--hairline);
+ font-family: var(--font-mono); font-size: 11.5px;
+ letter-spacing: 0.12em; color: var(--text-3);
+ display: flex; justify-content: space-between;
+ }
+ .dev-code {
+ font-family: var(--font-mono); font-size: 12.5px;
+ line-height: 1.8; padding: 24px 24px; color: var(--text-2);
+ overflow-x: auto;
+ }
+ .dev-code .kw { color: var(--text-3); }
+ .dev-code .fn { color: var(--text); font-weight: 500; }
+ .dev-code .str { color: #c5c5c5; }
+ .dev-code .cmt { color: var(--text-4); }
+ .dev-code .num { color: #b0b0b0; }
+ .dev-links { padding: 20px 24px; border-top: 1px solid var(--hairline); }
+ .dev-links-row { display: flex; gap: 10px; flex-wrap: wrap; }
+ .dev-link {
+ display: inline-flex; align-items: center; gap: 7px;
+ padding: 7px 13px; border-radius: 6px;
+ border: 1px solid var(--hairline-strong);
+ font-size: 13px; font-weight: 500; color: var(--text-2);
+ transition: border-color 0.15s, color 0.15s;
}
- .pill strong {
- color: var(--text); font-weight: 600;
- font-family: var(--font-display);
- letter-spacing: -0.01em;
+ .dev-link:hover { border-color: var(--text); color: var(--text); }
+ .dev-right { display: flex; flex-direction: column; }
+ .dev-api-row {
+ padding: 18px 24px; border-bottom: 1px solid var(--hairline);
+ display: flex; flex-direction: column; gap: 5px;
+ }
+ .dev-api-method {
+ font-family: var(--font-mono); font-size: 11px;
+ letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
+ }
+ .dev-api-path {
+ font-family: var(--font-mono); font-size: 13px; color: var(--text);
}
- .pill .sep { color: var(--text-4); margin: 0 8px; }
+ .dev-api-desc { font-size: 13px; color: var(--text-3); }
+ .dev-badge {
+ display: inline-block; font-family: var(--font-mono); font-size: 10px;
+ letter-spacing: 0.1em; text-transform: uppercase;
+ padding: 2px 7px; border-radius: 4px; font-weight: 700;
+ }
+ .dev-badge.get { background: rgba(34,197,94,0.12); color: var(--green); }
+ .dev-badge.post { background: rgba(106,92,255,0.15); color: #a59dff; }
+ .dev-badge.mcp { background: rgba(255,92,168,0.12); color: #ff8cc8; }
- /* ── CTA ───────────────────────────────────────────── */
- .cta-card {
- padding: 80px 64px;
- border: 1px solid var(--hairline-strong); border-radius: 16px;
- text-align: center;
- background: var(--surface-0);
+ /* ── PRICING TEASER ──────────────────────────────────────── */
+ .pricing-grid {
+ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
+ background: var(--hairline); border: 1px solid var(--hairline);
+ border-radius: 14px; overflow: hidden;
}
- .cta-card h2 {
- font-family: var(--font-display);
- font-size: clamp(32px, 4vw, 52px);
- line-height: 1.0; letter-spacing: -0.035em;
- font-weight: 600; margin: 0 0 18px;
+ @media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }
+ .pricing-card {
+ background: var(--surface-0); padding: 40px 32px;
+ display: flex; flex-direction: column; gap: 0;
+ transition: background 0.15s; position: relative;
+ }
+ .pricing-card:hover { background: var(--surface-1); }
+ .pricing-card.featured {
+ background: var(--surface-1);
+ box-shadow: inset 0 0 0 1px rgba(106,92,255,0.25);
+ }
+ .pricing-badge {
+ position: absolute; top: 16px; right: 16px;
+ font-family: var(--font-mono); font-size: 10px;
+ letter-spacing: 0.15em; text-transform: uppercase;
+ background: rgba(106,92,255,0.15); color: #a59dff;
+ padding: 3px 9px; border-radius: 99px;
}
- .cta-card p {
- color: var(--text-2); font-size: 17px; margin: 0 0 36px;
+ .pricing-tier {
+ font-family: var(--font-mono); font-size: 11px;
+ letter-spacing: 0.18em; text-transform: uppercase;
+ color: var(--text-3); margin-bottom: 12px;
+ }
+ .pricing-price {
+ font-family: var(--font-display); font-size: 40px;
+ font-weight: 600; letter-spacing: -0.03em;
+ color: var(--text); margin: 0 0 4px; line-height: 1;
+ }
+ .pricing-price sub { font-size: 16px; font-weight: 400; color: var(--text-3); }
+ .pricing-cycle { font-size: 13px; color: var(--text-3); margin-bottom: 28px; }
+ .pricing-feats {
+ list-style: none; padding: 0; margin: 0 0 32px; flex: 1;
+ display: flex; flex-direction: column; gap: 10px;
+ }
+ .pricing-feats li {
+ display: flex; align-items: flex-start; gap: 10px;
+ font-size: 14px; color: var(--text-2); line-height: 1.45;
+ }
+ .pricing-feats li::before {
+ content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0;
+ font-size: 12px; margin-top: 1px;
}
- .cta-card .cta-row { justify-content: center; margin-bottom: 0; }
- /* ── FOOTER ────────────────────────────────────────── */
- footer {
- border-top: 1px solid var(--hairline);
- padding: 40px 0 56px;
- margin-top: 0;
+ /* ── BOTTOM CTA ──────────────────────────────────────────── */
+ .cta-card {
+ padding: 80px 64px; border: 1px solid var(--hairline-strong);
+ border-radius: 16px; text-align: center; background: var(--surface-0);
}
+ .cta-card h2 {
+ font-family: var(--font-display); font-size: clamp(30px, 4vw, 50px);
+ line-height: 1.0; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 18px;
+ }
+ .cta-card p { color: var(--text-2); font-size: 17px; margin: 0 0 36px; }
+ .cta-card .cta-row { justify-content: center; }
+ @media (max-width: 720px) { .cta-card { padding: 48px 24px; } }
+
+ /* ── FOOTER ──────────────────────────────────────────────── */
+ footer { border-top: 1px solid var(--hairline); padding: 40px 0 56px; }
.foot-inner {
display: flex; justify-content: space-between; align-items: center;
gap: 24px; flex-wrap: wrap;
- color: var(--text-4); font-size: 13px;
- font-family: var(--font-mono);
+ color: var(--text-4); font-size: 13px; font-family: var(--font-mono);
letter-spacing: 0.04em;
}
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--text-3); }
.foot-links a:hover { color: var(--text); }
-
- .demo-tag {
- position: fixed; bottom: 18px; right: 18px; z-index: 1000;
- background: var(--text); color: var(--bg);
- padding: 7px 13px; border-radius: 99px;
- font-family: var(--font-mono); font-size: 10.5px;
- font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
- }
</style>
<script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"></script>
</head>
<body>
- <!-- ── NAV ───────────────────────────────────────────────────── -->
- <header class="nav">
- <div class="nav-inner">
- <a class="brand" href="/home-next">
- <span class="brand-mark"></span>
- <span>three.ws</span>
- </a>
- <nav class="nav-main" aria-label="Primary">
- <a href="/create">Build</a>
- <a href="#embed">Embed</a>
- <a href="/discover">Discover</a>
- <a href="/pricing">Pricing</a>
- <a href="/docs">Docs</a>
- </nav>
- <div class="nav-end">
- <a href="/login">Sign in</a>
- <a class="console" href="/dashboard">Console</a>
- </div>
+
+<!-- ── NAV ──────────────────────────────────────────────────────── -->
+<header class="nav">
+ <div class="nav-inner">
+ <a class="brand" href="/">
+ <span class="brand-mark"></span>
+ <span>three.ws</span>
+ </a>
+ <nav class="nav-main" aria-label="Primary">
+ <a href="/create">Build</a>
+ <a href="#embed">Embed</a>
+ <a href="/discover">Discover</a>
+ <a href="/pricing">Pricing</a>
+ <a href="/docs">Docs</a>
+ </nav>
+ <div class="nav-end">
+ <a href="/login">Sign in</a>
+ <a class="console" href="/dashboard">Console →</a>
+ </div>
+ </div>
+</header>
+
+<!-- ── HERO ─────────────────────────────────────────────────────── -->
+<section class="hero">
+ <div class="hero-text">
+ <div class="eyebrow">Open beta · live now</div>
+ <h1 class="hero-h">
+ The 3D agent<br/>
+ layer of the<br/>
+ <em>internet.</em>
+ </h1>
+ <ul class="hero-bullets">
+ <li><strong>Create</strong> a 3D AI agent from a selfie in 60 seconds</li>
+ <li><strong>Embed</strong> it on any website with two lines of HTML</li>
+ <li><strong>Earn</strong> USDC per chat with x402 micropayments</li>
+ </ul>
+ <div class="hero-cta-row">
+ <a class="btn primary" href="/create">Build your agent <span class="arrow">→</span></a>
+ <a class="btn" href="#embed">See the embed</a>
+ </div>
+ <div class="metrics" id="metrics-strip">
+ <div class="metric"><strong id="m-agents">—</strong>agents live</div>
+ <div class="metric"><strong id="m-sites">—</strong>embeds</div>
+ <div class="metric"><strong id="m-onchain">—</strong>on-chain</div>
</div>
- </header>
-
- <!-- ── HERO ──────────────────────────────────────────────────── -->
- <section class="hero">
- <div class="hero-text">
- <div class="eyebrow">v0.1 · open beta</div>
- <h1 class="hero-h">
- The 3D agent<br/>
- layer of the<br/>
- <em>internet.</em>
- </h1>
- <p class="hero-sub">
- Embed a living 3D AI agent on any website with one line of HTML.
- Voice, animation, memory, and on-chain identity included.
+ </div>
+ <div class="hero-stage" id="hero-stage">
+ <span class="stage-marker">live</span>
+ <div class="hero-stage-inner" id="hero-stage-inner">
+ <agent-3d
+ class="live-agent"
+ mode="inline"
+ responsive
+ background="transparent"
+ name-plate="off"
+ avatar-chat="off"
+ kiosk
+ eager
+ ></agent-3d>
+ </div>
+ <div class="stage-meta">
+ <span>nich</span>
+ <span>/api/avatars/bacff13e</span>
+ </div>
+ </div>
+</section>
+
+<!-- ── STATS BAR ─────────────────────────────────────────────────── -->
+<div class="stats-bar" id="stats-bar">
+ <div class="stats-bar-inner">
+ <div class="stat-cell">
+ <div class="stat-val" id="sb-agents">—</div>
+ <div class="stat-lbl">Agents live</div>
+ </div>
+ <div class="stat-cell">
+ <div class="stat-val" id="sb-widgets">—</div>
+ <div class="stat-lbl">Widgets deployed</div>
+ </div>
+ <div class="stat-cell">
+ <div class="stat-val" id="sb-onchain">—</div>
+ <div class="stat-lbl">On-chain agents</div>
+ </div>
+ <div class="stat-cell">
+ <div class="stat-val">200+</div>
+ <div class="stat-lbl">Animation clips</div>
+ </div>
+ <div class="stat-cell">
+ <div class="stat-val">&lt;2 lines</div>
+ <div class="stat-lbl">To embed</div>
+ </div>
+ </div>
+</div>
+
+<!-- ── LOGO STRIP ────────────────────────────────────────────────── -->
+<div class="logo-strip">
+ <div class="wrap-1280">
+ <div class="logo-strip-cap">Embedded across the web</div>
+ <div class="logo-row">
+ <span class="logo">claude.ai</span>
+ <span class="logo">lobehub</span>
+ <span class="logo">agenc.tech</span>
+ <span class="logo">pump.fun</span>
+ <span class="logo">solana</span>
+ <span class="logo">metaplex</span>
+ <span class="logo">erc-8004</span>
+ <span class="logo">x402</span>
+ </div>
+ </div>
+</div>
+
+<!-- ── THE EMBED ─────────────────────────────────────────────────── -->
+<section class="block" id="embed">
+ <div class="wrap-1280">
+ <div class="block-head">
+ <p class="block-eyebrow"><span class="num">01</span>The embed</p>
+ <h2 class="block-h">Two lines. <em>Any HTML.</em></h2>
+ <p class="block-lede">
+ Copy these into any page on the web. The agent on the right is rendered
+ by the exact code on the left — no iframe, no SDK install, no build step required.
</p>
- <div class="cta-row">
- <a class="btn primary" href="/create">Build an agent <span class="arrow">→</span></a>
- <a class="btn" href="#embed">See the embed</a>
- </div>
- <div class="metrics" id="metrics-strip" style="display:none">
- <div class="metric"><strong id="m-agents">—</strong>agents live</div>
- <div class="metric"><strong id="m-sites">—</strong>widgets built</div>
- <div class="metric"><strong id="m-onchain">—</strong>on-chain</div>
- </div>
</div>
- <div class="hero-stage" id="hero-stage">
- <span class="stage-marker">live</span>
- <div class="hero-stage-inner" id="hero-stage-inner">
+ <div class="embed-grid">
+ <div class="pane code-pane">
+ <div class="pane-head">
+ <div class="tabs">
+ <button class="tab active" data-flavor="html">HTML</button>
+ <button class="tab" data-flavor="react">React</button>
+ <button class="tab" data-flavor="vue">Vue</button>
+ </div>
+ <span>index.html</span>
+ </div>
+<pre id="embed-snippet"><span class="tag">&lt;script</span> <span class="attr">type</span>=<span class="str">"module"</span>
+ <span class="attr">src</span>=<span class="str">"https://three.ws/agent-3d/latest/agent-3d.js"</span><span class="tag">&gt;&lt;/script&gt;</span>
+
+<span class="tag">&lt;agent-3d</span>
+ <span class="attr">src</span>=<span class="str">"https://three.ws/api/avatars/bacff13e…"</span>
+<span class="tag">&gt;&lt;/agent-3d&gt;</span>
+
+<span class="com">// Voice, memory, animations, and payments included.</span>
+<span class="com">// Works in React, Vue, Svelte, plain HTML.</span></pre>
+ <div class="pane-foot">
+ <button class="copy-btn" id="copy-btn">Copy</button>
+ </div>
+ </div>
+ <div class="pane render-pane">
+ <div class="pane-head">
+ <span>↪ live render</span>
+ <span style="color: var(--text-3);">running</span>
+ </div>
<agent-3d
class="live-agent"
mode="inline"
@@ -555,347 +851,763 @@
eager
></agent-3d>
</div>
- <div class="stage-meta">
- <span>nich</span>
- <span>/api/avatars/bacff13e</span>
+ </div>
+ </div>
+</section>
+
+<!-- ── THREE DOORS ───────────────────────────────────────────────── -->
+<section class="block">
+ <div class="wrap-1280">
+ <div class="block-head">
+ <p class="block-eyebrow"><span class="num">02</span>The platform</p>
+ <h2 class="block-h">Build, embed, <em>and earn.</em></h2>
+ <p class="block-lede">
+ A full-stack platform for 3D AI agents: from selfie to on-chain identity, from embed to monetization.
+ </p>
+ </div>
+ <div class="doors">
+ <a class="door" href="/create">
+ <div class="door-num"><span>01</span><span class="lbl">Create</span></div>
+ <div class="door-screenshot">
+ <img src="/screenshots/create.png" alt="Avatar creation flow" loading="lazy" />
+ </div>
+ <h3>Selfie to agent in 60 seconds.</h3>
+ <p>Snap a selfie or upload a GLB. Add a personality prompt, pick a voice, wire up your AI. Publish to the marketplace or keep it private.</p>
+ <span class="door-cta">Start building</span>
+ </a>
+ <a class="door" href="/docs">
+ <div class="door-num"><span>02</span><span class="lbl">Embed</span></div>
+ <div class="door-screenshot">
+ <img src="/screenshots/viewer.png" alt="Agent embed in a live site" loading="lazy" />
+ </div>
+ <h3>Two lines. Any page.</h3>
+ <p>Drop <code>&lt;agent-3d&gt;</code> into any page. React, Vue, Svelte, plain HTML. Voice, memory, animation, and payments built-in. Lazy-loaded by default.</p>
+ <span class="door-cta">Read the docs</span>
+ </a>
+ <a class="door" href="/dashboard/monetize">
+ <div class="door-num"><span>03</span><span class="lbl">Earn</span></div>
+ <div class="door-screenshot">
+ <img src="/screenshots/features.png" alt="Monetization dashboard" loading="lazy" />
+ </div>
+ <h3>Charge per chat. Keep everything.</h3>
+ <p>Gate skills behind x402 USDC micropayments. Keep 100% during open beta. Watch earnings flow in real-time from your dashboard.</p>
+ <span class="door-cta">Set up monetization</span>
+ </a>
+ </div>
+ </div>
+</section>
+
+<!-- ── FEATURE BENTO ─────────────────────────────────────────────── -->
+<section class="block">
+ <div class="wrap-1280">
+ <div class="block-head">
+ <p class="block-eyebrow"><span class="num">03</span>Capabilities</p>
+ <h2 class="block-h">Every feature your <em>agent needs.</em></h2>
+ <p class="block-lede">
+ A complete platform — not a widget. Voice, motion capture, multiplayer, on-chain identity, and crypto payments built into every agent.
+ </p>
+ </div>
+ <div class="bento">
+ <!-- Avatar Studio -->
+ <div class="bento-card span2">
+ <div class="bento-icon">
+ <span class="dot" style="background:#6a5cff;box-shadow:0 0 8px #6a5cff55"></span>
+ <span style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3)">Avatar Studio</span>
+ </div>
+ <p class="bento-title">Selfie → 3D avatar in 60 seconds</p>
+ <p class="bento-desc">Upload a photo, webcam shot, or existing GLB. Our pipeline generates a fully rigged, animatable 3D character compatible with VRM, ReadyPlayerMe, and Avaturn formats. Retargets to any animation clip instantly.</p>
+ <div class="bento-screenshot">
+ <img src="/screenshots/studio.png" alt="Avatar studio" loading="lazy" />
+ </div>
+ <div class="bento-pills">
+ <span class="bento-pill">VRM</span>
+ <span class="bento-pill">ReadyPlayerMe</span>
+ <span class="bento-pill">Avaturn</span>
+ <span class="bento-pill">GLB/GLTF</span>
+ <span class="bento-pill">Auto-rig</span>
+ </div>
+ </div>
+
+ <!-- Animations -->
+ <div class="bento-card">
+ <div class="bento-icon">
+ <span class="dot" style="background:#22c55e;box-shadow:0 0 8px #22c55e55"></span>
+ <span style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3)">Animations</span>
+ </div>
+ <p class="bento-title">200+ motion clips</p>
+ <p class="bento-desc">Walk, dance, gesture, emote — a full library of idle loops and triggered animations that blend seamlessly. Or upload your own FBX/BVH captures.</p>
+ <div class="bento-pills">
+ <span class="bento-pill">Idle loops</span>
+ <span class="bento-pill">Walk cycle</span>
+ <span class="bento-pill">Emotes</span>
+ <span class="bento-pill">Custom FBX</span>
+ </div>
+ </div>
+
+ <!-- Voice & Mocap -->
+ <div class="bento-card">
+ <div class="bento-icon">
+ <span class="dot" style="background:#ff5ca8;box-shadow:0 0 8px #ff5ca855"></span>
+ <span style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3)">Voice + Mocap</span>
+ </div>
+ <p class="bento-title">Real-time voice &amp; face capture</p>
+ <p class="bento-desc">ElevenLabs voice cloning with LiveKit streaming. Webcam face mocap drives your avatar's expressions and lip sync in real-time — no hardware required.</p>
+ <div class="bento-pills">
+ <span class="bento-pill">ElevenLabs</span>
+ <span class="bento-pill">LiveKit</span>
+ <span class="bento-pill">WebXR</span>
+ <span class="bento-pill">Lip sync</span>
+ </div>
+ </div>
+
+ <!-- Walk & Multiplayer -->
+ <div class="bento-card">
+ <div class="bento-icon">
+ <span class="dot" style="background:#f59e0b;box-shadow:0 0 8px #f59e0b55"></span>
+ <span style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3)">Walk &amp; Multiplayer</span>
+ </div>
+ <p class="bento-title">Multiplayer 3D worlds</p>
+ <p class="bento-desc">Walk your avatar through live environments. Multiple visitors move together in real-time — CRDT-synced positions, joystick or keyboard control, and WebSocket presence.</p>
+ <div class="bento-pills">
+ <span class="bento-pill">Multiplayer</span>
+ <span class="bento-pill">CRDT sync</span>
+ <span class="bento-pill">WebSocket</span>
+ </div>
+ </div>
+
+ <!-- x402 Payments -->
+ <div class="bento-card">
+ <div class="bento-icon">
+ <span class="dot" style="background:#22c55e;box-shadow:0 0 8px #22c55e55"></span>
+ <span style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3)">x402 Payments</span>
+ </div>
+ <p class="bento-title">Charge per chat in USDC</p>
+ <p class="bento-desc">Gate any agent skill behind an x402 HTTP paywall. Visitors pay with USDC on Base or Solana. Funds land in your wallet instantly. No intermediary, no escrow, no delays.</p>
+ <div class="bento-pills">
+ <span class="bento-pill">USDC</span>
+ <span class="bento-pill">Base</span>
+ <span class="bento-pill">Solana</span>
+ <span class="bento-pill">Instant</span>
+ </div>
+ </div>
+
+ <!-- On-chain Identity -->
+ <div class="bento-card">
+ <div class="bento-icon">
+ <span class="dot" style="background:#6a5cff;box-shadow:0 0 8px #6a5cff55"></span>
+ <span style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3)">On-chain Identity</span>
+ </div>
+ <p class="bento-title">ERC-8004 agent standard</p>
+ <p class="bento-desc">Mint your agent as an ERC-8004 token — the emerging on-chain standard for AI agents. Own it, trade it, and let other agents discover and call it autonomously via A2A.</p>
+ <div class="bento-pills">
+ <span class="bento-pill">ERC-8004</span>
+ <span class="bento-pill">EVM</span>
+ <span class="bento-pill">A2A</span>
+ <span class="bento-pill">MCP</span>
+ </div>
</div>
+
+ <!-- MCP / A2A Skills -->
+ <div class="bento-card">
+ <div class="bento-icon">
+ <span class="dot" style="background:#ff5ca8;box-shadow:0 0 8px #ff5ca855"></span>
+ <span style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3)">Skills</span>
+ </div>
+ <p class="bento-title">MCP · A2A · tool chain</p>
+ <p class="bento-desc">Wire your agent to any tool via MCP. Call other agents via A2A. Build skill packs and sell them in the marketplace. Jupiter swaps, Pump.fun, Solana RPC, and more pre-built.</p>
+ <div class="bento-pills">
+ <span class="bento-pill">MCP</span>
+ <span class="bento-pill">A2A</span>
+ <span class="bento-pill">Jupiter</span>
+ <span class="bento-pill">Pump.fun</span>
+ </div>
+ </div>
+
+ <!-- Memory -->
+ <div class="bento-card">
+ <div class="bento-icon">
+ <span class="dot" style="background:#f59e0b;box-shadow:0 0 8px #f59e0b55"></span>
+ <span style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3)">Memory</span>
+ </div>
+ <p class="bento-title">Persistent cross-device memory</p>
+ <p class="bento-desc">Your agent remembers every visitor across devices and sessions. Tie-in to your own data sources or use the built-in vector memory — scoped per user, per agent, or globally.</p>
+ <div class="bento-pills">
+ <span class="bento-pill">Cross-device</span>
+ <span class="bento-pill">Vector</span>
+ <span class="bento-pill">Per-user</span>
+ </div>
+ </div>
+
+ <!-- AR / WebXR -->
+ <div class="bento-card">
+ <div class="bento-icon">
+ <span class="dot" style="background:#22c55e;box-shadow:0 0 8px #22c55e55"></span>
+ <span style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3)">AR / WebXR</span>
+ </div>
+ <p class="bento-title">Augmented reality, no app</p>
+ <p class="bento-desc">Place your agent in the real world with WebXR on Android or Quick Look on iOS. No app install required — runs from the same embed tag in a mobile browser.</p>
+ <div class="bento-pills">
+ <span class="bento-pill">WebXR</span>
+ <span class="bento-pill">Quick Look</span>
+ <span class="bento-pill">iOS / Android</span>
+ </div>
+ </div>
+ </div>
+ </div>
+</section>
+
+<!-- ── PUMP.FUN INTEGRATION ───────────────────────────────────────── -->
+<section class="block">
+ <div class="wrap-1280">
+ <div class="block-head">
+ <p class="block-eyebrow"><span class="num">04</span>Token economy</p>
+ <h2 class="block-h">Your agent can launch <em>its own token.</em></h2>
+ <p class="block-lede">
+ The first 3D agent platform with native Pump.fun integration. One click from your agent dashboard to a live token on Solana.
+ </p>
</div>
- </section>
-
- <!-- ── EMBED SHOWCASE ────────────────────────────────────────── -->
- <section class="block" id="embed">
- <div class="wrap-1280">
- <div class="block-head">
- <p class="block-eyebrow"><span class="num">01</span>The embed</p>
- <h2 class="block-h">Two lines. <em>Any HTML.</em></h2>
- <p class="block-lede">
- Copy these into any page on the web. The agent on the right is rendered
- by the exact code on the left — no iframe, no SDK install, no build step.
+ <div class="feat-split">
+ <div class="feat-text">
+ <p class="feat-eyebrow">Pump.fun · Native integration</p>
+ <h3 class="feat-h">From character<br/>to <em>community token.</em></h3>
+ <p class="feat-body">
+ three.ws agents are onchain-native. Launch a meme coin, fan token, or governance token directly from your agent's dashboard — no coding, no CLI, no wallet juggling.
</p>
+ <ul class="feat-list">
+ <li><strong>One-click launch</strong> — name, ticker, image, and initial supply set from your agent profile</li>
+ <li><strong>Live token feed</strong> — embed a real-time Pump.fun price widget into your agent's embed</li>
+ <li><strong>Trade from chat</strong> — visitors buy, sell, and tip using the agent's built-in Pump.fun skill</li>
+ <li><strong>Trending dashboard</strong> — track your token across the Pump.fun leaderboard in real-time</li>
+ </ul>
+ <div>
+ <a class="btn sm" href="/pump-3d-agent">Explore token agents <span class="arrow">→</span></a>
+ </div>
</div>
- <div class="embed-grid">
- <div class="pane code-pane">
- <div class="pane-head">
- <div class="tabs">
- <button class="tab active" data-flavor="html">HTML</button>
- <button class="tab" data-flavor="react">React</button>
- <button class="tab" data-flavor="vue">Vue</button>
+ <div class="feat-visual">
+ <div class="feat-visual-label">Live token · $NICH / SOL</div>
+ <div class="feat-visual-inner">
+ <div class="token-card">
+ <div class="token-avatar">NICH</div>
+ <div class="token-info">
+ <div class="token-name">NICH Agent Token</div>
+ <div class="token-ticker">$NICH · Pump.fun</div>
</div>
- <span>index.html</span>
+ <div class="token-price">+24.6%</div>
</div>
-<pre id="embed-snippet"><span class="tag">&lt;script</span> <span class="attr">type</span>=<span class="str">"module"</span>
- <span class="attr">src</span>=<span class="str">"https://three.ws/agent-3d/latest/agent-3d.js"</span><span class="tag">&gt;&lt;/script&gt;</span>
-
-<span class="tag">&lt;agent-3d</span>
- <span class="attr">src</span>=<span class="str">"https://three.ws/api/avatars/bacff13e…"</span>
-<span class="tag">&gt;&lt;/agent-3d&gt;</span></pre>
- <div class="pane-foot">
- <button class="copy-btn" id="copy-btn">Copy</button>
+ <div class="earn-rows" style="border:1px solid var(--hairline);border-radius:8px;overflow:hidden;">
+ <div class="earn-row">
+ <div class="earn-row-left">
+ <div class="earn-row-name">Buy · 0x7f3a…</div>
+ <div class="earn-row-time">3s ago</div>
+ </div>
+ <div class="earn-row-amount">+0.5 SOL</div>
+ </div>
+ <div class="earn-row">
+ <div class="earn-row-left">
+ <div class="earn-row-name">Buy · 0x2e1b…</div>
+ <div class="earn-row-time">12s ago</div>
+ </div>
+ <div class="earn-row-amount">+2.0 SOL</div>
+ </div>
+ <div class="earn-row">
+ <div class="earn-row-left">
+ <div class="earn-row-name">Tip · @alice</div>
+ <div class="earn-row-time">1m ago</div>
+ </div>
+ <div class="earn-row-amount">+$4.20</div>
+ </div>
+ <div class="earn-row">
+ <div class="earn-row-left">
+ <div class="earn-row-name">Buy · 0x9c4f…</div>
+ <div class="earn-row-time">2m ago</div>
+ </div>
+ <div class="earn-row-amount">+1.2 SOL</div>
+ </div>
</div>
- </div>
- <div class="pane render-pane">
- <div class="pane-head">
- <span>↪ live render</span>
- <span style="color: var(--text-3);">running</span>
+ <div style="display:flex;gap:10px;">
+ <a class="btn sm" href="/pumpfun-trending" style="flex:1;justify-content:center;">Trending tokens</a>
+ <a class="btn sm primary" href="/create" style="flex:1;justify-content:center;">Launch yours</a>
</div>
- <agent-3d
- class="live-agent"
- mode="inline"
- responsive
- background="transparent"
- name-plate="off"
- avatar-chat="off"
- kiosk
- eager
- ></agent-3d>
</div>
</div>
</div>
- </section>
-
- <!-- ── LOGO STRIP ────────────────────────────────────────── -->
- <div class="logo-strip">
- <div class="wrap-1280">
- <div class="logo-strip-cap">Embedded across the web</div>
- <div class="logo-row">
- <span class="logo">claude.ai</span>
- <span class="logo">lobehub</span>
- <span class="logo">agenc.tech</span>
- <span class="logo">pump.fun</span>
- <span class="logo">solana</span>
- <span class="logo">metaplex</span>
- <span class="logo">erc-8004</span>
- </div>
- </div>
</div>
+</section>
- <!-- ── THREE DOORS ──────────────────────────────────────── -->
- <section class="block">
- <div class="wrap-1280">
- <div class="block-head">
- <p class="block-eyebrow"><span class="num">02</span>Three doors</p>
- <h2 class="block-h">Built for everyone <em>who touches an agent.</em></h2>
- <p class="block-lede">
- A three-sided marketplace: developers integrate, creators build, communities discover.
+<!-- ── x402 EARN ──────────────────────────────────────────────────── -->
+<section class="block">
+ <div class="wrap-1280">
+ <div class="feat-split rev">
+ <div class="feat-text">
+ <p class="feat-eyebrow">x402 protocol · USDC payments</p>
+ <h3 class="feat-h">Charge per chat.<br/><em>Keep everything.</em></h3>
+ <p class="feat-body">
+ x402 is an open HTTP payment protocol — your agent responds with a 402 status code and visitors pay in USDC before unlocking your skills. No platform cut during open beta.
</p>
+ <ul class="feat-list">
+ <li><strong>Set your price</strong> — from $0.001 per message to $100 per session</li>
+ <li><strong>Gate any skill</strong> — wrap any MCP tool or agent response behind a paywall</li>
+ <li><strong>Instant settlement</strong> — USDC hits your wallet on Base or Solana, no escrow</li>
+ <li><strong>Per-user metering</strong> — built-in rate limits and subscription tiers</li>
+ <li><strong>0% fee during beta</strong> — keep 100% of revenue while the platform scales</li>
+ </ul>
+ <div>
+ <a class="btn sm" href="/dashboard/monetize">Configure monetization <span class="arrow">→</span></a>
+ </div>
</div>
- <div class="doors">
- <a class="door" href="/docs">
- <div class="door-num"><span>01</span><span class="lbl">Developers</span></div>
- <h3>Two lines. Any HTML.</h3>
- <p>Drop <code>&lt;agent-3d&gt;</code> into any page. React, Vue, Svelte, plain HTML. Voice, memory, animation, payments built-in.</p>
- <span class="door-cta">Read the docs</span>
- </a>
- <a class="door" href="/create">
- <div class="door-num"><span>02</span><span class="lbl">Creators</span></div>
- <h3>Selfie to agent in 60 seconds.</h3>
- <p>Snap a selfie, pick a personality, publish. Earn from every conversation with x402 paid skills. Keep 100% during open beta.</p>
- <span class="door-cta">Start building</span>
- </a>
- <a class="door" href="/discover">
- <div class="door-num"><span>03</span><span class="lbl">Everyone</span></div>
- <h3>Discover, chat, collect.</h3>
- <p>Browse public agents. Talk to them inline. Remix anyone's into your own. Own them on-chain, tip them in USDC.</p>
- <span class="door-cta">Explore agents</span>
- </a>
+ <div class="feat-visual">
+ <div class="feat-visual-label">Earnings · last 24 hours</div>
+ <div class="feat-visual-inner">
+ <div style="display:flex;justify-content:space-between;align-items:baseline;">
+ <div>
+ <div style="font-family:var(--font-display);font-size:36px;font-weight:600;letter-spacing:-0.025em;color:var(--green)">$847.50</div>
+ <div style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3);margin-top:4px">Total earned · USDC</div>
+ </div>
+ <div style="text-align:right">
+ <div style="font-family:var(--font-display);font-size:20px;font-weight:600;color:var(--text)">312</div>
+ <div style="font-family:var(--font-mono);font-size:11px;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-3);margin-top:2px">conversations</div>
+ </div>
+ </div>
+ <div class="earn-rows" style="border:1px solid var(--hairline);border-radius:8px;overflow:hidden;">
+ <div class="earn-row">
+ <div class="earn-row-left">
+ <div class="earn-row-name">skill: deep-research</div>
+ <div class="earn-row-time">$2.50 / session</div>
+ </div>
+ <div class="earn-row-amount">+$320.00</div>
+ </div>
+ <div class="earn-row">
+ <div class="earn-row-left">
+ <div class="earn-row-name">skill: image-gen</div>
+ <div class="earn-row-time">$0.10 / call</div>
+ </div>
+ <div class="earn-row-amount">+$218.40</div>
+ </div>
+ <div class="earn-row">
+ <div class="earn-row-left">
+ <div class="earn-row-name">skill: voice-chat</div>
+ <div class="earn-row-time">$0.05 / minute</div>
+ </div>
+ <div class="earn-row-amount">+$187.60</div>
+ </div>
+ <div class="earn-row">
+ <div class="earn-row-left">
+ <div class="earn-row-name">direct tips</div>
+ <div class="earn-row-time">any amount</div>
+ </div>
+ <div class="earn-row-amount">+$121.50</div>
+ </div>
+ </div>
+ <div style="font-family:var(--font-mono);font-size:11px;color:var(--text-3);text-align:center;letter-spacing:0.1em;">0% PLATFORM FEE DURING OPEN BETA</div>
+ </div>
</div>
</div>
- </section>
-
- <!-- ── STEPS ────────────────────────────────────────────── -->
- <section class="block">
- <div class="wrap-1280">
- <div class="block-head">
- <p class="block-eyebrow"><span class="num">03</span>How it works</p>
- <h2 class="block-h">Three steps. <em>One living character.</em></h2>
+ </div>
+</section>
+
+<!-- ── WALK & MULTIPLAYER ─────────────────────────────────────────── -->
+<section class="block">
+ <div class="wrap-1280">
+ <div class="feat-split">
+ <div class="feat-text">
+ <p class="feat-eyebrow">Walk mode · Multiplayer</p>
+ <h3 class="feat-h">Your visitors walk<br/><em>together.</em></h3>
+ <p class="feat-body">
+ Embed a full multiplayer 3D world onto any page. Visitors arrive as their own avatar, see each other move in real-time, and can voice-chat inside the scene.
+ </p>
+ <ul class="feat-list">
+ <li><strong>Multiplayer sync</strong> — CRDT-based position sync via WebSocket, handles 100s of concurrent users</li>
+ <li><strong>Any environment</strong> — drop your own 3D scene GLB or use one of the built-in club environments</li>
+ <li><strong>Voice-in-scene</strong> — LiveKit spatial audio tied to avatar position</li>
+ <li><strong>One embed tag</strong> — same <code>&lt;walk-embed&gt;</code> tag, zero backend setup</li>
+ </ul>
+ <div>
+ <a class="btn sm" href="/walk">See walk mode <span class="arrow">→</span></a>
+ </div>
</div>
- <div class="steps">
- <div class="step">
- <div class="step-num">01 · CREATE</div>
- <div class="step-title">Make an agent</div>
- <p class="step-body">Selfie → 3D avatar in a minute. Or upload your own GLB. Then add personality with a prompt. Or skip ahead and use a pre-built agent from the marketplace.</p>
- </div>
- <div class="step">
- <div class="step-num">02 · EMBED</div>
- <div class="step-title">Drop the tag</div>
- <p class="step-body">Two lines of HTML. No SDK install, no iframe wrapper, no build step. Works in React, Vue, Svelte, and plain HTML. Lazy-loaded by default.</p>
- </div>
- <div class="step">
- <div class="step-num">03 · SHIP</div>
- <div class="step-title">Your site is alive</div>
- <p class="step-body">Visitors talk to your agent with text or voice. It remembers across sessions. Charge per chat with x402. Watch it grow on-chain.</p>
+ <div class="feat-visual">
+ <div class="feat-visual-label">Walk embed · live preview</div>
+ <div style="padding:28px;display:flex;flex-direction:column;gap:14px;">
+ <div style="background:var(--surface-2);border-radius:8px;border:1px solid var(--hairline-strong);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;">
+ <div style="position:absolute;inset:0;background:radial-gradient(ellipse at 30% 60%, rgba(106,92,255,0.12) 0%, transparent 60%), radial-gradient(ellipse at 70% 40%, rgba(34,197,94,0.08) 0%, transparent 50%);"></div>
+ <div style="display:flex;gap:16px;align-items:flex-end;position:relative;z-index:1;">
+ <div style="display:flex;flex-direction:column;align-items:center;gap:6px;">
+ <div style="width:28px;height:48px;background:linear-gradient(180deg,#6a5cff,#a59dff);border-radius:14px 14px 6px 6px;opacity:0.9;"></div>
+ <div style="font-family:var(--font-mono);font-size:9px;color:var(--text-3);letter-spacing:0.1em;">@alice</div>
+ </div>
+ <div style="display:flex;flex-direction:column;align-items:center;gap:6px;">
+ <div style="width:28px;height:52px;background:linear-gradient(180deg,#ff5ca8,#ffb3d6);border-radius:14px 14px 6px 6px;opacity:0.9;"></div>
+ <div style="font-family:var(--font-mono);font-size:9px;color:var(--text-3);letter-spacing:0.1em;">@bob</div>
+ </div>
+ <div style="display:flex;flex-direction:column;align-items:center;gap:6px;">
+ <div style="width:28px;height:44px;background:linear-gradient(180deg,#22c55e,#86efac);border-radius:14px 14px 6px 6px;opacity:0.9;"></div>
+ <div style="font-family:var(--font-mono);font-size:9px;color:var(--green);letter-spacing:0.1em;">you</div>
+ </div>
+ </div>
+ </div>
+ <div style="font-family:var(--font-mono);font-size:11px;color:var(--text-3);letter-spacing:0.12em;text-align:center;text-transform:uppercase;">3 visitors · live now</div>
+ <div class="bento-code"><span class="kw">&lt;walk-embed</span><br/> <span class="kw">src=</span><span class="str">"/api/scenes/my-lobby"</span><br/> <span class="kw">multiplayer</span><br/><span class="kw">&gt;&lt;/walk-embed&gt;</span></div>
</div>
</div>
</div>
- </section>
-
- <!-- ── SHOWCASE ─────────────────────────────────────────── -->
- <section class="block">
- <div class="wrap-1280">
- <div class="block-head">
- <p class="block-eyebrow"><span class="num">04</span>Discover</p>
- <h2 class="block-h">Living agents, <em>right now.</em></h2>
- <p class="block-lede">A taste of what's running across the web today. Click any agent to talk, remix, or grab their embed.</p>
+ </div>
+</section>
+
+<!-- ── DEVELOPER PLATFORM ─────────────────────────────────────────── -->
+<section class="block">
+ <div class="wrap-1280">
+ <div class="block-head">
+ <p class="block-eyebrow"><span class="num">05</span>Developer platform</p>
+ <h2 class="block-h">Headless API. <em>Full power.</em></h2>
+ <p class="block-lede">
+ Everything available through a REST API, SDK, and MCP server. Build custom agents, automate workflows, and connect to any AI tool.
+ </p>
+ </div>
+ <div class="dev-grid">
+ <div class="dev-pane">
+ <div class="dev-pane-head">
+ <span>agent-sdk · Node.js</span>
+ <span>npm i @three.ws/agent-sdk</span>
+ </div>
+ <div class="dev-code">
+<span class="kw">import</span> { <span class="fn">Agent</span> } <span class="kw">from</span> <span class="str">'@three.ws/agent-sdk'</span>;
+
+<span class="kw">const</span> <span class="fn">agent</span> = <span class="kw">new</span> <span class="fn">Agent</span>({
+ <span class="fn">avatarId</span>: <span class="str">'bacff13e-b64b-4ac0-860d-44f0168ad23b'</span>,
+ <span class="fn">voice</span>: <span class="str">'elevenlabs:josh'</span>,
+ <span class="fn">memory</span>: <span class="str">'persistent'</span>,
+});
+
+<span class="cmt">// Add a paid skill</span>
+<span class="fn">agent</span>.<span class="fn">skill</span>(<span class="str">'deep-research'</span>, {
+ <span class="fn">price</span>: <span class="str">'2.50 USDC'</span>,
+ <span class="fn">handler</span>: <span class="kw">async</span> (query) =&gt; { <span class="cmt">/* … */</span> },
+});
+
+<span class="cmt">// x402 gated endpoint auto-wired</span>
+<span class="kw">await</span> <span class="fn">agent</span>.<span class="fn">deploy</span>();
+ </div>
+ <div class="dev-links">
+ <div class="dev-links-row">
+ <a class="dev-link" href="/docs">Docs</a>
+ <a class="dev-link" href="https://github.com/nirholas/three.ws">GitHub</a>
+ <a class="dev-link" href="/api/openapi-json.js">OpenAPI</a>
+ <a class="dev-link" href="/docs/mcp">MCP server</a>
+ </div>
+ </div>
</div>
- <div class="showcase">
- <a class="shot" href="/agent-next?id=bacff13e-b64b-4ac0-860d-44f0168ad23b">
- <div class="shot-fill">
- <img src="https://pub-2534e921bf9c4314addcd4d8a6e98b7b.r2.dev/thumb/bacff13e-b64b-4ac0-860d-44f0168ad23b.png" alt="nich" loading="lazy" />
+ <div class="dev-pane dev-right">
+ <div class="dev-pane-head">
+ <span>REST API endpoints</span>
+ <span>v1</span>
+ </div>
+ <div class="dev-api-row">
+ <div style="display:flex;align-items:center;gap:8px;">
+ <span class="dev-badge get">GET</span>
+ <span class="dev-api-path">/v1/agents</span>
</div>
- <span class="shot-tag">Featured</span>
- <div class="shot-meta"><div class="shot-name">nich</div><div class="shot-sub">@nirholas</div></div>
- </a>
- <a class="shot" href="/discover">
- <div class="shot-meta">
- <div class="shot-name">Browse all</div>
- <div class="shot-sub">1,847 public agents</div>
+ <div class="dev-api-desc">List all agents in your account</div>
+ </div>
+ <div class="dev-api-row">
+ <div style="display:flex;align-items:center;gap:8px;">
+ <span class="dev-badge post">POST</span>
+ <span class="dev-api-path">/v1/agents</span>
</div>
- </a>
- <a class="shot" href="/discover?filter=onchain">
- <div class="shot-meta">
- <div class="shot-name">On-chain</div>
- <div class="shot-sub">ERC-8004 directory</div>
+ <div class="dev-api-desc">Create agent from avatar + prompt</div>
+ </div>
+ <div class="dev-api-row">
+ <div style="display:flex;align-items:center;gap:8px;">
+ <span class="dev-badge post">POST</span>
+ <span class="dev-api-path">/v1/chat</span>
</div>
- </a>
- <a class="shot" href="/create">
- <div class="shot-meta">
- <div class="shot-name">Make your own</div>
- <div class="shot-sub">Selfie → agent · 60s</div>
+ <div class="dev-api-desc">Send a message, stream a response</div>
+ </div>
+ <div class="dev-api-row">
+ <div style="display:flex;align-items:center;gap:8px;">
+ <span class="dev-badge get">GET</span>
+ <span class="dev-api-path">/v1/avatars/:id</span>
</div>
- </a>
+ <div class="dev-api-desc">Fetch avatar metadata and GLB URL</div>
+ </div>
+ <div class="dev-api-row">
+ <div style="display:flex;align-items:center;gap:8px;">
+ <span class="dev-badge mcp">MCP</span>
+ <span class="dev-api-path">three.ws/mcp</span>
+ </div>
+ <div class="dev-api-desc">Model Context Protocol server</div>
+ </div>
+ <div class="dev-api-row">
+ <div style="display:flex;align-items:center;gap:8px;">
+ <span class="dev-badge mcp">A2A</span>
+ <span class="dev-api-path">/v1/a2a/:agentId</span>
+ </div>
+ <div class="dev-api-desc">Agent-to-agent protocol endpoint</div>
+ </div>
+ <div style="padding:16px 24px;margin-top:auto;border-top:1px solid var(--hairline);">
+ <a class="btn sm" href="/dashboard/api">Get API key <span class="arrow">→</span></a>
+ </div>
</div>
</div>
- </section>
-
- <!-- ── VERB PILLS ───────────────────────────────────────── -->
- <section class="block">
- <div class="wrap-1280">
- <div class="block-head">
- <p class="block-eyebrow"><span class="num">05</span>Capabilities</p>
- <h2 class="block-h">Every verb your <em>agent can do.</em></h2>
+ </div>
+</section>
+
+<!-- ── HOW IT WORKS ───────────────────────────────────────────────── -->
+<section class="block">
+ <div class="wrap-1280">
+ <div class="block-head">
+ <p class="block-eyebrow"><span class="num">06</span>How it works</p>
+ <h2 class="block-h">Three steps. <em>One living character.</em></h2>
+ </div>
+ <div class="steps">
+ <div class="step">
+ <div class="step-num">01 · CREATE</div>
+ <div class="step-title">Make an agent</div>
+ <p class="step-body">Selfie → 3D avatar in a minute. Or upload your own GLB. Add a personality prompt, pick a voice from ElevenLabs or LiveKit, and wire up AI. Or browse the marketplace for a pre-built agent.</p>
+ </div>
+ <div class="step">
+ <div class="step-num">02 · EMBED</div>
+ <div class="step-title">Drop the tag</div>
+ <p class="step-body">Two lines of HTML. No SDK install, no iframe wrapper, no build step. Works in React, Vue, Svelte, and plain HTML. Lazy-loaded by default, CDN-hosted globally.</p>
</div>
- <div class="pills">
- <span class="pill"><strong>Talk</strong><span class="sep">·</span>text + voice</span>
- <span class="pill"><strong>Animate</strong><span class="sep">·</span>200+ clips</span>
- <span class="pill"><strong>Mocap</strong><span class="sep">·</span>webcam → avatar</span>
- <span class="pill"><strong>Walk</strong><span class="sep">·</span>joystick + multiplayer</span>
- <span class="pill"><strong>AR</strong><span class="sep">·</span>WebXR + iOS</span>
- <span class="pill"><strong>Voice clone</strong><span class="sep">·</span>ElevenLabs · LiveKit</span>
- <span class="pill"><strong>Memory</strong><span class="sep">·</span>cross-device sync</span>
- <span class="pill"><strong>Skills</strong><span class="sep">·</span>MCP · A2A</span>
- <span class="pill"><strong>Payments</strong><span class="sep">·</span>x402 USDC</span>
- <span class="pill"><strong>Identity</strong><span class="sep">·</span>ERC-8004 on-chain</span>
- <span class="pill"><strong>Remix</strong><span class="sep">·</span>fork anyone's agent</span>
- <span class="pill"><strong>Token</strong><span class="sep">·</span>launch on Pump.fun</span>
+ <div class="step">
+ <div class="step-num">03 · SHIP</div>
+ <div class="step-title">Your site is alive</div>
+ <p class="step-body">Visitors talk to your agent with text or voice. It remembers across sessions. Charge per chat with x402. Launch its token on Pump.fun. Watch it grow on-chain.</p>
</div>
</div>
- </section>
-
- <!-- ── BOTTOM CTA ──────────────────────────────────────── -->
- <section class="block" style="padding-bottom: 64px;">
- <div class="wrap-1280">
- <div class="cta-card">
- <h2>Add a living 3D agent<br/>to your product today.</h2>
- <p>Free during open beta. No credit card. Two lines of HTML.</p>
- <div class="cta-row">
- <a class="btn primary" href="/create">Build your first agent <span class="arrow">→</span></a>
- <a class="btn" href="/docs">Read the docs</a>
+ </div>
+</section>
+
+<!-- ── SHOWCASE ───────────────────────────────────────────────────── -->
+<section class="block">
+ <div class="wrap-1280">
+ <div class="block-head">
+ <p class="block-eyebrow"><span class="num">07</span>Discover</p>
+ <h2 class="block-h">Living agents, <em>right now.</em></h2>
+ <p class="block-lede">A taste of what's running across the web today. Click any agent to talk, remix, or grab their embed code.</p>
+ </div>
+ <div class="showcase">
+ <a class="shot" href="/agent-next?id=bacff13e-b64b-4ac0-860d-44f0168ad23b">
+ <div class="shot-fill">
+ <img src="https://pub-2534e921bf9c4314addcd4d8a6e98b7b.r2.dev/thumb/bacff13e-b64b-4ac0-860d-44f0168ad23b.png" alt="nich" loading="lazy" />
</div>
+ <span class="shot-tag">Featured</span>
+ <div class="shot-meta"><div class="shot-name">nich</div><div class="shot-sub">@nirholas · ERC-8004</div></div>
+ </a>
+ <a class="shot" href="/discover">
+ <div class="shot-fill" style="background:linear-gradient(135deg, var(--surface-2) 0%, var(--surface-0) 100%);"></div>
+ <div class="shot-meta">
+ <div class="shot-name">Browse all</div>
+ <div class="shot-sub">Public agent directory</div>
+ </div>
+ </a>
+ <a class="shot" href="/discover?filter=onchain">
+ <div class="shot-fill" style="background:linear-gradient(135deg, rgba(106,92,255,0.12) 0%, var(--surface-0) 100%);"></div>
+ <div class="shot-meta">
+ <div class="shot-name">On-chain</div>
+ <div class="shot-sub">ERC-8004 directory</div>
+ </div>
+ </a>
+ <a class="shot" href="/create">
+ <div class="shot-fill" style="background:linear-gradient(135deg, rgba(34,197,94,0.08) 0%, var(--surface-0) 100%);"></div>
+ <div class="shot-meta">
+ <div class="shot-name">Make your own</div>
+ <div class="shot-sub">Selfie → agent · 60s</div>
+ </div>
+ </a>
+ </div>
+ </div>
+</section>
+
+<!-- ── PRICING ────────────────────────────────────────────────────── -->
+<section class="block">
+ <div class="wrap-1280">
+ <div class="block-head">
+ <p class="block-eyebrow"><span class="num">08</span>Pricing</p>
+ <h2 class="block-h">Free to start. <em>Scale when you do.</em></h2>
+ <p class="block-lede">Open beta is free with no limits. Pro and Enterprise plans unlock higher rate limits, custom domains, and dedicated support.</p>
+ </div>
+ <div class="pricing-grid">
+ <div class="pricing-card">
+ <div class="pricing-tier">Beta</div>
+ <div class="pricing-price">$0<sub>/mo</sub></div>
+ <div class="pricing-cycle">Free during open beta</div>
+ <ul class="pricing-feats">
+ <li>Unlimited agents</li>
+ <li>Unlimited embeds</li>
+ <li>200+ animation clips</li>
+ <li>x402 payments (0% fee)</li>
+ <li>Community support</li>
+ </ul>
+ <a class="btn" href="/create">Start for free</a>
+ </div>
+ <div class="pricing-card featured">
+ <span class="pricing-badge">Most popular</span>
+ <div class="pricing-tier">Pro</div>
+ <div class="pricing-price">$49<sub>/mo</sub></div>
+ <div class="pricing-cycle">After open beta · billed monthly</div>
+ <ul class="pricing-feats">
+ <li>Everything in Beta</li>
+ <li>Custom domain embeds</li>
+ <li>Priority CDN &amp; GPU rendering</li>
+ <li>Advanced analytics dashboard</li>
+ <li>Priority support &amp; SLA</li>
+ </ul>
+ <a class="btn primary" href="/pricing">See full pricing</a>
+ </div>
+ <div class="pricing-card">
+ <div class="pricing-tier">Enterprise</div>
+ <div class="pricing-price" style="font-size:28px;margin-top:6px;">Custom</div>
+ <div class="pricing-cycle">Volume · white-label · SLA</div>
+ <ul class="pricing-feats">
+ <li>Everything in Pro</li>
+ <li>White-label embed &amp; API</li>
+ <li>Dedicated infrastructure</li>
+ <li>Custom integrations</li>
+ <li>Dedicated solutions engineer</li>
+ </ul>
+ <a class="btn" href="mailto:[email protected]">Contact us</a>
</div>
</div>
- </section>
-
- <!-- ── FOOTER ──────────────────────────────────────────── -->
- <footer>
- <div class="wrap-1280">
- <div class="foot-inner">
- <div>© 2026 · three.ws · the 3D agent layer of the internet</div>
- <div class="foot-links">
- <a href="/docs">Docs</a>
- <a href="/pricing">Pricing</a>
- <a href="/discover">Discover</a>
- <a href="https://github.com/nirholas/three.ws">GitHub</a>
- </div>
+ </div>
+</section>
+
+<!-- ── BOTTOM CTA ─────────────────────────────────────────────────── -->
+<section class="block" style="padding-bottom:72px;">
+ <div class="wrap-1280">
+ <div class="cta-card">
+ <h2>Add a living 3D agent<br/>to your product today.</h2>
+ <p>Free during open beta. No credit card. Two lines of HTML.</p>
+ <div class="cta-row" style="justify-content:center;">
+ <a class="btn primary" href="/create">Build your first agent <span class="arrow">→</span></a>
+ <a class="btn" href="/docs">Read the docs</a>
</div>
</div>
- </footer>
+ </div>
+</section>
- <a class="demo-tag" href="/" title="Redesign demo">demo · /home-next</a>
+<!-- ── FOOTER ─────────────────────────────────────────────────────── -->
+<footer>
+ <div class="wrap-1280">
+ <div class="foot-inner">
+ <div>© 2026 · three.ws · the 3D agent layer of the internet</div>
+ <div class="foot-links">
+ <a href="/docs">Docs</a>
+ <a href="/pricing">Pricing</a>
+ <a href="/discover">Discover</a>
+ <a href="/dashboard/api">API</a>
+ <a href="https://github.com/nirholas/three.ws">GitHub</a>
+ <a href="mailto:[email protected]">Contact</a>
+ </div>
+ </div>
+ </div>
+</footer>
- <script>
- // ── Boot live <agent-3d> instances ──────────────────────
- const AVATAR_ID = 'bacff13e-b64b-4ac0-860d-44f0168ad23b';
- const AVATAR_SRC = `${location.origin}/api/avatars/${AVATAR_ID}`;
- document.querySelectorAll('agent-3d.live-agent').forEach((el) => {
- el.setAttribute('src', AVATAR_SRC);
- });
+<script>
+ // ── Boot live <agent-3d> instances ─────────────────────────────
+ const AVATAR_ID = 'bacff13e-b64b-4ac0-860d-44f0168ad23b';
+ const AVATAR_SRC = `${location.origin}/api/avatars/${AVATAR_ID}`;
+ document.querySelectorAll('agent-3d.live-agent').forEach((el) => {
+ el.setAttribute('src', AVATAR_SRC);
+ });
- // ── Hero walking animation cycle ─────────────────────────
- // After the hero avatar finishes loading, idle for 2s then
- // crossfade to walk, then back to idle in a continuous loop.
- // Uses the public playClipByName API on the agent-3d element.
- (function initHeroWalk() {
- const heroAgent = document.querySelector('.hero agent-3d');
- if (!heroAgent) return;
- const WALK_CLIP = 'av-walk-feminine';
- const IDLE_CLIP = 'idle';
- let looping = true;
-
- async function walkCycle() {
- // Wait 2s in idle, then walk for 5s, repeat.
- await new Promise(r => setTimeout(r, 2000));
- if (!looping) return;
- heroAgent.playClipByName?.(WALK_CLIP, { loop: true, fade_ms: 400 });
- await new Promise(r => setTimeout(r, 5000));
- if (!looping) return;
- heroAgent.playClipByName?.(IDLE_CLIP, { loop: true, fade_ms: 600 });
- await new Promise(r => setTimeout(r, 3000));
- if (!looping) walkCycle();
- else walkCycle();
- }
+ // ── Hero walk cycle ─────────────────────────────────────────────
+ (function initHeroWalk() {
+ const heroAgent = document.querySelector('.hero agent-3d');
+ if (!heroAgent) return;
+ const WALK_CLIP = 'av-walk-feminine';
+ const IDLE_CLIP = 'idle';
+ let active = true;
- heroAgent.addEventListener('agent:ready', () => {
- walkCycle();
- }, { once: true });
+ async function walkCycle() {
+ await new Promise(r => setTimeout(r, 2000));
+ if (!active) return;
+ heroAgent.playClipByName?.(WALK_CLIP, { loop: true, fade_ms: 400 });
+ await new Promise(r => setTimeout(r, 5000));
+ if (!active) return;
+ heroAgent.playClipByName?.(IDLE_CLIP, { loop: true, fade_ms: 600 });
+ await new Promise(r => setTimeout(r, 3000));
+ walkCycle();
+ }
- // If element is already ready (e.g. from cache), start immediately.
- if (heroAgent._viewer) walkCycle();
+ heroAgent.addEventListener('agent:ready', walkCycle, { once: true });
+ if (heroAgent._viewer) walkCycle();
- // Pause walk cycle when tab is hidden (saves GPU)
- document.addEventListener('visibilitychange', () => {
- looping = !document.hidden;
- if (looping) walkCycle();
- });
- })();
+ document.addEventListener('visibilitychange', () => {
+ active = !document.hidden;
+ if (active) walkCycle();
+ });
+ })();
- // ── Hero parallax tilt (subtle "3D site" feel) ──────────
- const stage = document.getElementById('hero-stage');
- const inner = document.getElementById('hero-stage-inner');
- if (stage && inner && window.matchMedia('(min-width: 980px)').matches) {
- let rx = 0, ry = 0, tx = 0, ty = 0;
- const lerp = (a, b, t) => a + (b - a) * t;
- stage.addEventListener('mousemove', (e) => {
- const r = stage.getBoundingClientRect();
- const x = (e.clientX - r.left) / r.width - 0.5; // -0.5..0.5
- const y = (e.clientY - r.top) / r.height - 0.5;
- tx = x * 6; // max 6° rotateY
- ty = -y * 4; // max 4° rotateX
- });
- stage.addEventListener('mouseleave', () => { tx = 0; ty = 0; });
- function tick() {
- rx = lerp(rx, ty, 0.08);
- ry = lerp(ry, tx, 0.08);
- inner.style.transform = `perspective(1400px) rotateX(${rx.toFixed(2)}deg) rotateY(${ry.toFixed(2)}deg)`;
- requestAnimationFrame(tick);
- }
- tick();
- }
-
- // ── Copy snippet / flavor tabs ──────────────────────────
- const SNIPPETS = {
- html: `<script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"><\/script>\n<agent-3d src="https://three.ws/api/avatars/bacff13e-b64b-4ac0-860d-44f0168ad23b"><\/agent-3d>`,
- react: `import 'https://three.ws/agent-3d/latest/agent-3d.js';\n\nexport default function MyAgent() {\n return <agent-3d src="https://three.ws/api/avatars/bacff13e..." />;\n}`,
- vue: `<script setup>\nimport 'https://three.ws/agent-3d/latest/agent-3d.js';\n<\/script>\n\n<template>\n <agent-3d src="https://three.ws/api/avatars/bacff13e..." />\n<\/template>`,
- };
- const snippetEl = document.getElementById('embed-snippet');
- const copyBtn = document.getElementById('copy-btn');
- const tabBtns = document.querySelectorAll('.pane-head .tab');
- let activeFlavor = 'html';
- const esc = (s) => s.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
- function highlight(code) {
- return esc(code)
- .replace(/(&lt;\/?[a-z][a-z0-9-]*)/gi, '<span class="tag">$1</span>')
- .replace(/(\s)([a-z-]+)(=)/gi, '$1<span class="attr">$2</span>$3')
- .replace(/(&quot;[^&]*?&quot;|"[^"]*?")/g, '<span class="str">$1</span>');
- }
- function setFlavor(f) {
- activeFlavor = f;
- tabBtns.forEach((b) => b.classList.toggle('active', b.dataset.flavor === f));
- snippetEl.innerHTML = highlight(SNIPPETS[f]);
- }
- tabBtns.forEach((b) => b.addEventListener('click', () => setFlavor(b.dataset.flavor)));
- copyBtn.addEventListener('click', async () => {
- try {
- await navigator.clipboard.writeText(SNIPPETS[activeFlavor]);
- copyBtn.classList.add('copied');
- copyBtn.textContent = 'Copied';
- setTimeout(() => { copyBtn.classList.remove('copied'); copyBtn.textContent = 'Copy'; }, 1600);
- } catch (e) {}
+ // ── Hero parallax tilt ──────────────────────────────────────────
+ const stage = document.getElementById('hero-stage');
+ const inner = document.getElementById('hero-stage-inner');
+ if (stage && inner && window.matchMedia('(min-width: 980px)').matches) {
+ let rx = 0, ry = 0, tx = 0, ty = 0;
+ const lerp = (a, b, t) => a + (b - a) * t;
+ stage.addEventListener('mousemove', (e) => {
+ const r = stage.getBoundingClientRect();
+ tx = ((e.clientX - r.left) / r.width - 0.5) * 6;
+ ty = -((e.clientY - r.top) / r.height - 0.5) * 4;
});
+ stage.addEventListener('mouseleave', () => { tx = 0; ty = 0; });
+ (function tick() {
+ rx = lerp(rx, ty, 0.08);
+ ry = lerp(ry, tx, 0.08);
+ inner.style.transform = `perspective(1400px) rotateX(${rx.toFixed(2)}deg) rotateY(${ry.toFixed(2)}deg)`;
+ requestAnimationFrame(tick);
+ })();
+ }
+
+ // ── Embed snippet / flavor tabs ─────────────────────────────────
+ const SNIPPETS = {
+ html: `<script type="module" src="https://three.ws/agent-3d/latest/agent-3d.js"><\/script>\n<agent-3d src="https://three.ws/api/avatars/bacff13e-b64b-4ac0-860d-44f0168ad23b"><\/agent-3d>`,
+ react: `import 'https://three.ws/agent-3d/latest/agent-3d.js';\n\nexport default function MyAgent() {\n return <agent-3d src="https://three.ws/api/avatars/bacff13e..." />;\n}`,
+ vue: `<script setup>\nimport 'https://three.ws/agent-3d/latest/agent-3d.js';\n<\/script>\n\n<template>\n <agent-3d src="https://three.ws/api/avatars/bacff13e..." />\n<\/template>`,
+ };
+ const snippetEl = document.getElementById('embed-snippet');
+ const copyBtn = document.getElementById('copy-btn');
+ const tabBtns = document.querySelectorAll('.pane-head .tab');
+ let activeFlavor = 'html';
+ const esc = (s) => s.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
+ function highlight(code) {
+ return esc(code)
+ .replace(/(&lt;\/?[a-z][a-z0-9-]*)/gi, '<span class="tag">$1</span>')
+ .replace(/(\s)([a-z-]+)(=)/gi, '$1<span class="attr">$2</span>$3')
+ .replace(/(&quot;[^&]*?&quot;|"[^"]*?")/g, '<span class="str">$1</span>');
+ }
+ function setFlavor(f) {
+ activeFlavor = f;
+ tabBtns.forEach((b) => b.classList.toggle('active', b.dataset.flavor === f));
+ snippetEl.innerHTML = highlight(SNIPPETS[f]);
+ }
+ tabBtns.forEach((b) => b.addEventListener('click', () => setFlavor(b.dataset.flavor)));
+ copyBtn.addEventListener('click', async () => {
+ try {
+ await navigator.clipboard.writeText(SNIPPETS[activeFlavor]);
+ copyBtn.classList.add('copied');
+ copyBtn.textContent = 'Copied';
+ setTimeout(() => { copyBtn.classList.remove('copied'); copyBtn.textContent = 'Copy'; }, 1600);
+ } catch (_) {}
+ });
+
+ // ── Live marketing stats ────────────────────────────────────────
+ (async () => {
+ try {
+ const r = await fetch('/api/home-stats');
+ const d = await r.json();
+ const fmt = (n) => Number(n).toLocaleString('en-US');
- // ── Real marketing stats ────────────────────────────────
- (async () => {
- try {
- const r = await fetch('/api/home-stats');
- const d = await r.json();
- if (!d.available) return;
- const fmt = (n) => Number(n).toLocaleString('en-US');
- document.getElementById('m-agents').textContent = fmt(d.agents);
- document.getElementById('m-sites').textContent = fmt(d.widgets);
+ if (d.agents) {
+ document.getElementById('m-agents').textContent = fmt(d.agents);
+ document.getElementById('m-sites').textContent = fmt(d.widgets);
document.getElementById('m-onchain').textContent = fmt(d.onchain_agents);
- document.getElementById('metrics-strip').style.display = '';
- } catch (_) {}
- })();
- </script>
+ document.getElementById('sb-agents').textContent = fmt(d.agents);
+ document.getElementById('sb-widgets').textContent = fmt(d.widgets);
+ document.getElementById('sb-onchain').textContent = fmt(d.onchain_agents);
+ }
+ } catch (_) {}
+ })();
+</script>
</body>
</html>
diff --git a/pages/marketplace.html b/pages/marketplace.html
index 142ef9778..224090ab3 100644
--- a/pages/marketplace.html
+++ b/pages/marketplace.html
@@ -106,6 +106,7 @@
flex-direction: column;
gap: 6px;
min-width: 0;
+ flex: 1;
}
.market-card-avatar .title {
font-size: 14px;
@@ -115,6 +116,16 @@
overflow: hidden;
text-overflow: ellipsis;
}
+ .market-card-avatar .title-row {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ min-width: 0;
+ }
+ .market-card-avatar .title-row .title {
+ flex: 1;
+ min-width: 0;
+ }
.market-card-avatar .desc {
font-size: 12px;
color: var(--mk-text-2, #a1a1aa);
@@ -122,7 +133,6 @@
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
- min-height: 30px;
}
.market-card-avatar .footer {
display: flex;
@@ -130,7 +140,8 @@
align-items: center;
font-size: 11px;
color: var(--mk-text-3, #71717a);
- margin-top: 2px;
+ margin-top: auto;
+ padding-top: 4px;
}
.market-card-avatar .avatar-pill {
background: rgba(125, 211, 252, 0.1);
@@ -143,18 +154,29 @@
}
.market-grid-section-title {
grid-column: 1 / -1;
- font-size: 13px;
+ font-size: 12px;
font-weight: 600;
+ letter-spacing: 0.08em;
+ text-transform: uppercase;
color: var(--mk-text-2, #a1a1aa);
- margin: 18px 0 4px;
+ margin: 28px 0 6px;
+ padding: 12px 0 10px;
+ border-top: 1px solid var(--mk-border, #1f1f1f);
display: flex;
align-items: baseline;
- gap: 8px;
+ gap: 10px;
+ }
+ .market-grid-section-title:first-child {
+ margin-top: 0;
+ border-top: none;
+ padding-top: 0;
}
.market-grid-section-title .count {
font-size: 11px;
color: var(--mk-text-3, #71717a);
font-weight: 500;
+ letter-spacing: 0.02em;
+ text-transform: none;
}
.market-wip-dismiss {
@@ -221,22 +243,35 @@
justify-content: center;
gap: 14px;
background:
- radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.18), transparent 65%),
- radial-gradient(circle at 50% 90%, rgba(168, 85, 247, 0.12), transparent 70%),
+ radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.14), transparent 65%),
+ radial-gradient(circle at 50% 90%, rgba(168, 85, 247, 0.08), transparent 70%),
linear-gradient(180deg, #0b0b10, #050507);
color: rgba(244, 244, 245, 0.85);
font-family: 'Space Grotesk', sans-serif;
pointer-events: none;
transition: opacity 0.5s ease;
}
+ .market-hero-placeholder::after {
+ content: '';
+ position: absolute;
+ inset: 0;
+ background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%);
+ background-size: 200% 100%;
+ animation: hero-shimmer 2.4s ease-in-out infinite;
+ pointer-events: none;
+ }
+ @keyframes hero-shimmer {
+ 0% { background-position: 200% 0; }
+ 100% { background-position: -200% 0; }
+ }
.market-hero-slide.mv-loaded .market-hero-placeholder {
opacity: 0;
}
.market-hero-placeholder-initial {
- font-size: 96px;
+ font-size: 80px;
font-weight: 700;
line-height: 1;
- background: linear-gradient(180deg, #f4f4f5, #a1a1aa);
+ background: linear-gradient(180deg, rgba(244,244,245,0.5), rgba(161,161,170,0.35));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
diff --git a/public/app-next.css b/public/app-next.css
index c54141dae..79b9f7e0b 100644
--- a/public/app-next.css
+++ b/public/app-next.css
@@ -7,17 +7,17 @@
========================================================================== */
:root {
- --nxt-bg-0: #050608;
- --nxt-bg-1: #0c0d12;
- --nxt-ink: #e7e8ec;
- --nxt-ink-dim: #9ca0aa;
- --nxt-ink-fade: #6b6f78;
- --nxt-accent: #9a7cff;
- --nxt-accent-soft: rgba(154, 124, 255, 0.18);
- --nxt-glass: rgba(14, 15, 22, 0.55);
- --nxt-glass-strong: rgba(14, 15, 22, 0.82);
- --nxt-stroke: rgba(255, 255, 255, 0.08);
- --nxt-stroke-strong: rgba(255, 255, 255, 0.14);
+ --nxt-bg-0: #050505;
+ --nxt-bg-1: #0b0b0c;
+ --nxt-ink: #e8e8e6;
+ --nxt-ink-dim: #9a9a98;
+ --nxt-ink-fade: #6a6a68;
+ --nxt-accent: #c8c8c4;
+ --nxt-accent-soft: rgba(255, 255, 255, 0.08);
+ --nxt-glass: rgba(12, 12, 12, 0.55);
+ --nxt-glass-strong: rgba(12, 12, 12, 0.82);
+ --nxt-stroke: rgba(255, 255, 255, 0.07);
+ --nxt-stroke-strong: rgba(255, 255, 255, 0.13);
--nxt-radius: 14px;
--nxt-radius-sm: 10px;
--nxt-radius-pill: 999px;
@@ -34,12 +34,10 @@ body {
body.app-next-body {
margin: 0;
background:
- /* Soft purple lift behind the avatar's head */
- radial-gradient(ellipse 50% 35% at 50% 38%, rgba(154, 124, 255, 0.10) 0%, transparent 70%),
- /* Warm cyan accent low-left */
- radial-gradient(ellipse 40% 30% at 25% 75%, rgba(109, 193, 255, 0.05) 0%, transparent 65%),
+ /* Soft luminous lift behind the avatar */
+ radial-gradient(ellipse 50% 35% at 50% 38%, rgba(255, 255, 255, 0.04) 0%, transparent 70%),
/* Base depth gradient */
- radial-gradient(ellipse 90% 70% at 50% 60%, #11131c 0%, #08090e 55%, #020203 100%);
+ radial-gradient(ellipse 90% 70% at 50% 60%, #0e0e0e 0%, #080808 55%, #020202 100%);
color: var(--nxt-ink);
font-family: 'Inter', system-ui, -apple-system, sans-serif;
overflow: hidden;
@@ -139,8 +137,8 @@ body.app-next-body {
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
- color: var(--nxt-accent);
- background: var(--nxt-accent-soft);
+ color: var(--nxt-ink-dim);
+ background: rgba(255, 255, 255, 0.06);
padding: 3px 8px;
border-radius: var(--nxt-radius-pill);
margin-left: 4px;
@@ -273,8 +271,8 @@ body.app-next-body {
width: 8px;
height: 8px;
border-radius: 50%;
- background: linear-gradient(135deg, var(--nxt-accent), #6dc1ff);
- box-shadow: 0 0 8px var(--nxt-accent);
+ background: var(--nxt-ink);
+ box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}
.nxt-user-menu {
@@ -363,17 +361,17 @@ body.app-next-body {
height: 32vmin;
transform: translate(-50%, 18%);
background:
- /* Inner hot core */
+ /* Inner soft light pool */
radial-gradient(
ellipse 40% 35% at center,
- rgba(154, 124, 255, 0.55) 0%,
- rgba(154, 124, 255, 0.18) 35%,
+ rgba(255, 255, 255, 0.22) 0%,
+ rgba(255, 255, 255, 0.06) 35%,
rgba(0, 0, 0, 0) 70%
),
- /* Outer cyan halo for depth */
+ /* Outer ambient halo */
radial-gradient(
ellipse 90% 70% at center,
- rgba(109, 193, 255, 0.12) 0%,
+ rgba(255, 255, 255, 0.04) 0%,
rgba(0, 0, 0, 0) 65%
);
pointer-events: none;
@@ -393,9 +391,9 @@ body.app-next-body {
border-radius: 50%;
background: radial-gradient(
circle at center,
- rgba(154, 124, 255, 0.0) 30%,
- rgba(154, 124, 255, 0.35) 55%,
- rgba(154, 124, 255, 0.0) 70%
+ rgba(255, 255, 255, 0.0) 30%,
+ rgba(255, 255, 255, 0.12) 55%,
+ rgba(255, 255, 255, 0.0) 70%
);
filter: blur(0.5px);
opacity: 0.7;
@@ -478,14 +476,14 @@ body.app-next-body {
}
.nxt-action--primary {
- background: linear-gradient(135deg, var(--nxt-accent) 0%, #7a5cff 100%);
- color: white;
- box-shadow: 0 6px 18px rgba(154, 124, 255, 0.4);
+ background: var(--nxt-ink);
+ color: #0a0a0a;
+ box-shadow: 0 6px 18px rgba(255, 255, 255, 0.12);
}
.nxt-action--primary:hover {
transform: translateY(-1px);
- box-shadow: 0 10px 22px rgba(154, 124, 255, 0.5);
+ box-shadow: 0 10px 22px rgba(255, 255, 255, 0.18);
}
.nxt-action--primary kbd {
@@ -498,17 +496,17 @@ body.app-next-body {
.nxt-action--deploy {
text-decoration: none;
color: var(--nxt-ink);
- background: rgba(154, 124, 255, 0.10);
- border: 1px solid rgba(154, 124, 255, 0.35);
- box-shadow: 0 0 0 0 rgba(154, 124, 255, 0);
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ box-shadow: 0 0 0 0 transparent;
position: relative;
}
.nxt-action--deploy:hover {
- background: rgba(154, 124, 255, 0.18);
- border-color: rgba(154, 124, 255, 0.55);
+ background: rgba(255, 255, 255, 0.10);
+ border-color: rgba(255, 255, 255, 0.22);
transform: translateY(-1px);
- box-shadow: 0 6px 16px rgba(154, 124, 255, 0.25);
+ box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.nxt-action--deploy::before {
@@ -519,28 +517,28 @@ body.app-next-body {
width: 6px;
height: 6px;
border-radius: 999px;
- background: #c4b5fd;
- box-shadow: 0 0 8px rgba(196, 181, 253, 0.9);
+ background: var(--nxt-ink-dim);
+ box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
transform: translateY(-50%);
opacity: 0;
pointer-events: none;
}
.nxt-action--deploy.is-deployed {
- color: #d8ffe0;
- background: rgba(34, 197, 94, 0.12);
- border-color: rgba(34, 197, 94, 0.45);
+ color: var(--nxt-ink);
+ background: rgba(255, 255, 255, 0.08);
+ border-color: rgba(255, 255, 255, 0.20);
}
.nxt-action--deploy.is-deployed:hover {
- background: rgba(34, 197, 94, 0.20);
- border-color: rgba(34, 197, 94, 0.65);
- box-shadow: 0 6px 16px rgba(34, 197, 94, 0.25);
+ background: rgba(255, 255, 255, 0.12);
+ border-color: rgba(255, 255, 255, 0.28);
+ box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.nxt-action--deploy.is-deployed::before {
- background: #4ade80;
- box-shadow: 0 0 8px rgba(74, 222, 128, 0.9);
+ background: var(--nxt-ink);
+ box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}
.nxt-hidden-hosts { display: none !important; }
@@ -625,7 +623,7 @@ body.app-next-body {
}
.nxt-anim-search:focus {
- border-color: var(--nxt-accent);
+ border-color: rgba(255, 255, 255, 0.22);
background: rgba(255, 255, 255, 0.08);
}
@@ -673,8 +671,8 @@ body.app-next-body {
}
.nxt-anim-card[aria-pressed='true'] {
- background: var(--nxt-accent-soft);
- border-color: rgba(154, 124, 255, 0.5);
+ background: rgba(255, 255, 255, 0.10);
+ border-color: rgba(255, 255, 255, 0.22);
color: var(--nxt-ink);
}
@@ -703,9 +701,9 @@ body.app-next-body.is-dragover::before {
font-size: 16px;
font-weight: 600;
letter-spacing: 0.02em;
- color: var(--nxt-accent);
- background: rgba(154, 124, 255, 0.06);
- border: 2px dashed rgba(154, 124, 255, 0.5);
+ color: var(--nxt-ink);
+ background: rgba(255, 255, 255, 0.03);
+ border: 2px dashed rgba(255, 255, 255, 0.25);
border-radius: 16px;
z-index: 50;
pointer-events: none;
@@ -763,7 +761,7 @@ body.app-next-body.is-dragover::before {
margin: -18px 0 0 -18px;
border-radius: 50%;
border: 2.5px solid rgba(255, 255, 255, 0.08);
- border-top-color: var(--nxt-accent);
+ border-top-color: var(--nxt-ink);
animation: nxt-spin 0.8s linear infinite;
z-index: 5;
pointer-events: none;
@@ -875,8 +873,8 @@ body.app-next-body.is-dragover::before {
.nxt-chat-chip:hover {
color: var(--nxt-ink);
- border-color: rgba(154, 124, 255, 0.35);
- background: rgba(154, 124, 255, 0.10);
+ border-color: rgba(255, 255, 255, 0.16);
+ background: rgba(255, 255, 255, 0.06);
transform: translateY(-1px);
}
@@ -900,8 +898,8 @@ body.app-next-body.is-dragover::before {
}
.nxt-chat-input-wrap:focus-within {
- border-color: rgba(154, 124, 255, 0.5);
- box-shadow: 0 0 0 3px rgba(154, 124, 255, 0.15), 0 28px 64px rgba(0, 0, 0, 0.55);
+ border-color: rgba(255, 255, 255, 0.20);
+ box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06), 0 28px 64px rgba(0, 0, 0, 0.55);
}
.nxt-chat-input-icon {
@@ -951,25 +949,25 @@ body.app-next-body.is-dragover::before {
}
.nxt-chat-mic.is-recording {
- background: #ff5470;
- color: white;
+ background: var(--nxt-ink);
+ color: #0a0a0a;
animation: nxt-mic-pulse 1.2s ease-in-out infinite;
}
@keyframes nxt-mic-pulse {
- 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 84, 112, 0.6); }
- 50% { box-shadow: 0 0 0 8px rgba(255, 84, 112, 0); }
+ 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
+ 50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}
.nxt-chat-send {
- background: linear-gradient(135deg, var(--nxt-accent) 0%, #7a5cff 100%);
- color: white;
- box-shadow: 0 4px 12px rgba(154, 124, 255, 0.4);
+ background: var(--nxt-ink);
+ color: #0a0a0a;
+ box-shadow: 0 4px 12px rgba(255, 255, 255, 0.10);
}
.nxt-chat-send:hover {
transform: translateY(-1px);
- box-shadow: 0 6px 16px rgba(154, 124, 255, 0.5);
+ box-shadow: 0 6px 16px rgba(255, 255, 255, 0.16);
}
.nxt-chat-send:disabled,
@@ -1017,7 +1015,7 @@ body.app-next-body.is-dragover::before {
gap: 10px;
padding: 12px 18px;
background: var(--nxt-glass-strong);
- border: 1px solid rgba(154, 124, 255, 0.25);
+ border: 1px solid rgba(255, 255, 255, 0.10);
border-radius: 18px;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
@@ -1030,8 +1028,8 @@ body.app-next-body.is-dragover::before {
height: 8px;
margin-top: 6px;
border-radius: 50%;
- background: linear-gradient(135deg, var(--nxt-accent), #6dc1ff);
- box-shadow: 0 0 10px var(--nxt-accent);
+ background: var(--nxt-ink);
+ box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}
.nxt-agent-bubble__text {
@@ -1140,13 +1138,13 @@ body.app-next-body.is-dragover::before {
.nxt-share-copy input:focus,
.nxt-share-copy textarea:focus {
- border-color: var(--nxt-accent);
+ border-color: rgba(255, 255, 255, 0.22);
}
.nxt-share-copy button {
flex: none;
- background: linear-gradient(135deg, var(--nxt-accent) 0%, #7a5cff 100%);
- color: white;
+ background: var(--nxt-ink);
+ color: #0a0a0a;
border: 0;
border-radius: 8px;
padding: 8px 14px;
@@ -1165,11 +1163,12 @@ body.app-next-body.is-dragover::before {
.nxt-share-copy button:hover {
transform: translateY(-1px);
- box-shadow: 0 4px 10px rgba(154, 124, 255, 0.4);
+ box-shadow: 0 4px 10px rgba(255, 255, 255, 0.12);
}
.nxt-share-copy button.is-copied {
- background: linear-gradient(135deg, #4ade80, #22c55e);
+ background: rgba(255, 255, 255, 0.18);
+ color: var(--nxt-ink);
}
.nxt-share-hint {
@@ -1195,14 +1194,14 @@ body.app-next-body.is-dragover::before {
border-radius: 12px;
text-decoration: none;
color: var(--nxt-ink);
- background: rgba(154, 124, 255, 0.08);
- border: 1px solid rgba(154, 124, 255, 0.30);
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.10);
transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.nxt-share-deploy:hover {
- background: rgba(154, 124, 255, 0.16);
- border-color: rgba(154, 124, 255, 0.55);
+ background: rgba(255, 255, 255, 0.08);
+ border-color: rgba(255, 255, 255, 0.18);
}
.nxt-share-deploy__icon {
@@ -1212,23 +1211,23 @@ body.app-next-body.is-dragover::before {
display: grid;
place-items: center;
border-radius: 9px;
- background: rgba(154, 124, 255, 0.18);
- color: #c4b5fd;
+ background: rgba(255, 255, 255, 0.08);
+ color: var(--nxt-ink-dim);
}
.nxt-share-deploy.is-deployed .nxt-share-deploy__icon {
- background: rgba(34, 197, 94, 0.20);
- color: #86efac;
+ background: rgba(255, 255, 255, 0.12);
+ color: var(--nxt-ink);
}
.nxt-share-deploy.is-deployed {
- background: rgba(34, 197, 94, 0.10);
- border-color: rgba(34, 197, 94, 0.40);
+ background: rgba(255, 255, 255, 0.06);
+ border-color: rgba(255, 255, 255, 0.14);
}
.nxt-share-deploy.is-deployed:hover {
- background: rgba(34, 197, 94, 0.18);
- border-color: rgba(34, 197, 94, 0.60);
+ background: rgba(255, 255, 255, 0.10);
+ border-color: rgba(255, 255, 255, 0.22);
}
.nxt-share-deploy__copy {
@@ -1585,8 +1584,8 @@ body.app-next-body .dg.ac { display: none !important; }
width: 6px;
height: 6px;
border-radius: 50%;
- background: #4ade80;
- box-shadow: 0 0 6px rgba(74, 222, 128, 0.55);
+ background: var(--nxt-ink);
+ box-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
animation: nxt-dot-pulse 2.5s ease infinite;
flex-shrink: 0;
}
@@ -1757,9 +1756,9 @@ body.app-next-body .dg.ac { display: none !important; }
width: 8px;
height: 8px;
border-radius: 50%;
- background: #4ade80;
- border: 2px solid rgba(10, 10, 16, 0.95);
- box-shadow: 0 0 4px rgba(74, 222, 128, 0.5);
+ background: var(--nxt-ink);
+ border: 2px solid rgba(10, 10, 10, 0.95);
+ box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}
.nxt-mobile-agent-strip__info {
diff --git a/public/discover/discover.js b/public/discover/discover.js
index e130024f7..0e6f082e8 100644
--- a/public/discover/discover.js
+++ b/public/discover/discover.js
@@ -43,8 +43,6 @@ const els = {
status: document.querySelector('[data-role="status"]'),
loadMore: document.querySelector('[data-role="load-more"]'),
sentinel: document.querySelector('[data-role="sentinel"]'),
- statAll: document.querySelector('[data-role="stat-all"]'),
- stat3d: document.querySelector('[data-role="stat-3d"]'),
myAgentsChip: document.querySelector('[data-role="my-agents-chip"]'),
searchClear: document.querySelector('[data-role="search-clear"]'),
};
@@ -119,14 +117,13 @@ if (els.sources && initialSource !== 'all') {
/** Sync state into URL via replaceState (no history spam). */
function syncUrl() {
const p = new URLSearchParams();
- // 3D is the default — encode the opposite explicitly so /discover (no
- // params) and /discover?only3d=1 both mean "3D only", while clicking
- // "All agents" produces /discover?only3d=0 (sticky on reload).
if (state.filter === '3d') p.set('only3d', '1');
+ else if (state.filter === 'x402') { p.set('only3d', '0'); p.set('x402', '1'); }
else p.set('only3d', '0');
if (state.source !== 'all') p.set('source', state.source);
if (state.chainId) p.set('chain', state.chainId);
if (state.query) p.set('q', state.query);
+ if (state.sortBy !== 'newest') p.set('sort', state.sortBy);
const qs = p.toString();
const next = qs ? `${location.pathname}?${qs}` : location.pathname;
if (next !== location.pathname + location.search) {
@@ -183,6 +180,17 @@ els.searchClear?.addEventListener('click', () => {
els.search.focus();
});
+els.sort?.addEventListener('change', () => {
+ state.sortBy = els.sort.value;
+ syncUrl();
+ resetAndLoad();
+});
+
+// Reflect initial sort in dropdown
+if (els.sort && state.sortBy !== 'newest') {
+ els.sort.value = state.sortBy;
+}
+
// Initial visibility (covers ?q= deep links).
updateSearchClearVisibility();
@@ -194,6 +202,38 @@ if (!hasAnyParam) {
els.loadMore.addEventListener('click', () => loadPage());
+// IntersectionObserver-based infinite scroll. Falls back to the manual button.
+let io;
+if ('IntersectionObserver' in window && els.sentinel) {
+ io = new IntersectionObserver(
+ (entries) => {
+ for (const entry of entries) {
+ if (entry.isIntersecting && state.cursor && !state.loading) loadPage();
+ }
+ },
+ { rootMargin: '480px 0px' },
+ );
+ io.observe(els.sentinel);
+}
+
+// Delegated copy-URI click
+els.grid.addEventListener('click', (e) => {
+ const btn = e.target.closest('[data-role="card-copy-uri"]');
+ if (!btn) return;
+ e.preventDefault();
+ e.stopPropagation();
+ const uri = btn.dataset.uri;
+ const done = (ok) => {
+ btn.textContent = ok ? 'Copied!' : 'Failed';
+ setTimeout(() => (btn.textContent = 'URI'), 1400);
+ };
+ if (navigator.clipboard?.writeText) {
+ navigator.clipboard.writeText(uri).then(() => done(true), () => done(false));
+ } else {
+ done(false);
+ }
+});
+
// Delegated embed-button click — cards can be re-rendered freely
els.grid.addEventListener('click', (e) => {
const btn = e.target.closest('[data-role="card-embed"]');
@@ -215,9 +255,32 @@ els.grid.addEventListener('click', (e) => {
}
});
+function renderSkeletons(n) {
+ const frag = document.createDocumentFragment();
+ for (let i = 0; i < n; i++) {
+ const card = document.createElement('article');
+ card.className = 'explore-card explore-card--skel';
+ card.innerHTML = `
+ <div class="explore-card-thumb"></div>
+ <div class="explore-card-body">
+ <div class="explore-card-skel-name">&nbsp;</div>
+ <div class="explore-card-skel-desc">&nbsp;</div>
+ <div class="explore-card-skel-badges">&nbsp;</div>
+ </div>
+ `;
+ frag.appendChild(card);
+ }
+ els.grid.appendChild(frag);
+}
+
+function clearSkeletons() {
+ for (const node of els.grid.querySelectorAll('.explore-card--skel')) node.remove();
+}
+
function resetAndLoad() {
state.cursor = null;
els.grid.innerHTML = '';
+ renderSkeletons(12);
loadPage();
}
@@ -225,15 +288,20 @@ async function loadPage() {
if (state.loading) return;
state.loading = true;
els.loadMore.hidden = true;
- els.status.textContent = state.cursor ? 'Loading more…' : 'Loading agents…';
+ if (!state.cursor) {
+ els.status.textContent = '';
+ } else {
+ els.status.textContent = 'Loading more…';
+ }
const params = new URLSearchParams();
+ // x402 filter — fetch all then client-sort; 3d flag still goes to API
if (state.filter === '3d') params.set('only3d', '1');
if (state.source !== 'all') params.set('source', state.source);
if (state.chainId) params.set('chain', state.chainId);
if (state.query) params.set('q', state.query);
if (state.cursor) params.set('cursor', state.cursor);
- params.set('limit', '24');
+ params.set('limit', '48');
const isFirstPage = !state.cursor;
try {
@@ -241,20 +309,36 @@ async function loadPage() {
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
- // Totals reflect the unfiltered corpus and don't change between pages —
- // only paint them once per filter cycle.
- if (isFirstPage && data.totals) {
- els.statAll.textContent = data.totals.all.toLocaleString();
- els.stat3d.textContent = data.totals.threeD.toLocaleString();
+ clearSkeletons();
+
+ let items = data.items || [];
+
+ // Client-side x402 filter (API returns all; we narrow here)
+ if (state.filter === 'x402') {
+ items = items.filter((i) => i.x402Support || i.price != null);
+ }
+
+ // Client-side sort overlay
+ if (state.sortBy === 'x402') {
+ items = [...items].sort((a, b) => {
+ const ax = a.x402Support || a.price != null ? 1 : 0;
+ const bx = b.x402Support || b.price != null ? 1 : 0;
+ return bx - ax;
+ });
+ } else if (state.sortBy === 'alpha') {
+ items = [...items].sort((a, b) =>
+ (a.name || '').localeCompare(b.name || '', undefined, { sensitivity: 'base' }),
+ );
}
- for (const item of data.items) {
+ for (const item of items) {
els.grid.appendChild(renderCard(item));
}
state.cursor = data.nextCursor;
els.loadMore.hidden = !state.cursor;
- if (els.grid.children.length === 0) {
+ const visibleCards = els.grid.querySelectorAll('.explore-card:not(.explore-card--skel)').length;
+ if (visibleCards === 0) {
const filtersActive = state.filter !== 'all' || !!state.chainId || !!state.query;
els.status.innerHTML = filtersActive
? `<div class="explore-empty">
@@ -266,6 +350,7 @@ async function loadPage() {
els.status.textContent = '';
}
} catch (err) {
+ clearSkeletons();
els.status.innerHTML = `<div class="explore-error">Failed to load: ${escapeHtml(err.message)}</div>`;
} finally {
state.loading = false;
@@ -284,8 +369,10 @@ function clearAllFilters() {
state.source = 'all';
state.chainId = '';
state.query = '';
+ state.sortBy = 'newest';
els.search.value = '';
els.chain.value = '';
+ if (els.sort) els.sort.value = 'newest';
updateSearchClearVisibility();
for (const b of els.filters.querySelectorAll('[data-filter]')) {
b.classList.toggle('active', b.dataset.filter === 'all');
@@ -385,6 +472,8 @@ function renderOnchainCard(item) {
<div class="explore-card-actions">
<a class="explore-card-link" href="${escapeAttr(detailUrl)}">Details</a>
${item.viewerUrl ? `<a class="explore-card-link" href="${escapeAttr(item.viewerUrl)}">View 3D</a>` : ''}
+ <button type="button" class="explore-card-link explore-card-link--ghost" data-role="card-copy-uri"
+ data-uri="${escapeAttr(`agent://${item.chainId}/${item.agentId}`)}" title="Copy agent:// URI">URI</button>
<button type="button" class="explore-card-link explore-card-link--ghost" data-role="card-embed"
data-kind="onchain"
data-chain-id="${escapeAttr(String(item.chainId))}"
@@ -434,7 +523,9 @@ function renderAvatarCard(item) {
${item.description ? `<p class="explore-card-desc">${escapeHtml(item.description)}</p>` : ''}
${tagChips ? `<div class="explore-card-svcs">${tagChips}</div>` : ''}
<div class="explore-card-foot">
- <span class="explore-card-owner" title="Avatar made public by its creator">@${escapeHtml(item.slug || 'avatar')}</span>
+ <span class="explore-card-owner" title="Avatar made public by its creator">
+ ${item.viewCount ? `<span class="explore-card-views">${escapeHtml(formatCompact(item.viewCount))} views</span>` : `@${escapeHtml(item.slug || 'avatar')}`}
+ </span>
<div class="explore-card-actions">
<a class="explore-card-link" href="${escapeAttr(detailUrl)}">View agent</a>
<button type="button" class="explore-card-link explore-card-link--ghost" data-role="card-embed"
@@ -449,6 +540,12 @@ function renderAvatarCard(item) {
return card;
}
+function formatCompact(n) {
+ if (n < 1000) return String(n);
+ if (n < 1_000_000) return (n / 1000).toFixed(n < 10_000 ? 1 : 0).replace(/\.0$/, '') + 'k';
+ return (n / 1_000_000).toFixed(1).replace(/\.0$/, '') + 'M';
+}
+
function escapeHtml(s) {
return String(s ?? '')
.replace(/&/g, '&amp;')
diff --git a/public/discover/index.html b/public/discover/index.html
index 65d7a3301..901a9be2b 100644
--- a/public/discover/index.html
+++ b/public/discover/index.html
@@ -74,20 +74,6 @@
the viewer. Click any card for its on-chain passport.
</p>
- <div class="explore-stats" data-role="stats">
- <div class="explore-stat">
- <div class="explore-stat-value" data-role="stat-all">—</div>
- <div class="explore-stat-label">Agents indexed</div>
- </div>
- <div class="explore-stat">
- <div class="explore-stat-value" data-role="stat-3d">—</div>
- <div class="explore-stat-label">With 3D avatars</div>
- </div>
- <div class="explore-stat">
- <div class="explore-stat-value" data-role="stat-chains">22</div>
- <div class="explore-stat-label">Chains crawled</div>
- </div>
- </div>
</section>
<section class="explore-controls">
diff --git a/public/gallery/gallery.js b/public/gallery/gallery.js
index 73352de19..e911dbb2d 100644
--- a/public/gallery/gallery.js
+++ b/public/gallery/gallery.js
@@ -15,6 +15,7 @@
const els = {
search: document.querySelector('[data-role="search"]'),
searchClear: document.querySelector('[data-role="search-clear"]'),
+ sort: document.querySelector('[data-role="sort"]'),
tagWrap: document.querySelector('[data-role="tag-wrap"]'),
tags: document.querySelector('[data-role="tags"]'),
grid: document.querySelector('[data-role="grid"]'),
@@ -31,6 +32,7 @@ const initialParams = new URLSearchParams(location.search);
const state = {
query: initialParams.get('q') || '',
tag: initialParams.get('tag') || '',
+ sortBy: initialParams.get('sort') || 'newest',
cursor: null,
loading: false,
loadedTags: new Set(),
@@ -59,6 +61,7 @@ function syncUrl() {
const p = new URLSearchParams();
if (state.query) p.set('q', state.query);
if (state.tag) p.set('tag', state.tag);
+ if (state.sortBy !== 'newest') p.set('sort', state.sortBy);
const qs = p.toString();
const next = qs ? `${location.pathname}?${qs}` : location.pathname;
if (next !== location.pathname + location.search) {
@@ -86,6 +89,16 @@ els.searchClear.addEventListener('click', () => {
els.search.focus();
});
+els.sort?.addEventListener('change', () => {
+ state.sortBy = els.sort.value;
+ syncUrl();
+ resetAndLoad();
+});
+
+if (els.sort && state.sortBy !== 'newest') {
+ els.sort.value = state.sortBy;
+}
+
els.tags.addEventListener('click', (e) => {
const btn = e.target.closest('[data-tag]');
if (!btn) return;
@@ -102,6 +115,18 @@ els.status.addEventListener('click', (e) => {
if (e.target.closest('[data-role="clear-filters"]')) clearAllFilters();
});
+els.grid.addEventListener('click', (e) => {
+ const btn = e.target.closest('[data-role="card-embed"]');
+ if (!btn) return;
+ e.preventDefault();
+ e.stopPropagation();
+ openAvatarEmbedModal({
+ avatarId: btn.dataset.avatarId,
+ glbUrl: btn.dataset.glbUrl,
+ name: btn.dataset.name,
+ });
+});
+
// IntersectionObserver-based infinite scroll. Falls back to the manual
// "Load more" button if IO isn't available.
let io;
@@ -120,7 +145,9 @@ if ('IntersectionObserver' in window) {
function clearAllFilters() {
state.query = '';
state.tag = '';
+ state.sortBy = 'newest';
els.search.value = '';
+ if (els.sort) els.sort.value = 'newest';
updateSearchClearVisibility();
renderTags();
syncUrl();
@@ -186,7 +213,17 @@ async function loadPage() {
clearSkeletons();
- const avatars = Array.isArray(data.avatars) ? data.avatars : [];
+ let avatars = Array.isArray(data.avatars) ? data.avatars : [];
+
+ // Client-side sort
+ if (state.sortBy === 'popular') {
+ avatars = [...avatars].sort((a, b) => (b.view_count || 0) - (a.view_count || 0));
+ } else if (state.sortBy === 'alpha') {
+ avatars = [...avatars].sort((a, b) =>
+ (a.name || '').localeCompare(b.name || '', undefined, { sensitivity: 'base' }),
+ );
+ }
+
for (const a of avatars) {
els.grid.appendChild(renderCard(a));
state.totalLoaded += 1;
diff --git a/public/gallery/index.html b/public/gallery/index.html
index 4cec62d4e..a9ccda3d8 100644
--- a/public/gallery/index.html
+++ b/public/gallery/index.html
@@ -29,6 +29,7 @@
<meta name="twitter:image" content="https://three.ws/og-image.png" />
<link rel="shortcut icon" href="/favicon.ico" />
+ <script type="module" src="https://ajax.googleapis.com/ajax/libs/model-viewer/4.0.0/model-viewer.min.js"></script>
<link rel="stylesheet" href="/style.css" />
<link rel="stylesheet" href="/nav.css" />
<link rel="stylesheet" href="/gallery/gallery.css" />
@@ -63,11 +64,28 @@
the viewer, then embed it anywhere or remix into a new agent.
</p>
+ <div class="gallery-stats">
+ <div class="gallery-stat">
+ <div class="gallery-stat-value" data-role="stat-count">—</div>
+ <div class="gallery-stat-label">Avatars</div>
+ </div>
+ <div class="gallery-stat">
+ <div class="gallery-stat-value" data-role="stat-views">—</div>
+ <div class="gallery-stat-label">Total views</div>
+ </div>
+ </div>
+
+ <div class="gallery-hero-ctas">
+ <a class="gallery-hero-btn gallery-hero-btn--primary" href="/create/selfie">Create from selfie</a>
+ <a class="gallery-hero-btn" href="/dashboard/avatars">Upload avatar</a>
+ </div>
+
</div>
</section>
<section class="gallery-controls">
- <div class="gallery-search">
+ <div class="gallery-controls-top">
+ <div class="gallery-search">
<svg
class="gallery-search-icon"
viewBox="0 0 20 20"
@@ -85,15 +103,24 @@
autocomplete="off"
spellcheck="false"
/>
- <button
- type="button"
- class="gallery-search-clear"
- data-role="search-clear"
- aria-label="Clear search"
- hidden
- >
- ×
- </button>
+ <button
+ type="button"
+ class="gallery-search-clear"
+ data-role="search-clear"
+ aria-label="Clear search"
+ hidden
+ >
+ ×
+ </button>
+ </div>
+ <div class="gallery-sort-select">
+ <label for="gallery-sort">Sort:</label>
+ <select id="gallery-sort" data-role="sort">
+ <option value="newest">Newest</option>
+ <option value="popular">Most viewed</option>
+ <option value="alpha">A → Z</option>
+ </select>
+ </div>
</div>
<div class="gallery-tag-wrap" data-role="tag-wrap" hidden>
<div class="gallery-tag-label">Tags</div>
diff --git a/public/marketplace.css b/public/marketplace.css
index 7fc78b89c..1c6c65a47 100644
--- a/public/marketplace.css
+++ b/public/marketplace.css
@@ -306,16 +306,22 @@ body.market-page {
position: absolute;
inset: 0;
display: flex;
+ flex-direction: column;
align-items: center;
justify-content: center;
+ gap: 8px;
pointer-events: none;
+ background:
+ radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.1), transparent 65%),
+ radial-gradient(circle at 50% 95%, rgba(168, 85, 247, 0.06), transparent 70%),
+ linear-gradient(180deg, #0a0a0d, #050507);
}
.market-card-agent .thumb .mv-placeholder-initial {
font-family: 'Space Grotesk', sans-serif;
- font-size: 48px;
+ font-size: 42px;
font-weight: 700;
line-height: 1;
- background: linear-gradient(180deg, #f4f4f5, #71717a);
+ background: linear-gradient(180deg, rgba(244,244,245,0.45), rgba(113,113,122,0.3));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
@@ -340,6 +346,12 @@ body.market-page {
display: grid;
place-items: center;
font-size: 18px;
+ flex-shrink: 0;
+ overflow: hidden;
+}
+.market-card-agent .avatar.avatar-img {
+ background-size: cover;
+ background-position: center;
}
.market-card-agent .title {
@@ -1880,16 +1892,43 @@ body.market-page {
/* ── Hover 3D preview overlay on avatar cards ──────────────── */
-.market-card-avatar .thumb {
- position: relative;
- overflow: hidden;
-}
.market-card-avatar .thumb {
position: relative;
overflow: hidden;
background: #0a0a0c;
}
+.market-card-avatar .thumb .mv-placeholder {
+ position: absolute;
+ inset: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ gap: 8px;
+ pointer-events: none;
+ z-index: 0;
+ background:
+ radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.08), transparent 65%),
+ radial-gradient(circle at 50% 90%, rgba(168, 85, 247, 0.05), transparent 70%),
+ linear-gradient(180deg, #0b0b10, #050507);
+ transition: opacity 0.5s ease;
+}
+.market-card-avatar.mv-loaded .thumb .mv-placeholder {
+ opacity: 0;
+}
+.market-card-avatar .thumb .mv-placeholder-initial {
+ font-family: 'Space Grotesk', sans-serif;
+ font-size: 42px;
+ font-weight: 700;
+ line-height: 1;
+ background: linear-gradient(180deg, rgba(244,244,245,0.35), rgba(113,113,122,0.2));
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+ letter-spacing: -0.04em;
+}
+
/* Shimmer that shows while the GLB streams in */
.market-card-avatar .thumb::before {
content: '';
@@ -1930,18 +1969,23 @@ body.market-page {
opacity: 1;
}
-/* Featured: first card spans 2 columns + 2 rows for a spotlight effect */
-.market-card-avatar--featured {
- grid-column: span 2;
- grid-row: span 2;
-}
-.market-card-avatar--featured .thumb {
- aspect-ratio: unset;
- min-height: 320px;
+/* Featured: first card spans 2 columns + 2 rows for a spotlight effect.
+ Only apply the span when the grid has enough columns (≥3) to avoid
+ a single featured card taking the entire row on narrow layouts. */
+@media (min-width: 760px) {
+ .market-card-avatar--featured {
+ grid-column: span 2;
+ grid-row: span 2;
+ }
+ .market-card-avatar--featured .thumb {
+ aspect-ratio: unset;
+ min-height: 320px;
+ }
}
-@media (max-width: 600px) {
- .market-card-avatar--featured { grid-column: span 1; grid-row: span 1; }
- .market-card-avatar--featured .thumb { min-height: 0; }
+@media (max-width: 759px) {
+ .market-card-avatar--featured .thumb {
+ aspect-ratio: 4 / 3;
+ }
}
.market-card-avatar .thumb-badge {
position: absolute;
@@ -2172,7 +2216,8 @@ body.market-page {
display: flex;
justify-content: space-between;
align-items: center;
- margin-top: 4px;
+ margin-top: auto;
+ padding-top: 4px;
}
.market-card-avatar .footer .avatar-pill {
background: rgba(125, 211, 252, 0.1);
@@ -2200,9 +2245,52 @@ body.market-page {
display: flex;
align-items: center;
justify-content: center;
- font-size: 60px;
- color: rgba(255, 255, 255, 0.18);
- background: radial-gradient(circle at 50% 50%, rgba(125, 211, 252, 0.05), transparent 70%);
+ background:
+ radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.06), transparent 65%),
+ radial-gradient(circle at 50% 90%, rgba(168, 85, 247, 0.04), transparent 70%),
+ linear-gradient(180deg, #0b0b10, #050507);
+}
+.market-card-avatar .thumb-fallback-initial {
+ font-size: 48px;
+ font-weight: 700;
+ font-family: 'Space Grotesk', sans-serif;
+ letter-spacing: -0.04em;
+ line-height: 1;
+ background: linear-gradient(180deg, rgba(244,244,245,0.3), rgba(113,113,122,0.18));
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+}
+
+.market-card-avatar .card-img-fallback {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background:
+ radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.06), transparent 65%),
+ linear-gradient(180deg, #0b0b10, #050507);
+}
+.market-card-avatar .card-img-fallback::after {
+ content: '◎';
+ font-size: 36px;
+ color: rgba(255, 255, 255, 0.1);
+}
+.market-card-agent .card-img-fallback {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background:
+ radial-gradient(circle at 50% 40%, rgba(125, 211, 252, 0.08), transparent 65%),
+ linear-gradient(180deg, #0a0a0d, #050507);
+}
+.market-card-agent .card-img-fallback::after {
+ content: '◎';
+ font-size: 32px;
+ color: rgba(255, 255, 255, 0.1);
}
/* ── Card skeletons (initial load) ───────────────────────────── */
diff --git a/public/studio/studio.js b/public/studio/studio.js
index 569f3b855..4a60e9cd2 100644
--- a/public/studio/studio.js
+++ b/public/studio/studio.js
@@ -35,7 +35,7 @@ const WIDGET_TYPES = {
},
'hotspot-tour': {
label: 'Hotspot Tour',
- desc: 'Annotated 3D scene with clickable POIs.',
+ desc: 'Annotated 3D scene with clickable points of interest.',
status: 'ready',
icon: '⌖',
},
@@ -45,6 +45,18 @@ const WIDGET_TYPES = {
status: 'ready',
icon: '✦',
},
+ 'kol-trades': {
+ label: 'Smart Money Feed',
+ desc: 'Live buy/sell activity from KOL and whale wallets for a token.',
+ status: 'ready',
+ icon: '◈',
+ },
+ 'live-trades-canvas': {
+ label: 'Live Trades Canvas',
+ desc: 'Particle visualization of live pump.fun buy/sell trades for a token.',
+ status: 'ready',
+ icon: '⬡',
+ },
};
const DEMO_AVATAR = Object.freeze({
@@ -65,6 +77,8 @@ const DEMO_WIDGET_IDS = Object.freeze({
passport: 'wdgt_demo_passprt',
'hotspot-tour': 'wdgt_demo_hotspot',
'pumpfun-feed': 'wdgt_demo_pumpfun',
+ 'kol-trades': 'wdgt_demo_koltrad',
+ 'live-trades-canvas': 'wdgt_demo_ltcnvs',
});
const BRAND_DEFAULTS = Object.freeze({
@@ -104,11 +118,19 @@ const TYPE_DEFAULTS = {
wallet: null,
showReputation: true,
showRecentFeedback: true,
+ showValidation: false,
+ showRegistrationJSON: true,
layout: 'portrait',
+ badgeSize: 'medium',
rotationSpeed: 0.6,
+ rpcURL: '',
+ refreshIntervalSec: 60,
+ showPoweredBy: true,
},
'hotspot-tour': { hotspots: [] },
'pumpfun-feed': { kind: 'all', minTier: '', autoNarrate: true, maxCards: 8 },
+ 'kol-trades': { mint: '', limit: 20, refreshMs: 30000 },
+ 'live-trades-canvas': { mint: '', chain: 'solana', bg: '#0a0a0a', minUsd: 0 },
};
function defaultConfig(type) {
@@ -526,9 +548,25 @@ function renderTypeFields() {
}),
);
}
+ if (state.type === 'animation-gallery') {
+ wrap.appendChild(
+ textField('defaultClip', 'Default clip name', state.config.defaultClip || '', {
+ max: 120,
+ placeholder: 'Leave blank to use the first available clip',
+ }),
+ );
+ wrap.appendChild(boolField('loopAll', 'Loop all clips continuously', state.config.loopAll === true));
+ wrap.appendChild(boolField('showClipPicker', 'Show clip picker UI', state.config.showClipPicker !== false));
+ }
if (state.type === 'talking-agent') {
mountTalkingAgentExtras(wrap);
}
+ if (state.type === 'passport') {
+ mountPassportExtras(wrap);
+ }
+ if (state.type === 'hotspot-tour') {
+ mountHotspotEditor(wrap);
+ }
if (state.type === 'pumpfun-feed') {
wrap.appendChild(
selectField('kind', 'Event kind', state.config.kind ?? 'all', [
@@ -556,6 +594,39 @@ function renderTypeFields() {
}),
);
}
+ if (state.type === 'kol-trades') {
+ wrap.appendChild(
+ textField('mint', 'Token mint address', state.config.mint || '', {
+ max: 100,
+ placeholder: 'Solana mint address (base58)',
+ }),
+ );
+ wrap.appendChild(
+ numberField('limit', 'Max trades to show', state.config.limit ?? 20, { min: 1, max: 100, step: 1 }),
+ );
+ wrap.appendChild(
+ selectField('refreshMs', 'Refresh interval', String(state.config.refreshMs ?? 30000), [
+ ['15000', '15 seconds'],
+ ['30000', '30 seconds'],
+ ['60000', '1 minute'],
+ ['120000', '2 minutes'],
+ ]),
+ );
+ }
+ if (state.type === 'live-trades-canvas') {
+ wrap.appendChild(
+ textField('mint', 'Token mint address', state.config.mint || '', {
+ max: 100,
+ placeholder: 'Solana mint address (base58)',
+ }),
+ );
+ wrap.appendChild(
+ colorField('bg', 'Canvas background', state.config.bg || '#0a0a0a'),
+ );
+ wrap.appendChild(
+ numberField('minUsd', 'Min trade size (USD)', state.config.minUsd ?? 0, { min: 0, max: 1000000, step: 1 }),
+ );
+ }
}
function mountTalkingAgentExtras(wrap) {
@@ -585,15 +656,110 @@ function mountTalkingAgentExtras(wrap) {
}),
);
wrap.appendChild(
- selectField('brainProvider', 'LLM provider', state.config.brainProvider || 'auto', [
- ['auto', 'Auto (first configured)'],
+ selectField('brainProvider', 'LLM provider', state.config.brainProvider || 'anthropic', [
['anthropic', 'Anthropic (Claude)'],
['openai', 'OpenAI'],
['groq', 'Groq'],
['openrouter', 'OpenRouter'],
+ ['custom', 'Custom proxy URL'],
+ ]),
+ );
+
+ // Custom proxy URL (shown only when brainProvider === 'custom')
+ const proxyWrap = document.createElement('div');
+ proxyWrap.id = 'ta-proxy-wrap';
+ proxyWrap.style.display = (state.config.brainProvider === 'custom') ? '' : 'none';
+ proxyWrap.appendChild(
+ textField('proxyURL', 'Proxy URL (https://…)', state.config.proxyURL || '', {
+ max: 300,
+ placeholder: 'https://your-proxy.example.com/v1/chat',
+ }),
+ );
+ wrap.appendChild(proxyWrap);
+
+ // Wire brainProvider → show/hide proxy
+ const provSelect = wrap.querySelector('select[name="brainProvider"]');
+ if (provSelect) {
+ provSelect.addEventListener('change', () => {
+ proxyWrap.style.display = provSelect.value === 'custom' ? '' : 'none';
+ });
+ }
+
+ // Avatar display
+ wrap.appendChild(
+ selectField('avatar', 'Avatar display', state.config.avatar || 'embedded', [
+ ['embedded', 'Full 3D avatar'],
+ ['chat-only', 'Chat only (no avatar)'],
]),
);
+ // Chat position
+ wrap.appendChild(
+ selectField('chatPosition', 'Chat panel position', state.config.chatPosition || 'right', [
+ ['right', 'Right side'],
+ ['bottom', 'Bottom bar'],
+ ['overlay', 'Overlay (fullscreen)'],
+ ]),
+ );
+
+ // Voice + history toggles
+ wrap.appendChild(fieldGroup('Interaction', [
+ boolField('voiceInput', 'Microphone / voice input', state.config.voiceInput !== false),
+ boolField('voiceOutput', 'Text-to-speech output', state.config.voiceOutput !== false),
+ boolField('showChatHistory', 'Show chat history', state.config.showChatHistory !== false),
+ boolField('poweredByBadge', 'Show "Powered by three.ws" badge', state.config.poweredByBadge !== false),
+ ]));
+
+ // Skills
+ const skills = state.config.skills || {};
+ wrap.appendChild(fieldGroup('Agent skills', [
+ boolField('skill_speak', 'Speak (TTS narration)', skills.speak !== false),
+ boolField('skill_wave', 'Wave when greeted', skills.wave !== false),
+ boolField('skill_lookAt', 'Track visitor cursor', skills.lookAt !== false),
+ boolField('skill_playClip','Play animation clips', skills.playClip !== false),
+ boolField('skill_remember','Remember visitor across sessions', !!skills.remember),
+ ]));
+
+ // Wire skill checkboxes
+ for (const key of ['speak', 'wave', 'lookAt', 'playClip', 'remember']) {
+ const cb = wrap.querySelector(`input[name="skill_${key}"]`);
+ if (!cb) continue;
+ cb.addEventListener('change', () => {
+ if (!state.config.skills) state.config.skills = {};
+ state.config.skills[key] = cb.checked;
+ schedulePreview();
+ });
+ }
+
+ // Temperature + max turns
+ wrap.appendChild(
+ numberField('temperature', 'Temperature', state.config.temperature ?? 0.7, { min: 0, max: 1, step: 0.05 }),
+ );
+ wrap.appendChild(
+ numberField('maxTurns', 'Max turns per session', state.config.maxTurns ?? 20, { min: 1, max: 100, step: 1 }),
+ );
+
+ // Rate limits
+ const rl = state.config.visitorRateLimit || {};
+ wrap.appendChild(fieldGroup('Rate limits', [
+ numberField('rl_msgsPerMinute', 'Messages / minute', rl.msgsPerMinute ?? 8, { min: 1, max: 60, step: 1 }),
+ numberField('rl_msgsPerSession', 'Messages / session', rl.msgsPerSession ?? 50, { min: 1, max: 500, step: 1 }),
+ ]));
+
+ // Wire rate limit inputs
+ for (const [name, key] of [['rl_msgsPerMinute', 'msgsPerMinute'], ['rl_msgsPerSession', 'msgsPerSession']]) {
+ const el = wrap.querySelector(`input[name="${name}"]`);
+ if (!el) continue;
+ el.addEventListener('input', () => {
+ const v = parseInt(el.value);
+ if (!isNaN(v)) {
+ if (!state.config.visitorRateLimit) state.config.visitorRateLimit = {};
+ state.config.visitorRateLimit[key] = v;
+ schedulePreview();
+ }
+ });
+ }
+
const knowledgeMount = document.createElement('div');
knowledgeMount.id = 'studio-knowledge';
wrap.appendChild(knowledgeMount);
@@ -614,23 +780,222 @@ function mountTalkingAgentExtras(wrap) {
let _knowledgePanel = null;
+function mountPassportExtras(wrap) {
+ wrap.appendChild(
+ selectField('chain', 'Chain', state.config.chain || 'base-sepolia', [
+ ['base', 'Base (mainnet)'],
+ ['base-sepolia', 'Base Sepolia (testnet)'],
+ ['ethereum', 'Ethereum'],
+ ['polygon', 'Polygon'],
+ ['optimism', 'Optimism'],
+ ['arbitrum', 'Arbitrum'],
+ ]),
+ );
+ wrap.appendChild(
+ textField('agentId', 'Agent ID (uint256)', state.config.agentId || '', {
+ max: 80,
+ placeholder: 'On-chain agent token ID',
+ }),
+ );
+ wrap.appendChild(
+ textField('wallet', 'Wallet address (0x…)', state.config.wallet || '', {
+ max: 42,
+ placeholder: '0x…',
+ }),
+ );
+ wrap.appendChild(
+ selectField('layout', 'Layout', state.config.layout || 'portrait', [
+ ['portrait', 'Portrait'],
+ ['landscape', 'Landscape'],
+ ['badge', 'Badge'],
+ ]),
+ );
+ wrap.appendChild(
+ selectField('badgeSize', 'Badge size', state.config.badgeSize || 'medium', [
+ ['small', 'Small'],
+ ['medium', 'Medium'],
+ ['large', 'Large'],
+ ]),
+ );
+ wrap.appendChild(
+ numberField('rotationSpeed', 'Rotation speed', state.config.rotationSpeed ?? 0.6, { min: 0, max: 10, step: 0.1 }),
+ );
+ wrap.appendChild(
+ numberField('refreshIntervalSec', 'Auto-refresh (seconds, 0 = off)', state.config.refreshIntervalSec ?? 60, { min: 0, max: 3600, step: 10 }),
+ );
+ wrap.appendChild(fieldGroup('Display options', [
+ boolField('showReputation', 'Show reputation score', state.config.showReputation !== false),
+ boolField('showRecentFeedback', 'Show recent feedback', state.config.showRecentFeedback !== false),
+ boolField('showValidation', 'Show on-chain validation', !!state.config.showValidation),
+ boolField('showRegistrationJSON','Show registration JSON', state.config.showRegistrationJSON !== false),
+ boolField('showPoweredBy', 'Show "Powered by" badge', state.config.showPoweredBy !== false),
+ ]));
+ wrap.appendChild(
+ textField('rpcURL', 'Custom RPC URL (optional)', state.config.rpcURL || '', {
+ max: 300,
+ placeholder: 'https://mainnet.base.org',
+ }),
+ );
+}
+
+function mountHotspotEditor(wrap) {
+ if (!Array.isArray(state.config.hotspots)) state.config.hotspots = [];
+
+ const container = document.createElement('div');
+ container.className = 'hotspot-editor';
+
+ function render() {
+ container.innerHTML = '';
+
+ const header = document.createElement('div');
+ header.className = 'hotspot-editor-header';
+ header.innerHTML = `<span class="hotspot-editor-title">Hotspots <span class="hotspot-count">${state.config.hotspots.length}</span></span>`;
+ const addBtn = document.createElement('button');
+ addBtn.type = 'button';
+ addBtn.className = 'btn-ghost btn-sm';
+ addBtn.textContent = '+ Add hotspot';
+ addBtn.addEventListener('click', () => {
+ state.config.hotspots.push({ id: `hs_${Date.now()}`, label: 'New hotspot', position: [0, 1, 0], body: '' });
+ schedulePreview();
+ render();
+ });
+ header.appendChild(addBtn);
+ container.appendChild(header);
+
+ if (state.config.hotspots.length === 0) {
+ const empty = document.createElement('div');
+ empty.className = 'hotspot-empty';
+ empty.textContent = 'No hotspots yet. Click + Add hotspot to place a point of interest on your 3D model.';
+ container.appendChild(empty);
+ }
+
+ for (let i = 0; i < state.config.hotspots.length; i++) {
+ const hs = state.config.hotspots[i];
+ const row = document.createElement('div');
+ row.className = 'hotspot-row';
+
+ const rowHeader = document.createElement('div');
+ rowHeader.className = 'hotspot-row-header';
+ rowHeader.innerHTML = `<span class="hotspot-num">${i + 1}</span>`;
+
+ const delBtn = document.createElement('button');
+ delBtn.type = 'button';
+ delBtn.className = 'hotspot-del';
+ delBtn.setAttribute('aria-label', 'Remove hotspot');
+ delBtn.textContent = '×';
+ delBtn.addEventListener('click', () => {
+ state.config.hotspots.splice(i, 1);
+ schedulePreview();
+ render();
+ });
+ rowHeader.appendChild(delBtn);
+ row.appendChild(rowHeader);
+
+ const labelF = document.createElement('label');
+ labelF.className = 'field';
+ labelF.innerHTML = `<span>Label</span><input type="text" maxlength="120" placeholder="e.g. Head module" value="${attr(hs.label || '')}">`;
+ labelF.querySelector('input').addEventListener('input', (e) => {
+ state.config.hotspots[i].label = e.target.value;
+ schedulePreview();
+ });
+ row.appendChild(labelF);
+
+ const bodyF = document.createElement('label');
+ bodyF.className = 'field';
+ bodyF.innerHTML = `<span>Description (optional)</span><textarea maxlength="2000" rows="2" placeholder="Details shown when visitor clicks this hotspot">${escapeHtml(hs.body || '')}</textarea>`;
+ bodyF.querySelector('textarea').addEventListener('input', (e) => {
+ state.config.hotspots[i].body = e.target.value;
+ schedulePreview();
+ });
+ row.appendChild(bodyF);
+
+ const posRow = document.createElement('div');
+ posRow.className = 'hotspot-pos-row';
+ posRow.innerHTML = '<span class="hotspot-pos-label">Position (X Y Z)</span>';
+ const pos = hs.position || [0, 1, 0];
+ for (let axis = 0; axis < 3; axis++) {
+ const axisLabel = ['X', 'Y', 'Z'][axis];
+ const inp = document.createElement('input');
+ inp.type = 'number';
+ inp.step = '0.01';
+ inp.value = String(pos[axis] ?? 0);
+ inp.placeholder = axisLabel;
+ inp.setAttribute('aria-label', axisLabel);
+ inp.addEventListener('input', () => {
+ const v = parseFloat(inp.value);
+ if (!isNaN(v)) {
+ state.config.hotspots[i].position[axis] = v;
+ schedulePreview();
+ }
+ });
+ posRow.appendChild(inp);
+ }
+ row.appendChild(posRow);
+ container.appendChild(row);
+ }
+ }
+
+ render();
+ wrap.appendChild(container);
+}
+
function selectField(name, label, value, options) {
+ const valStr = String(value ?? '');
const f = document.createElement('label');
f.className = 'field';
const opts = options
.map(
([v, l]) =>
- `<option value="${attr(v)}"${v === value ? ' selected' : ''}>${escapeHtml(l)}</option>`,
+ `<option value="${attr(v)}"${v === valStr ? ' selected' : ''}>${escapeHtml(l)}</option>`,
)
.join('');
f.innerHTML = `<span>${escapeHtml(label)}</span><select name="${attr(name)}">${opts}</select>`;
f.querySelector('select').addEventListener('change', (e) => {
- state.config[name] = e.target.value;
+ // Preserve numeric values (e.g. refreshMs)
+ const raw = e.target.value;
+ const num = Number(raw);
+ state.config[name] = (raw !== '' && !isNaN(num) && String(num) === raw) ? num : raw;
schedulePreview();
});
return f;
}
+function colorField(name, label, value) {
+ const f = document.createElement('label');
+ f.className = 'field field--color-row';
+ f.innerHTML = `<span>${escapeHtml(label)}</span>
+ <div class="color-row">
+ <input type="color" name="${attr(name)}" value="${attr(String(value || '#000000'))}">
+ <input type="text" class="color-hex" maxlength="7" value="${attr(String(value || '#000000'))}" placeholder="#000000">
+ </div>`;
+ const colorIn = f.querySelector('input[type="color"]');
+ const hexIn = f.querySelector('.color-hex');
+ colorIn.addEventListener('input', () => {
+ hexIn.value = colorIn.value;
+ state.config[name] = colorIn.value;
+ schedulePreview();
+ });
+ hexIn.addEventListener('input', () => {
+ if (/^#[0-9a-fA-F]{6}$/.test(hexIn.value)) {
+ colorIn.value = hexIn.value;
+ state.config[name] = hexIn.value;
+ schedulePreview();
+ }
+ });
+ return f;
+}
+
+function fieldGroup(title, fields) {
+ const g = document.createElement('div');
+ g.className = 'field-group';
+ const h = document.createElement('div');
+ h.className = 'field-group-title';
+ h.textContent = title;
+ g.appendChild(h);
+ for (const f of fields) g.appendChild(f);
+ return g;
+}
+
function boolField(name, label, checked) {
const f = document.createElement('label');
f.className = 'field';
@@ -900,6 +1265,26 @@ function wireButtons() {
saveBtn.addEventListener('click', () => save({ generate: false }));
generateBtn.addEventListener('click', () => save({ generate: true }));
+ const deletBtn = $('#delete-widget-btn');
+ if (deletBtn) {
+ deletBtn.addEventListener('click', deleteWidget);
+ }
+
+ // Device frame switcher
+ for (const btn of document.querySelectorAll('.device-btn')) {
+ btn.addEventListener('click', () => {
+ for (const b of document.querySelectorAll('.device-btn')) {
+ b.setAttribute('aria-pressed', 'false');
+ b.classList.remove('active');
+ }
+ btn.setAttribute('aria-pressed', 'true');
+ btn.classList.add('active');
+ const previewFrame = $('#preview-frame');
+ previewFrame.classList.remove('device--mobile', 'device--tablet', 'device--desktop');
+ previewFrame.classList.add(`device--${btn.dataset.device}`);
+ });
+ }
+
$('#embed-modal-close').addEventListener('click', () => {
$('#embed-modal').hidden = true;
});
@@ -1125,6 +1510,7 @@ async function save({ generate }) {
// (it was disabled until the widget had a row to attach docs to).
if (wasNew && state.type === 'talking-agent') renderTypeFields();
+ updateSecondaryActions(widget.id);
if (generate) openEmbedModal(widget);
else toast('Saved', 'success');
} catch (err) {
diff --git a/public/style.css b/public/style.css
index c62485a96..7533ffcd4 100644
--- a/public/style.css
+++ b/public/style.css
@@ -2178,6 +2178,40 @@ body.deploy-page {
background: rgba(255, 255, 255, 0.02);
pointer-events: none;
}
+.explore-card--skel .explore-card-thumb,
+.explore-card--skel .explore-card-skel-name,
+.explore-card--skel .explore-card-skel-desc,
+.explore-card--skel .explore-card-skel-badges {
+ background: linear-gradient(
+ 90deg,
+ rgba(255, 255, 255, 0.04) 0%,
+ rgba(255, 255, 255, 0.08) 50%,
+ rgba(255, 255, 255, 0.04) 100%
+ );
+ background-size: 200% 100%;
+ animation: explore-shimmer 1.4s linear infinite;
+ color: transparent;
+ border-radius: 6px;
+}
+.explore-card--skel .explore-card-thumb {
+ aspect-ratio: 1 / 1;
+ border-radius: 0;
+}
+.explore-card--skel .explore-card-skel-name {
+ height: 14px;
+ width: 65%;
+ margin: 14px 16px 0;
+}
+.explore-card--skel .explore-card-skel-desc {
+ height: 28px;
+ width: 90%;
+ margin: 10px 16px 0;
+}
+.explore-card--skel .explore-card-skel-badges {
+ height: 18px;
+ width: 55%;
+ margin: 8px 16px 0;
+}
.explore-skel-img {
aspect-ratio: 1 / 1;
background: linear-gradient(
@@ -6786,29 +6820,6 @@ textarea.erc8004-code {
box-shadow: 0 0 10px #3b82f6;
}
-.explore-stats {
- display: flex;
- justify-content: center;
- gap: var(--space-xl);
- margin-top: var(--space-xl);
- flex-wrap: wrap;
-}
-.explore-stat {
- text-align: center;
-}
-.explore-stat-value {
- font-family: 'Space Grotesk', system-ui, sans-serif;
- font-size: 28px;
- font-weight: 700;
- color: #fff;
-}
-.explore-stat-label {
- font-size: 11px;
- letter-spacing: 0.08em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.45);
- margin-top: 2px;
-}
.explore-controls {
display: flex;
@@ -6913,6 +6924,34 @@ textarea.erc8004-code {
font-size: 13px;
}
+.explore-sort-select {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ color: rgba(255, 255, 255, 0.55);
+ font-size: 13px;
+}
+.explore-sort-select select {
+ padding: 8px 10px;
+ background: rgba(0, 0, 0, 0.4);
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: var(--radius-sm);
+ color: #fff;
+ font: inherit;
+ font-size: 13px;
+}
+
+.explore-sentinel {
+ height: 1px;
+ width: 100%;
+}
+
+.explore-card-views {
+ font-size: 11px;
+ color: rgba(255, 255, 255, 0.45);
+ font-variant-numeric: tabular-nums;
+}
+
.explore-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
diff --git a/scripts/test-identity-modal.mjs b/scripts/test-identity-modal.mjs
new file mode 100644
index 000000000..b41f72f13
--- /dev/null
+++ b/scripts/test-identity-modal.mjs
@@ -0,0 +1,179 @@
+/**
+ * Puppeteer test: stages a dummy avatar in IndexedDB, opens /create-review,
+ * clicks the On-Chain Identity tile, and screenshots the modal at desktop
+ * and mobile viewports.
+ */
+import puppeteer from 'puppeteer';
+
+const BASE = process.env.BASE_URL || 'http://localhost:5555';
+
+async function stageGuestAvatar(page) {
+ await page.evaluate(() => {
+ return new Promise((resolve, reject) => {
+ const DB_NAME = 'three-ws-guest';
+ const STORE = 'avatars';
+ const KEY = 'pending';
+ const META_KEY = '3dagent:guest-avatar-meta';
+
+ const req = indexedDB.open(DB_NAME, 1);
+ req.onupgradeneeded = () => {
+ const db = req.result;
+ if (!db.objectStoreNames.contains(STORE)) db.createObjectStore(STORE);
+ };
+ req.onsuccess = () => {
+ const db = req.result;
+ // Minimal valid GLB (empty glTF 2.0 binary container)
+ const header = new ArrayBuffer(12 + 8 + 17);
+ const view = new DataView(header);
+ // GLB magic
+ view.setUint32(0, 0x46546C67, true);
+ view.setUint32(4, 2, true); // version 2
+ view.setUint32(8, header.byteLength, true); // total length
+ // JSON chunk
+ view.setUint32(12, 17, true); // chunk length
+ view.setUint32(16, 0x4E4F534A, true); // JSON type
+ const json = '{"asset":{"version":"2.0"}}';
+ // We need exactly 17 bytes of JSON padded. Let's redo this properly.
+ const jsonStr = '{"asset":{"version":"2.0"}}';
+ const jsonBytes = new TextEncoder().encode(jsonStr);
+ const jsonPadded = jsonBytes.byteLength + ((4 - jsonBytes.byteLength % 4) % 4);
+ const totalLen = 12 + 8 + jsonPadded;
+ const buf = new ArrayBuffer(totalLen);
+ const dv = new DataView(buf);
+ dv.setUint32(0, 0x46546C67, true);
+ dv.setUint32(4, 2, true);
+ dv.setUint32(8, totalLen, true);
+ dv.setUint32(12, jsonPadded, true);
+ dv.setUint32(16, 0x4E4F534A, true);
+ const arr = new Uint8Array(buf);
+ arr.set(jsonBytes, 20);
+ // Pad with spaces (0x20)
+ for (let i = 20 + jsonBytes.byteLength; i < 20 + jsonPadded; i++) arr[i] = 0x20;
+
+ const blob = new Blob([buf], { type: 'model/gltf-binary' });
+ const id = 'test-' + Math.random().toString(36).slice(2, 8);
+ const record = {
+ blob,
+ meta: { source: 'three-ws-selfie', name: 'Test Avatar' },
+ id,
+ name: 'Test Avatar',
+ size: blob.size,
+ createdAt: Date.now(),
+ };
+
+ const tx = db.transaction(STORE, 'readwrite');
+ const store = tx.objectStore(STORE);
+ store.put(record, KEY);
+ tx.oncomplete = () => {
+ localStorage.setItem(META_KEY, JSON.stringify({
+ id, name: 'Test Avatar', size: blob.size,
+ createdAt: Date.now(), source: 'three-ws-selfie',
+ }));
+ db.close();
+ resolve();
+ };
+ tx.onerror = () => reject(tx.error);
+ };
+ req.onerror = () => reject(req.error);
+ });
+ });
+}
+
+async function run() {
+ const browser = await puppeteer.launch({
+ headless: true,
+ args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-gpu'],
+ });
+
+ try {
+ const page = await browser.newPage();
+
+ page.on('pageerror', (err) => console.error('PAGE ERROR:', err.message));
+
+ // Warm Vite's dep optimizer by hitting the homepage first
+ await page.goto(BASE, { waitUntil: 'networkidle2', timeout: 20000 });
+ // Let Vite finish any dependency re-optimization (triggers 504 + reload)
+ await new Promise(r => setTimeout(r, 5000));
+
+ // Stage the avatar
+ await stageGuestAvatar(page);
+ console.log('Staged dummy avatar in IndexedDB');
+
+ // ── Desktop viewport ──
+ await page.setViewport({ width: 1280, height: 900 });
+ // Navigate with retry — Vite may force a reload
+ for (let attempt = 0; attempt < 3; attempt++) {
+ try {
+ await page.goto(BASE + '/create-review', { waitUntil: 'networkidle2', timeout: 15000 });
+ break;
+ } catch (e) {
+ console.log(`Navigation attempt ${attempt + 1} failed, retrying...`);
+ await new Promise(r => setTimeout(r, 2000));
+ }
+ }
+ // Wait for page JS to run (3D viewer will fail in headless — that's fine)
+ await new Promise(r => setTimeout(r, 3000));
+
+ // Click the identity tile via JS (avoids visibility/scroll issues)
+ const found = await page.evaluate(() => {
+ const tile = document.querySelector('.feature-tile[data-feature="identity"]');
+ if (!tile) return false;
+ tile.click();
+ return true;
+ });
+ if (!found) {
+ console.error('Could not find identity tile');
+ await page.screenshot({ path: '/tmp/identity-debug.png', fullPage: true });
+ console.log('Debug screenshot saved to /tmp/identity-debug.png');
+ return;
+ }
+ await new Promise(r => setTimeout(r, 3000));
+
+ await page.screenshot({ path: '/tmp/identity-desktop.png', fullPage: false });
+ console.log('Desktop screenshot: /tmp/identity-desktop.png');
+
+ // Check for console errors
+ page.on('pageerror', (err) => console.error('PAGE ERROR:', err.message));
+
+ // Close modal
+ const closeBtn = await page.$('.fm-close');
+ if (closeBtn) await closeBtn.click();
+ await new Promise(r => setTimeout(r, 300));
+
+ // ── Mobile viewport ──
+ await page.setViewport({ width: 390, height: 844 });
+ for (let attempt = 0; attempt < 3; attempt++) {
+ try {
+ await page.goto(BASE + '/create-review', { waitUntil: 'networkidle2', timeout: 15000 });
+ break;
+ } catch (e) {
+ console.log(`Mobile nav attempt ${attempt + 1} failed, retrying...`);
+ await new Promise(r => setTimeout(r, 2000));
+ }
+ }
+ await new Promise(r => setTimeout(r, 3000));
+
+ await page.evaluate(() => {
+ const tile = document.querySelector('.feature-tile[data-feature="identity"]');
+ if (tile) tile.click();
+ });
+ await new Promise(r => setTimeout(r, 3000));
+ await page.screenshot({ path: '/tmp/identity-mobile.png', fullPage: false });
+ console.log('Mobile screenshot: /tmp/identity-mobile.png');
+
+ // Grab any JS errors from the console
+ const logs = [];
+ page.on('console', (msg) => {
+ if (msg.type() === 'error') logs.push(msg.text());
+ });
+
+ console.log('Done. Check /tmp/identity-desktop.png and /tmp/identity-mobile.png');
+ } finally {
+ await browser.close();
+ }
+}
+
+run().catch((err) => {
+ console.error(err);
+ process.exit(1);
+});
diff --git a/src/avatar-studio-demo.js b/src/avatar-studio-demo.js
index 2f7dc2368..4615229dd 100644
--- a/src/avatar-studio-demo.js
+++ b/src/avatar-studio-demo.js
@@ -15,8 +15,6 @@ import {
applyMorphsToRoot,
renderSculptPanel,
} from './avatar-sculpt.js';
-import { GLTFExporter } from 'three/addons/exporters/GLTFExporter.js';
-
const BASE_GLB = '/avatars/default.glb';
const PRESETS_URL = '/accessories/presets.json';
@@ -149,6 +147,7 @@ function wireExport() {
btn.disabled = true;
try {
+ const { GLTFExporter } = await import('three/addons/exporters/GLTFExporter.js');
const exporter = new GLTFExporter();
const glb = await new Promise((resolve, reject) => {
exporter.parse(
diff --git a/src/create-review-features.js b/src/create-review-features.js
index 1becc0beb..ded8deb15 100644
--- a/src/create-review-features.js
+++ b/src/create-review-features.js
@@ -969,12 +969,12 @@ export function openAnalyticsModal() {
</div>
<div class="fm-activity-feed" aria-label="Sample activity feed">
<div class="fm-activity-item">
- <span class="fm-activity-dot" style="background:#28c840"></span>
+ <span class="fm-activity-dot" style="background:var(--text)"></span>
<span class="fm-activity-text">Paid API call from <code>9mR…vT8p</code> — $0.05 USDC</span>
<span class="fm-activity-time">2m ago</span>
</div>
<div class="fm-activity-item">
- <span class="fm-activity-dot" style="background:#6a5cff"></span>
+ <span class="fm-activity-dot" style="background:var(--muted)"></span>
<span class="fm-activity-text">Widget embed loaded on <code>docs.example.com</code></span>
<span class="fm-activity-time">8m ago</span>
</div>
diff --git a/src/dashboard-next/pages/agents.js b/src/dashboard-next/pages/agents.js
index b50ef474f..4751762b9 100644
--- a/src/dashboard-next/pages/agents.js
+++ b/src/dashboard-next/pages/agents.js
@@ -205,20 +205,20 @@ function agentCard(a, avatars) {
<div class="dn-agent-actions">
<div class="dn-agent-actions-primary">
- ${a.avatar_id ? `<a class="dn-btn primary" href="/agent-next?id=${encodeURIComponent(a.avatar_id)}" target="_blank" rel="noopener" style="padding:5px 10px;font-size:12px">Live page ↗</a>` : ''}
+ ${a.avatar_id ? `<a class="dn-btn" href="/agent-next?id=${encodeURIComponent(a.avatar_id)}" target="_blank" rel="noopener" style="padding:5px 10px;font-size:12px">Live page ↗</a>` : ''}
<a class="dn-btn" href="/app?agent=${encodeURIComponent(a.id)}" target="_blank" rel="noopener" style="padding:5px 10px;font-size:12px">3D Studio ↗</a>
</div>
<div class="dn-agent-actions-secondary">
<button class="dn-btn ghost" data-action="edit-agent" data-id="${esc(a.id)}" style="padding:5px 10px;font-size:12px">Edit</button>
<button class="dn-btn ghost" data-action="persona-agent" data-id="${esc(a.id)}" style="padding:5px 10px;font-size:12px">Persona</button>
<button class="dn-btn ghost" data-action="view-reputation" data-id="${esc(a.id)}" style="padding:5px 10px;font-size:12px">Reputation</button>
- <button class="dn-btn danger" data-action="delete-agent" data-id="${esc(a.id)}" style="padding:5px 10px;font-size:12px">Delete</button>
+ <button class="dn-btn ghost danger" data-action="delete-agent" data-id="${esc(a.id)}" style="padding:5px 10px;font-size:12px">Delete</button>
</div>
</div>
${onchain || pumpMint ? `
<div class="dn-agent-links">
- ${onchain ? `<a href="/onchain?agent=${encodeURIComponent(a.id)}" style="font-size:11.5px;color:var(--nxt-accent)">ERC-8004 registry ↗</a>` : ''}
+ ${onchain ? `<a href="/onchain?agent=${encodeURIComponent(a.id)}" style="font-size:11.5px;color:var(--nxt-ink-dim)">ERC-8004 registry ↗</a>` : ''}
${pumpMint ? `<a href="https://pump.fun/coin/${encodeURIComponent(pumpMint)}" target="_blank" rel="noopener" style="font-size:11.5px;color:#a8adb5">View on Pump.fun ↗</a>` : ''}
</div>
` : ''}
@@ -581,7 +581,7 @@ function openPersonaModal(host, agent, allAgents, avatars) {
? { handle }
: { agent_id: agent.id, username: handle };
await post(endpoint, body);
- seedStatus.style.color = 'var(--nxt-accent)';
+ seedStatus.style.color = 'var(--nxt-ink)';
seedStatus.textContent = `Memory seeded from ${action.replace('seed-', '')}.`;
} catch (err) {
seedStatus.style.color = 'var(--nxt-danger)';
diff --git a/src/dashboard-next/pages/avatars.js b/src/dashboard-next/pages/avatars.js
index b71ffe98d..399a3dcf9 100644
--- a/src/dashboard-next/pages/avatars.js
+++ b/src/dashboard-next/pages/avatars.js
@@ -245,6 +245,10 @@ function avatarCard(root, a) {
el.innerHTML = `
<div class="dn-av-thumb">
<threews-avatar avatar-id="${esc(a.id)}" hide-chrome bg="transparent"></threews-avatar>
+ <div class="dn-av-hover-actions">
+ <a class="dn-av-hover-btn" href="/agent-next?id=${encodeURIComponent(a.id)}" target="_blank" rel="noopener">Live page</a>
+ <a class="dn-av-hover-btn" href="/app#avatar=${encodeURIComponent(a.id)}">3D Studio</a>
+ </div>
<button type="button" class="dn-av-more" data-more aria-haspopup="menu" aria-label="More actions">
<svg viewBox="0 0 16 16" width="14" height="14" fill="currentColor" aria-hidden="true"><circle cx="8" cy="3" r="1.4"/><circle cx="8" cy="8" r="1.4"/><circle cx="8" cy="13" r="1.4"/></svg>
</button>
@@ -691,7 +695,7 @@ function injectStyles() {
background: linear-gradient(180deg, rgba(28, 29, 39, 0.96), rgba(20, 21, 28, 0.96));
border: 1px solid var(--nxt-stroke-strong);
border-radius: var(--nxt-radius-sm);
- box-shadow: 0 12px 36px rgba(0,0,0,0.45), 0 0 0 1px var(--nxt-accent-soft);
+ box-shadow: 0 12px 36px rgba(0,0,0,0.45);
padding: 6px;
z-index: 40;
backdrop-filter: blur(20px);
@@ -704,7 +708,7 @@ function injectStyles() {
color: var(--nxt-ink);
transition: background 0.12s ease;
}
- .dn-av-new-pop a:hover { background: var(--nxt-accent-soft); }
+ .dn-av-new-pop a:hover { background: rgba(255,255,255,0.06); }
.dn-av-filters {
display: flex;
@@ -726,7 +730,7 @@ function injectStyles() {
transition: border-color 0.12s ease, background 0.12s ease;
}
.dn-av-search:focus-within {
- border-color: var(--nxt-accent);
+ border-color: var(--nxt-stroke-strong);
background: rgba(255,255,255,0.06);
}
.dn-av-search input {
@@ -753,8 +757,8 @@ function injectStyles() {
}
.dn-av-chip:hover { color: var(--nxt-ink); background: rgba(255,255,255,0.04); }
.dn-av-chip.active {
- background: var(--nxt-accent-soft);
- border-color: var(--nxt-accent);
+ background: rgba(255,255,255,0.08);
+ border-color: var(--nxt-stroke-strong);
color: var(--nxt-ink);
}
@@ -802,7 +806,7 @@ function injectStyles() {
}
.dn-avatar-card:hover {
transform: scale(1.015);
- box-shadow: 0 0 0 1px var(--nxt-accent-soft), 0 8px 24px rgba(0,0,0,0.4);
+ box-shadow: 0 8px 24px rgba(0,0,0,0.4);
border-color: var(--nxt-stroke-strong);
}
.dn-av-skeleton-card { padding: 10px; }
@@ -844,6 +848,44 @@ function injectStyles() {
.dn-av-more:focus-visible { opacity: 1; }
.dn-av-more:hover { background: var(--nxt-bg-3); border-color: var(--nxt-stroke-strong); }
+ .dn-av-hover-actions {
+ position: absolute;
+ left: 0; right: 0; bottom: 0;
+ display: flex;
+ gap: 6px;
+ justify-content: center;
+ padding: 10px 12px 12px;
+ background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 100%);
+ opacity: 0;
+ transform: translateY(4px);
+ transition: opacity 0.18s ease, transform 0.18s ease;
+ pointer-events: none;
+ z-index: 2;
+ }
+ .dn-avatar-card:hover .dn-av-hover-actions {
+ opacity: 1;
+ transform: translateY(0);
+ pointer-events: auto;
+ }
+ .dn-av-hover-btn {
+ padding: 5px 12px;
+ font-size: 12px;
+ font-weight: 500;
+ color: var(--nxt-ink);
+ background: rgba(14, 15, 22, 0.7);
+ border: 1px solid var(--nxt-stroke);
+ border-radius: 8px;
+ backdrop-filter: blur(8px);
+ -webkit-backdrop-filter: blur(8px);
+ cursor: pointer;
+ transition: background 0.12s ease, border-color 0.12s ease;
+ white-space: nowrap;
+ }
+ .dn-av-hover-btn:hover {
+ background: rgba(14, 15, 22, 0.9);
+ border-color: var(--nxt-stroke-strong);
+ }
+
.dn-av-body { padding: 10px 4px 4px; }
.dn-av-name-row {
display: flex;
@@ -862,7 +904,7 @@ function injectStyles() {
white-space: nowrap;
flex: 1;
}
- .dn-av-name:hover { color: var(--nxt-accent-strong); }
+ .dn-av-name:hover { color: var(--nxt-ink); opacity: 0.85; }
.dn-av-pencil {
background: transparent;
border: 0;
@@ -878,7 +920,7 @@ function injectStyles() {
.dn-av-name-input {
flex: 1;
background: rgba(255,255,255,0.06);
- border: 1px solid var(--nxt-accent);
+ border: 1px solid var(--nxt-stroke-strong);
color: var(--nxt-ink);
border-radius: 6px;
padding: 4px 8px;
@@ -904,7 +946,7 @@ function injectStyles() {
background: linear-gradient(180deg, rgba(28, 29, 39, 0.98), rgba(20, 21, 28, 0.98));
border: 1px solid var(--nxt-stroke-strong);
border-radius: var(--nxt-radius-sm);
- box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 0 0 1px var(--nxt-accent-soft);
+ box-shadow: 0 16px 40px rgba(0,0,0,0.55);
padding: 5px;
z-index: 200;
opacity: 0;
@@ -928,8 +970,8 @@ function injectStyles() {
cursor: pointer;
gap: 8px;
}
- .dn-av-menu-item:hover { background: var(--nxt-accent-soft); }
- .dn-av-menu-item.active { color: var(--nxt-accent-strong); }
+ .dn-av-menu-item:hover { background: rgba(255,255,255,0.06); }
+ .dn-av-menu-item.active { color: var(--nxt-ink); font-weight: 500; }
.dn-av-menu-item.danger { color: var(--nxt-danger); }
.dn-av-menu-item.danger:hover { background: rgba(150,155,163,0.12); }
@@ -998,6 +1040,12 @@ function injectStyles() {
.dn-av-new-wrap { align-self: flex-start; }
.dn-av-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.dn-av-thumb { height: 220px; }
+ .dn-av-hover-actions {
+ opacity: 1;
+ transform: translateY(0);
+ pointer-events: auto;
+ }
+ .dn-av-hover-btn { font-size: 11px; padding: 4px 9px; }
}
`;
document.head.appendChild(css);
diff --git a/src/dashboard-next/pages/home.js b/src/dashboard-next/pages/home.js
index fd4809ed6..3543f19f1 100644
--- a/src/dashboard-next/pages/home.js
+++ b/src/dashboard-next/pages/home.js
@@ -525,8 +525,8 @@ function sparkSvg(series) {
const area = `${pad},${h - pad} ${line} ${(w - pad).toFixed(2)},${h - pad}`;
return `
<svg viewBox="0 0 ${w} ${h}" preserveAspectRatio="none" width="100%" height="${h}">
- <polygon points="${area}" fill="var(--nxt-accent)" fill-opacity="0.12"/>
- <polyline points="${line}" fill="none" stroke="var(--nxt-accent)" stroke-width="1.6" stroke-linejoin="round" stroke-linecap="round"/>
+ <polygon points="${area}" fill="var(--nxt-ink-dim)" fill-opacity="0.10"/>
+ <polyline points="${line}" fill="none" stroke="var(--nxt-ink-dim)" stroke-width="1.6" stroke-linejoin="round" stroke-linecap="round"/>
</svg>
`;
}
@@ -660,11 +660,12 @@ function injectStyles() {
cursor: pointer;
transition: border-color 0.18s ease, background 0.18s ease;
}
- .dnx-create-cta:hover { border-color: var(--nxt-accent); background: var(--nxt-accent-soft); }
+ .dnx-create-cta:hover { border-color: var(--nxt-stroke-strong); background: rgba(255,255,255,0.03); }
.dnx-create-icon {
width: 56px; height: 56px; border-radius: 14px;
- background: var(--nxt-accent-soft);
- color: var(--nxt-accent-strong);
+ background: rgba(255,255,255,0.05);
+ border: 1px solid var(--nxt-stroke);
+ color: var(--nxt-ink-dim);
display: grid; place-items: center;
font-size: 28px; font-weight: 500;
flex-shrink: 0;
@@ -714,11 +715,18 @@ function injectStyles() {
.dnx-quick-card:hover { border-color: var(--nxt-stroke-strong); transform: translateY(-2px); }
.dnx-quick-icon {
width: 40px; height: 40px; border-radius: 10px;
- background: var(--nxt-accent-soft);
- color: var(--nxt-accent-strong);
+ background: rgba(255,255,255,0.05);
+ border: 1px solid var(--nxt-stroke);
+ color: var(--nxt-ink-dim);
display: grid; place-items: center;
font-size: 18px; font-weight: 600;
flex-shrink: 0;
+ transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
+ }
+ .dnx-quick-card:hover .dnx-quick-icon {
+ background: rgba(255,255,255,0.08);
+ border-color: var(--nxt-stroke-strong);
+ color: var(--nxt-ink);
}
.dnx-activity { min-width: 0; position: sticky; top: calc(var(--dn-topbar-h) + 16px); }
@@ -764,7 +772,7 @@ function injectStyles() {
}
.dnx-ob-fill {
height: 100%; border-radius: 4px;
- background: var(--nxt-accent);
+ background: var(--nxt-ink-dim);
transition: width 0.4s ease;
}
.dnx-ob-steps {
@@ -782,14 +790,14 @@ function injectStyles() {
width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
display: grid; place-items: center;
font-size: 11px; font-weight: 600;
- background: var(--nxt-accent-soft);
- color: var(--nxt-accent-strong);
- border: 1px solid rgba(200,202,208,0.2);
+ background: rgba(255,255,255,0.06);
+ color: var(--nxt-ink-dim);
+ border: 1px solid var(--nxt-stroke);
}
.dnx-ob-step.is-done .dnx-ob-num {
- background: rgba(52,199,89,0.12);
- color: #34c759;
- border-color: rgba(52,199,89,0.25);
+ background: rgba(255,255,255,0.08);
+ color: var(--nxt-ink);
+ border-color: var(--nxt-stroke-strong);
}
.dnx-ob-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dnx-ob-label { font-size: 13.5px; font-weight: 500; color: var(--nxt-ink); }
diff --git a/src/marketplace.js b/src/marketplace.js
index 6a5b33037..9b4cc13b9 100644
--- a/src/marketplace.js
+++ b/src/marketplace.js
@@ -2659,7 +2659,7 @@ function renderAvatarCard(a, spotlight = false) {
tone-mapping="aces"
loading="lazy"
></model-viewer>`
- : `<div class="thumb-fallback">${escapeHtml(initial(a.name))}</div>`;
+ : `<div class="thumb-fallback"><span class="thumb-fallback-initial">${escapeHtml(initial(a.name))}</span></div>`;
const isSpotlight = spotlight || a.featured;
const spotlightBadge = isSpotlight ? '<span class="card-featured-badge" title="Featured">⭐</span>' : '';
const bmActive = getAvatarBookmarks().has(a.avatarId || '');
@@ -2761,7 +2761,7 @@ function renderOnchainCard(a) {
loading="lazy"
reveal="auto"
></model-viewer>`
- : `<div class="thumb-fallback">${escapeHtml(initial(a.name))}</div>`;
+ : `<div class="thumb-fallback"><span class="thumb-fallback-initial">${escapeHtml(initial(a.name))}</span></div>`;
return `<div class="market-card-avatar onchain" data-onchain-href="${escapeHtml(href)}">
<div class="thumb">${preview}</div>
<div class="body">
diff --git a/tests/api/lib-glb-inspect.test.js b/tests/api/lib-glb-inspect.test.js
index 287a78efb..89a83f5ff 100644
--- a/tests/api/lib-glb-inspect.test.js
+++ b/tests/api/lib-glb-inspect.test.js
@@ -54,12 +54,19 @@ describe('glb-inspect', () => {
expect(isValidGlbHeader(Buffer.alloc(8))).toBe(false);
});
- it('rejects a header that lies about total length', () => {
+ it('rejects a header that claims a length larger than the buffer', () => {
const buf = makeGlb({ asset: { version: '2.0' } });
buf.writeUInt32LE(99999, 8);
expect(isValidGlbHeader(buf)).toBe(false);
});
+ it('accepts trailing bytes beyond the declared GLB length', () => {
+ const glb = makeGlb({ asset: { version: '2.0' } });
+ const padded = Buffer.concat([glb, Buffer.alloc(1024)]);
+ padded.writeUInt32LE(glb.length, 8);
+ expect(isValidGlbHeader(padded)).toBe(true);
+ });
+
it('rejects glTF version 1', () => {
const buf = makeGlb({ asset: { version: '1.0' } });
buf.writeUInt32LE(1, 4);