Skip to content

The one and only agent harness for complex codebases. Project memory, planning, execution, and verified completion inside Codex.

1.8 KB
Raw Blame
import type { JSX } from "react"
import { MarketingSection } from "../../design-system/layout"
import { AccentSurface } from "../../design-system/surfaces"
import { InlineCode, Kicker } from "../../design-system/typography"
import { SITE_CONFIG } from "../../../lib/site-config"
import { CodexWindow } from "./codex-window"

/**
 * Interactive Ultrawork demo — the landing's product anchor. Intro copy is
 * grounded in content/docs/ultrawork.md (see .omo/evidence/copy-ledger.md);
 * the window itself replays a real ulw run as a live-DOM scene machine.
 */
export function UlwDemoSection(): JSX.Element {
  return (
    /* This worktree's MarketingSection exposes no id prop, so the #ulw-demo
       anchor lives on a wrapper div (landing-sections.spec locates it). */
    <div id="ulw-demo" className="mt-24 scroll-mt-20 md:mt-32">
      <MarketingSection className="flex flex-col items-center text-center">
        <Kicker>{SITE_CONFIG.ulwDemo.kicker}</Kicker>
        <h2 className="text-balance text-[clamp(32px,5vw,48px)] font-medium tracking-tight text-[color:var(--text-primary)]">
          {SITE_CONFIG.ulwDemo.title}
        </h2>
        <p className="mt-4 max-w-[70ch] text-balance text-base leading-relaxed text-[color:var(--text-muted)] md:text-lg">
          {SITE_CONFIG.ulwDemo.intro}
        </p>

        <AccentSurface className="mt-6" padding="px-6 py-3">
          <InlineCode className="text-lg text-[color:var(--accent-glow)]">
            {SITE_CONFIG.ultraworkExample}
          </InlineCode>
        </AccentSurface>

        <blockquote className="mt-3 font-mono text-xs uppercase tracking-[0.18em] text-[color:var(--text-tertiary)]">
          “{SITE_CONFIG.ulwDemo.quote}”
        </blockquote>

        <div className="mt-12 w-full">
          <CodexWindow />
        </div>
      </MarketingSection>
    </div>
  )
}