diff --git a/webui/src/components/remote/QuickPairSetup.tsx b/webui/src/components/remote/QuickPairSetup.tsx index 17fdbebb2..048569708 100644 --- a/webui/src/components/remote/QuickPairSetup.tsx +++ b/webui/src/components/remote/QuickPairSetup.tsx @@ -133,31 +133,26 @@ export function QuickPairSetup({ returned, onSSH, onClose }: { returned?: PairRe const description = preview || reviewingReturn ? "remote.pair.confirmLinkDescription" : restartAvailable ? "remote.pair.introHint" : manual ? "remote.pair.codeHint" : copied ? "remote.pair.afterCopyHint" : "remote.pair.introHint"; const showCopied = copied && !manual && !preview && !restartAvailable; + const showIllustration = !preview && !manual && !reviewingReturn && !restartAvailable; const showBusy = pending && busyVisible; const actionLabel = restartAvailable ? "remote.pair.restart" : reviewingReturn ? error ? "remote.retry" : "remote.pair.review" : preview ? saved ? "remote.retry" : "remote.connect" : manual ? "remote.pair.review" : copied ? "remote.pair.copyAgain" : "remote.pair.copy"; const busyLabel = waitingForLocal ? "remote.pair.waitingForLocal" : preview ? "remote.connecting" : !restartAvailable && (manual || returned) ? "remote.pair.checkingLink" : "remote.pair.preparing"; - return <> - -
- - {showCopied && -
- {t(description)} - {/* Reserve the longer instruction in either state, including translated text. - It is only a layout spacer, never a second screen-reader announcement. */} - {!preview && !manual && !reviewingReturn && } + return
+
+ + {showIllustration && } +
+ + {showCopied && + {t(description)}
-
- -
- {preview ?
+ + {preview ?

{preview.hostname}

{preview.host}

@@ -174,16 +169,16 @@ export function QuickPairSetup({ returned, onSSH, onClose }: { returned?: PairRe summary={<>{t("remote.pair.route")}}>
}
: restartAvailable ? null : <> - {manual &&
+ {manual &&