Skip to content

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

fix x and y

nirholasf61750ac3fea
diff --git a/create.html b/create.html
index 8b011f488..6be73d73a 100644
--- a/create.html
+++ b/create.html
@@ -408,6 +408,7 @@
}
}
</style>
+ <link rel="stylesheet" href="/nav.css" />
<link rel="stylesheet" href="/footer.css" />
<script defer src="/footer-newsletter.js"></script>
<style>
diff --git a/marketplace.html b/marketplace.html
index 7e16bed2c..5923101b3 100644
--- a/marketplace.html
+++ b/marketplace.html
@@ -130,37 +130,6 @@
<script src="https://unpkg.com/@solana/[email protected]/lib/index.iife.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcode/1.5.3/qrcode.min.js"></script>
- <script>
- const { WalletAdapterNetwork } = solanaWalletAdapter;
- const { ConnectionProvider, WalletProvider } = solanaWalletAdapterReact;
- const { WalletModalProvider, WalletMultiButton } = solanaWalletAdapterReactUi;
- const {
- GlowWalletAdapter,
- PhantomWalletAdapter,
- SlopeWalletAdapter,
- SolflareWalletAdapter,
- TorusWalletAdapter,
- } = solanaWalletAdapterWallets;
- const { clusterApiUrl } = solanaWeb3;
-
- const network = WalletAdapterNetwork.Devnet;
- const endpoint = clusterApiUrl(network);
-
- const wallets = [
- new PhantomWalletAdapter(),
- new SolflareWalletAdapter(),
- ];
-
- // You can now use the wallet adapter components in your vanilla JS app
- // For example, you can render the WalletMultiButton into a container
- const container = document.querySelector('.wallet-adapter-button-container');
- const button = WalletMultiButton();
- // This is a simplified example. In a real app, you would need to
- // use a library like React or Svelte to render the button.
- // For now, we will just add the button to the DOM.
- // container.appendChild(button);
-
- </script>
</head>
<body class="market-page">
<aside class="market-sidebar" id="market-sidebar">
diff --git a/public/home.css b/public/home.css
index e452bf0e0..1143d264b 100644
--- a/public/home.css
+++ b/public/home.css
@@ -1701,7 +1701,6 @@
.home-page a:focus-visible,
.home-page button:focus-visible,
-.home-nav a:focus-visible,
.h-btn-primary:focus-visible,
.h-btn-ghost:focus-visible,
.h-feature-link:focus-visible,
@@ -1715,220 +1714,6 @@
width: 100%;
}
-/* ── Nav ── */
-
-.home-nav {
- margin-left: auto;
- display: flex;
- align-items: center;
- gap: var(--space-lg);
- -webkit-app-region: no-drag;
-}
-
-.home-nav a {
- color: rgba(255, 255, 255, 0.6);
- text-decoration: none;
- font-size: 0.92rem;
- font-weight: 500;
- letter-spacing: 0.005em;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- transition: color 0.2s ease;
-}
-
-.home-nav a:hover {
- color: #fff;
-}
-
-.home-nav .nav-cta {
- padding: 0.5rem 1.2rem;
- background: linear-gradient(135deg, #ffd76a 0%, #ff8f4d 100%);
- color: #1a0f08;
- border-radius: 6px;
- font-weight: 600;
- font-size: 0.9rem;
- box-shadow: 0 4px 18px -6px rgba(255, 143, 77, 0.6);
- transition:
- transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1),
- box-shadow 0.25s ease;
-}
-
-.home-nav .nav-cta:hover {
- transform: translateY(-1px) scale(1.03);
- box-shadow: 0 8px 24px -6px rgba(255, 143, 77, 0.8);
- color: #1a0f08;
-}
-
-.home-nav .nav-user {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- padding: 4px 10px;
- border-radius: 20px;
- border: 1px solid rgba(255, 255, 255, 0.1);
- background: rgba(255, 255, 255, 0.04);
- font-size: 0.85rem;
- color: rgba(255, 255, 255, 0.55);
- max-width: 140px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.home-nav .nav-user::before {
- content: '';
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: #4ade80;
- flex-shrink: 0;
-}
-
-.home-nav .nav-user:hover {
- color: rgba(255, 255, 255, 0.85);
- border-color: rgba(255, 255, 255, 0.2);
- background: rgba(255, 255, 255, 0.07);
-}
-
-/* ── Dropdown nav ── */
-.home-nav .nav-root,
-.home-nav .nav-menu {
- list-style: none !important;
- margin: 0;
- padding: 0;
-}
-
-.home-nav .nav-root {
- display: flex !important;
- align-items: center;
- gap: var(--space-lg);
-}
-
-.home-nav .nav-item {
- position: relative;
- display: block;
-}
-
-.home-nav .nav-item[hidden] {
- display: none !important;
-}
-
-.home-nav .nav-menu li {
- display: block;
- margin: 0;
- padding: 0;
-}
-
-.home-nav .nav-trigger {
- display: inline-flex;
- align-items: center;
- gap: 4px;
- background: none;
- border: 0;
- padding: 0;
- cursor: pointer;
- color: rgba(255, 255, 255, 0.6);
- font: inherit;
- font-size: 0.92rem;
- font-weight: 500;
- letter-spacing: 0.005em;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- transition: color 0.2s ease;
-}
-
-.home-nav .nav-trigger:hover,
-.home-nav .nav-trigger[aria-expanded='true'] {
- color: #fff;
-}
-
-.home-nav .nav-caret {
- font-size: 0.7em;
- opacity: 0.7;
- transition: transform 0.2s ease;
-}
-
-.home-nav .nav-trigger[aria-expanded='true'] .nav-caret {
- transform: rotate(180deg);
-}
-
-.home-nav .nav-menu {
- position: absolute;
- top: calc(100% + 14px);
- left: -12px;
- min-width: 240px;
- margin: 0;
- padding: 8px;
- list-style: none;
- background: rgba(14, 12, 22, 0.92);
- backdrop-filter: blur(18px) saturate(140%);
- -webkit-backdrop-filter: blur(18px) saturate(140%);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: 12px;
- box-shadow:
- 0 20px 40px -12px rgba(0, 0, 0, 0.6),
- 0 4px 12px -4px rgba(0, 0, 0, 0.5);
- opacity: 0;
- transform: translateY(-6px);
- pointer-events: none;
- transition:
- opacity 0.18s ease,
- transform 0.18s ease;
- z-index: 1000;
-}
-
-.home-nav .nav-trigger[aria-expanded='true'] + .nav-menu {
- opacity: 1;
- transform: translateY(0);
- pointer-events: auto;
-}
-
-.home-nav .nav-menu a {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 10px 12px;
- border-radius: 8px;
- color: rgba(255, 255, 255, 0.85);
- text-decoration: none;
- transition:
- background 0.15s ease,
- color 0.15s ease;
-}
-
-.home-nav .nav-menu a:hover,
-.home-nav .nav-menu a:focus-visible {
- background: rgba(255, 255, 255, 0.06);
- color: #fff;
-}
-
-.home-nav .nav-mi-title {
- font-size: 0.92rem;
- font-weight: 500;
- letter-spacing: 0.005em;
-}
-
-.home-nav .nav-mi-sub {
- font-size: 0.78rem;
- color: rgba(255, 255, 255, 0.45);
- font-weight: 400;
-}
-
-.home-nav .nav-menu a:hover .nav-mi-sub,
-.home-nav .nav-menu a:focus-visible .nav-mi-sub {
- color: rgba(255, 255, 255, 0.65);
-}
-
-@media (max-width: 900px) {
- .home-nav .nav-root {
- gap: var(--space-md);
- flex-wrap: wrap;
- justify-content: flex-end;
- }
- .home-nav .nav-menu {
- left: auto;
- right: 0;
- }
-}
-
/* ── Scroll reveal ── */
.h-reveal {
diff --git a/src/marketplace.js b/src/marketplace.js
index ef6d964e0..86540dc7e 100644
--- a/src/marketplace.js
+++ b/src/marketplace.js
@@ -255,15 +255,14 @@ async function loadDetail(id) {
detailState = { agent: agent, bookmarked: false };
renderDetail(agent, false);
- // Fetch and render purchased skills
try {
const res = await fetch(`/api/users/me/agent-skills/${id}`);
- const { skills: purchasedSkills } = await res.json();
- renderSkills(agent, purchasedSkills);
- } catch (error) {
- console.error('Failed to load purchased skills', error);
- renderSkills(agent, []);
+ const { skills: agentSkills } = await res.json();
+ unlockedSkills = new Set(agentSkills || []);
+ } catch {
+ unlockedSkills = new Set();
}
+ renderSkillList(agent);
} else {
renderDetailError('Agent not found');