// Admin shell (SD-0001 §5.4) — the storefront's stable home; honestly empty this release // (PUC-8; PUC-9 sign-out). Renders from /me alone: storefront name + signed-in email. No // zeroed metric tiles, no locked-feature teasers (OHM: Agency & Anti-Manipulation). // Visuals per the ui/designs export (hf-admin). import { logout } from "../api"; import { AccountChip, Banner, Eyebrow, Screen, TopBar } from "../ui/kit"; interface Props { storefrontName: string; email: string; welcome: "new" | "back" | null; onSignedOut: () => void; } export default function Admin({ storefrontName, email, welcome, onSignedOut }: Props) { async function signOut() { await logout(); onSignedOut(); } return ( {storefrontName} ecomm storefront } right={} />
{welcome && (
{welcome === "new" ? "A new account was created for this email." : "Signed in to your existing account."}
)} Your storefront

{storefrontName}

There's nothing to manage yet — and that's a finished state, not a missing one. Catalog, orders, and settings will appear here as ecomm grows.

); }