diff --git a/apps/web/src/components/auth/AuthSurfaceShell.tsx b/apps/web/src/components/auth/AuthSurfaceShell.tsx index 1c45c98a9e..ed27bd482a 100644 --- a/apps/web/src/components/auth/AuthSurfaceShell.tsx +++ b/apps/web/src/components/auth/AuthSurfaceShell.tsx @@ -2,22 +2,18 @@ import type { ReactNode } from "react"; import { APP_DISPLAY_NAME, APP_STAGE_LABEL } from "../../branding"; import { resolveSidebarStageBackdropVariant, StageBackdropArt } from "../SidebarStageBackdrop"; +import { StandalonePage } from "../ui/standalone-page"; /** - * Full-screen card for standalone auth pages, mirroring the pairing surface's - * treatment. Used by the CLI-connect authorize and callback surfaces. + * Branded masthead for the CLI-connect authorize and callback pages. */ export function AuthSurfaceShell({ children }: { readonly children: ReactNode }) { const stageVariant = resolveSidebarStageBackdropVariant(APP_STAGE_LABEL); return ( -
- {APP_DISPLAY_NAME} -
-- Validating the pairing link and preparing your session. -
-- {APP_DISPLAY_NAME} -
-- {describeAuthGate(auth.bootstrapMethods)} -
- - - -- {APP_DISPLAY_NAME} -
-{message}
+ : "Pairing backend" + } + description={message} + /> - {request ? ( -+ {eyebrow} +
+{description}
+ > + ); +} diff --git a/apps/web/src/routes/__root.tsx b/apps/web/src/routes/__root.tsx index 42e40842a7..eee703ac3f 100644 --- a/apps/web/src/routes/__root.tsx +++ b/apps/web/src/routes/__root.tsx @@ -35,6 +35,7 @@ import { useCopyToClipboard } from "../hooks/useCopyToClipboard"; import { useDefaultThemeAdoption } from "../hooks/useDefaultTheme"; import { useEnvironmentThemeSync } from "../hooks/useEnvironmentTheme"; import { Button } from "../components/ui/button"; +import { StandalonePage, StandalonePageHeader } from "../components/ui/standalone-page"; import { AnchoredToastProvider, stackedThreadToast, @@ -368,39 +369,30 @@ function RootRouteErrorView({ error }: ErrorComponentProps) { const report = useMemo(() => errorReport(error, pathname), [error, pathname]); return ( -- {APP_DISPLAY_NAME} -
-{message}
- -Error report
-
- {report}
-
- Error report
+
+ {report}
+
+