Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32563824
D3492.1767360042.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
938 B
Referenced Files
None
Subscribers
None
D3492.1767360042.diff
View Options
diff --git a/web/splash/splash.react.js b/web/splash/splash.react.js
--- a/web/splash/splash.react.js
+++ b/web/splash/splash.react.js
@@ -2,27 +2,13 @@
import * as React from 'react';
-import LogInModal from '../modals/account/log-in-modal.react';
-import { useModalContext } from '../modals/modal-provider.react';
-import css from './splash.css';
+import LoginForm from '../account/log-in-form.react';
function Splash(): React.Node {
- const modalContext = useModalContext();
- const onClickLogIn = React.useCallback(
- (event: SyntheticEvent<HTMLElement>) => {
- event.preventDefault();
- modalContext.setModal(<LogInModal />);
- },
- [modalContext],
- );
-
return (
- <React.Fragment>
- <div onClick={onClickLogIn} className={css.loginContainer}>
- <h1>Log in</h1>
- </div>
- {modalContext.modal}
- </React.Fragment>
+ <div>
+ <LoginForm />
+ </div>
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 2, 1:20 PM (9 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5875448
Default Alt Text
D3492.1767360042.diff (938 B)
Attached To
Mode
D3492: [web] Add `LoginForm` to `Splash`
Attached
Detach File
Event Timeline
Log In to Comment