mirror of
https://github.com/rohitg00/agentmemory.git
synced 2026-09-14 20:16:33 +08:00
3338f9d039
Nav - Replace overlay hamburger with a solid horizontal bar. - Use the real agentmemory icon from assets/icon.svg as the brand mark. - Single GitHub pill: GH icon + GITHUB label + gold star + live count, the entire pill links to the repo. No more separate icon button. - Server-rendered count pulled from api.github.com/repos/... with revalidate 3600. Falls back to 0 on rate limit. - Mobile (<720px) collapses to a hamburger sheet with sections + links. Command Center (new) - Tabbed section showing the shipped viewer (:3113), the iii console (:3114), the raw KV state browser, and OTel traces. - Real screenshots vendored into public/ (dashboard.png, states.png, traces-waterfall.png, demo.gif). - Each tab ships with a description, 4-5 capability bullets, and a copy-ready launch command. Features (new) - 12-tile grid covering 12 auto-hooks, 44 MCP tools, 49 REST endpoints, BM25+vector+graph recall, auto consolidation, JSONL replay, knowledge graph extraction, mesh federation, Obsidian export, 5 LLM providers, OTel observability, 0 external DBs. Agents - Replaced the flat tile grid with an agents.md-style two-tier layout. - Top row: 4 featured first-party integrations (Claude Code, OpenClaw, Hermes, Codex CLI) as big cards with real logos, brand accent colors, and integration pitch. - Bottom row: CSS keyframe marquee of every other supported agent (Claude Desktop, Cursor, Gemini CLI, OpenCode, Cline, Roo, Kilo, Goose, Aider, Windsurf) with real logos + brand borders on hover. Pauses on hover. Edges fade into the page. Respects prefers-reduced-motion. Install · step 3 · MCP wiring - Dropped the 10-tab toggle and the Cursor-only gold hero button. - Left column: equal-weight agent chips in a 2x3 grid — Cursor, VS Code, Claude Code, Claude Desktop, Gemini CLI, Codex CLI. Click copies the right snippet (JSON / CLI command / TOML) or fires the one-click deeplink where one exists. - Right column: UNIVERSAL MCP JSON — paste-ready block that works for Claude Desktop, Cursor, Cline, Windsurf, Gemini CLI, OpenCode. - Expando reveals Hermes, OpenClaw, and Codex TOML shapes. Infrastructure - lib/github.ts server-only fetch for repo stats. - lib/format.ts (client-safe) formatCompact. - next.config.ts: turbopack.root pinned to silence workspace warning, images.remotePatterns for github.com / GH avatars / Cursor / Windsurf logos. - layout.tsx: icon metadata wired to /icon.svg. Build: next build clean, 3 routes prerendered static, 0 vulns.
134 lines
2.1 KiB
CSS
134 lines
2.1 KiB
CSS
.nav {
|
|
position: fixed;
|
|
inset: 0 0 auto 0;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
align-items: center;
|
|
gap: 32px;
|
|
padding: 14px 32px;
|
|
z-index: 100;
|
|
background: rgba(0, 0, 0, 0.85);
|
|
backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--charcoal);
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: var(--white);
|
|
}
|
|
.brandIcon {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: block;
|
|
}
|
|
.brandWord {
|
|
font-size: 17px;
|
|
font-weight: 900;
|
|
letter-spacing: -0.01em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 28px;
|
|
}
|
|
.link {
|
|
font-size: 12.5px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14px;
|
|
text-transform: uppercase;
|
|
color: var(--steel);
|
|
padding: 6px 2px;
|
|
border-bottom: 1px solid transparent;
|
|
transition: color 180ms ease, border-color 180ms ease;
|
|
}
|
|
.link:hover {
|
|
color: var(--white);
|
|
border-bottom-color: var(--gold);
|
|
}
|
|
|
|
.right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
justify-self: end;
|
|
}
|
|
|
|
.gh {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 9px 14px;
|
|
border: 1px solid var(--charcoal);
|
|
background: var(--iron);
|
|
color: var(--white);
|
|
font-size: 12.5px;
|
|
letter-spacing: 0.12px;
|
|
transition:
|
|
border-color 180ms ease,
|
|
background 180ms ease,
|
|
color 180ms ease;
|
|
}
|
|
.gh:hover {
|
|
border-color: var(--gold);
|
|
background: var(--charcoal);
|
|
color: var(--white);
|
|
}
|
|
.ghLabel {
|
|
font-weight: 700;
|
|
letter-spacing: 0.96px;
|
|
text-transform: uppercase;
|
|
font-size: 11px;
|
|
}
|
|
.ghDivider {
|
|
width: 1px;
|
|
height: 14px;
|
|
background: var(--charcoal);
|
|
}
|
|
.ghCount {
|
|
font-family: var(--font-mono);
|
|
font-weight: 900;
|
|
color: var(--white);
|
|
}
|
|
|
|
.cta {
|
|
padding: 10px 18px !important;
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.links {
|
|
gap: 20px;
|
|
}
|
|
.link {
|
|
font-size: 12px;
|
|
}
|
|
.ghLabel {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.links {
|
|
display: none;
|
|
}
|
|
.nav {
|
|
grid-template-columns: 1fr auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.nav {
|
|
padding: 12px 20px;
|
|
gap: 16px;
|
|
grid-template-columns: 1fr auto;
|
|
}
|
|
.cta,
|
|
.gh {
|
|
display: none;
|
|
}
|
|
}
|