The one and only agent harness for complex codebases. Project memory, planning, execution, and verified completion inside Codex.
JavaScript aiai-agentsclaudeclaude-codeclicodexdeveloper-toolslazylazycodexoh-my-openagentomoopenaiorchestrationtypescript
feat(web): rebuild splash as card-in-canvas to match lazycodex.html reference
YeonGyu-Kim222e8e11dcbd
diff --git a/packages/web/DESIGN.md b/packages/web/DESIGN.mdindex d591df09..0d75556d 100644--- a/packages/web/DESIGN.md+++ b/packages/web/DESIGN.md@@ -1,108 +1,36 @@-# LazyCodex Web — Design System--> **Coming-soon splash, build 2026-05.** Single route: `/`. The page mirrors the LazyCodex brand PNG: top-left OmO provenance, centered eyebrow, huge wordmark, two-line tagline, and bottom domain.--## 1. Atmosphere & Identity--LazyCodex is a quiet 4K brand splash, not a marketing landing page. The mood is a deep indigo Codex screen with a low-centered electric violet bloom. The wordmark owns the page; everything else is supporting metadata.--Required visible copy:--- `OmO in Codex`-- `CODEX FOR NO-BRAINERS`-- `LazyCodex`-- `You don't need to think.` / `Just prompt with ultrawork.`-- `Coming June 2026 · Currently on OpenCode`-- `lazycodex.ai`--No feature grid, no install command, no CTA, no footer link cluster.--## 2. Color--| Role | Token | Value | Usage |-| --- | --- | --- | --- |-| Surface / base | `--surface-base` | `#2a2dbf` | Body fallback and icon base |-| Gradient / core | `--brand-core` | `#5a5fef` | Radial center stop |-| Gradient / mid | `--brand-mid` | `#3236c4` | 60% radial stop |-| Gradient / outer | `--brand-outer` | `#232897` | 100% radial stop |-| Text / primary | `--text-primary` | `#ffffff` | Wordmark, eyebrow, footer, emphasis |-| Text / secondary | `--text-secondary` | `#dcdcf8` | Large tagline and launch metadata |-| Text / tertiary | `--text-tertiary` | `#b9bce6` | Top-left secondary text |--Background CSS must mirror the reference SVG:--```css-radial-gradient(ellipse 80% 60% at 50% 65%, #5a5fef 0%, #3236c4 60%, #232897 100%)-```--Contrast checks:--- `#ffffff` on `#5a5fef` = 4.9:1, AA for normal text.-- `#dcdcf8` on `#3236c4` = 6.5:1; on `#232897` = 8.5:1; near the core it remains AA for the large tagline.-- `#b9bce6` is used only in the top-left over the darker outer gradient, where it is ≥ 6:1.--## 3. Typography--Primary sans: `var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif`.-Mono: `var(--font-geist-mono), ui-monospace, SFMono-Regular, monospace`.--Font choice: the reference uses Pretendard, but the site keeps Geist because it is already installed, self-hosted through the existing `geist` package, and preserves zero new font bytes. The splash match comes from weight, scale, and tracking: medium display weight, strong negative wordmark tracking, and wide uppercase eyebrow tracking.--| Level | Size | Weight | Tracking | Usage |-| --- | --- | --- | --- | --- |-| Corner | `clamp(12px, 1.2vw, 14px)` | 400/600 | `-0.01em` | `OmO in Codex` |-| Metadata | `clamp(10px, 0.95vw, 12px)` | 500 | `0.18em` | Launch/OpenCode line |-| Eyebrow | `clamp(11px, 1.1vw, 14px)` | 500 | `0.22em` | `CODEX FOR NO-BRAINERS` |-| Wordmark | `clamp(64px, 12vw, 180px)` | 500 | `-0.04em` | `LazyCodex` |-| Tagline | `clamp(18px, 2.2vw, 36px)` | 400/700 | `-0.015em` | Two-line promise |-| Footer | `clamp(14px, 1.4vw, 18px)` | 600 | `0.08em` | `lazycodex.ai` |+# LazyCodex Design System++## 1. Core Philosophy+- **Codex-tone Luminous Backdrop**: The page uses a dark navy canvas (`#14154d`) with a centered, glowing card.+- **Card-in-Canvas Architecture**: The main content lives inside a 1200x630px card with a complex radial gradient, mimicking the OpenGraph image.+- **Typography**: Clean, geometric sans-serif (Geist Sans) for the wordmark and tagline, with monospace (Geist Mono) for eyebrows and footers.++## 2. Color Palette+- `--surface-base`: `#14154d` (Dark navy canvas)+- `--card-base`: `#2a2dbf` (Card base color)+- `--brand-core`: `#5a5fef` (Gradient core)+- `--brand-mid`: `#3236c4` (Gradient mid)+- `--brand-outer`: `#232897` (Gradient outer)+- `--text-primary`: `#ffffff` (White)+- `--text-secondary`: `#dcdcf8` (Light lavender)+- `--text-tertiary`: `#b9bce6` (Muted lavender)+- `--text-muted`: `rgba(255, 255, 255, 0.72)` (Translucent white)+- `--text-soft`: `#e8e8ff` (Soft white)++## 3. Typography Scale+- **Wordmark**: `clamp(64px, 12vw, 168px)`, medium weight, tight tracking (`-0.03em`).+- **Tagline**: `clamp(20px, 3vw, 34px)`, normal weight, tight tracking (`-0.005em`).+- **Eyebrow**: `15px`, medium weight, wide tracking (`0.32em`), uppercase, monospace.+- **Footer URL**: `22px`, medium weight, tracking (`0.02em`), monospace.## 4. Layout & Spacing--Mobile-first one-screen composition:--- Canvas: `min-height: 100dvh`, centered flex stack, `overflow-hidden` to prevent tiny horizontal scroll from the display type.-- Top-left mark: `top/left: clamp(16px, 3vw, 32px)`.-- Center stack: vertical center, no max-width card, no glass panel.-- Eyebrow to wordmark: `clamp(34px, 4vw, 52px)`.-- Wordmark to tagline: `clamp(24px, 3vw, 40px)`.-- Bottom domain: `bottom: clamp(20px, 4vw, 60px)`, centered absolute.--The splash intentionally leaves large negative space between tagline and footer.--## 5. Components--### Splash mark--Plain text only. `OmO` is semibold white; `in Codex` is regular tertiary. No logo asset.--### Eyebrow + metadata--Two small uppercase lines above the wordmark. The launch/OpenCode line is present for product messaging but visually subordinate to the eyebrow.--### Wordmark--Single semantic `<h1>`. Medium weight, very large, tight tracking, pure white.--### Tagline--Two separate visual lines. `ultrawork` is wrapped in `<strong>` and promoted to primary white with weight 700.--### Footer--Exactly one `<footer>` containing only `lazycodex.ai`, centered at the bottom in mono.--## 6. Motion & Interaction--- One CSS-only soft reveal: opacity + `translate3d(0, 8px, 0)` over 720 ms.-- `prefers-reduced-motion: reduce` disables the reveal.-- No pulse, cursor blink, hover choreography, parallax, or scroll effects.-- The only interactive element is the skip link; it receives a visible white focus ring.--## 7. Accessibility & SEO--- One `<main>`, one `<h1>`, one `<footer>`.-- `lang="en"`, canonical `https://lazycodex.ai/`, OpenGraph/Twitter image routes, JSON-LD, manifest, robots, and sitemap remain in place.-- Metadata title remains `LazyCodex — Codex for lazy people. Coming June 2026.` to preserve the SEO contract.-- The page ships as a Server Component with zero hydration JavaScript.-- No emojis, no raw hex in JSX page markup, no commented-out UI code.+- **Canvas**: Full viewport (`min-h-[100dvh]`), flex column, centered.+- **Card**: Max width 1200px, aspect ratio 1200/630 on large screens. Rounded corners (`16px`).+- **Outer Elements**: "OmO in Codex" (top-left) and "Coming June 2026" (bottom-right) are positioned absolutely on the canvas, outside the card, to preserve the card's exact visual match with the reference.++## 5. Gradients & Effects+- **Base Gradient**: Radial gradient from `#5a5fef` to `#232897`.+- **Beam**: Screen blend mode, soft white light pouring from top-left.+- **Sheen**: Screen blend mode, diagonal linear gradients with blur.+- **Pools**: Screen blend mode, subtle violet pools at bottom-left and top-right.+- **Grain**: Overlay blend mode, SVG fractal noise.diff --git a/packages/web/app/globals.css b/packages/web/app/globals.cssindex c006c41f..099b4c20 100644--- a/packages/web/app/globals.css+++ b/packages/web/app/globals.css@@ -7,13 +7,16 @@@layer base {:root {- --surface-base: #2a2dbf;+ --surface-base: #14154d;+ --card-base: #2a2dbf;--brand-core: #5a5fef;--brand-mid: #3236c4;--brand-outer: #232897;--text-primary: #ffffff;--text-secondary: #dcdcf8;--text-tertiary: #b9bce6;+ --text-muted: rgba(255, 255, 255, 0.72);+ --text-soft: #e8e8ff;}html {@@ -23,12 +26,6 @@body {background-color: var(--surface-base);- background-image: radial-gradient(- ellipse 80% 60% at 50% 65%,- var(--brand-core) 0%,- var(--brand-mid) 60%,- var(--brand-outer) 100%- );color: var(--text-primary);font-feature-settings: "rlig" 1, "calt" 1, "ss01" 1;-webkit-font-smoothing: antialiased;@@ -36,16 +33,6 @@text-rendering: optimizeLegibility;}- .brand-canvas {- background-color: var(--surface-base);- background-image: radial-gradient(- ellipse 80% 60% at 50% 65%,- var(--brand-core) 0%,- var(--brand-mid) 60%,- var(--brand-outer) 100%- );- }-::selection {background-color: var(--brand-outer);color: var(--text-primary);@@ -83,4 +70,34 @@transform: none;}}++ .card-gradient-base {+ background: radial-gradient(120% 100% at 60% 65%, #5a5fef 0%, #4a4fe0 35%, #3236c4 70%, #232897 100%);+ }++ .card-gradient-beam {+ background: radial-gradient(55% 55% at 38% -8%, rgba(255,255,255,0.62) 0%, rgba(220,225,255,0.22) 35%, rgba(255,255,255,0) 65%),+ radial-gradient(32% 28% at 55% -5%, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0) 70%);+ mix-blend-mode: screen;+ }++ .card-gradient-sheen {+ background: linear-gradient(118deg, transparent 18%, rgba(255,255,255,0.16) 26%, rgba(255,255,255,0.30) 30%, rgba(255,255,255,0.12) 35%, transparent 45%),+ linear-gradient(112deg, transparent 8%, rgba(220,225,255,0.12) 15%, transparent 28%);+ filter: blur(20px);+ mix-blend-mode: screen;+ opacity: 0.85;+ }++ .card-gradient-pools {+ background: radial-gradient(55% 50% at 8% 95%, rgba(150,180,255,0.26), transparent 70%),+ radial-gradient(45% 45% at 95% 40%, rgba(180,150,255,0.20), transparent 70%);+ mix-blend-mode: screen;+ }++ .card-grain {+ opacity: 0.05;+ mix-blend-mode: overlay;+ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");+ }}diff --git a/packages/web/app/opengraph-image.tsx b/packages/web/app/opengraph-image.tsxindex 81921202..a3547bee 100644--- a/packages/web/app/opengraph-image.tsx+++ b/packages/web/app/opengraph-image.tsx@@ -6,13 +6,16 @@ export const size = { width: 1200, height: 630 }export const contentType = "image/png"const palette = {- surfaceBase: "#2a2dbf",+ surfaceBase: "#14154d",+ cardBase: "#2a2dbf",brandCore: "#5a5fef",brandMid: "#3236c4",brandOuter: "#232897",textPrimary: "#ffffff",textSecondary: "#dcdcf8",textTertiary: "#b9bce6",+ textSoft: "#e8e8ff",+ textMuted: "rgba(255, 255, 255, 0.72)",} as constexport default function OgImage(): ImageResponse {@@ -24,28 +27,12 @@ export default function OgImage(): ImageResponse {display: "flex",width: "100%",height: "100%",- backgroundColor: palette.surfaceBase,- backgroundImage: `radial-gradient(ellipse 80% 60% at 50% 65%, ${palette.brandCore} 0%, ${palette.brandMid} 60%, ${palette.brandOuter} 100%)`,+ backgroundColor: palette.cardBase,+ backgroundImage: `radial-gradient(120% 100% at 60% 65%, ${palette.brandCore} 0%, #4a4fe0 35%, ${palette.brandMid} 70%, ${palette.brandOuter} 100%)`,color: palette.textPrimary,fontFamily: "system-ui, sans-serif",}}>- <div- style={{- position: "absolute",- top: "44px",- left: "48px",- display: "flex",- gap: "6px",- color: palette.textTertiary,- fontSize: "22px",- letterSpacing: "-0.2px",- }}- >- <span style={{ color: palette.textPrimary, fontWeight: 650 }}>OmO</span>- <span>in Codex</span>- </div>-<divstyle={{position: "absolute",@@ -60,23 +47,13 @@ export default function OgImage(): ImageResponse {><divstyle={{- marginBottom: "12px",- color: palette.textSecondary,- fontSize: "17px",- fontWeight: 500,- letterSpacing: "3px",- textTransform: "uppercase",- }}- >- Coming June 2026 · Currently on OpenCode- </div>- <div- style={{- color: palette.textPrimary,- fontSize: "18px",+ color: palette.textSoft,+ fontSize: "15px",fontWeight: 500,letterSpacing: "5px",textTransform: "uppercase",+ fontFamily: "monospace",+ opacity: 0.9,}}>CODEX FOR NO-BRAINERS@@ -85,7 +62,7 @@ export default function OgImage(): ImageResponse {style={{marginTop: "34px",color: palette.textPrimary,- fontSize: "150px",+ fontSize: "168px",fontWeight: 500,letterSpacing: "-6px",lineHeight: 0.95,@@ -99,7 +76,7 @@ export default function OgImage(): ImageResponse {flexDirection: "column",alignItems: "center",marginTop: "26px",- color: palette.textSecondary,+ color: palette.textMuted,fontSize: "34px",fontWeight: 400,lineHeight: 1.35,@@ -108,7 +85,7 @@ export default function OgImage(): ImageResponse {<div>You don't need to think.</div><div style={{ display: "flex" }}><span>Just prompt with </span>- <span style={{ color: palette.textPrimary, fontWeight: 700 }}>ultrawork</span>+ <span style={{ color: palette.textPrimary, fontWeight: 500 }}>ultrawork</span><span>.</span></div></div>@@ -117,7 +94,7 @@ export default function OgImage(): ImageResponse {<divstyle={{position: "absolute",- bottom: "42px",+ bottom: "56px",left: 0,right: 0,display: "flex",@@ -125,9 +102,10 @@ export default function OgImage(): ImageResponse {alignItems: "center",color: palette.textPrimary,fontFamily: "monospace",- fontSize: "24px",- fontWeight: 700,- letterSpacing: "2px",+ fontSize: "22px",+ fontWeight: 500,+ letterSpacing: "0.5px",+ opacity: 0.9,}}>lazycodex.aidiff --git a/packages/web/app/page.tsx b/packages/web/app/page.tsxindex b178861b..75ddb7da 100644--- a/packages/web/app/page.tsx+++ b/packages/web/app/page.tsx@@ -6,52 +6,67 @@ import type { JSX } from "react"*/export default function ComingSoonPage(): JSX.Element {return (- <main className="brand-canvas relative flex min-h-[100dvh] items-center justify-center overflow-hidden px-6 py-16 text-center">+ <main className="relative flex min-h-[100dvh] flex-col items-center justify-center overflow-hidden px-4 py-12 md:px-8 md:py-16"><ahref="#content"- className="sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-50 focus:rounded-md focus:bg-[color:var(--brand-outer)] focus:px-3 focus:py-2 focus:text-sm focus:text-[color:var(--text-primary)]"+ className="sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-50 focus:rounded-md focus:bg-[color:var(--card-base)] focus:px-3 focus:py-2 focus:text-sm focus:text-[color:var(--text-primary)]">Skip to main content</a>- <p className="splash-reveal absolute left-[clamp(16px,3vw,32px)] top-[clamp(16px,3vw,32px)] z-10 text-[clamp(12px,1.2vw,14px)] tracking-[-0.01em] text-[color:var(--text-tertiary)]">- <span className="font-semibold text-[color:var(--text-primary)]">OmO</span>{" "}+ {/* Top-left OmO branding */}+ <p className="splash-reveal absolute left-[clamp(16px,3vw,32px)] top-[clamp(16px,3vw,32px)] z-10 text-[13px] tracking-[-0.01em] text-[color:var(--text-tertiary)]">+ <span className="font-semibold text-[#D8D8F2]">OmO</span>{" "}<span>in Codex</span></p>+ {/* Bottom-right / Bottom-center status text */}+ <p className="splash-reveal absolute bottom-[clamp(16px,3vw,32px)] right-[clamp(16px,3vw,32px)] z-10 text-center text-[12px] font-medium uppercase tracking-[0.18em] text-[color:var(--text-secondary)] md:text-right md:text-[13px]">+ Coming June 2026 ·{" "}+ <a+ href="https://github.com/code-yeongyu/oh-my-openagent"+ target="_blank"+ rel="noopener noreferrer"+ className="underline decoration-[color:var(--text-tertiary)] decoration-1 underline-offset-[3px] transition-colors duration-200 hover:text-[color:var(--text-primary)] hover:decoration-[color:var(--text-primary)]"+ >+ Currently on OpenCode+ </a>+ </p>++ {/* The Card */}<sectionid="content"- className="splash-reveal mx-auto flex w-full flex-col items-center"+ className="splash-reveal relative isolate flex w-full max-w-[1200px] flex-col items-center justify-center overflow-hidden rounded-[16px] bg-[color:var(--card-base)] px-[20px] py-[60px] text-center shadow-[0_40px_120px_rgba(0,0,0,0.6)] md:px-[60px] md:py-[70px] lg:aspect-[1200/630]">- <p className="mb-[clamp(10px,1.5vw,14px)] text-[clamp(10px,0.95vw,12px)] font-medium uppercase tracking-[0.18em] text-[color:var(--text-secondary)]">- Coming June 2026 ·{" "}- <a- href="https://github.com/code-yeongyu/oh-my-openagent"- target="_blank"- rel="noopener noreferrer"- className="underline decoration-[color:var(--text-tertiary)] decoration-1 underline-offset-[3px] transition-colors duration-200 hover:text-[color:var(--text-primary)] hover:decoration-[color:var(--text-primary)]"- >- Currently on OpenCode- </a>- </p>- <p className="text-[clamp(11px,1.1vw,14px)] font-medium uppercase tracking-[0.22em] text-[color:var(--text-primary)]">- CODEX FOR NO-BRAINERS- </p>- <h1 className="mt-[clamp(34px,4vw,52px)] text-balance text-[clamp(64px,12vw,180px)] font-medium leading-[0.95] tracking-[-0.04em] text-[color:var(--text-primary)]">- LazyCodex- </h1>- <div className="mt-[clamp(24px,3vw,40px)] text-balance text-[clamp(18px,2.2vw,36px)] font-normal leading-[1.4] tracking-[-0.015em] text-[color:var(--text-secondary)]">- <p>You don't need to think.</p>- <p>- Just prompt with{" "}- <strong className="font-bold text-[color:var(--text-primary)]">ultrawork</strong>.+ {/* Card Background Layers */}+ <div className="card-gradient-base absolute inset-0 -z-10" />+ <div className="card-gradient-pools absolute inset-0 -z-10" />+ <div className="card-gradient-sheen absolute -inset-[10%] -z-10" />+ <div className="card-gradient-beam absolute inset-0 -z-10" />+ <div className="card-grain absolute inset-0 -z-10" />++ {/* Card Content */}+ <div className="flex flex-col items-center justify-center gap-[30px]">+ <p className="font-mono text-[15px] font-medium uppercase tracking-[0.32em] text-[color:var(--text-soft)] opacity-90">+ CODEX FOR NO-BRAINERS</p>++ <h1 className="m-0 text-balance text-[clamp(64px,12vw,168px)] font-medium leading-[0.98] tracking-[-0.03em] text-[color:var(--text-primary)]">+ LazyCodex+ </h1>++ <div className="m-0 max-w-[960px] text-balance text-[clamp(20px,3vw,34px)] font-normal leading-[1.35] tracking-[-0.005em] text-[color:var(--text-muted)]">+ <p>You don't need to think.</p>+ <p>+ Just prompt with <strong className="font-medium text-[color:var(--text-primary)]">ultrawork</strong>.+ </p>+ </div></div>- </section>- <footer className="splash-reveal absolute bottom-[clamp(20px,4vw,60px)] left-1/2 z-10 -translate-x-1/2 font-mono text-[clamp(14px,1.4vw,18px)] font-semibold tracking-[0.08em] text-[color:var(--text-primary)]">- lazycodex.ai- </footer>+ <footer className="absolute bottom-[40px] left-0 right-0 text-center font-mono text-[22px] font-medium tracking-[0.02em] text-[color:var(--text-primary)] opacity-90 md:bottom-[56px]">+ lazycodex.ai+ </footer>+ </section></main>)}