Files
Momento/memento-note/app/(auth)/login/page.tsx
Antigravity 09a63c487d
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 5s
feat: redesign auth pages — rounded-[48px] cards, serif titles, orbs, icon inputs
- 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
2026-05-16 20:41:28 +00:00

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} />;
}