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.

5.9 KB
Raw Blame
<header class="nav">
	<div class="nav-inner">
		<a class="brand" href="/">
			<img class="brand-mark" src="/three.svg" alt="" width="24" height="24" />
			<span data-i18n="nav.three_ws">three.ws</span>
		</a>
		<!-- Menu groups + top-level links are rendered here by nav.js from
		     nav-data.js — the single source of truth for every menu item.
		     Do not hand-write menu markup in this file. -->
		<nav class="nav-main" aria-label="Primary"></nav>
		<div class="nav-end">
			<button
				type="button"
				class="nav-search-btn"
				data-search-open
				aria-keyshortcuts="Meta+K Control+K"
				title="Search"
			 data-i18n-attr="title:nav.search_title">
				<svg
					class="nav-search-ico"
					width="14"
					height="14"
					viewBox="0 0 18 18"
					fill="none"
					stroke="currentColor"
					stroke-width="1.6"
					stroke-linecap="round"
					aria-hidden="true"
				>
					<circle cx="7.5" cy="7.5" r="5" />
					<line x1="11.5" y1="11.5" x2="16" y2="16" />
				</svg>
				<span class="nav-search-label" data-i18n="nav.1j0itop">Search</span>
				<kbd class="nav-search-hint" aria-hidden="true">⌘K</kbd>
			</button>
			<button
				type="button"
				class="nav-walk-toggle"
				id="home-nav-walk"
				aria-pressed="false"
				aria-label="Walk with me — toggle the avatar companion"
				title="Walk with me"
			 data-i18n-attr="aria-label:nav.walk_with_me_toggle_the_avat_arialabel;title:nav.walk_with_me_title">
				<span class="nav-walk-ico" aria-hidden="true">🚶</span
				><span class="nav-walk-label" data-i18n="nav.9nlxdc">Walk</span>
			</button>
			<button
				type="button"
				class="nav-theme-btn"
				id="nav-theme-toggle"
				aria-pressed="false"
				aria-label="Switch to light theme"
				aria-describedby="nav-tip-theme"
			 data-i18n-attr="aria-label:nav.switch_to_light_theme_arialabel">
				<svg
					class="nav-theme-ico moon"
					viewBox="0 0 20 20"
					fill="none"
					stroke="currentColor"
					stroke-width="1.5"
					stroke-linecap="round"
					stroke-linejoin="round"
					aria-hidden="true"
					width="18"
					height="18"
				>
					<path d="M17 11.5A6.5 6.5 0 0 1 8.5 3 6.5 6.5 0 1 0 17 11.5z" />
				</svg>
				<svg
					class="nav-theme-ico sun"
					viewBox="0 0 20 20"
					fill="none"
					stroke="currentColor"
					stroke-width="1.5"
					stroke-linecap="round"
					stroke-linejoin="round"
					aria-hidden="true"
					width="18"
					height="18"
				>
					<circle cx="10" cy="10" r="3.6" />
					<path d="M10 2v2M10 16v2M2 10h2M16 10h2M4.2 4.2l1.4 1.4M14.4 14.4l1.4 1.4M4.2 15.8l1.4-1.4M14.4 5.6l1.4-1.4" />
				</svg>
				<span class="ui-tip" role="tooltip" id="nav-tip-theme">Toggle theme</span>
			</button>
			<!-- $THREE holder tier chip — hydrated by /nav-tier-badge.js (mountTierBadge).
			     Stays hidden for anonymous visitors and non-holders. -->
			<span class="nav-tier-badge" id="nav-tier-badge" hidden></span>
			<button
				type="button"
				class="nav-notif-btn"
				id="nav-notifications-btn"
				aria-label="Notifications"
				aria-expanded="false"
				aria-haspopup="dialog"
				aria-describedby="nav-tip-notif"
			 data-i18n-attr="aria-label:nav.notifications_arialabel">
				<svg
					class="nav-notif-ico"
					viewBox="0 0 20 20"
					fill="none"
					stroke="currentColor"
					stroke-width="1.5"
					stroke-linecap="round"
					stroke-linejoin="round"
					aria-hidden="true"
					width="18"
					height="18"
				>
					<path d="M15 9A5 5 0 0 0 5 9c0 4-2 5-2 5h14s-2-1-2-5" />
					<path d="M11.73 17a2 2 0 0 1-3.46 0" />
				</svg>
				<span class="nav-notif-badge" hidden aria-live="polite"></span>
				<span class="ui-tip" role="tooltip" id="nav-tip-notif">Notifications</span>
			</button>
			<!-- "Where did the thing I just made go?" is answered here: the one-click way back to
			     everything you built. Signed-in only; signed-out visitors reach it
			     from the Build menu, and /mine still shows this browser's models. -->
			<a class="nav-mine" href="/mine" id="home-nav-mine" data-auth="in" hidden aria-label="My creations" title="Everything you have made" data-i18n-attr="aria-label:nav.my_creations_arialabel;title:nav.everything_you_have_made_title">
				<svg class="nav-mine-ico" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" width="15" height="15">
					<rect x="2.75" y="2.75" width="6" height="6" rx="1.6" />
					<rect x="11.25" y="2.75" width="6" height="6" rx="1.6" />
					<rect x="2.75" y="11.25" width="6" height="6" rx="1.6" />
					<rect x="11.25" y="11.25" width="6" height="6" rx="1.6" />
				</svg>
				<span class="nav-mine-label" data-i18n="nav.my_creations">My creations</span>
			</a>
			<a href="/dashboard" id="home-nav-dashboard-li" data-auth="in" hidden data-i18n="nav.4zftyz">Dashboard</a>
			<a href="/login" id="home-nav-cta" data-auth="out" data-i18n="nav.w9nig3">Sign in</a>
			<a class="console" href="/dashboard" id="home-nav-user" data-auth-name data-i18n="nav.15pjwv8">Console →</a>
		</div>
		<button type="button" class="nav-toggle" aria-label="Menu" aria-describedby="nav-tip-menu" aria-expanded="false" id="nav-toggle" data-i18n-attr="aria-label:nav.menu_arialabel">
			<svg
				class="open"
				viewBox="0 0 16 16"
				fill="none"
				stroke="currentColor"
				stroke-width="1.4"
				stroke-linecap="round"
			>
				<line x1="2" y1="4" x2="14" y2="4" />
				<line x1="2" y1="8" x2="14" y2="8" />
				<line x1="2" y1="12" x2="14" y2="12" />
			</svg>
			<svg
				class="close"
				viewBox="0 0 16 16"
				fill="none"
				stroke="currentColor"
				stroke-width="1.4"
				stroke-linecap="round"
			>
				<line x1="3" y1="3" x2="13" y2="13" />
				<line x1="13" y1="3" x2="3" y2="13" />
			</svg>
			<span class="ui-tip" role="tooltip" id="nav-tip-menu">Menu</span>
		</button>
	</div>
</header>
<!-- Drawer sections are rendered by nav.js from nav-data.js. -->
<nav class="nav-drawer" id="nav-drawer" aria-label="Mobile" aria-hidden="true" inert></nav>