- Add login page with email validation and invite code support - Add OTP verification page with 6-digit code input - Implement redirect logic based on user state - Add placeholder dashboard page - Add comprehensive test suite for login flow - Export api as default for cleaner imports - All tests passing (12/12) Features: - Email validation with proper error handling - Optional invite code input - OTP resend with 60s countdown - Auto-submit when all 6 digits entered - Loading states and error messages - Redirect to dashboard if already authenticated - Proper navigation flow after OTP verification 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
347 B
TypeScript
13 lines
347 B
TypeScript
'use client';
|
|
|
|
export default function DashboardPage() {
|
|
return (
|
|
<div className="min-h-screen flex items-center justify-center bg-gray-50">
|
|
<div className="text-center">
|
|
<h1 className="text-4xl font-bold text-gray-900">Dashboard</h1>
|
|
<p className="mt-2 text-gray-600">Coming soon...</p>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|