Add Supabase email/password authentication

↗ view on GitHub · clapointe-carbonleo · 2026-05-06 · 2217a5df

- AuthContext now uses real Supabase session (onAuthStateChange)
- (pages) layout redirects to /login when not authenticated
- Login page with Carbonleo brand styling (dark bg, yellow CTA)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Repository clapointe-carbonleo/mike-legal
Author clapointe-carbonleo <clapointe@carbonleo.com>
Authored
Parents 333172e1
Stats 3 files changed , +162 , -13
Part of Auth: stripped to a hardcoded "internal" user, then rebuilt on Supabase JWT

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-2217a5df.md from inside the repo you want the change in.

⬇ Download capture-commit-2217a5df.md