diff --git a/public/auth/login-banner.png b/public/auth/login-banner.png new file mode 100644 index 00000000..5fc12766 Binary files /dev/null and b/public/auth/login-banner.png differ diff --git a/public/auth/login-side.png b/public/auth/login-side.png new file mode 100644 index 00000000..4f0da37b Binary files /dev/null and b/public/auth/login-side.png differ diff --git a/src/components/auth/RecordlySignInDialog.tsx b/src/components/auth/RecordlySignInDialog.tsx index 5b8e47bd..cb4c49b4 100644 --- a/src/components/auth/RecordlySignInDialog.tsx +++ b/src/components/auth/RecordlySignInDialog.tsx @@ -137,7 +137,7 @@ export function RecordlySignInDialog({ }; const disabled = Boolean(busy); const expanded = email.trim().length > 0; - const artwork = `${import.meta.env.BASE_URL}wallpapers/wallpaper1.jpg`; + const artwork = `${import.meta.env.BASE_URL}auth/login-banner.png`; return ( @@ -145,17 +145,25 @@ export function RecordlySignInDialog({
diff --git a/tests/ui/login.spec.ts b/tests/ui/login.spec.ts index d302365f..868dd32f 100644 --- a/tests/ui/login.spec.ts +++ b/tests/ui/login.spec.ts @@ -40,7 +40,7 @@ test("banner login animates email expansion, rejects incorrect credentials, and })); expect(textSize.height).toBeLessThanOrEqual(textSize.lineHeight + 1); expect(textSize.scrollWidth).toBeLessThanOrEqual(textSize.width); - const artwork = await login.locator('img[src$="wallpaper1.jpg"]').boundingBox(); + const artwork = await login.locator('img[src$="login-banner.png"]').boundingBox(); expect(artwork!.y + artwork!.height).toBeLessThan(heading!.y); await page.keyboard.press("Tab"); await login.evaluate((element: HTMLElement) => element.focus());