diff --git a/src/client/pages/loginPage.scss b/src/client/pages/loginPage.scss new file mode 100644 index 000000000..c6793dde4 --- /dev/null +++ b/src/client/pages/loginPage.scss @@ -0,0 +1,27 @@ +.LoginPage { + border: 1px solid #cccccc; + border-radius: 15px; + width: 450px; + height: 400px; + margin: auto; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + .username, .password { + margin-bottom: 5px; + label { + display: inline-block; + width: 140px; + } + input { + display: inline-block; + width: 250px; + border: 1px solid #cccccc; + border-radius: 4px; + } + } + .Button { + margin-top: 10px; + } +} diff --git a/src/client/pages/loginPage.tsx b/src/client/pages/loginPage.tsx index b37203600..4a82cd0c2 100644 --- a/src/client/pages/loginPage.tsx +++ b/src/client/pages/loginPage.tsx @@ -1,5 +1,9 @@ import React from "react" +import Button from '../components/button' + +import './loginPage.scss' + type Props = {} type State = { @@ -20,17 +24,24 @@ export default class LoginPage extends React.Component { public render(): React.ReactNode { return (
- - this.setState({username: e.target.value})} - /> - - - +
+ + this.setState({username: e.target.value})} + /> +
+
+ + this.setState({password: e.target.value})} + /> +
+
) }