import type { ReactNode } from "react"; import { APP_DISPLAY_NAME, APP_STAGE_LABEL } from "../../branding"; import { resolveSidebarStageBackdropVariant, StageBackdropArt } from "../SidebarStageBackdrop"; /** * Full-screen card for standalone auth pages, mirroring the pairing surface's * treatment. Used by the CLI-connect authorize and callback surfaces. */ export function AuthSurfaceShell({ children }: { readonly children: ReactNode }) { const stageVariant = resolveSidebarStageBackdropVariant(APP_STAGE_LABEL); return (
{stageVariant ? (
) : (
)}

{APP_DISPLAY_NAME}

{children}
); }