Skip to content

feat: redesign login page with split-panel layout#36

Open
eugenioenko wants to merge 1 commit intomainfrom
feat/login-redesign
Open

feat: redesign login page with split-panel layout#36
eugenioenko wants to merge 1 commit intomainfrom
feat/login-redesign

Conversation

@eugenioenko
Copy link
Owner

Summary

  • Split-panel layout: gradient brand panel on the left, clean white form on the right
  • Mobile responsive: brand collapses to a compact horizontal strip at the top
  • Smooth CSS transitions on inputs (focus ring), primary button (shadow + press), secondary button (hover)
  • Dark mode via prefers-color-scheme
  • No new dependencies, no JS changes, all theming overrides still work

Layout

Desktop (≥ 800px)

┌─────────────────┬──────────────────────┐
│  [gradient]     │                      │
│                 │   Welcome back       │
│   [logo]        │   Sign in to ...     │
│   AppTitle      │                      │
│   tagline...    │   Username ________  │
│                 │   Password ________  │
│                 │                      │
│                 │   [ Sign in ]        │
└─────────────────┴──────────────────────┘

Mobile (< 800px)

┌──────────────────────────┐
│ [logo]  AppTitle         │  ← gradient strip
├──────────────────────────┤
│   Welcome back           │
│   Username ____________  │
│   Password ____________  │
│   [ Sign in ]            │
└──────────────────────────┘

Test plan

  • Desktop: brand panel visible on left, form on right
  • Mobile (<800px): brand strip at top, form below
  • Dark mode: correct colors throughout
  • Custom themeLogoUrl renders in brand panel
  • Custom themeCssInline overrides still apply
  • Passkey button and divider render correctly in password_and_passkey mode
  • Error message styled correctly
  • make test passes

🤖 Generated with Claude Code

Professional split-panel design: colored brand panel on the left
(collapses to a top strip on mobile), clean form panel on the right.

- Responsive: horizontal brand strip on mobile (<800px), full left
  column on desktop
- Smooth transitions on input focus (border + glow), button hover
  (color + shadow), button press (translateY)
- Minimal CSS (~120 lines), no external dependencies
- Dark mode support via prefers-color-scheme
- All template variables, passkey JS, and theming override unchanged

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant