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.

homepage fixes

nirholas32b507c2c110
diff --git a/home.html b/home.html
index cc8130694..e5110df0f 100644
--- a/home.html
+++ b/home.html
@@ -750,8 +750,8 @@
</main>
<script>
- // Scroll reveal — use .home-parallax as root so IntersectionObserver
- // fires against the perspective scroll container, not the window.
+ // Scroll reveal — use viewport (root: null) so IntersectionObserver
+ // avoids the perspective transform on .home-parallax breaking intersection math.
(function () {
const root = document.querySelector('.home-parallax');
const els = document.querySelectorAll('.h-reveal');
@@ -764,7 +764,7 @@
}
});
},
- { root, threshold: 0.12, rootMargin: '0px 0px -50px 0px' },
+ { root: null, threshold: 0.12, rootMargin: '0px 0px -50px 0px' },
);
els.forEach((el) => {
const siblings = Array.from(el.parentElement.querySelectorAll('.h-reveal'));
diff --git a/src/marketplace.js b/src/marketplace.js
index 86540dc7e..8e271d54f 100644
--- a/src/marketplace.js
+++ b/src/marketplace.js
@@ -88,7 +88,7 @@ window.addEventListener('popstate', render);
async function loadCategories() {
try {
- const r = await fetch(`${API}/categories`);
+ const r = await fetch(`${API}/marketplace/categories`);
const j = await r.json();
renderCategories(j.data);
} catch (err) {
@@ -152,7 +152,7 @@ async function loadList(reset = false) {
els.grid.innerHTML = '<div class="market-empty">Loading…</div>';
}
try {
- const url = new URL(`${API}/marketplace`, location.origin);
+ const url = new URL(`${API}/marketplace/agents`, location.origin);
if (state.category) url.searchParams.set('category', state.category);
if (state.q) url.searchParams.set('q', state.q);
if (state.sort) url.searchParams.set('sort', state.sort);
@@ -549,7 +549,7 @@ function bindSubmit() {
try {
errorEl.hidden = true;
- const r = await fetch(`${API}/agents`, {
+ const r = await fetch(`${API}/marketplace/agents`, {
method: 'POST',
headers: { 'content-type': 'application/json' },
credentials: 'include',