Login.js 1.6 KB
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
5
6
7
import React, { useState, useEffect, useRef } from 'react';
import Nav1 from '../Components/MainNav';
import Nav2 from '../Components/SubNav';

function Login() {

    return (
이재연's avatar
2    
이재연 committed
8
        <Container className="d-flex justify-content-center">
Kim, Subin's avatar
Kim, Subin committed
9
10
            <Nav1 />
            <Nav2 />
이재연's avatar
2    
이재연 committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
            <div className="margin-auto">
                <Form.Label className="d-flex justify-content-center">Login</Form.Label>

                <Form>
                    <Form.Group controlId="formBasicId">
                        <Form.Row>
                            <Form.Label for="id">User Name</Form.Label>
                            <Col>
                                <Form.Control type="text" id="id" className="mx-sm-3" size="sm" placeholder="User Name"></Form.Control>
                            </Col>
                        </Form.Row>
                    </Form.Group>

                    <Form.Group controlId="formBasicPassword">
                        <Form.Row>
                            <Form.Label for="password">Password</Form.Label>
                            <Col>
                                <Form.Control type="password" id="password" className="mx-sm-3" size="sm" placeholder="Password"></Form.Control>
                            </Col>
                        </Form.Row>
                    </Form.Group>
                </Form>

                <div className="loginLine">
                    <Link to="/Signup">SignUp?</Link>
                </div>

                <Button variant="outline-dark" type="submit" block>Login</Button>
            </div>
        </Container>

Kim, Subin's avatar
Kim, Subin committed
42
43
44
45
    )
}

export default Login