mirror of https://github.com/status-im/fathom.git
20 lines
504 B
JavaScript
20 lines
504 B
JavaScript
'use strict';
|
|
|
|
import { h, render, Component } from 'preact';
|
|
import LoginForm from '../components/LoginForm.js';
|
|
|
|
class Login extends Component {
|
|
render(props, state) {
|
|
return (
|
|
<div class="flex-rapper login-page">
|
|
<div class="login-rapper">
|
|
<LoginForm onSuccess={props.onLogin} />
|
|
<small><a href="https://usefathom.com">Fathom Analytics</a>{/* · <a href="#lost">Password reset</a> */}</small>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default Login
|