19 lines
441 B
Plaintext
19 lines
441 B
Plaintext
---
|
|
import AuthLayout from '../../layouts/Auth.astro';
|
|
import LoginForm from '../../components/LoginForm';
|
|
import { t, localePath } from '../../i18n/utils';
|
|
|
|
const locale = 'zh' as const;
|
|
const login = t(locale, 'login');
|
|
---
|
|
|
|
<AuthLayout locale={locale}>
|
|
<LoginForm
|
|
client:load
|
|
locale={locale}
|
|
translations={login}
|
|
privacyUrl={localePath(locale, '/privacy')}
|
|
termsUrl={localePath(locale, '/terms')}
|
|
/>
|
|
</AuthLayout>
|