diff --git a/apps/marketing/components/hero-3d-stage.tsx b/apps/marketing/components/hero-3d-stage.tsx index dc57ade8a..7a6cf07ae 100644 --- a/apps/marketing/components/hero-3d-stage.tsx +++ b/apps/marketing/components/hero-3d-stage.tsx @@ -130,35 +130,53 @@ export function Hero3DStage() { position: "relative", }} > - {/* Transformed base - Use CSS variables */} + {/* Floating animation wrapper */} - + {/* Transformed base - Use CSS variables */} + + + diff --git a/apps/marketing/components/okcode-mockup.tsx b/apps/marketing/components/okcode-mockup.tsx index c5b45ad5d..cc7f894b1 100644 --- a/apps/marketing/components/okcode-mockup.tsx +++ b/apps/marketing/components/okcode-mockup.tsx @@ -196,70 +196,126 @@ export function OKCodeMockup() { {/* Chat Content */}
{/* Task Title */} -
+
install deps
2:47:33 AM
-
+ {/* AI Response */}
-

- { - "I'm checking the repo for its package manager and lockfiles first, then I'll install dependencies with the project's intended tool." - } -

-
2:47:44 AM • 11s
+ +

+ { + "I'm checking the repo for its package manager and lockfiles first, then I'll install dependencies with the project's intended tool." + } +

+
2:47:44 AM • 11s
+
{/* Collapsed Command */} - - -

- The repo is pinned to pnpm via{" "} - pnpm-lock.yaml. {"I'm installing with"}{" "} - pnpm install from the workspace root now. -

-
2:47:46 AM • 2.5s
- -

- pnpm has started linking packages from the lockfile.{" "} - {"I'm waiting for it to finish and checking for any postinstall failures."} -

-
2:47:50 AM • 4.1s
+ + + + + +

+ The repo is pinned to pnpm via{" "} + pnpm-lock.yaml. {"I'm installing with"}{" "} + pnpm install from the workspace root now. +

+
2:47:46 AM • 2.5s
+
+ + +

+ pnpm has started linking packages from the lockfile.{" "} + {"I'm waiting for it to finish and checking for any postinstall failures."} +

+
2:47:50 AM • 4.1s
+
{/* Expanded Command */} -
-
- - - {"Ran command - /bin/zsh -lc 'pnpm install'"} - + +
+
+ + + {"Ran command - /bin/zsh -lc 'pnpm install'"} + +
-
+ {/* Response Status */} -
-
- - RESPONSE • WORKED FOR 22S + +
+
+ + RESPONSE • WORKED FOR 22S +
-
- -

- Dependencies are installed with pnpm. -

- -

- pnpm install completed successfully in{" "} - /Users/buns/.okcode/worktrees/psi-claw/okcode-ad7415a3, and{" "} - node_modules is now populated. One note:{" "} - pnpm ignored the msw build script - under its build-approval policy. If this app depends on msw - {"'s"} postinstall behavior, run pnpm approve-builds and - allow it. -

-
2:47:55 AM • 4.2s
+ + + +

+ Dependencies are installed with pnpm. +

+
+ + +

+ pnpm install completed successfully in{" "} + /Users/buns/.okcode/worktrees/psi-claw/okcode-ad7415a3, and{" "} + node_modules is now populated. One note:{" "} + pnpm ignored the msw build script + under its build-approval policy. If this app depends on msw + {"'s"} postinstall behavior, run pnpm approve-builds and + allow it. +

+
2:47:55 AM • 4.2s
+
+ + {/* Typing indicator - appears while messages are loading, fades out after last message */} +
@@ -296,9 +352,19 @@ export function OKCodeMockup() { - +
@@ -465,8 +531,10 @@ function FileTreeItem({ const iconColor = type === "doc" ? "text-[#f59e0b]" : type === "config" ? "text-[#666]" : "text-[#999]"; + const El = active ? motion.div : ("div" as unknown as typeof motion.div); + return ( -
{/* Spacer for alignment */} {name} -
+ ); } @@ -522,6 +598,35 @@ function TabButton({ label, active = false }: { label: string; active?: boolean ); } +function TypingIndicator() { + return ( + + {[0, 1, 2].map((i) => ( + + ))} + + ); +} + function TOCItem({ label }: { label: string }) { return (