15 lines
522 B
TypeScript
15 lines
522 B
TypeScript
import { SkeletonPreset } from '@lumina/island/organisms/skeleton-preset';
|
|
|
|
import { i18n } from '../../i18n';
|
|
import { AuthTopBar } from '../organisms/auth-top-bar';
|
|
import { AuthTemplate } from '../templates/auth-template';
|
|
|
|
/** Login and registration, before their frame arrives: the top bar and a form step's shape. */
|
|
export default function AuthLoading() {
|
|
return (
|
|
<AuthTemplate header={<AuthTopBar />}>
|
|
<SkeletonPreset preset="form" delayed label={i18n.t('auth:loading')} />
|
|
</AuthTemplate>
|
|
);
|
|
}
|