Signup.js 3.8 KB
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
import React, { useState, useEffect, useRef } from 'react';
이재연's avatar
..    
이재연 committed
2
import { Redirect } from 'react-router-dom';
Kim, Subin's avatar
Kim, Subin committed
3
4
5
6
7
import Nav1 from '../Components/MainNav';
import Nav2 from '../Components/SubNav';

function Signup() {

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

Kim, Subin's avatar
Kim, Subin committed
9
    return (
이재연's avatar
hh    
이재연 committed
10
        <Container className="d-flex justify-content-center">
Kim, Subin's avatar
Kim, Subin committed
11
12
            <Nav1 />
            <Nav2 />
이재연's avatar
hh    
이재연 committed
13
14
15
            <div className="form-control">
                <Form.Label className="d-flex justify-content-center">Sign Up</Form.Label>
                <Form>
이재연's avatar
..    
이재연 committed
16

이재연's avatar
hh    
이재연 committed
17
18
19
20
21
22
23
24
                    <Form.Group controlId="formBasicId">
                        <Form.Row>
                            <Form.Label for="id">User Name</Form.Label>
                        </Form.Row>
                        <Col>
                            <Form.Control type="text" id="id" size="sm" placeholder="UserName" className="mx-sm-3"></Form.Control>
                        </Col>
                    </Form.Group>
이재연's avatar
..    
이재연 committed
25

이재연's avatar
hh    
이재연 committed
26
27
28
29
30
31
32
33
                    <Form.Group controlId="formBasicName">
                        <Form.Row>
                            <Form.Label for="name">Real Name</Form.Label>
                        </Form.Row>
                        <Col>
                            <Form.Control type="text" id="name" size="sm" placeholder="Enter your Real Name" className="mx-sm-3"></Form.Control>
                        </Col>
                    </Form.Group>
이재연's avatar
..    
이재연 committed
34

이재연's avatar
hh    
이재연 committed
35
36
37
38
39
40
41
42
                    <Form.Group controlId="formBasicNumber">
                        <Form.Row>
                            <Form.Label for="number">Resident registration number</Form.Label>
                        </Form.Row>
                        <Col>
                            <Form.Control type="text" id="number1" size="sm" maxlength="6" className="mx-sm-3"></Form.Control>
                        </Col>
                    </Form.Group>
이재연's avatar
..    
이재연 committed
43

이재연's avatar
hh    
이재연 committed
44
45
46
47
48
49
50
51
52
                    <Form.Group controlId="formBasicPassword">
                        <Form.Row>
                            <Form.Label for="password">Password</Form.Label>
                        </Form.Row>
                        <Col>
                            <Form.Control type="password" id="password" size="sm" aria-describedby="passwordHelpBlock" className="mx-sm-3"></Form.Control>
                            <Form.Text id="password" muted>Must be 8-20 characters long.</Form.Text>
                        </Col>
                    </Form.Group>
이재연's avatar
..    
이재연 committed
53

이재연's avatar
hh    
이재연 committed
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
                    <Form.Group controlId="formBasicPassword2">
                        <Form.Row>
                            <Form.Label for="password2">Confirm Password</Form.Label>
                        </Form.Row>
                        <Col>
                            <Form.Control type="password" id="password2" size="sm" placeholder="Confirm Password" className="mx-sm-3"></Form.Control>
                        </Col>
                    </Form.Group>

                    <Form.Group controlId="formBasicTel">
                        <Form.Row>
                            <Form.Label for="tel">Phone Number</Form.Label>
                        </Form.Row>
                        <Col>
                            <Form.Control type="text" id="tel" size="sm" placeholder="Enter your Phone Number" className="mx-sm-3"></Form.Control>
                        </Col>
                    </Form.Group>

                    <Form.Group controlId="formBasicAdd">
                        <Form.Row>
                            <Form.Label>address</Form.Label>
                        </Form.Row>
                        <Col>
                            <Form.Control type="text" id="add" size="sm" placeholder="Enter your Address" className="mx-sm-3"></Form.Control>
                        </Col>
                    </Form.Group>
                </Form>

                <Button variant="outline-dark" type="submit" block>Sign Up</Button>
            </div>
        </Container>
이재연's avatar
..    
이재연 committed
85

Kim, Subin's avatar
Kim, Subin committed
86
87
88
89
    )
}

export default Signup