All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 5s
- Auth layout: warm background with brand-accent/ochre orbs, header with Globe + Momento branding - Login form: serif heading, icon-inputs with focus transitions, uppercase labels, submit with arrow - Register form: matching card style with User/Mail/Lock icons, confirm password field - Forgot password: matching card with email icon, success state with mail icon - Reset password: matching card with Lock icons, invalid link state with AlertCircle - All text via i18n (new keys: welcomeBack, createYourSpace, forgot, etc.) - Dark mode support via CSS variables - Removed shadcn Card/Button/Input dependencies from auth forms
10 lines
354 B
TypeScript
10 lines
354 B
TypeScript
import { LoginForm } from '@/components/login-form';
|
|
import { getSystemConfig } from '@/lib/config';
|
|
|
|
export default async function LoginPage() {
|
|
const config = await getSystemConfig();
|
|
const allowRegister = config.ALLOW_REGISTRATION !== 'false' && process.env.ALLOW_REGISTRATION !== 'false';
|
|
|
|
return <LoginForm allowRegister={allowRegister} />;
|
|
}
|