Skip to content

BSL-54 Admin Login Redesign#51

Open
gavinlin24 wants to merge 3 commits into
mainfrom
bsl-54-admin-login-redesign
Open

BSL-54 Admin Login Redesign#51
gavinlin24 wants to merge 3 commits into
mainfrom
bsl-54-admin-login-redesign

Conversation

@gavinlin24
Copy link
Copy Markdown
Contributor

Summary

  • Redesign /admin/login with a split-panel layout: branded marketing aside on the left, sign-in form on the right. Mobile collapses to right panel only.
  • Email/password form is visual only (disabled). Google SSO uses the existing signIn("google") flow.
  • Add a README section documenting how a dev grants themselves admin access via prisma/seed.ts + npm run seed.

Notes

  • Depends on BSL-51 (sidebar fix) merging first — login page renders inside admin sidebar otherwise.
  • Stats values (2,418 / $847M / 326) are Figma placeholders — TODO comment in code, pending confirmation.

gavinlin24 added 3 commits May 6, 2026 22:29
Replace the inline-styled centered card on /admin/login with a Tailwind
split-panel that matches the Figma. Left panel renders the BSL branding,
headline, and three stat blocks; right panel hosts the sign-in surface.
Email/password fields are visual-only (login is out of scope) and the
Google SSO button drops into the "Continue with SSO" Figma slot, keeping
the existing signIn("google") + useSession() redirect untouched.
Add a brief "Accessing the Admin Section" section so a dev with the
project already running can grant themselves admin access in three steps:
edit prisma/seed.ts, run npm run seed, sign in at /admin/login.
- Switch to pink palette and transparent logo
- Extract STATS, INPUT_CLASSES, PINK_BUTTON_CLASSES
- Use raw HTML inputs/buttons (shared Button/Input lock to sky-400/rounded-full)
- Make form copy generic (drop BSL-specific placeholder, label, subtitle)
- Remove section comments and simplify TODOs
@gavinlin24 gavinlin24 requested a review from rohanarcot May 7, 2026 06:17
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