Signup.js 4.89 KB
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
import React, { useState, useEffect, useRef } from 'react';
Kim, Subin's avatar
Kim, Subin committed
2
import { Redirect } from 'react-router-dom';
Kim, Subin's avatar
Kim, Subin committed
3
4
import Nav1 from '../Components/MainNav';
import Nav2 from '../Components/SubNav';
이재연's avatar
logsign    
이재연 committed
5
import { Form, Col, Container, Button, Row } from 'react-bootstrap'
이재연's avatar
이재연 committed
6
import FormCheckInput from 'react-bootstrap/esm/FormCheckInput';
Kim, Subin's avatar
Kim, Subin committed
7
8
9

function Signup() {

이재연's avatar
..    
이재연 committed
10

Kim, Subin's avatar
Kim, Subin committed
11
    return (
이재연's avatar
logsign    
이재연 committed
12
        <div>
이재연's avatar
이재연 committed
13

Kim, Subin's avatar
Kim, Subin committed
14
15
            <Nav1 />
            <Nav2 />
이재연's avatar
logsign    
이재연 committed
16
17
            <Container className="my-5">
                <Row className="justify-content-center">
이재연's avatar
이재연 committed
18
                    <Col md={6} xs={10} className="border" style={{background:'#F7F3F3'}}>
이재연's avatar
logsign    
이재연 committed
19
20
21
22
                        <h2 className="text-center mt-5">Sign Up</h2>
                        <Form className="p-5">
                            <Form.Group controlId="formBasicName">
                                <Form.Row>
이재연's avatar
이재연 committed
23
                                    <Form.Label for="name"> </Form.Label>
이재연's avatar
logsign    
이재연 committed
24
                                    <Col>
이재연's avatar
이재연 committed
25
                                        <Form.Control type="text" id="name" size="sm" placeholder="" className="mx-sm-3"></Form.Control>
이재연's avatar
logsign    
이재연 committed
26
27
28
29
30
31
                                    </Col>
                                </Form.Row>
                            </Form.Group>

                            <Form.Group controlId="formBasicNumber">
                                <Form.Row>
이재연's avatar
이재연 committed
32
                                    <Form.Label for="number">주민등록번호</Form.Label>
이재연's avatar
logsign    
이재연 committed
33
34

                                    <Col as={Row}>
이재연's avatar
이재연 committed
35
                                        <Form.Control type="text" id="number1" size="sm" maxlength="6" className="mx-sm-3" style={{ width: '120px' }}></Form.Control>
이재연's avatar
logsign    
이재연 committed
36
                                    -
이재연's avatar
이재연 committed
37
                                    <Form.Control type="text" id="number2" size="sm" maxlength="1" className="mx-sm-3" style={{ width: '25px' }}></Form.Control>
이재연's avatar
logsign    
이재연 committed
38
39
40
41
                                    ******
                                    </Col>
                                </Form.Row>
                            </Form.Group>
이재연's avatar
이재연 committed
42
43
44
45
46
47
48
49
50
                            <Form.Group controlId="formBasicId">
                                <Form.Row>
                                    <Form.Label for="id">아이디</Form.Label>

                                    <Col>
                                        <Form.Control type="text" id="id" size="sm" placeholder="ID" className="mx-sm-3"></Form.Control>
                                    </Col>
                                </Form.Row>
                            </Form.Group>
이재연's avatar
logsign    
이재연 committed
51
52
53

                            <Form.Group controlId="formBasicPassword">
                                <Form.Row>
이재연's avatar
이재연 committed
54
                                    <Form.Label for="password">비밀번호</Form.Label>
이재연's avatar
logsign    
이재연 committed
55
56

                                    <Col>
이재연's avatar
이재연 committed
57
58
                                        <Form.Control type="password" id="password" size="sm" placeholder="Password"aria-describedby="passwordHelpBlock" className="mx-sm-3"></Form.Control>
                                        <Form.Text id="password" muted> 8-15자로 입력해주세요.</Form.Text>
이재연's avatar
logsign    
이재연 committed
59
60
61
62
63
64
                                    </Col>
                                </Form.Row>
                            </Form.Group>

                            <Form.Group controlId="formBasicPassword2">
                                <Form.Row>
이재연's avatar
이재연 committed
65
                                    <Form.Label for="password2">비밀번호 확인</Form.Label>
이재연's avatar
logsign    
이재연 committed
66
67

                                    <Col>
이재연's avatar
이재연 committed
68
                                        <Form.Control type="password" id="password2" size="sm" placeholder="" className="mx-sm-3"></Form.Control>
이재연's avatar
logsign    
이재연 committed
69
70
71
72
73
74
                                    </Col>
                                </Form.Row>
                            </Form.Group>

                            <Form.Group controlId="formBasicTel">
                                <Form.Row>
이재연's avatar
이재연 committed
75
                                    <Form.Label for="tel">휴대전화</Form.Label>
이재연's avatar
logsign    
이재연 committed
76
77

                                    <Col>
이재연's avatar
이재연 committed
78
                                        <Form.Control type="text" id="tel" size="sm" placeholder="" className="mx-sm-3"></Form.Control>
이재연's avatar
logsign    
이재연 committed
79
80
81
82
83
84
                                    </Col>
                                </Form.Row>
                            </Form.Group>

                            <Form.Group controlId="formBasicAdd">
                                <Form.Row>
이재연's avatar
이재연 committed
85
                                    <Form.Label> </Form.Label>
이재연's avatar
logsign    
이재연 committed
86
87

                                    <Col>
이재연's avatar
이재연 committed
88
                                        <Form.Control type="text" id="add" size="sm" placeholder="상세주소" className="mx-sm-3"></Form.Control>
이재연's avatar
logsign    
이재연 committed
89
90
91
92
                                    </Col>
                                </Form.Row>
                            </Form.Group>

이재연's avatar
이재연 committed
93
                            <Button style={{background:'#91877F', borderColor:'#91877F'}} type="submit" block>Sign Up</Button>
이재연's avatar
logsign    
이재연 committed
94
95
96
97
98
99
                        </Form>

                    </Col>
                </Row>

            </Container>
Kim, Subin's avatar
Kim, Subin committed
100
        </div>
이재연's avatar
..    
이재연 committed
101

Kim, Subin's avatar
Kim, Subin committed
102
103
104
105
    )
}

export default Signup