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: enhance navigation structure and visibility for home page links

nirholasbddd2e68178b
diff --git a/home.css b/home.css
index 03cf861dc..247162fb9 100644
--- a/home.css
+++ b/home.css
@@ -1786,17 +1786,32 @@
}
/* ── Dropdown nav ── */
+.home-nav .nav-root,
+.home-nav .nav-menu {
+ list-style: none !important;
+ margin: 0;
+ padding: 0;
+}
+
.home-nav .nav-root {
- display: flex;
+ display: flex !important;
align-items: center;
gap: var(--space-lg);
- list-style: none;
- margin: 0;
- padding: 0;
}
.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 {
@@ -1862,10 +1877,6 @@
pointer-events: auto;
}
-.home-nav .nav-menu li {
- list-style: none;
-}
-
.home-nav .nav-menu a {
display: flex;
flex-direction: column;
diff --git a/home.html b/home.html
index c7e668c01..85ae7cb3d 100644
--- a/home.html
+++ b/home.html
@@ -213,19 +213,11 @@
<li class="nav-item" role="none">
<a href="/features" role="menuitem">Features</a>
</li>
- <li class="nav-item" role="none">
- <a href="/my-agents" id="home-nav-my-agents" hidden role="menuitem"
- >My Agents</a
- >
+ <li class="nav-item" id="home-nav-my-agents-li" role="none" hidden>
+ <a href="/my-agents" id="home-nav-my-agents" role="menuitem">My Agents</a>
</li>
- <li class="nav-item" role="none">
- <a
- href="/dashboard"
- id="home-nav-user"
- hidden
- class="nav-user"
- role="menuitem"
- ></a>
+ <li class="nav-item" id="home-nav-user-li" role="none" hidden>
+ <a href="/dashboard" id="home-nav-user" class="nav-user" role="menuitem"></a>
</li>
<li class="nav-item" role="none">
<a href="/login" class="nav-cta" id="home-nav-cta" role="menuitem"
@@ -929,12 +921,13 @@
cta.textContent = 'Dashboard';
cta.href = '/dashboard';
}
- const myAgents = document.getElementById('home-nav-my-agents');
- if (myAgents) myAgents.hidden = false;
+ const myAgentsLi = document.getElementById('home-nav-my-agents-li');
+ if (myAgentsLi) myAgentsLi.hidden = false;
+ const userLi = document.getElementById('home-nav-user-li');
const userEl = document.getElementById('home-nav-user');
- if (userEl && name) {
+ if (userEl && userLi && name) {
userEl.textContent = name;
- userEl.hidden = false;
+ userLi.hidden = false;
}
} catch (_) {}
})();
diff --git a/vite.config.js b/vite.config.js
index b229f00c1..5fae79fcf 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -81,6 +81,7 @@ const appConfig = {
// END:DISCOVER_ROUTE
'/features': resolve(root, 'public/features/index.html'),
'/features/': resolve(root, 'public/features/index.html'),
+ '/': resolve(root, 'home.html'),
'/home': resolve(root, 'home.html'),
'/agent': resolve(root, 'agent-home.html'),
'/docs': resolve(root, 'docs/index.html'),