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();
    console.log("메인페이지 도착")
    };

    // 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;
