import Link from "next/link"; import { ArrowRightIcon, BrainIcon, CheckIcon, KanbanIcon, PlugZapIcon } from "lucide-react"; import { Button } from "@/components/ui/button"; import type { SetupStatus } from "@/lib/data/onboarding"; import { cn } from "@/lib/utils"; /** * The first ten minutes, and nothing else. * * A new workspace used to render four cards agreeing that nothing has * happened — zeros, an empty chase list, a diagnosis with no data. This * replaces them while any step is outstanding and disappears on its own once * they are all done: no dismiss button, because a step that is finished is * finished and a step that is not is the only thing worth reading. */ const COPY = { track: { icon: KanbanIcon, title: "Add a job you are going for", body: "Paste the posting and the form fills itself. Say you have applied and the follow-up reminders start on their own.", href: "/applications?new=1", cta: "Add a job", }, history: { icon: BrainIcon, title: "Paste in your old resume", body: "It reads it and fills in your history, so every resume you build from now on writes itself out of what you have already done.", href: "/me?import=1", cta: "Paste a resume", }, connect: { icon: PlugZapIcon, title: "Let Claude do the typing", body: "Optional, and the best thing here. Once it is connected you can say “I applied to Figma yesterday” and it fills the card in for you.", href: "/settings", cta: "Show me how", }, } as const; export function SetupStrip({ status }: { status: SetupStatus }) { return (
{step.done ? step.detail : copy.body}
{!step.done && ( )}