Signup.js 1.38 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
..    
이재연 committed
10
        <div class="form-container">
Kim, Subin's avatar
Kim, Subin committed
11
12
            <Nav1 />
            <Nav2 />
이재연's avatar
..    
이재연 committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
            <form id="form" class="form">
                <h1>회원가입</h1>
                <div class="form-control">
                    <label for="id">아이디</label>
                    <input type="text" id="id" placeholder="아이디를 입력하세요"></input>

                    <label for="name">본명</label>
                    <input type="text" id="name" placeholder="본명을 입력하세요"></input>

                    <label for="password">비밀번호</label>
                    <input type="password" id="password" placeholder="비밀번호를 입력하세요"></input>

                    <label for="password2">비밀번호 확인</label>
                    <input type="password" id="password2" placeholder="비밀번호를 한번 더 입력하세요"></input>

                    <label for="tel">휴대폰 번호</label>
                    <input type="text" id="tel" placeholder="휴대폰 번호를 입력하세요"></input>

                    <label for="add">주소</label>
                </div>
            </form>
Kim, Subin's avatar
Kim, Subin committed
34
        </div>
이재연's avatar
..    
이재연 committed
35

Kim, Subin's avatar
Kim, Subin committed
36
37
38
39
    )
}

export default Signup