Home.jsx 1006 Bytes
Newer Older
Sangjune Bae's avatar
Sangjune Bae committed
1
2
3
4
5
6
7
8
9
10
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
import React from "react";
import Button from "react-bootstrap/Button";
import Form from "react-bootstrap/Form";
import Container from "react-bootstrap/Container";

function Signin() {
const clickSubmit = (event) => {
    event.preventDefault();
    connsole.log(event)
    };

    // if (values.redirect) {
    //     return <Redirect to="/" />;
    //   }

    return (
        <Container className="col-sm-6 col-md-5 col-lg-4 p-5">
            <Form>
                <Form.Group controlId="inputbox">
                    <Form.Label>Email</Form.Label>
                    <Form.Control
                    />
                    <Form.Text className="text-muted">
                        관광지를 입력하면 관련된 정보들이 나옵니다.
          </Form.Text>
                </Form.Group>

                <Button variant="primary" type="submit" onClick={clickSubmit}>
                    Submit
        </Button>
            </Form>
        </Container>
    );
}

export default Signin;