Skip to content

Switch auth to email and fix authenticated home page#12

Merged
WWStoryMode merged 1 commit into
mainfrom
fix/email-auth-and-home-page
Feb 11, 2026
Merged

Switch auth to email and fix authenticated home page#12
WWStoryMode merged 1 commit into
mainfrom
fix/email-auth-and-home-page

Conversation

@WWStoryMode

Copy link
Copy Markdown
Owner

Summary

  • Switched authentication from phone-based to email-based (phone auth required Supabase provider setup)
  • Login and register pages now have Email/Phone tab switcher; phone tab shows "coming soon"
  • Home page shows role cards (Customer, Vendor, Delivery) with sign out when authenticated, and sign-in/create account when not
  • Auth hook updated: signIn/signUp use email, user interface uses email field instead of phone

Test plan

  • Register with email + password — account created successfully
  • Login with email + password — redirected to home with role cards
  • Click Phone tab on login/register — shows "coming soon" message
  • Authenticated home page shows all 3 role cards + sign out button
  • Sign out returns to unauthenticated view with Sign In / Create Account
  • Demo mode (DEMO_MODE=true) still works unchanged

🤖 Generated with Claude Code

…sers

- Change signIn/signUp to use email instead of phone (Supabase email auth)
- Add Email/Phone tab switcher on login and register pages
- Phone tab shows "coming soon" placeholder
- Home page now shows role cards when logged in, sign-in buttons when not
- Add sign out button to authenticated home page header

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@vercel

vercel Bot commented Feb 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
project-firefly Building Building Preview, Comment Feb 11, 2026 4:46pm

@WWStoryMode
WWStoryMode merged commit abe5113 into main Feb 11, 2026
2 of 3 checks passed
@WWStoryMode
WWStoryMode deleted the fix/email-auth-and-home-page branch February 11, 2026 16:46
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