Skip to content

feat: email OTP login, i18n, and homepage improvements - #32

Merged
Talljack merged 2 commits into
mainfrom
fix/home
Apr 10, 2026
Merged

Talljack merged 2 commits into
mainfrom
fix/home

Conversation

@Talljack

Copy link
Copy Markdown
Owner

Summary

  • Email OTP login: Add passwordless email login flow with 6-digit OTP verification alongside existing Google/GitHub OAuth
  • Login page redesign: Modern layout with social login → email → skip ordering, all text i18n-ready (zh/en)
  • Branded email templates: Update Supabase Magic Link and Confirm Signup templates with EchoType branding and OTP codes
  • Homepage improvements: Enhanced Sign In button with icon/border, added ChatFab, hidden Shadow Reading status bar on login page
  • Error localization: Map Supabase error messages to user-friendly Chinese/English translations

Test plan

  • New user registration via email OTP — verified email received with OTP code
  • Existing user login via email OTP — verified email received
  • SMTP configuration with Resend — confirmed working with verified domain
  • i18n translations complete for all login page strings
  • TypeScript type check passes
  • Biome lint/format passes

Made with Cursor

- Redesign login page with email OTP flow (social → email → skip layout)
- Add signInWithEmail, verifyEmailOtp to auth store using Supabase signInWithOtp
- Add login i18n namespace (en/zh) covering all UI strings and error messages
- Localize Supabase error messages (sending failure, rate limit, invalid OTP)
- Add branded email templates for Magic Link and Confirm Signup with OTP codes
- Improve homepage Sign In button with icon and border styling
- Add ChatFab to landing page
- Hide Shadow Reading status bar on login page

Made-with: Cursor
@vercel

vercel Bot commented Apr 10, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
echo-type Ready Ready Preview, Comment Apr 10, 2026 1:59am

Go template syntax ({{ .Token }}) is not valid HTML/JSX for Biome's parser.

Made-with: Cursor
@Talljack
Talljack merged commit ffbbea2 into main Apr 10, 2026
4 checks passed
@Talljack
Talljack deleted the fix/home branch April 10, 2026 02:02

This branch was successfully deployed

1 active deployment
Preview — 2b62caab Deployed Apr 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant