Commit 24ca2c57 by Tonk

update login style

parent 2a3678ae
import React from 'react'; import React from 'react';
import { Card, Form, Button, Container, Row } from 'react-bootstrap';
const LogInView = ({ onSubmit }) => { const LogInView = ({ onSubmit }) => {
return ( return (
<> <Container style={{ alignItems: 'center', paddingTop: '2em', maxWidth: '400px' }}>
<h1>Log in</h1> <Card style={{ padding: '2em 1em', backgroundColor: '#49b9ff' }}>
<form onSubmit={onSubmit}> <h2 style={{ color: 'white' }}>ToiletCoin Login</h2>
<label> <br />
Email <Form onSubmit={onSubmit}>
<input style={{ width: '100%' }} name="email" type="email" placeholder="Email" /> <Form.Group controlId="formBasicEmail">
</label> {/* <Form.Label>Email address</Form.Label> */}
<label> <Form.Control type="email" placeholder="Enter email" name="email" />
Password </Form.Group>
<input style={{ width: '100%' }} name="password" type="password" placeholder="Password" /> <Form.Group controlId="formBasicPassword">
</label> {/* <Form.Label>Password</Form.Label> */}
<button type="submit">Log in</button> <Form.Control type="password" placeholder="Password" name="password" />
</form> </Form.Group>
</> <br />
<Button variant={'success'} block type="submit">
Log in
</Button>
</Form>
</Card>
</Container>
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment