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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
refactor: update footer design across multiple pages with new newsletter and community sections
nirholas95073a2abb81
diff --git a/agent-embed.html b/agent-embed.htmlindex 71437fd85..6903530b6 100644--- a/agent-embed.html+++ b/agent-embed.html@@ -108,10 +108,10 @@* Future bumps go to v2 — DO NOT change v1 wire shapes in place.*/- import { Viewer } from './src/viewer.js';- import { AgentIdentity } from './src/agent-identity.js';- import { AgentAvatar } from './src/agent-avatar.js';- import { protocol } from './src/agent-protocol.js';+ import { Viewer } from '/src/viewer.js';+ import { AgentIdentity } from '/src/agent-identity.js';+ import { AgentAvatar } from '/src/agent-avatar.js';+ import { protocol } from '/src/agent-protocol.js';const BRIDGE_VERSION = '1';const CAPABILITIES = ['speak', 'gesture', 'look-at', 'emote', 'present-model'];diff --git a/agent-home.html b/agent-home.htmlindex 390feac96..e3b4f5c1b 100644--- a/agent-home.html+++ b/agent-home.html@@ -15,6 +15,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /><link rel="stylesheet" href="/style.css" /><link rel="stylesheet" href="/footer.css" />+ <script defer src="/footer-newsletter.js"></script><linkhref="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap"rel="stylesheet"@@ -648,6 +649,35 @@loading="lazy"></model-viewer></div>+ <div class="h-footer-cta">+ <div class="h-footer-newsletter">+ <h3>Stay in the loop</h3>+ <p>Get updates on new features, agent tooling, and protocol changes.</p>+ <form class="h-footer-newsletter-form" data-newsletter-form novalidate>+ <input+ type="email"+ class="h-footer-newsletter-input"+ name="email"+ placeholder="Enter your email"+ aria-label="Email address"+ autocomplete="email"+ required+ />+ <button type="submit" class="h-footer-newsletter-btn" aria-label="Subscribe">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" d="M2 8h11m0 0L9 4m4 4l-4 4"/></svg>+ </button>+ </form>+ <p class="h-footer-newsletter-msg" data-newsletter-msg aria-live="polite"></p>+ </div>+ <div class="h-footer-community">+ <h3>Join the community</h3>+ <p>Follow along for builds, demos, and conversations with the team.</p>+ <a class="h-footer-community-btn" href="https://x.com/nichxbt" target="_blank" rel="noopener">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ Follow on X+ </a>+ </div>+ </div><div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">@@ -655,33 +685,41 @@<span>three.ws</span></div><p class="h-footer-tagline">Give your AI a body.</p>+ <div class="h-footer-socials">+ <a class="h-footer-social" href="https://x.com/nichxbt" target="_blank" rel="noopener" aria-label="three.ws on X">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ </a>+ <a class="h-footer-social" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="three.ws on GitHub">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>+ </a>+ </div></div><nav class="h-footer-links" aria-label="Footer">- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>- <a href="/create">Create</a>- <a href="/studio">Studio</a>- <a href="/widgets">Widgets</a>- <a href="/features">Features</a>- <a href="/discover">Discover</a>- <a href="/docs">Docs</a>- <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Product</h4>+ <a href="/create">Create</a>+ <a href="/studio">Studio</a>+ <a href="/widgets">Widgets</a>+ <a href="/discover">Discover</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Developers</h4>+ <a href="/docs">Docs</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>+ <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Resources</h4>+ <a href="/features">Features</a>+ <a href="/dashboard">Dashboard</a>+ </div></nav></div><div class="h-footer-bottom"><p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>- <div class="h-footer-badges">- <span class="h-footer-badge" aria-label="System status">- <span class="h-footer-status-dot" aria-hidden="true"></span>- <span>All systems normal</span>- </span>- <span class="h-footer-badge">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 14.5A6.5 6.5 0 1 1 8 1.5a6.5 6.5 0 0 1 0 13zm-1-9.25a1 1 0 1 1 2 0v3.5a1 1 0 1 1-2 0v-3.5zm1 6.5a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z"/></svg>- <span>Transparent by default</span>- </span>- <a class="h-footer-badge" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="View source on GitHub">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>- <span>Open source</span>- </a>+ <div class="h-footer-legal-links">+ <a href="/legal/privacy">Privacy Policy</a>+ <a href="/legal/tos">Terms of Use</a></div></div></footer>diff --git a/avatar-page.html b/avatar-page.htmlindex 0126a6178..fa2e519aa 100644--- a/avatar-page.html+++ b/avatar-page.html@@ -8,6 +8,7 @@<link rel="shortcut icon" href="/favicon.ico" /><link rel="stylesheet" href="/style.css" /><link rel="stylesheet" href="/footer.css" />+ <script defer src="/footer-newsletter.js"></script><linkhref="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap"rel="stylesheet"@@ -230,6 +231,35 @@<div class="h-footer-floor" aria-hidden="true"></div><div class="h-footer-haze" aria-hidden="true"></div><div class="h-footer-watermark" aria-hidden="true">three.ws</div>+ <div class="h-footer-cta">+ <div class="h-footer-newsletter">+ <h3>Stay in the loop</h3>+ <p>Get updates on new features, agent tooling, and protocol changes.</p>+ <form class="h-footer-newsletter-form" data-newsletter-form novalidate>+ <input+ type="email"+ class="h-footer-newsletter-input"+ name="email"+ placeholder="Enter your email"+ aria-label="Email address"+ autocomplete="email"+ required+ />+ <button type="submit" class="h-footer-newsletter-btn" aria-label="Subscribe">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" d="M2 8h11m0 0L9 4m4 4l-4 4"/></svg>+ </button>+ </form>+ <p class="h-footer-newsletter-msg" data-newsletter-msg aria-live="polite"></p>+ </div>+ <div class="h-footer-community">+ <h3>Join the community</h3>+ <p>Follow along for builds, demos, and conversations with the team.</p>+ <a class="h-footer-community-btn" href="https://x.com/nichxbt" target="_blank" rel="noopener">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ Follow on X+ </a>+ </div>+ </div><div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">@@ -237,15 +267,42 @@<span>three.ws</span></div><p class="h-footer-tagline">Give your AI a body.</p>+ <div class="h-footer-socials">+ <a class="h-footer-social" href="https://x.com/nichxbt" target="_blank" rel="noopener" aria-label="three.ws on X">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ </a>+ <a class="h-footer-social" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="three.ws on GitHub">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>+ </a>+ </div></div><nav class="h-footer-links" aria-label="Footer">- <a href="/create">Create</a>- <a href="/discover">Discover</a>- <a href="/dashboard">Dashboard</a>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Product</h4>+ <a href="/create">Create</a>+ <a href="/studio">Studio</a>+ <a href="/widgets">Widgets</a>+ <a href="/discover">Discover</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Developers</h4>+ <a href="/docs">Docs</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>+ <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Resources</h4>+ <a href="/features">Features</a>+ <a href="/dashboard">Dashboard</a>+ </div></nav></div><div class="h-footer-bottom"><p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>+ <div class="h-footer-legal-links">+ <a href="/legal/privacy">Privacy Policy</a>+ <a href="/legal/tos">Terms of Use</a>+ </div></div></footer>diff --git a/create.html b/create.htmlindex ccd4b466a..112c9f3c2 100644--- a/create.html+++ b/create.html@@ -384,6 +384,7 @@}</style><link rel="stylesheet" href="/footer.css" />+ <script defer src="/footer-newsletter.js"></script><style>/* ── Site nav (shared with index.html) ── */:root {@@ -755,6 +756,35 @@loading="lazy"></model-viewer></div>+ <div class="h-footer-cta">+ <div class="h-footer-newsletter">+ <h3>Stay in the loop</h3>+ <p>Get updates on new features, agent tooling, and protocol changes.</p>+ <form class="h-footer-newsletter-form" data-newsletter-form novalidate>+ <input+ type="email"+ class="h-footer-newsletter-input"+ name="email"+ placeholder="Enter your email"+ aria-label="Email address"+ autocomplete="email"+ required+ />+ <button type="submit" class="h-footer-newsletter-btn" aria-label="Subscribe">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" d="M2 8h11m0 0L9 4m4 4l-4 4"/></svg>+ </button>+ </form>+ <p class="h-footer-newsletter-msg" data-newsletter-msg aria-live="polite"></p>+ </div>+ <div class="h-footer-community">+ <h3>Join the community</h3>+ <p>Follow along for builds, demos, and conversations with the team.</p>+ <a class="h-footer-community-btn" href="https://x.com/nichxbt" target="_blank" rel="noopener">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ Follow on X+ </a>+ </div>+ </div><div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">@@ -762,36 +792,41 @@<span>three.ws</span></div><p class="h-footer-tagline">Give your AI a body.</p>+ <div class="h-footer-socials">+ <a class="h-footer-social" href="https://x.com/nichxbt" target="_blank" rel="noopener" aria-label="three.ws on X">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ </a>+ <a class="h-footer-social" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="three.ws on GitHub">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>+ </a>+ </div></div><nav class="h-footer-links" aria-label="Footer">- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>- <a href="/create">Create</a>- <a href="/studio">Studio</a>- <a href="/widgets">Widgets</a>- <a href="/features">Features</a>- <a href="/discover">Discover</a>- <a href="/showcase">Showcase</a>- <a href="/docs">Docs</a>- <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>- <a href="/legal/privacy">Privacy</a>- <a href="/legal/tos">Terms</a>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Product</h4>+ <a href="/create">Create</a>+ <a href="/studio">Studio</a>+ <a href="/widgets">Widgets</a>+ <a href="/discover">Discover</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Developers</h4>+ <a href="/docs">Docs</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>+ <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Resources</h4>+ <a href="/features">Features</a>+ <a href="/dashboard">Dashboard</a>+ </div></nav></div><div class="h-footer-bottom"><p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>- <div class="h-footer-badges">- <span class="h-footer-badge" aria-label="System status">- <span class="h-footer-status-dot" aria-hidden="true"></span>- <span>All systems normal</span>- </span>- <span class="h-footer-badge">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 14.5A6.5 6.5 0 1 1 8 1.5a6.5 6.5 0 0 1 0 13zm-1-9.25a1 1 0 1 1 2 0v3.5a1 1 0 1 1-2 0v-3.5zm1 6.5a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z"/></svg>- <span>Transparent by default</span>- </span>- <a class="h-footer-badge" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="View source on GitHub">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>- <span>Open source</span>- </a>+ <div class="h-footer-legal-links">+ <a href="/legal/privacy">Privacy Policy</a>+ <a href="/legal/tos">Terms of Use</a></div></div></footer>diff --git a/footer.css b/footer.cssindex 4239454d6..a8972f97c 100644--- a/footer.css+++ b/footer.css@@ -293,9 +293,9 @@}.h-footer-links {- display: grid;- grid-template-columns: repeat(3, auto);- gap: 0.6rem 3rem;+ display: flex;+ flex-wrap: wrap;+ gap: 1.5rem 3rem;}.h-footer-link-col {diff --git a/home.html b/home.htmlindex 06a868fd1..29c00a84b 100644--- a/home.html+++ b/home.html@@ -37,6 +37,7 @@<link rel="stylesheet" href="/style.css" /><link rel="stylesheet" href="/home.css" /><link rel="stylesheet" href="/footer.css" />+ <script defer src="/footer-newsletter.js"></script><linkhref="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400&family=Space+Grotesk:wght@500;600;700&display=swap"rel="stylesheet"@@ -435,7 +436,7 @@</p><div class="h-dev-links"><a href="/features" class="h-feature-link">Read the docs →</a>- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener" class="h-feature-link">GitHub →</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" class="h-feature-link">GitHub →</a></div></div><div class="h-dev-code">@@ -496,44 +497,80 @@></model-viewer></div>- <div class="h-footer-inner">- <div class="h-footer-brand-col">- <div class="h-footer-brand">- <span class="wordmark-dot" aria-hidden="true"></span>- <span>three.ws</span>- </div>- <p class="h-footer-tagline">Give your AI a body.</p>+ <div class="h-footer-cta">+ <div class="h-footer-newsletter">+ <h3>Stay in the loop</h3>+ <p>Get updates on new features, agent tooling, and protocol changes.</p>+ <form class="h-footer-newsletter-form" data-newsletter-form novalidate>+ <input+ type="email"+ class="h-footer-newsletter-input"+ name="email"+ placeholder="Enter your email"+ aria-label="Email address"+ autocomplete="email"+ required+ />+ <button type="submit" class="h-footer-newsletter-btn" aria-label="Subscribe">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" d="M2 8h11m0 0L9 4m4 4l-4 4"/></svg>+ </button>+ </form>+ <p class="h-footer-newsletter-msg" data-newsletter-msg aria-live="polite"></p>+ </div>+ <div class="h-footer-community">+ <h3>Join the community</h3>+ <p>Follow along for builds, demos, and conversations with the team.</p>+ <a class="h-footer-community-btn" href="https://x.com/nichxbt" target="_blank" rel="noopener">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ Follow on X+ </a>+ </div>+ </div>+ <div class="h-footer-inner">+ <div class="h-footer-brand-col">+ <div class="h-footer-brand">+ <span class="wordmark-dot" aria-hidden="true"></span>+ <span>three.ws</span></div>- <nav class="h-footer-links" aria-label="Footer">- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>+ <p class="h-footer-tagline">Give your AI a body.</p>+ <div class="h-footer-socials">+ <a class="h-footer-social" href="https://x.com/nichxbt" target="_blank" rel="noopener" aria-label="three.ws on X">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ </a>+ <a class="h-footer-social" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="three.ws on GitHub">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>+ </a>+ </div>+ </div>+ <nav class="h-footer-links" aria-label="Footer">+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Product</h4><a href="/create">Create</a><a href="/studio">Studio</a><a href="/widgets">Widgets</a>- <a href="/features">Features</a><a href="/discover">Discover</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Developers</h4><a href="/docs">Docs</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a><a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>- </nav>- </div>-- <div class="h-footer-bottom">- <p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>- <div class="h-footer-badges">- <span class="h-footer-badge" aria-label="System status">- <span class="h-footer-status-dot" aria-hidden="true"></span>- <span>All systems normal</span>- </span>- <span class="h-footer-badge">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 14.5A6.5 6.5 0 1 1 8 1.5a6.5 6.5 0 0 1 0 13zm-1-9.25a1 1 0 1 1 2 0v3.5a1 1 0 1 1-2 0v-3.5zm1 6.5a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z"/></svg>- <span>Transparent by default</span>- </span>- <a class="h-footer-badge" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="View source on GitHub">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>- <span>Open source</span>- </a></div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Resources</h4>+ <a href="/features">Features</a>+ <a href="/dashboard">Dashboard</a>+ </div>+ </nav>+ </div>+ <div class="h-footer-bottom">+ <p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>+ <div class="h-footer-legal-links">+ <a href="/legal/privacy">Privacy Policy</a>+ <a href="/legal/tos">Terms of Use</a></div>- </footer>+ </div>+ </footer></main><script>diff --git a/index.html b/index.htmlindex b8cc9a3dd..c32650267 100644--- a/index.html+++ b/index.html@@ -36,6 +36,7 @@<link rel="stylesheet" href="/style.css" /><link rel="stylesheet" href="/features.css" /><link rel="stylesheet" href="/footer.css" />+ <script defer src="/footer-newsletter.js"></script><linkhref="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400&display=swap"rel="stylesheet"@@ -1197,46 +1198,80 @@loading="lazy"></model-viewer></div>- <div class="h-footer-inner">- <div class="h-footer-brand-col">- <div class="h-footer-brand">- <span class="wordmark-dot" aria-hidden="true"></span>- <span>three.ws</span>- </div>- <p class="h-footer-tagline">Give your AI a body.</p>+ <div class="h-footer-cta">+ <div class="h-footer-newsletter">+ <h3>Stay in the loop</h3>+ <p>Get updates on new features, agent tooling, and protocol changes.</p>+ <form class="h-footer-newsletter-form" data-newsletter-form novalidate>+ <input+ type="email"+ class="h-footer-newsletter-input"+ name="email"+ placeholder="Enter your email"+ aria-label="Email address"+ autocomplete="email"+ required+ />+ <button type="submit" class="h-footer-newsletter-btn" aria-label="Subscribe">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" d="M2 8h11m0 0L9 4m4 4l-4 4"/></svg>+ </button>+ </form>+ <p class="h-footer-newsletter-msg" data-newsletter-msg aria-live="polite"></p>+ </div>+ <div class="h-footer-community">+ <h3>Join the community</h3>+ <p>Follow along for builds, demos, and conversations with the team.</p>+ <a class="h-footer-community-btn" href="https://x.com/nichxbt" target="_blank" rel="noopener">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ Follow on X+ </a>+ </div>+ </div>+ <div class="h-footer-inner">+ <div class="h-footer-brand-col">+ <div class="h-footer-brand">+ <span class="wordmark-dot" aria-hidden="true"></span>+ <span>three.ws</span>+ </div>+ <p class="h-footer-tagline">Give your AI a body.</p>+ <div class="h-footer-socials">+ <a class="h-footer-social" href="https://x.com/nichxbt" target="_blank" rel="noopener" aria-label="three.ws on X">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ </a>+ <a class="h-footer-social" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="three.ws on GitHub">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>+ </a></div>- <nav class="h-footer-links" aria-label="Footer">- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>+ </div>+ <nav class="h-footer-links" aria-label="Footer">+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Product</h4><a href="/create">Create</a><a href="/studio">Studio</a><a href="/widgets">Widgets</a>- <a href="/features">Features</a><a href="/discover">Discover</a>- <a href="/showcase">Showcase</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Developers</h4><a href="/docs">Docs</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a><a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>- <a href="/legal/privacy">Privacy</a>- <a href="/legal/tos">Terms</a>- </nav>- </div>- <div class="h-footer-bottom">- <p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>- <div class="h-footer-badges">- <span class="h-footer-badge" aria-label="System status">- <span class="h-footer-status-dot" aria-hidden="true"></span>- <span>All systems normal</span>- </span>- <span class="h-footer-badge">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 14.5A6.5 6.5 0 1 1 8 1.5a6.5 6.5 0 0 1 0 13zm-1-9.25a1 1 0 1 1 2 0v3.5a1 1 0 1 1-2 0v-3.5zm1 6.5a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z"/></svg>- <span>Transparent by default</span>- </span>- <a class="h-footer-badge" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="View source on GitHub">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>- <span>Open source</span>- </a></div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Resources</h4>+ <a href="/features">Features</a>+ <a href="/dashboard">Dashboard</a>+ </div>+ </nav>+ </div>+ <div class="h-footer-bottom">+ <p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>+ <div class="h-footer-legal-links">+ <a href="/legal/privacy">Privacy Policy</a>+ <a href="/legal/tos">Terms of Use</a></div>- </footer>+ </div>+ </footer></main><script>diff --git a/profile.html b/profile.htmlindex 244f369e4..201fa8632 100644--- a/profile.html+++ b/profile.html@@ -12,6 +12,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /><link rel="stylesheet" href="/style.css" /><link rel="stylesheet" href="/footer.css" />+ <script defer src="/footer-newsletter.js"></script><linkhref="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap"rel="stylesheet"@@ -355,6 +356,35 @@loading="lazy"></model-viewer></div>+ <div class="h-footer-cta">+ <div class="h-footer-newsletter">+ <h3>Stay in the loop</h3>+ <p>Get updates on new features, agent tooling, and protocol changes.</p>+ <form class="h-footer-newsletter-form" data-newsletter-form novalidate>+ <input+ type="email"+ class="h-footer-newsletter-input"+ name="email"+ placeholder="Enter your email"+ aria-label="Email address"+ autocomplete="email"+ required+ />+ <button type="submit" class="h-footer-newsletter-btn" aria-label="Subscribe">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" d="M2 8h11m0 0L9 4m4 4l-4 4"/></svg>+ </button>+ </form>+ <p class="h-footer-newsletter-msg" data-newsletter-msg aria-live="polite"></p>+ </div>+ <div class="h-footer-community">+ <h3>Join the community</h3>+ <p>Follow along for builds, demos, and conversations with the team.</p>+ <a class="h-footer-community-btn" href="https://x.com/nichxbt" target="_blank" rel="noopener">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ Follow on X+ </a>+ </div>+ </div><div class="h-footer-inner"><div class="h-footer-brand-col"><div class="h-footer-brand">@@ -362,33 +392,41 @@<span>three.ws</span></div><p class="h-footer-tagline">Give your AI a body.</p>+ <div class="h-footer-socials">+ <a class="h-footer-social" href="https://x.com/nichxbt" target="_blank" rel="noopener" aria-label="three.ws on X">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ </a>+ <a class="h-footer-social" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="three.ws on GitHub">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>+ </a>+ </div></div><nav class="h-footer-links" aria-label="Footer">- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>- <a href="/create">Create</a>- <a href="/studio">Studio</a>- <a href="/widgets">Widgets</a>- <a href="/features">Features</a>- <a href="/discover">Discover</a>- <a href="/docs">Docs</a>- <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Product</h4>+ <a href="/create">Create</a>+ <a href="/studio">Studio</a>+ <a href="/widgets">Widgets</a>+ <a href="/discover">Discover</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Developers</h4>+ <a href="/docs">Docs</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>+ <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Resources</h4>+ <a href="/features">Features</a>+ <a href="/dashboard">Dashboard</a>+ </div></nav></div><div class="h-footer-bottom"><p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>- <div class="h-footer-badges">- <span class="h-footer-badge" aria-label="System status">- <span class="h-footer-status-dot" aria-hidden="true"></span>- <span>All systems normal</span>- </span>- <span class="h-footer-badge">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 14.5A6.5 6.5 0 1 1 8 1.5a6.5 6.5 0 0 1 0 13zm-1-9.25a1 1 0 1 1 2 0v3.5a1 1 0 1 1-2 0v-3.5zm1 6.5a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z"/></svg>- <span>Transparent by default</span>- </span>- <a class="h-footer-badge" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="View source on GitHub">- <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>- <span>Open source</span>- </a>+ <div class="h-footer-legal-links">+ <a href="/legal/privacy">Privacy Policy</a>+ <a href="/legal/tos">Terms of Use</a></div></div></footer>diff --git a/public/auth.css b/public/auth.cssnew file mode 100644index 000000000..3ca7430a5--- /dev/null+++ b/public/auth.css@@ -0,0 +1,217 @@+/* Shared auth-page styling: shell layout, avatar panel, password toggle,+ caps-lock warning, remember-me row, inline-validation hints. */++* { box-sizing: border-box; }++body {+ font:+ 15px/1.5 -apple-system,+ system-ui,+ Segoe UI,+ Roboto,+ sans-serif;+ margin: 0;+ min-height: 100vh;+ display: flex;+ align-items: center;+ justify-content: center;+ padding: 24px;+}++.shell {+ display: flex;+ width: 100%;+ max-width: 1080px;+ min-height: 640px;+ border-radius: 24px;+ overflow: hidden;+ animation: auth-shell-in 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;+}++.panel {+ flex: 1;+ position: relative;+ display: flex;+ align-items: center;+ justify-content: center;+ background:+ radial-gradient(120% 90% at 30% 20%, rgba(154, 140, 255, 0.55), transparent 60%),+ radial-gradient(120% 90% at 80% 90%, rgba(255, 140, 200, 0.35), transparent 55%),+ linear-gradient(135deg, #2a2350 0%, #1a1a2e 100%);+ overflow: hidden;+}++.panel-brand {+ position: absolute;+ bottom: 22px;+ left: 28px;+ font-size: 11px;+ letter-spacing: 0.2em;+ text-transform: uppercase;+ color: rgba(255, 255, 255, 0.55);+ text-decoration: none;+ font-weight: 500;+ z-index: 2;+}+.panel-brand:hover { color: rgba(255, 255, 255, 0.9); }++.agent-avatar {+ position: relative;+ width: 320px;+ height: 320px;+ pointer-events: none;+ will-change: transform;+}+.agent-avatar model-viewer {+ width: 100%;+ height: 100%;+ --poster-color: transparent;+ background: transparent;+}+.agent-avatar::after {+ content: '';+ position: absolute;+ left: 50%;+ bottom: 4px;+ width: 180px;+ height: 18px;+ background: radial-gradient(ellipse, rgba(0, 0, 0, 0.45), transparent 70%);+ transform: translateX(-50%);+ filter: blur(8px);+ pointer-events: none;+}+.agent-avatar.loading::before {+ content: '';+ position: absolute;+ left: 50%;+ top: 50%;+ width: 120px;+ height: 140px;+ border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;+ background: rgba(255, 255, 255, 0.06);+ transform: translate(-50%, -55%);+ animation: auth-skel-pulse 1.4s ease-in-out infinite;+}++@keyframes auth-skel-pulse {+ 0%, 100% { opacity: 0.4; }+ 50% { opacity: 0.85; }+}++@keyframes auth-shell-in {+ from { opacity: 0; transform: translateY(14px) scale(0.985); }+ to { opacity: 1; transform: translateY(0) scale(1); }+}++@keyframes auth-err-shake {+ 0%, 100% { transform: translateX(0); }+ 20% { transform: translateX(-6px); }+ 40% { transform: translateX(5px); }+ 65% { transform: translateX(-3px); }+ 85% { transform: translateX(2px); }+}+.err.shaking {+ animation: auth-err-shake 0.32s cubic-bezier(0.36, 0.07, 0.19, 0.97);+}++/* Password input + toggle */+.password-wrap { position: relative; }+.password-wrap input { padding-right: 44px !important; }+.password-toggle {+ position: absolute;+ right: 4px;+ top: 50%;+ transform: translateY(-50%);+ width: 36px;+ height: 36px;+ margin: 0 !important;+ padding: 0 !important;+ background: transparent !important;+ border: 0 !important;+ border-radius: 6px !important;+ color: #666 !important;+ cursor: pointer;+ display: flex;+ align-items: center;+ justify-content: center;+ font-size: 0 !important;+ font-weight: 400 !important;+ box-shadow: none !important;+ width: 36px !important;+}+.password-toggle:hover { color: #ccc !important; background: rgba(255, 255, 255, 0.04) !important; }+.password-toggle:active { transform: translateY(-50%) scale(0.92); }+.password-toggle svg { width: 18px; height: 18px; display: block; }++/* Caps-lock warning */+.caps-warn {+ display: none;+ margin-top: 6px;+ font-size: 12px;+ color: #f0c040;+}+.caps-warn.show { display: block; }++/* Inline validation hint state */+.field-hint.invalid { color: #ff7a7a !important; }+.field-hint.valid { color: #7ddf7d !important; }++/* Remember-me row */+.remember-row {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 8px;+ margin-top: 14px;+ font-size: 13px;+ color: #888;+ user-select: none;+}+.remember-row label {+ display: inline-flex;+ align-items: center;+ gap: 8px;+ margin: 0;+ font-size: 13px;+ color: #888;+ text-transform: none;+ letter-spacing: normal;+ font-weight: 400;+ cursor: pointer;+}+.remember-row input[type="checkbox"] {+ width: 14px;+ height: 14px;+ margin: 0;+ padding: 0;+ accent-color: #fff;+ cursor: pointer;+}++@media (max-width: 860px) {+ .shell {+ flex-direction: column;+ min-height: 0;+ }+ .panel {+ min-height: 220px;+ order: -1;+ }+ .agent-avatar {+ width: 180px;+ height: 180px;+ }+ .panel-brand {+ bottom: 12px;+ left: 16px;+ }+}++@media (prefers-reduced-motion: reduce) {+ *, *::before, *::after {+ animation-duration: 0.001ms !important;+ animation-iteration-count: 1 !important;+ transition-duration: 0.001ms !important;+ scroll-behavior: auto !important;+ }+}diff --git a/public/dashboard/index.html b/public/dashboard/index.htmlindex 910152e34..1ed28febf 100644--- a/public/dashboard/index.html+++ b/public/dashboard/index.html@@ -1170,7 +1170,7 @@<p class="h-footer-tagline">Give your AI a body.</p></div><nav class="h-footer-links" aria-label="Footer">- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a><a href="/create">Create</a><a href="/studio">Studio</a><a href="/widgets">Widgets</a>@@ -1194,7 +1194,7 @@<svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 14.5A6.5 6.5 0 1 1 8 1.5a6.5 6.5 0 0 1 0 13zm-1-9.25a1 1 0 1 1 2 0v3.5a1 1 0 1 1-2 0v-3.5zm1 6.5a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z"/></svg><span>Transparent by default</span></span>- <a class="h-footer-badge" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="View source on GitHub">+ <a class="h-footer-badge" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="View source on GitHub"><svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg><span>Open source</span></a>diff --git a/public/discover/discover.js b/public/discover/discover.jsindex 5c3936b4f..3a6f04ca8 100644--- a/public/discover/discover.js+++ b/public/discover/discover.js@@ -507,4 +507,117 @@ function openEmbedModal({ chainId, agentId, name }) {}, 50);}+function openAvatarEmbedModal({ avatarId, glbUrl, name }) {+ document.querySelector('.embed-modal')?.remove();+ const origin = location.origin;+ const viewerUrl = `${origin}/#model=${encodeURIComponent(glbUrl)}`;+ const apiUrl = `${origin}/api/avatars/${avatarId}`;+ const displayName = name || 'Avatar';++ const snippets = {+ webComponent: `<script type="module" src="${LIB_CDN_URL}"></script>\n<agent-3d src="${apiUrl}" mode="inline" width="480px" responsive></agent-3d>`,+ iframe: `<iframe src="${viewerUrl}" width="480" height="600" style="border:0;border-radius:12px" allow="autoplay; xr-spatial-tracking" sandbox="allow-scripts allow-same-origin allow-popups" title="${displayName}"></iframe>`,+ link: viewerUrl,+ markdown: `[${displayName}](${viewerUrl})`,+ };++ const modal = document.createElement('div');+ modal.className = 'embed-modal';+ modal.setAttribute('role', 'dialog');+ modal.setAttribute('aria-modal', 'true');+ modal.innerHTML = `+ <div class="embed-modal__backdrop" data-role="close"></div>+ <div class="embed-modal__panel" role="document">+ <header class="embed-modal__head">+ <div>+ <h2 class="embed-modal__title">Embed ${escapeHtml(displayName)}</h2>+ <p class="embed-modal__sub">Public avatar — drop it in any page or doc.</p>+ </div>+ <button type="button" class="embed-modal__close" data-role="close" aria-label="Close">×</button>+ </header>+ <div class="embed-modal__tabs" role="tablist">+ <button type="button" class="embed-tab is-active" data-tab="webComponent" role="tab" aria-selected="true">Web component</button>+ <button type="button" class="embed-tab" data-tab="iframe" role="tab" aria-selected="false">iframe</button>+ <button type="button" class="embed-tab" data-tab="link" role="tab" aria-selected="false">Link</button>+ <button type="button" class="embed-tab" data-tab="markdown" role="tab" aria-selected="false">Markdown</button>+ </div>+ <div class="embed-modal__body">+ <div class="embed-pane is-active" data-pane="webComponent">+ <p class="embed-pane__hint">Renders the avatar via the <agent-3d> web component.</p>+ <textarea class="embed-snippet" readonly rows="3">${escapeHtml(snippets.webComponent)}</textarea>+ <button type="button" class="embed-copy-btn" data-role="copy" data-key="webComponent">Copy</button>+ </div>+ <div class="embed-pane" data-pane="iframe">+ <p class="embed-pane__hint">Works in Notion, Substack, Ghost, blogs.</p>+ <textarea class="embed-snippet" readonly rows="3">${escapeHtml(snippets.iframe)}</textarea>+ <button type="button" class="embed-copy-btn" data-role="copy" data-key="iframe">Copy</button>+ </div>+ <div class="embed-pane" data-pane="link">+ <p class="embed-pane__hint">Direct link to the viewer.</p>+ <input class="embed-snippet embed-snippet--input" readonly value="${escapeAttr(snippets.link)}" />+ <button type="button" class="embed-copy-btn" data-role="copy" data-key="link">Copy</button>+ </div>+ <div class="embed-pane" data-pane="markdown">+ <p class="embed-pane__hint">For READMEs and Markdown blogs.</p>+ <textarea class="embed-snippet" readonly rows="2">${escapeHtml(snippets.markdown)}</textarea>+ <button type="button" class="embed-copy-btn" data-role="copy" data-key="markdown">Copy</button>+ </div>+ </div>+ <footer class="embed-modal__foot">+ <a href="${escapeAttr(viewerUrl)}" target="_blank" rel="noopener" class="embed-foot-link">Open viewer ↗</a>+ </footer>+ </div>+ `;+ document.body.appendChild(modal);++ const close = () => {+ modal.remove();+ document.removeEventListener('keydown', onEsc);+ };+ const onEsc = (e) => {+ if (e.key === 'Escape') close();+ };+ document.addEventListener('keydown', onEsc);+ modal.querySelectorAll('[data-role="close"]').forEach((el) => el.addEventListener('click', close));++ modal.querySelectorAll('.embed-tab').forEach((tab) => {+ tab.addEventListener('click', () => {+ modal.querySelectorAll('.embed-tab').forEach((t) => {+ t.classList.toggle('is-active', t === tab);+ t.setAttribute('aria-selected', t === tab ? 'true' : 'false');+ });+ modal.querySelectorAll('.embed-pane').forEach((p) => {+ p.classList.toggle('is-active', p.dataset.pane === tab.dataset.tab);+ });+ });+ });++ modal.querySelectorAll('[data-role="copy"]').forEach((btn) => {+ btn.addEventListener('click', () => {+ const key = btn.dataset.key;+ const text = snippets[key];+ if (!text) return;+ const done = (ok) => {+ btn.textContent = ok ? 'Copied ✓' : 'Copy failed';+ setTimeout(() => (btn.textContent = 'Copy'), 1400);+ };+ if (navigator.clipboard?.writeText) {+ navigator.clipboard.writeText(text).then(+ () => done(true),+ () => done(false),+ );+ } else {+ const ta = modal.querySelector(`[data-pane="${key}"] .embed-snippet`);+ ta?.select();+ try {+ document.execCommand('copy');+ done(true);+ } catch {+ done(false);+ }+ }+ });+ });+}+loadPage();diff --git a/public/docs-widgets.html b/public/docs-widgets.htmlindex 2d5bd766f..8bfa5cf7f 100644--- a/public/docs-widgets.html+++ b/public/docs-widgets.html@@ -472,7 +472,7 @@ img-src https://three.ws/ data:;</code></pre><p class="h-footer-tagline">Give your AI a body.</p></div><nav class="h-footer-links" aria-label="Footer">- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a><a href="/create">Create</a><a href="/studio">Studio</a><a href="/widgets">Widgets</a>@@ -496,7 +496,7 @@ img-src https://three.ws/ data:;</code></pre><svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 14.5A6.5 6.5 0 1 1 8 1.5a6.5 6.5 0 0 1 0 13zm-1-9.25a1 1 0 1 1 2 0v3.5a1 1 0 1 1-2 0v-3.5zm1 6.5a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z"/></svg><span>Transparent by default</span></span>- <a class="h-footer-badge" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="View source on GitHub">+ <a class="h-footer-badge" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="View source on GitHub"><svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg><span>Open source</span></a>diff --git a/public/features/index.html b/public/features/index.htmlindex 40f99c35b..57dc8572d 100644--- a/public/features/index.html+++ b/public/features/index.html@@ -471,7 +471,7 @@<p class="h-footer-tagline">Give your AI a body.</p></div><nav class="h-footer-links" aria-label="Footer">- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a><a href="/create">Create</a><a href="/studio">Studio</a><a href="/widgets">Widgets</a>@@ -495,7 +495,7 @@<svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 14.5A6.5 6.5 0 1 1 8 1.5a6.5 6.5 0 0 1 0 13zm-1-9.25a1 1 0 1 1 2 0v3.5a1 1 0 1 1-2 0v-3.5zm1 6.5a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z"/></svg><span>Transparent by default</span></span>- <a class="h-footer-badge" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="View source on GitHub">+ <a class="h-footer-badge" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="View source on GitHub"><svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg><span>Open source</span></a>diff --git a/public/footer-newsletter.js b/public/footer-newsletter.jsnew file mode 100644index 000000000..e19322c18--- /dev/null+++ b/public/footer-newsletter.js@@ -0,0 +1,48 @@+// Wires up the footer newsletter form on any page that includes it.+// POSTs to /api/newsletter/subscribe and shows inline success/error.+(function () {+ const forms = document.querySelectorAll('[data-newsletter-form]');+ if (!forms.length) return;++ forms.forEach((form) => {+ const input = form.querySelector('input[name="email"]');+ const btn = form.querySelector('button[type="submit"]');+ const msg = form.parentElement?.querySelector('[data-newsletter-msg]');+ if (!input || !btn) return;++ function setMsg(text, cls) {+ if (!msg) return;+ msg.textContent = text;+ msg.classList.remove('is-error', 'is-success');+ if (cls) msg.classList.add(cls);+ }++ form.addEventListener('submit', async (e) => {+ e.preventDefault();+ const email = input.value.trim();+ if (!email || !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {+ setMsg('Please enter a valid email.', 'is-error');+ return;+ }+ btn.disabled = true;+ setMsg('Subscribing…');+ try {+ const r = await fetch('/api/newsletter/subscribe', {+ method: 'POST',+ headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ email }),+ });+ if (!r.ok) {+ const data = await r.json().catch(() => ({}));+ throw new Error(data.error_description || 'Subscription failed');+ }+ input.value = '';+ setMsg('Thanks — you’re on the list.', 'is-success');+ } catch (err) {+ setMsg(err.message || 'Something went wrong.', 'is-error');+ } finally {+ btn.disabled = false;+ }+ });+ });+})();diff --git a/public/login.html b/public/login.htmlindex 3d2914130..06ca736f4 100644--- a/public/login.html+++ b/public/login.html@@ -6,6 +6,7 @@<title>Sign in · three.ws</title><link rel="icon" href="/favicon.ico" /><link rel="stylesheet" href="/wallet-connect.css" />+ <link rel="stylesheet" href="/auth.css" /><scripttype="module"src="https://ajax.googleapis.com/ajax/libs/model-viewer/4.0.0/model-viewer.min.js"@@ -443,7 +444,10 @@<p class="caps-warn" id="caps-warn" hidden>Caps Lock is on</p><p class="field-err" id="password-err" role="alert"></p>- <p class="forgot"><a href="/forgot-password">Forgot password?</a></p>+ <div class="remember-row">+ <label><input type="checkbox" id="remember" /> Remember me</label>+ <a href="/forgot-password" class="forgot">Forgot password?</a>+ </div><button id="submit" type="submit">Sign in</button></div>@@ -464,8 +468,9 @@<div class="err" id="err" role="alert" aria-live="polite"></div><p class="foot">No account? <a href="/register">Create one</a></p></form>- <div class="panel" aria-hidden="true">- <div class="agent-avatar">+ <div class="panel">+ <a href="/" class="panel-brand" aria-label="three.ws home">three.ws</a>+ <div class="agent-avatar loading" id="login-avatar-wrap" aria-hidden="true"><model-viewerid="login-avatar"src="/avatars/cz.glb"@@ -625,7 +630,7 @@method: 'POST',credentials: 'include',headers: { 'content-type': 'application/json' },- body: JSON.stringify({ email, password }),+ body: JSON.stringify({ email, password, remember: document.getElementById('remember')?.checked || false }),});const data = await res.json();if (!res.ok) throw new Error(data.error_description || 'Sign-in failed');@@ -649,38 +654,49 @@}});- // ── Avatar look-around ──+ // ── Avatar look-around + parallax + skeleton ──const viewer = document.getElementById('login-avatar');+ const wrap = document.getElementById('login-avatar-wrap');if (viewer) {+ viewer.addEventListener('load', () => wrap?.classList.remove('loading'));+ const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;const BASE_AZ = 0;const BASE_POL = 88;const AZ_RANGE = 30;const POL_RANGE = 14;let targetAz = BASE_AZ, targetPol = BASE_POL;let curAz = BASE_AZ, curPol = BASE_POL;+ let targetTx = 0, targetTy = 0, curTx = 0, curTy = 0;let nod = 0;const lerp = (a, b, t) => a + (b - a) * t;function tick() {curAz = lerp(curAz, targetAz, 0.1);curPol = lerp(curPol, targetPol + nod, 0.18);+ curTx = lerp(curTx, targetTx, 0.08);+ curTy = lerp(curTy, targetTy, 0.08);nod *= 0.85;viewer.setAttribute('camera-orbit', `${curAz}deg ${curPol}deg 4.8m`);+ if (wrap) wrap.style.transform = `translate(${curTx.toFixed(2)}px, ${curTy.toFixed(2)}px)`;requestAnimationFrame(tick);}- requestAnimationFrame(tick);- window.addEventListener('mousemove', (e) => {- const nx = e.clientX / window.innerWidth - 0.5;- const ny = e.clientY / window.innerHeight - 0.5;- targetAz = BASE_AZ - nx * AZ_RANGE * 2;- targetPol = BASE_POL + ny * POL_RANGE * 2;- }, { passive: true });- document.querySelectorAll('#f input').forEach((el) => {- el.addEventListener('keydown', (ev) => {- if (ev.key.length === 1 || ev.key === 'Backspace') {- nod = (nod >= 0 ? -1 : 1) * 4;- }+ if (!reducedMotion) {+ requestAnimationFrame(tick);+ window.addEventListener('mousemove', (e) => {+ const nx = e.clientX / window.innerWidth - 0.5;+ const ny = e.clientY / window.innerHeight - 0.5;+ targetAz = BASE_AZ - nx * AZ_RANGE * 2;+ targetPol = BASE_POL + ny * POL_RANGE * 2;+ targetTx = -nx * 10;+ targetTy = -ny * 8;+ }, { passive: true });+ document.querySelectorAll('#f input').forEach((el) => {+ el.addEventListener('keydown', (ev) => {+ if (ev.key.length === 1 || ev.key === 'Backspace') {+ nod = (nod >= 0 ? -1 : 1) * 4;+ }+ });});- });+ }}})();</script>diff --git a/public/register.html b/public/register.htmlindex 5b9c1704b..4c7d9726f 100644--- a/public/register.html+++ b/public/register.html@@ -6,6 +6,7 @@<title>Create account · three.ws</title><link rel="icon" href="/favicon.ico" /><link rel="stylesheet" href="/wallet-connect.css" />+ <link rel="stylesheet" href="/auth.css" /><scripttype="module"src="https://ajax.googleapis.com/ajax/libs/model-viewer/4.0.0/model-viewer.min.js"@@ -171,7 +172,10 @@font-size: 12px;color: #666;margin-top: 4px;+ transition: color 0.15s;}+ .hint.invalid { color: #ff7a7a; }+ .hint.valid { color: #7ddf7d; }.strength-bar {height: 3px;border-radius: 2px;@@ -336,15 +340,24 @@/><p class="hint" id="username-hint">3–30 characters, letters, numbers, _ or -</p><label for="password">Password</label>- <input- id="password"- type="password"- autocomplete="new-password"- required- minlength="10"- maxlength="200"- aria-describedby="password-hint err"- />+ <div class="password-wrap">+ <input+ id="password"+ type="password"+ autocomplete="new-password"+ required+ minlength="10"+ maxlength="200"+ aria-describedby="strength-label caps-warn err"+ />+ <button type="button" class="password-toggle" id="password-toggle" aria-label="Show password" aria-pressed="false">+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">+ <path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z" />+ <circle cx="12" cy="12" r="3" />+ </svg>+ </button>+ </div>+ <p class="caps-warn" id="caps-warn">Caps Lock is on</p><div class="strength-bar"><div class="strength-fill" id="strength-fill"></div></div><p class="strength-label" id="strength-label">Minimum 10 characters</p><button id="submit" type="submit">Create account</button>@@ -368,8 +381,9 @@<p class="foot">Already have an account? <a href="/login">Sign in</a></p><p class="legal">By creating an account you agree to our <a href="/legal/tos">Terms of Service</a> and <a href="/legal/privacy">Privacy Policy</a>.</p></form>- <div class="panel" aria-hidden="true">- <div class="agent-avatar">+ <div class="panel">+ <a href="/" class="panel-brand" aria-label="three.ws home">three.ws</a>+ <div class="agent-avatar loading" id="register-avatar-wrap" aria-hidden="true"><model-viewerid="register-avatar"src="/avatars/cz.glb"diff --git a/public/widgets-gallery/index.html b/public/widgets-gallery/index.htmlindex e777645f2..4ce193cd1 100644--- a/public/widgets-gallery/index.html+++ b/public/widgets-gallery/index.html@@ -116,7 +116,7 @@<p class="h-footer-tagline">Give your AI a body.</p></div><nav class="h-footer-links" aria-label="Footer">- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a><a href="/create">Create</a><a href="/studio">Studio</a><a href="/widgets">Widgets</a>@@ -140,7 +140,7 @@<svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 14.5A6.5 6.5 0 1 1 8 1.5a6.5 6.5 0 0 1 0 13zm-1-9.25a1 1 0 1 1 2 0v3.5a1 1 0 1 1-2 0v-3.5zm1 6.5a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z"/></svg><span>Transparent by default</span></span>- <a class="h-footer-badge" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="View source on GitHub">+ <a class="h-footer-badge" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="View source on GitHub"><svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg><span>Open source</span></a>diff --git a/scripts/update-footer.mjs b/scripts/update-footer.mjsnew file mode 100644index 000000000..3533c8fc9--- /dev/null+++ b/scripts/update-footer.mjs@@ -0,0 +1,121 @@+// One-shot codemod: replace the footer body inside `h-footer-horizon` blocks+// with the unified design (newsletter + community CTA, categorized link+// columns, social row, privacy/terms in legal). Decorative wrappers (glow,+// floor, haze, watermark, avatar) are preserved as-is per file.++import fs from 'node:fs';+import path from 'node:path';++const ROOT = path.resolve(process.argv[2] || '.');++const FILES = [+ 'home.html',+ 'index.html',+ 'create.html',+ 'profile.html',+ 'agent-home.html',+ 'avatar-page.html',+];++const NEW_BODY = `<div class="h-footer-cta">+ <div class="h-footer-newsletter">+ <h3>Stay in the loop</h3>+ <p>Get updates on new features, agent tooling, and protocol changes.</p>+ <form class="h-footer-newsletter-form" data-newsletter-form novalidate>+ <input+ type="email"+ class="h-footer-newsletter-input"+ name="email"+ placeholder="Enter your email"+ aria-label="Email address"+ autocomplete="email"+ required+ />+ <button type="submit" class="h-footer-newsletter-btn" aria-label="Subscribe">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" d="M2 8h11m0 0L9 4m4 4l-4 4"/></svg>+ </button>+ </form>+ <p class="h-footer-newsletter-msg" data-newsletter-msg aria-live="polite"></p>+ </div>+ <div class="h-footer-community">+ <h3>Join the community</h3>+ <p>Follow along for builds, demos, and conversations with the team.</p>+ <a class="h-footer-community-btn" href="https://x.com/nichxbt" target="_blank" rel="noopener">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ Follow on X+ </a>+ </div>+ </div>+ <div class="h-footer-inner">+ <div class="h-footer-brand-col">+ <div class="h-footer-brand">+ <span class="wordmark-dot" aria-hidden="true"></span>+ <span>three.ws</span>+ </div>+ <p class="h-footer-tagline">Give your AI a body.</p>+ <div class="h-footer-socials">+ <a class="h-footer-social" href="https://x.com/nichxbt" target="_blank" rel="noopener" aria-label="three.ws on X">+ <svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>+ </a>+ <a class="h-footer-social" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="three.ws on GitHub">+ <svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>+ </a>+ </div>+ </div>+ <nav class="h-footer-links" aria-label="Footer">+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Product</h4>+ <a href="/create">Create</a>+ <a href="/studio">Studio</a>+ <a href="/widgets">Widgets</a>+ <a href="/discover">Discover</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Developers</h4>+ <a href="/docs">Docs</a>+ <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>+ <a href="https://eips.ethereum.org/EIPS/eip-8004" target="_blank" rel="noopener">ERC-8004</a>+ </div>+ <div class="h-footer-link-col">+ <h4 class="h-footer-link-heading">Resources</h4>+ <a href="/features">Features</a>+ <a href="/dashboard">Dashboard</a>+ </div>+ </nav>+ </div>+ <div class="h-footer-bottom">+ <p class="h-footer-legal">© 2026 three.ws — All rights reserved.</p>+ <div class="h-footer-legal-links">+ <a href="/legal/privacy">Privacy Policy</a>+ <a href="/legal/tos">Terms of Use</a>+ </div>+ </div>+ `;++// Match from `<div class="h-footer-inner">` (with any indentation before it)+// up to (but not including) `</footer>`. The replacement preserves indentation+// matched by the leading whitespace capture.+const RE = /([ \t]*)<div class="h-footer-inner">[\s\S]*?(?=<\/footer>)/m;++let updated = 0;+for (const file of FILES) {+ const fp = path.join(ROOT, file);+ if (!fs.existsSync(fp)) {+ console.warn(`skip (not found): ${file}`);+ continue;+ }+ const src = fs.readFileSync(fp, 'utf8');+ if (!RE.test(src)) {+ console.warn(`skip (no footer match): ${file}`);+ continue;+ }+ const next = src.replace(RE, (_m, indent) => `${indent}${NEW_BODY}`);+ if (next === src) {+ console.warn(`skip (no change): ${file}`);+ continue;+ }+ fs.writeFileSync(fp, next, 'utf8');+ updated++;+ console.log(`updated: ${file}`);+}+console.log(`\n${updated} file(s) updated`);diff --git a/src/app.js b/src/app.jsindex 32487eb40..4fce0d954 100644--- a/src/app.js+++ b/src/app.js@@ -1560,7 +1560,7 @@ class App {<p class="h-footer-tagline">Give your AI a body.</p></div><nav class="h-footer-links" aria-label="Footer">- <a href="https://github.com/nirholas/3D" target="_blank" rel="noopener">GitHub</a>+ <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a><a href="/create">Create</a><a href="/studio">Studio</a><a href="/widgets">Widgets</a>@@ -1577,7 +1577,7 @@ class App {<span class="h-footer-status-dot" aria-hidden="true"></span><span>All systems normal</span></span>- <a class="h-footer-badge" href="https://github.com/nirholas/3D" target="_blank" rel="noopener" aria-label="View source on GitHub">+ <a class="h-footer-badge" href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" aria-label="View source on GitHub"><svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg><span>Open source</span></a>diff --git a/src/editor/publish.js b/src/editor/publish.jsindex 0b7383e26..51594c78d 100644--- a/src/editor/publish.js+++ b/src/editor/publish.js@@ -110,7 +110,7 @@ export async function publishEditedGLB(storage_key: presign.storage_key,content_type: 'model/gltf-binary',size_bytes: bytes.byteLength,- visibility: isPublic ? 'unlisted' : 'private',+ visibility: isPublic ? 'public' : 'private',source: 'upload',source_meta: { origin: 'editor-publish' },},diff --git a/style.css b/style.cssindex 8d34348d7..9fcf94830 100644--- a/style.css+++ b/style.css@@ -6136,6 +6136,11 @@ textarea.erc8004-code {color: rgba(255, 255, 255, 0.7);border-color: rgba(255, 255, 255, 0.12);}+.explore-badge--avatar {+ background: rgba(139, 92, 246, 0.15);+ color: #c4b5fd;+ border-color: rgba(139, 92, 246, 0.4);+}.explore-card-desc {margin: 0;font-size: 13px;