Files
rohitg00__agentmemory/website/components/LiveTerminal.module.css
Rohit Ghumare 7193361b67 refactor(website): rebuild as Next.js 16 App Router app for Vercel
Replaces the vanilla HTML/CSS/JS landing with a production Next.js 16.2
app router build. Deploy target is Vercel; root directory should be
set to 'website/' in the Vercel project settings.

Stack:
- Next.js 16.2 + React 19 + TypeScript 5.7
- next/font for Archivo + JetBrains Mono (no external fetch)
- CSS Modules per component + one globals.css for tokens
- No Tailwind, no bundler config, no client-side routing

Component layout:
- app/layout.tsx           — <html>, font vars, metadata, viewport
- app/page.tsx             — composes all landing sections
- app/globals.css          — design tokens + shared utilities
- components/Nav.tsx       — hexagonal bull mark + menu
- components/Hero.tsx      — title, lede, CTAs
- components/MemoryGraph.tsx   — client canvas animation + hex pause
- components/ScrollProgress.tsx — fixed top gold progress rail
- components/Stats.tsx     — counter-up on first intersect
- components/Primitives.tsx — three cards with 3D mouse tilt
- components/LiveTerminal.tsx  — typewriter memory.recall demo
- components/Compare.tsx   — vs Mem0/Letta/Cognee table
- components/Agents.tsx    — supported-agents grid
- components/Install.tsx   — click-to-copy npm + console boxes
- components/Footer.tsx    — source / changelog / license links

Interactive elements are "use client" islands; static sections render
on the server. prefers-reduced-motion gated throughout.

Upgraded Next from 15.1.3 to 16.2.4 to clear CVE-2025-66478 during
setup. next build completes clean, all 3 routes prerender static.

Deploy:
  1. Import repo on Vercel, set Root Directory = website/
  2. Or: cd website && npx vercel
2026-04-18 19:15:11 +01:00

104 lines
1.7 KiB
CSS

.live {
padding: 96px 0;
}
.terminal {
max-width: 1100px;
margin: 0 auto;
padding: 0 40px;
}
.chrome {
display: flex;
align-items: center;
gap: 8px;
background: var(--iron);
padding: 12px 16px;
border: 1px solid var(--charcoal);
border-bottom: none;
}
.dot {
width: 10px;
height: 10px;
border-radius: 50%;
display: inline-block;
background: var(--charcoal);
}
.red {
background: #ff5f57;
}
.yellow {
background: #febc2e;
}
.green {
background: #28c840;
}
.title {
margin-left: 12px;
font-family: var(--font-mono);
font-size: 12px;
color: var(--steel);
}
.body {
margin: 0;
padding: 24px 24px 16px;
background: var(--abyss);
border: 1px solid var(--charcoal);
border-top: none;
font-family: var(--font-mono);
font-size: 13.5px;
line-height: 1.7;
color: var(--mist);
white-space: pre-wrap;
min-height: 360px;
overflow: hidden;
}
.prompt {
color: var(--gold);
}
.comment {
color: var(--ash);
}
.ok {
color: #29c864;
}
.val {
color: var(--cyan);
}
.caret {
display: inline-block;
width: 8px;
height: 1em;
vertical-align: text-bottom;
background: var(--gold);
margin-left: 2px;
animation: blink 1s steps(1) infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
}
.foot {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--iron);
padding: 12px 16px;
border: 1px solid var(--charcoal);
border-top: none;
}
.status {
font-family: var(--font-mono);
font-size: 11px;
color: var(--steel);
letter-spacing: 0.96px;
text-transform: uppercase;
}
@media (max-width: 640px) {
.terminal {
padding: 0 20px;
}
.body {
font-size: 12px;
}
}