forked from abner/for-legacy-web
fix(login): finished new login screen
This commit is contained in:
@@ -111,30 +111,28 @@ export function Form({ page, callback }: Props) {
|
||||
<div className={styles.success}>
|
||||
{configuration?.features.email ? (
|
||||
<>
|
||||
<Envelope size={72} />
|
||||
<h2>
|
||||
<Text id="login.check_mail" />
|
||||
</h2>
|
||||
<p className={styles.note}>
|
||||
<Text id="login.email_delay" />
|
||||
</p>
|
||||
<div>
|
||||
<div className={styles.title}>
|
||||
<Text id="login.check_mail" />
|
||||
</div>
|
||||
<div className={styles.subtitle}>
|
||||
<Text id="login.email_delay" />
|
||||
</div>
|
||||
</div>
|
||||
<MailProvider email={success} />
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<CheckCircle size={72} />
|
||||
<h1>
|
||||
<div className={styles.title}>
|
||||
<Text id="login.successful_registration" />
|
||||
</h1>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
<span className={styles.footer}>
|
||||
<Link to="/login">
|
||||
<a>
|
||||
<Text id="login.remembered" />
|
||||
</a>
|
||||
</Link>
|
||||
</span>
|
||||
<Link to="/login">
|
||||
<a>
|
||||
<Text id="login.remembered" />
|
||||
</a>
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -150,6 +148,7 @@ export function Form({ page, callback }: Props) {
|
||||
</div>
|
||||
<div className={styles.subtitle}>
|
||||
<Text id="login.subtitle" />
|
||||
<div>(app.revolt.chat)</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user