Main.jsx 1 KB
Newer Older
Sangjune Bae's avatar
Sangjune Bae committed
1
2
3
4
5
import React from "react";
import Button from "react-bootstrap/Button";
import Form from "react-bootstrap/Form";
import Container from "react-bootstrap/Container";

Sangjune Bae's avatar
Sangjune Bae committed
6
function Signin() {
Sangjune Bae's avatar
Sangjune Bae committed
7
const clickSubmit = (event) => {
Sangjune Bae's avatar
Sangjune Bae committed
8
9
10
11
12
13
14
    event.preventDefault();
    console.log("메인페이지 도착")
    };

    // if (values.redirect) {
    //     return <Redirect to="/" />;
    //   }
Sangjune Bae's avatar
Sangjune Bae committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

    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;