Theia rip-out: - Delete app/api/theia-auth/route.ts (Traefik ForwardAuth shim) - Delete app/api/projects/[projectId]/workspace/route.ts and app/api/projects/prewarm/route.ts (Cloud Run Theia provisioning) - Delete lib/cloud-run-workspace.ts and lib/coolify-workspace.ts - Strip provisionTheiaWorkspace + theiaWorkspaceUrl/theiaAppUuid/ theiaError from app/api/projects/create/route.ts response - Remove Theia callbackUrl branch in app/auth/page.tsx - Drop "Open in Theia" button + xterm/Theia PTY copy in build/page.tsx - Drop theiaWorkspaceUrl from deployment/page.tsx Project type - Strip Theia IDE line + theia-code-os from advisor + agent-chat context strings - Scrub Theia mention from lib/auth/workspace-auth.ts comment P5.1 (custom apex domains + DNS): - lib/coolify.ts + lib/opensrs.ts: nameserver normalization, OpenSRS XML auth, Cloud DNS plumbing - scripts/smoke-attach-e2e.ts: full prod GCP + sandbox OpenSRS + prod Coolify smoke covering register/zone/A/NS/PATCH/cleanup In-progress (Justine onboarding/build, MVP setup, agent telemetry): - New (justine)/stories, project (home) layouts, mvp-setup, run, tasks routes + supporting components - Project shell + sidebar + nav refactor for the Stackless palette - Agent session API hardening (sessions, events, stream, approve, retry, stop) + atlas-chat, advisor, design-surfaces refresh - New scripts/sync-db-url-from-coolify.mjs + scripts/prisma-db-push.mjs + docker-compose.local-db.yml for local Prisma workflows - lib/dev-bypass.ts, lib/chat-context-refs.ts, lib/prd-sections.ts - Misc: stories CSS, debug/prisma route, modal-theme, BuildLivePlanPanel Made-with: Cursor
77 lines
1.9 KiB
TypeScript
77 lines
1.9 KiB
TypeScript
"use client";
|
|
|
|
import Link from "next/link";
|
|
import { JM } from "@/components/project-creation/modal-theme";
|
|
|
|
export function MvpSetupStepPlaceholder({
|
|
title,
|
|
subtitle,
|
|
body,
|
|
primaryHref,
|
|
primaryLabel,
|
|
nextHref,
|
|
nextLabel,
|
|
}: {
|
|
title: string;
|
|
subtitle: string;
|
|
body: string;
|
|
primaryHref: string;
|
|
primaryLabel: string;
|
|
nextHref: string;
|
|
nextLabel: string;
|
|
}) {
|
|
return (
|
|
<div
|
|
style={{
|
|
flex: 1,
|
|
overflow: "auto",
|
|
padding: "28px 32px",
|
|
fontFamily: JM.fontSans,
|
|
background: "linear-gradient(180deg, #FAFAFA 0%, #F5F3FF 100%)",
|
|
}}
|
|
>
|
|
<div style={{ maxWidth: 520 }}>
|
|
<h1 style={{ fontSize: 22, fontWeight: 700, color: JM.ink, margin: "0 0 8px", fontFamily: JM.fontDisplay }}>
|
|
{title}
|
|
</h1>
|
|
<p style={{ fontSize: 13.5, color: JM.muted, margin: "0 0 24px", lineHeight: 1.55 }}>{subtitle}</p>
|
|
<p style={{ fontSize: 14, color: JM.ink, lineHeight: 1.65, margin: "0 0 28px" }}>{body}</p>
|
|
<Link
|
|
href={primaryHref}
|
|
style={{
|
|
display: "inline-block",
|
|
padding: "12px 22px",
|
|
borderRadius: 10,
|
|
background: JM.primaryGradient,
|
|
color: "#fff",
|
|
fontSize: 14,
|
|
fontWeight: 600,
|
|
textDecoration: "none",
|
|
boxShadow: JM.primaryShadow,
|
|
marginRight: 12,
|
|
marginBottom: 12,
|
|
}}
|
|
>
|
|
{primaryLabel}
|
|
</Link>
|
|
<Link
|
|
href={nextHref}
|
|
style={{
|
|
display: "inline-block",
|
|
padding: "12px 18px",
|
|
borderRadius: 10,
|
|
border: `1px solid ${JM.border}`,
|
|
color: JM.indigo,
|
|
fontSize: 14,
|
|
fontWeight: 600,
|
|
textDecoration: "none",
|
|
background: "#fff",
|
|
}}
|
|
>
|
|
{nextLabel} →
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|