AddRoom.js 5.3 KB
Newer Older
Kim, Chaerin's avatar
Kim, Chaerin committed
1
const AddRoom = () => {
Kim, Chaerin's avatar
Kim, Chaerin committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  return (
    <form className="m-3">
      <div className="row justify-content-around">
        <div className="col">
          <h4>참여중인 방목록</h4>
        </div>
        <button
          type="button"
          className="col-2"
          data-bs-toggle="modal"
          data-bs-target="#myModal"
          style={{ backgroundColor: "#FCF4FF", borderColor: "#FCF4FF" }}
        >
          +
        </button>
      </div>
우지원's avatar
0628    
우지원 committed
18

Kim, Chaerin's avatar
Kim, Chaerin committed
19
20
21
22
23
24
25
26
27
28
      <div className="modal" id="myModal" tabIndex="-1" aria-hidden="true">
        <div className="modal-dialog">
          <div className="modal-content">
            <div className="modal-header">
              <button
                type="button"
                className="btn-close"
                data-bs-dismiss="modal"
                aria-label="Close"
              ></button>
우지원's avatar
0628    
우지원 committed
29
            </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
            <div className="modal-body">
              <div className="row justify-content-around mt-4 mb-4">
                <div className="col-5">
                  <button
                    type="button"
                    className="p-4"
                    data-bs-toggle="modal"
                    data-bs-target="#joinModal"
                    style={{
                      display: "flex",
                      flexDirection: "column",
                      borderStyle: "solid",
                      borderRadius: "5px",
                      borderColor: "#C4C4C4",
                      backgroundColor: "#C4C4C4",
                      padding: "10px",
                    }}
                  >
                    방참여하기
                  </button>
                </div>
                <div className="col-5">
                  <button
                    type="button"
                    className="p-4"
                    data-bs-toggle="modal"
                    data-bs-target="#makeModal"
                    style={{
                      display: "flex",
                      flexDirection: "column",
                      borderStyle: "solid",
                      borderRadius: "5px",
                      borderColor: "#C4C4C4",
                      backgroundColor: "#C4C4C4",
                      padding: "10px",
                    }}
                  >
                    방생성하기
                  </button>
우지원's avatar
0628    
우지원 committed
69
                </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
70
              </div>
우지원's avatar
0628    
우지원 committed
71
            </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
72
73
74
          </div>
        </div>
      </div>
우지원's avatar
0628    
우지원 committed
75

Kim, Chaerin's avatar
Kim, Chaerin committed
76
77
78
79
80
81
82
83
84
85
86
87
      {/* 방참여하기 모달 */}
      <div className="modal" id="joinModal" tabIndex="-1" aria-hidden="true">
        <div className="modal-dialog">
          <div className="modal-content">
            <div className="modal-header">
              <div>방참여하기</div>
              <button
                type="button"
                className="btn-close"
                data-bs-dismiss="modal"
                aria-label="Close"
              ></button>
우지원's avatar
0628    
우지원 committed
88
            </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
            <div className="modal-body">
              <div className="input-group mb-3">
                <input
                  type="text"
                  className="form-control"
                  placeholder="참여코드를 입력하세요"
                  aria-label="참여코드를 입력하세요"
                  aria-describedby="basic-addon1"
                />
              </div>
              <div className="modal-footer">
                <button
                  type="button"
                  className="btn-primary"
                  style={{
                    borderStyle: "solid",
                    borderRadius: "5px",
                    padding: "15px",
                  }}
                >
                  확인
                </button>
              </div>
            </div>
          </div>
        </div>
      </div>
우지원's avatar
0628    
우지원 committed
116

Kim, Chaerin's avatar
Kim, Chaerin committed
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
      {/* 방생성하기 모달 */}
      <div className="modal" id="makeModal" tabIndex="-1" aria-hidden="true">
        <div className="modal-dialog">
          <div className="modal-content">
            <div className="modal-header">
              <div>방생성하기</div>
              <button
                type="button"
                className="btn-close"
                data-bs-dismiss="modal"
                aria-label="Close"
              ></button>
            </div>
            <div className="modal-body">
              <h5>방프로필사진</h5>
              <div className="filebox mb-4">
                <input type="file" id="ex_filename" className="upload-hidden" />
              </div>
              <h5>방이름</h5>
              <div className="input-group">
                <input
                  type="text"
                  className="form-control"
                  placeholder="방이름을 입력해주세요"
                  aria-label="방이름 입력해주세요"
                  aria-describedby="basic-addon1"
                />
              </div>
              <div className="modal-footer">
                <button
                  type="button"
                  className="btn-primary"
                  style={{
                    borderStyle: "solid",
                    borderRadius: "5px",
                    padding: "15px",
                  }}
                >
                  생성
                </button>
              </div>
우지원's avatar
0628    
우지원 committed
158
            </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
159
160
161
162
163
164
          </div>
        </div>
      </div>
    </form>
  );
};
Kim, Chaerin's avatar
Kim, Chaerin committed
165
166

export default AddRoom;