Skip to content

Open source alternative to Semrush and Ahrefs

Delete the signup mockup route and reuse AgentSetupPanel on the dashboard (#619)

Ben Senescubd940993be09
diff --git a/src/client/features/dashboard/DashboardSetupAction.tsx b/src/client/features/dashboard/DashboardSetupAction.tsx
index 89b627b8..a0f46954 100644
--- a/src/client/features/dashboard/DashboardSetupAction.tsx
+++ b/src/client/features/dashboard/DashboardSetupAction.tsx
@@ -4,6 +4,10 @@ import { Link, useNavigate } from "@tanstack/react-router";
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
import { toast } from "sonner";
import { getAgentSetupPrompt } from "@/client/features/ai-mcp/agentSetupPrompt";
+import {
+ AgentSetupPanel,
+ AGENT_SETUP_DESCRIPTION,
+} from "@/client/features/ai-mcp/AgentSetupPanel";
import { CopyButton } from "@/client/features/ai-mcp/SetupControls";
import { SearchConsoleConnectionCard } from "@/client/features/gsc/SearchConsoleConnectionCard";
import { CreateProjectModal } from "@/client/features/projects/CreateProjectModal";
@@ -68,42 +72,20 @@ export function DashboardSetupAction({
return (
<div className="max-w-2xl space-y-4">
<p className="text-sm leading-relaxed text-base-content/65">
- Paste this prompt into your agent to automatically configure OpenSEO
- for you.
+ {AGENT_SETUP_DESCRIPTION}
</p>
- <div className="flex flex-col gap-4 rounded-lg border border-base-300 bg-base-200/25 p-4 sm:flex-row sm:items-center sm:justify-between">
- <div>
- <p className="text-sm font-medium">OpenSEO plugin</p>
- <p className="mt-1 text-xs text-base-content/60">
- MCP connection + SEO skills
- </p>
- </div>
- <div className="shrink-0 [&>button]:h-10 [&>button]:w-full [&>button]:gap-2 [&>button]:text-sm">
- <CopyButton
- primary
- value={getAgentSetupPrompt(
- typeof window === "undefined"
- ? "https://app.openseo.so"
- : window.location.origin,
- )}
- label="Copy setup prompt"
- successMessage="Setup prompt copied"
- onCopy={() =>
- captureClientEvent("onboarding:setup_prompt_copy", {
- source: "dashboard",
- })
- }
- />
- </div>
- </div>
- <a
- href="https://openseo.so/docs/mcp"
- target="_blank"
- rel="noreferrer"
- className="inline-block text-xs text-base-content/60 underline decoration-base-content/25 underline-offset-4 hover:text-base-content"
- >
- Manual setup instructions
- </a>
+ <AgentSetupPanel
+ prompt={getAgentSetupPrompt(
+ typeof window === "undefined"
+ ? "https://app.openseo.so"
+ : window.location.origin,
+ )}
+ onCopy={() =>
+ captureClientEvent("onboarding:setup_prompt_copy", {
+ source: "dashboard",
+ })
+ }
+ />
</div>
);
if (step === "competitor")
diff --git a/src/client/features/onboarding/CompactAgentPrompt.tsx b/src/client/features/onboarding/CompactAgentPrompt.tsx
deleted file mode 100644
index 281c6cbd..00000000
--- a/src/client/features/onboarding/CompactAgentPrompt.tsx
+++ /dev/null
@@ -1,97 +0,0 @@
-import { AgentSetupPanel } from "@/client/features/ai-mcp/AgentSetupPanel";
-import { ArrowLeft, ArrowRight, FileText } from "lucide-react";
-import { CopyButton } from "@/client/features/ai-mcp/SetupControls";
-import { getAgentSetupPrompt } from "@/client/features/ai-mcp/agentSetupPrompt";
-
-export type CompactTreatment = "panel" | "simple" | "preview";
-
-export function CompactAgentPrompt({
- treatment,
- onBack,
- onFinish,
-}: {
- treatment: CompactTreatment;
- onBack: () => void;
- onFinish: () => void;
-}) {
- const prompt = getAgentSetupPrompt("https://app.openseo.so");
- const copy = (
- <div className="[&>button]:h-11 [&>button]:w-full [&>button]:gap-2 [&>button]:text-sm">
- <CopyButton
- primary
- value={prompt}
- label="Copy setup prompt"
- successMessage="Setup prompt copied"
- />
- </div>
- );
- const manual = (
- <a
- href="https://openseo.so/docs/mcp"
- target="_blank"
- rel="noreferrer"
- className="text-xs text-base-content/60 underline decoration-base-content/25 underline-offset-4 hover:text-base-content"
- >
- Manual setup
- </a>
- );
-
- return (
- <div>
- {treatment === "panel" && <AgentSetupPanel prompt={prompt} />}
- {treatment === "simple" && (
- <>
- <div className="mb-5 flex items-center justify-between gap-3">
- <span className="text-sm font-medium">OpenSEO plugin</span>
- <span className="rounded-md border border-base-300 px-2 py-1 text-xs text-base-content/60">
- MCP + skills
- </span>
- </div>
- {copy}
- <div className="mt-4 text-center">{manual}</div>
- </>
- )}
- {treatment === "preview" && (
- <>
- <div className="overflow-hidden rounded-xl border border-base-300">
- <div className="flex items-center justify-between gap-3 border-b border-base-300 bg-base-200/40 px-5 py-3.5">
- <span className="flex items-center gap-2 text-xs font-medium">
- <FileText className="size-3.5 text-base-content/60" /> Setup
- prompt
- </span>
- <span className="text-xs text-base-content/45">OpenSEO</span>
- </div>
- <div className="p-5">
- <p className="text-sm font-medium">
- Set up OpenSEO in this agent.
- </p>
- <p className="mt-2 text-xs leading-relaxed text-base-content/60">
- Detect the agent. Install the plugin (MCP + skills).
- <br className="hidden sm:block" /> Guide me through sign-in and
- verify the connection.
- </p>
- </div>
- <div className="border-t border-base-300 p-4">{copy}</div>
- </div>
- <div className="mt-4 text-center">{manual}</div>
- </>
- )}
- <div className="mt-7 flex items-center justify-between gap-3 border-t border-base-300 pt-5">
- <button
- type="button"
- className="flex min-h-10 items-center gap-1.5 text-xs text-base-content/60 hover:text-base-content"
- onClick={onBack}
- >
- <ArrowLeft className="size-3.5" /> Back
- </button>
- <button
- type="button"
- className="btn btn-ghost btn-sm gap-2"
- onClick={onFinish}
- >
- Go to dashboard <ArrowRight className="size-4" />
- </button>
- </div>
- </div>
- );
-}
diff --git a/src/client/features/onboarding/SignupPreview.tsx b/src/client/features/onboarding/SignupPreview.tsx
deleted file mode 100644
index a759f169..00000000
--- a/src/client/features/onboarding/SignupPreview.tsx
+++ /dev/null
@@ -1,327 +0,0 @@
-import { AGENT_SETUP_DESCRIPTION } from "@/client/features/ai-mcp/AgentSetupPanel";
-import { useState } from "react";
-import { ArrowLeft, ArrowRight, Check, Moon, Sun } from "lucide-react";
-import { CopyButton } from "@/client/features/ai-mcp/SetupControls";
-import { getAgentSetupPrompt } from "@/client/features/ai-mcp/agentSetupPrompt";
-import { SignupPreviewLayout, type PreviewDesign } from "./SignupPreviewLayout";
-import { INTEREST_OPTIONS, ONBOARDING_OPTION_LABELS } from "./onboardingModel";
-import {
- CompactAgentPrompt,
- type CompactTreatment,
-} from "./CompactAgentPrompt";
-
-const DESIGNS = [
- { id: "quiet", label: "01 Quiet" },
- { id: "split", label: "02 Split" },
- { id: "compact", label: "03 Compact" },
- { id: "editorial", label: "04 Editorial" },
- { id: "workspace", label: "05 Workspace" },
-] as const;
-
-type Screen = "goal" | "agent" | "prompt" | "done";
-type PreviewSearch = {
- design: PreviewDesign;
- screen: Screen;
- treatment: CompactTreatment;
-};
-
-export function SignupPreview({
- design,
- screen,
- treatment,
- onChange,
-}: PreviewSearch & {
- onChange: (search: PreviewSearch) => void;
-}) {
- const [dark, setDark] = useState(true);
- const [interests, setInterests] = useState<string[]>([]);
- const [other, setOther] = useState("");
- const go = (next: Screen) => onChange({ design, screen: next, treatment });
- const step = screen === "goal" ? 1 : 2;
- const title =
- screen === "goal"
- ? "What brings you here?"
- : screen === "agent"
- ? "Already use an AI agent?"
- : screen === "prompt"
- ? "Set up your agent"
- : "You're ready to go.";
- const subtitle =
- screen === "goal"
- ? "Pick up to three things you want to work on."
- : screen === "agent"
- ? "Like Claude, ChatGPT Desktop, or Grok Bot."
- : screen === "prompt"
- ? AGENT_SETUP_DESCRIPTION
- : "Your dashboard is next. Finish your project setup there.";
-
- const content = (
- <div className="space-y-7">
- {screen === "goal" && (
- <>
- <div
- className={
- design === "compact"
- ? "flex flex-wrap gap-2"
- : design === "split" || design === "workspace"
- ? "grid gap-3 sm:grid-cols-2"
- : "grid gap-0"
- }
- >
- {INTEREST_OPTIONS.map((interest) => {
- const selected = interests.includes(interest);
- return (
- <button
- key={interest}
- type="button"
- aria-pressed={selected}
- disabled={!selected && interests.length >= 3}
- onClick={() =>
- setInterests(
- selected
- ? interests.filter((value) => value !== interest)
- : [...interests, interest],
- )
- }
- className={`flex items-center gap-3 text-left text-sm transition-colors disabled:opacity-35 focus-visible:outline-2 focus-visible:outline-primary ${
- design === "compact"
- ? "rounded-full border px-4 py-2.5"
- : design === "quiet" || design === "editorial"
- ? "border-b border-base-300 py-4"
- : "rounded-lg border p-4"
- } ${selected ? "border-primary text-primary bg-primary/5" : "border-base-300 hover:bg-base-200"}`}
- >
- <span
- className={`flex size-4 shrink-0 items-center justify-center rounded border ${selected ? "border-primary bg-primary text-primary-content" : "border-base-content/30"}`}
- >
- {selected && <Check className="size-3" />}
- </span>
- <span className="capitalize">
- {ONBOARDING_OPTION_LABELS[interest] ?? interest}
- </span>
- </button>
- );
- })}
- </div>
- {interests.includes("Other") && (
- <input
- aria-label="What else would you like to work on?"
- className="input input-bordered w-full"
- placeholder="What else would you like to work on?"
- value={other}
- onChange={(event) => setOther(event.target.value)}
- />
- )}
- <div className="flex items-center justify-between gap-4">
- <button
- type="button"
- className="btn btn-ghost"
- onClick={() => go("agent")}
- >
- Skip
- </button>
- <button
- type="button"
- className="btn btn-primary"
- disabled={interests.length === 0}
- onClick={() => go("agent")}
- >
- Continue <ArrowRight className="size-4" />
- </button>
- </div>
- </>
- )}
- {screen === "agent" && (
- <div className="flex items-center justify-between gap-3">
- <button
- type="button"
- className="flex min-h-10 items-center gap-1.5 text-xs text-base-content/60 hover:text-base-content"
- onClick={() => go("goal")}
- >
- <ArrowLeft className="size-3.5" /> Back
- </button>
- <div className="flex gap-3">
- <button
- type="button"
- className="btn btn-outline min-w-16"
- onClick={() => go("done")}
- >
- No
- </button>
- <button
- type="button"
- className="btn btn-primary min-w-24"
- onClick={() => go("prompt")}
- >
- Yes <ArrowRight className="size-4" />
- </button>
- </div>
- </div>
- )}
- {screen === "prompt" && design === "compact" && (
- <CompactAgentPrompt
- treatment={treatment}
- onBack={() => go("agent")}
- onFinish={() => go("done")}
- />
- )}
- {screen === "prompt" && design !== "compact" && (
- <>
- <div
- className={
- design === "workspace" || design === "split"
- ? "rounded-xl border border-base-300 bg-base-200/40 p-6"
- : ""
- }
- >
- <div className="mb-4 flex items-center gap-2 text-xs font-medium text-base-content/55">
- <span>OpenSEO plugin</span>
- <span aria-hidden="true">·</span>
- <span>MCP + skills</span>
- </div>
- <CopyButton
- primary
- value={getAgentSetupPrompt("https://app.openseo.so")}
- label="Copy setup prompt"
- successMessage="Setup prompt copied"
- />
- </div>
- <div className="flex flex-wrap items-center justify-between gap-4 border-t border-base-300 pt-6">
- <a
- href="https://openseo.so/docs/mcp"
- target="_blank"
- rel="noreferrer"
- className="text-sm text-base-content/60 underline underline-offset-4 hover:text-base-content"
- >
- Manual setup
- </a>
- <button
- type="button"
- className="btn btn-ghost"
- onClick={() => go("done")}
- >
- Go to dashboard <ArrowRight className="size-4" />
- </button>
- </div>
- <button
- type="button"
- className="flex items-center gap-2 text-xs text-base-content/50 hover:text-base-content"
- onClick={() => go("agent")}
- >
- <ArrowLeft className="size-3" /> Change answer
- </button>
- </>
- )}
- {screen === "done" && (
- <div className="space-y-5">
- <p className="rounded-lg bg-base-200 p-4 text-sm text-base-content/60">
- Preview complete. No answers have been saved.
- </p>
- <button
- type="button"
- className="btn btn-primary"
- onClick={() => {
- setInterests([]);
- setOther("");
- go("goal");
- }}
- >
- Restart preview <ArrowRight className="size-4" />
- </button>
- </div>
- )}
- </div>
- );
-
- return (
- <div
- data-theme={dark ? "openseo-dark" : "openseo"}
- className="min-h-screen bg-base-100 text-base-content"
- >
- <nav
- aria-label="Preview controls"
- className="border-b border-base-300 bg-base-200 px-4 py-3"
- >
- <div className="mx-auto flex max-w-7xl flex-wrap items-center gap-2">
- <span className="mr-3 text-xs font-semibold text-base-content/50">
- ONBOARDING EXPLORATIONS
- </span>
- {DESIGNS.map((option) => (
- <button
- key={option.id}
- type="button"
- aria-pressed={design === option.id}
- className={`btn btn-sm ${design === option.id ? "btn-neutral" : "btn-ghost"}`}
- onClick={() => onChange({ design: option.id, screen, treatment })}
- >
- {option.label}
- </button>
- ))}
- <button
- type="button"
- className="btn btn-square btn-ghost btn-sm ml-auto"
- aria-label={dark ? "Light theme" : "Dark theme"}
- onClick={() => setDark(!dark)}
- >
- {dark ? <Sun className="size-4" /> : <Moon className="size-4" />}
- </button>
- </div>
- <div className="mx-auto mt-2 flex max-w-7xl flex-wrap items-center gap-2">
- {(
- [
- ["goal", "Earlier question"],
- ["agent", "Agent question"],
- ["prompt", "Copy prompt"],
- ] as const
- ).map(([value, label]) => (
- <button
- key={value}
- type="button"
- aria-pressed={screen === value}
- className={`rounded px-2 py-1 text-xs ${screen === value ? "bg-base-300 text-base-content" : "text-base-content/50 hover:text-base-content"}`}
- onClick={() => go(value)}
- >
- {label}
- </button>
- ))}
- <span className="ml-auto text-xs text-base-content/40">
- Interactive preview · No answers saved
- </span>
- </div>
- </nav>
- {design === "compact" && (
- <div
- aria-label="Compact variations"
- className="flex flex-wrap justify-center gap-2 border-b border-base-300 bg-base-200/50 px-4 py-3"
- >
- {(
- [
- ["panel", "A · Unified panel"],
- ["simple", "B · Simple action"],
- ["preview", "C · Prompt preview"],
- ] as const
- ).map(([value, label]) => (
- <button
- key={value}
- type="button"
- aria-pressed={treatment === value}
- className={`btn btn-sm ${treatment === value ? "btn-neutral" : "btn-ghost"}`}
- onClick={() => onChange({ design, screen, treatment: value })}
- >
- {label}
- </button>
- ))}
- </div>
- )}
- <SignupPreviewLayout
- design={design}
- step={step}
- title={title}
- subtitle={subtitle}
- go={go}
- >
- {content}
- </SignupPreviewLayout>
- </div>
- );
-}
diff --git a/src/client/features/onboarding/SignupPreviewLayout.tsx b/src/client/features/onboarding/SignupPreviewLayout.tsx
deleted file mode 100644
index 944ab4ca..00000000
--- a/src/client/features/onboarding/SignupPreviewLayout.tsx
+++ /dev/null
@@ -1,161 +0,0 @@
-import { OnboardingCard } from "./OnboardingCard";
-import type { ReactNode } from "react";
-import { Check, ChevronRight } from "lucide-react";
-
-export type PreviewDesign =
- | "quiet"
- | "split"
- | "compact"
- | "editorial"
- | "workspace";
-
-export function SignupPreviewLayout({
- design,
- step,
- title,
- subtitle,
- go,
- children,
-}: {
- design: PreviewDesign;
- step: number;
- title: string;
- subtitle: string;
- go: (screen: "goal" | "agent") => void;
- children: ReactNode;
-}) {
- const heading = (
- <div className="mb-8">
- <h1
- className={`font-semibold tracking-tight text-balance ${design === "editorial" ? "text-4xl leading-tight md:text-6xl" : design === "compact" ? "text-2xl" : "text-3xl leading-tight md:text-4xl"}`}
- >
- {title}
- </h1>
- <p className="mt-3 text-sm leading-relaxed text-base-content/60">
- {subtitle}
- </p>
- </div>
- );
- const brand = (
- <div className="flex items-center gap-2 text-sm font-semibold">
- <img src="/transparent-logo.png" alt="" className="size-7" />
- OpenSEO
- </div>
- );
- const milestones = (
- <div className="flex gap-2 md:block md:space-y-3">
- {["Your goals", "Your agent"].map((label, index) => (
- <button
- key={label}
- type="button"
- onClick={() => go(index === 0 ? "goal" : "agent")}
- className={`flex w-full items-center gap-3 rounded-lg px-3 py-3 text-left text-sm ${step === index + 1 ? "bg-primary/10 text-primary" : "text-base-content/45 hover:bg-base-200"}`}
- >
- <span className="flex size-6 items-center justify-center rounded-full border border-current text-xs">
- {step > index + 1 ? <Check className="size-3" /> : index + 1}
- </span>
- {label}
- </button>
- ))}
- </div>
- );
- switch (design) {
- case "quiet":
- return (
- <div className="mx-auto max-w-6xl px-6 py-8 md:px-12">
- {brand}
- <main className="mx-auto max-w-lg pb-16 pt-16 md:pt-24">
- <p className="mb-8 text-xs text-base-content/40">{step} / 2</p>
- {heading}
- {children}
- </main>
- </div>
- );
- case "split":
- return (
- <div className="grid min-h-[calc(100svh-110px)] md:grid-cols-[minmax(260px,0.8fr)_1.4fr]">
- <aside className="flex flex-col border-b border-base-300 bg-base-200/60 p-8 md:border-b-0 md:border-r md:p-12">
- {brand}
- <div className="my-auto pt-5 md:max-w-xs md:py-10">
- <p className="mb-8 hidden text-3xl font-semibold leading-tight tracking-tight md:block">
- Good SEO starts
- <br />
- with your next step.
- </p>
- {milestones}
- </div>
- <p className="hidden text-xs text-base-content/40 md:block">
- Your website setup comes next, on the dashboard.
- </p>
- </aside>
- <main className="m-auto w-full max-w-xl px-6 py-12 md:px-12">
- {heading}
- {children}
- </main>
- </div>
- );
- case "compact":
- return (
- <div className="flex min-h-[calc(100svh-110px)] justify-center bg-base-200/50 px-5">
- <OnboardingCard step={step} total={2}>
- {heading}
- {children}
- </OnboardingCard>
- </div>
- );
- case "editorial":
- return (
- <div className="mx-auto max-w-7xl px-6 py-8 md:px-16">
- <div className="flex items-center justify-between border-b border-base-300 pb-6">
- {brand}
- <span className="text-xs uppercase tracking-widest text-base-content/40">
- Make it yours
- </span>
- </div>
- <main className="grid gap-10 py-12 md:grid-cols-2 md:gap-20 md:py-24">
- <div>
- <p className="mb-8 text-7xl font-light tracking-tighter text-primary/40 md:text-8xl">
- 0{step}
- <span className="text-xl text-base-content/30"> / 02</span>
- </p>
- {heading}
- </div>
- <div className="md:pt-8">{children}</div>
- </main>
- </div>
- );
- case "workspace":
- return (
- <div className="min-h-[calc(100svh-110px)] bg-base-200/40">
- <header className="flex items-center justify-between border-b border-base-300 bg-base-100 px-6 py-4">
- {brand}
- <span className="text-xs text-base-content/45">
- Workspace setup
- </span>
- </header>
- <div className="mx-auto grid max-w-6xl md:grid-cols-[240px_1fr]">
- <aside className="border-b border-base-300 p-5 md:min-h-[650px] md:border-b-0 md:border-r md:py-10">
- <p className="mb-4 hidden px-3 text-xs font-medium text-base-content/40 md:block">
- GET STARTED
- </p>
- {milestones}
- <p className="mt-8 hidden px-3 text-xs leading-relaxed text-base-content/40 md:block">
- Next: add your website, connect Search Console, and invite your
- team.
- </p>
- </aside>
- <main className="p-6 md:p-12">
- <div className="mb-8 flex items-center gap-2 text-xs text-base-content/45">
- Your workspace <ChevronRight className="size-3" />{" "}
- {step === 1 ? "Your goals" : "Your agent"}
- </div>
- <div className="max-w-2xl rounded-xl border border-base-300 bg-base-100 p-6 md:p-8">
- {heading}
- {children}
- </div>
- </main>
- </div>
- </div>
- );
- }
-}
diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts
index 8790835d..e6d170b0 100644
--- a/src/routeTree.gen.ts
+++ b/src/routeTree.gen.ts
@@ -19,7 +19,6 @@ import { Route as ProjectRouteRouteImport } from './routes/_project/route'
import { Route as AppRouteRouteImport } from './routes/_app/route'
import { Route as AppIndexRouteImport } from './routes/_app/index'
import { Route as RReportIdRouteImport } from './routes/r/$reportId'
-import { Route as MockupsSignupRouteImport } from './routes/mockups.signup'
import { Route as ApiHealthRouteImport } from './routes/api/health'
import { Route as AcceptInvitationIdRouteImport } from './routes/accept-invitation.$id'
import { Route as AuthenticatedSubscribeRouteImport } from './routes/_authenticated.subscribe'
@@ -116,11 +115,6 @@ const RReportIdRoute = RReportIdRouteImport.update({
path: '/r/$reportId',
getParentRoute: () => rootRouteImport,
} as any)
-const MockupsSignupRoute = MockupsSignupRouteImport.update({
- id: '/mockups/signup',
- path: '/mockups/signup',
- getParentRoute: () => rootRouteImport,
-} as any)
const ApiHealthRoute = ApiHealthRouteImport.update({
id: '/api/health',
path: '/api/health',
@@ -407,7 +401,6 @@ export interface FileRoutesByFullPath {
'/subscribe': typeof AuthenticatedSubscribeRoute
'/accept-invitation/$id': typeof AcceptInvitationIdRoute
'/api/health': typeof ApiHealthRoute
- '/mockups/signup': typeof MockupsSignupRoute
'/r/$reportId': typeof RReportIdRoute
'/p/$projectId': typeof ProjectPProjectIdRouteRouteWithChildren
'/help/dataforseo-api-key': typeof AppHelpDataforseoApiKeyRoute
@@ -464,7 +457,6 @@ export interface FileRoutesByTo {
'/subscribe': typeof AuthenticatedSubscribeRoute
'/accept-invitation/$id': typeof AcceptInvitationIdRoute
'/api/health': typeof ApiHealthRoute
- '/mockups/signup': typeof MockupsSignupRoute
'/r/$reportId': typeof RReportIdRoute
'/help/dataforseo-api-key': typeof AppHelpDataforseoApiKeyRoute
'/help/openrouter-api-key': typeof AppHelpOpenrouterApiKeyRoute
@@ -522,7 +514,6 @@ export interface FileRoutesById {
'/_authenticated/subscribe': typeof AuthenticatedSubscribeRoute
'/accept-invitation/$id': typeof AcceptInvitationIdRoute
'/api/health': typeof ApiHealthRoute
- '/mockups/signup': typeof MockupsSignupRoute
'/r/$reportId': typeof RReportIdRoute
'/_app/': typeof AppIndexRoute
'/_project/p/$projectId': typeof ProjectPProjectIdRouteRouteWithChildren
@@ -583,7 +574,6 @@ export interface FileRouteTypes {
| '/subscribe'
| '/accept-invitation/$id'
| '/api/health'
- | '/mockups/signup'
| '/r/$reportId'
| '/p/$projectId'
| '/help/dataforseo-api-key'
@@ -640,7 +630,6 @@ export interface FileRouteTypes {
| '/subscribe'
| '/accept-invitation/$id'
| '/api/health'
- | '/mockups/signup'
| '/r/$reportId'
| '/help/dataforseo-api-key'
| '/help/openrouter-api-key'
@@ -697,7 +686,6 @@ export interface FileRouteTypes {
| '/_authenticated/subscribe'
| '/accept-invitation/$id'
| '/api/health'
- | '/mockups/signup'
| '/r/$reportId'
| '/_app/'
| '/_project/p/$projectId'
@@ -750,7 +738,6 @@ export interface RootRouteChildren {
Char91DotwellKnownChar93OpenaiAppsChallengeRoute: typeof Char91DotwellKnownChar93OpenaiAppsChallengeRoute
AcceptInvitationIdRoute: typeof AcceptInvitationIdRoute
ApiHealthRoute: typeof ApiHealthRoute
- MockupsSignupRoute: typeof MockupsSignupRoute
RReportIdRoute: typeof RReportIdRoute
ApiAuthSplatRoute: typeof ApiAuthSplatRoute
ApiAutumnSplatRoute: typeof ApiAutumnSplatRoute
@@ -833,13 +820,6 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof RReportIdRouteImport
parentRoute: typeof rootRouteImport
}
- '/mockups/signup': {
- id: '/mockups/signup'
- path: '/mockups/signup'
- fullPath: '/mockups/signup'
- preLoaderRoute: typeof MockupsSignupRouteImport
- parentRoute: typeof rootRouteImport
- }
'/api/health': {
id: '/api/health'
path: '/api/health'
@@ -1384,7 +1364,6 @@ const rootRouteChildren: RootRouteChildren = {
Char91DotwellKnownChar93OpenaiAppsChallengeRoute,
AcceptInvitationIdRoute: AcceptInvitationIdRoute,
ApiHealthRoute: ApiHealthRoute,
- MockupsSignupRoute: MockupsSignupRoute,
RReportIdRoute: RReportIdRoute,
ApiAuthSplatRoute: ApiAuthSplatRoute,
ApiAutumnSplatRoute: ApiAutumnSplatRoute,
diff --git a/src/routes/mockups.signup.tsx b/src/routes/mockups.signup.tsx
deleted file mode 100644
index 01e2ed6c..00000000
--- a/src/routes/mockups.signup.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import { createFileRoute } from "@tanstack/react-router";
-import { z } from "zod";
-import { SignupPreview } from "@/client/features/onboarding/SignupPreview";
-
-export const Route = createFileRoute("/mockups/signup")({
- ssr: false,
- validateSearch: z.object({
- design: z
- .enum(["quiet", "split", "compact", "editorial", "workspace"])
- .catch("quiet"),
- screen: z.enum(["goal", "agent", "prompt", "done"]).catch("prompt"),
- treatment: z.enum(["panel", "simple", "preview"]).catch("panel"),
- }),
- component: SignupPreviewRoute,
-});
-
-function SignupPreviewRoute() {
- const { design, screen, treatment } = Route.useSearch();
- const navigate = Route.useNavigate();
- return (
- <SignupPreview
- design={design}
- screen={screen}
- treatment={treatment}
- onChange={(search) => void navigate({ search })}
- />
- );
-}