Created
November 13, 2018 19:40
-
-
Save aditodkar/46488c7083175105723b72056a03c7ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { Button, Form, Header } from "semantic-ui-react"; | |
const LoginForm = () => ( | |
<Form style={formStyle}> | |
<Header style={title} as='h1'>Account Portal Login</Header> | |
<Header style={info} as='h5'>Please login with your URN number. If you have not been assigned a | |
password, you can create one below and login afterwards</Header> | |
<Header style={info} as='h4'>Please login below</Header> | |
<Form.Field style={formField}> | |
<Form.Input style={formInput} label="URN number" placeholder="Enter URN number" width={4} /> | |
</Form.Field> | |
<Form.Field style={formField}> | |
<Form.Input style={formInput} label="Password" placeholder="Enter password" width={4} /> | |
</Form.Field> | |
<Button style={buttonStyle}>Login</Button> | |
</Form> | |
); | |
const formStyle = { | |
marginLeft: 500, | |
marginTop: 100, | |
width: 550, | |
} | |
const title = { | |
marginLeft: 150 | |
} | |
const info = { | |
textAlign: 'center' | |
} | |
const formField = { | |
marginTop: 30, | |
marginLeft: 80 | |
} | |
const formInput = { | |
width: 400 | |
} | |
const buttonStyle = { | |
borderRadius: 18, | |
width: 200, | |
marginLeft: 160, | |
marginTop: 20, | |
backgroundColor: '#3865fe', | |
color: 'white', | |
} | |
export default LoginForm; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment