Skip to content

Commit 2a84e15

Browse files
bbertuccclaude
andcommitted
fix(viewer): minimalist login page — brand + button, drop redundant copy
The "Sign in" heading + "Choose a sign-in method to continue." subtitle were committee copy: the brand header identifies the app, the button already labels the action. Removed both visible elements; kept an ``sr-only`` h1 ("Sign in to Equalify Reflow") so the page still has a heading landmark for screen-reader navigation. Same simplification applied to basic mode (the form labels + submit button text already communicate everything the heading was repeating). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent bbccc20 commit 2a84e15

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

clients/viewer/src/auth/LoginPage.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,7 @@ export function LoginPage() {
7171
<main className="flex min-h-screen items-center justify-center bg-background px-4">
7272
<section className="w-full max-w-sm space-y-6 rounded-lg border border-border bg-card p-8 shadow-lg">
7373
<BrandHeader />
74-
<header>
75-
<h1 className="text-2xl font-bold">Sign in</h1>
76-
<p className="mt-1 text-sm text-muted-foreground">
77-
Choose a sign-in method to continue.
78-
</p>
79-
</header>
74+
<h1 className="sr-only">Sign in to Equalify Reflow</h1>
8075
<ul className="space-y-3">
8176
{config.providers.map((provider) => {
8277
const url = new URL(provider.login_url, window.location.origin)
@@ -105,12 +100,7 @@ export function LoginPage() {
105100
<main className="flex min-h-screen items-center justify-center bg-background px-4">
106101
<section className="w-full max-w-sm space-y-6 rounded-lg border border-border bg-card p-8 shadow-lg">
107102
<BrandHeader />
108-
<header>
109-
<h1 className="text-2xl font-bold">Sign in</h1>
110-
<p className="mt-1 text-sm text-muted-foreground">
111-
Enter your username and password to continue.
112-
</p>
113-
</header>
103+
<h1 className="sr-only">Sign in to Equalify Reflow</h1>
114104
<form className="space-y-4" onSubmit={handleSubmit} noValidate>
115105
<label className="block space-y-1">
116106
<span className="text-sm font-medium">Username</span>

0 commit comments

Comments
 (0)