AddRoom.js 5.16 KB
Newer Older
Kim, Chaerin's avatar
Kim, Chaerin committed
1
const AddRoom = () => {
Kim, Chaerin's avatar
Kim, Chaerin committed
2
  return (
우지원's avatar
우지원 committed
3
4
5
6
    <div>
      <div className="mx-4 my-3 d-flex justify-content-between">
        <div className="fs-4">
          참여중인 방목록
Kim, Chaerin's avatar
Kim, Chaerin committed
7
8
9
        </div>
        <button
          type="button"
우지원's avatar
우지원 committed
10
          className="py-1 px-2"
Kim, Chaerin's avatar
Kim, Chaerin committed
11
12
          data-bs-toggle="modal"
          data-bs-target="#myModal"
우지원's avatar
우지원 committed
13
14
15
16
17
18
19
20
          style={{
            display: "flex",
            flexDirection: "column",
            borderStyle: "solid",
            borderRadius: "5px",
            backgroundColor: "#E0CEE8",
            borderColor: "#E0CEE8",
          }}
Kim, Chaerin's avatar
Kim, Chaerin committed
21
        >
우지원's avatar
우지원 committed
22
          추가
Kim, Chaerin's avatar
Kim, Chaerin committed
23
24
        </button>
      </div>
우지원's avatar
0628    
우지원 committed
25

Kim, Chaerin's avatar
Kim, Chaerin committed
26
27
28
29
30
31
32
33
34
35
      <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
36
            </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
37
            <div className="modal-body">
우지원's avatar
우지원 committed
38
39
              <div className="row justify-content-evenly mt-4 mb-4 fs-6">
                <div className="col-6 d-flex justify-content-center">
Kim, Chaerin's avatar
Kim, Chaerin committed
40
41
                  <button
                    type="button"
우지원's avatar
우지원 committed
42
                    className="p-3"
Kim, Chaerin's avatar
Kim, Chaerin committed
43
44
45
46
47
48
49
                    data-bs-toggle="modal"
                    data-bs-target="#joinModal"
                    style={{
                      display: "flex",
                      flexDirection: "column",
                      borderStyle: "solid",
                      borderRadius: "5px",
우지원's avatar
우지원 committed
50
51
                      backgroundColor: "#E0CEE8",
                      borderColor: "#E0CEE8",
Kim, Chaerin's avatar
Kim, Chaerin committed
52
53
                    }}
                  >
우지원's avatar
우지원 committed
54
55
56
                    <div style={{ width: "6rem" }} >
                      방참여하기
                    </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
57
58
                  </button>
                </div>
우지원's avatar
우지원 committed
59
                <div className="col-6 d-flex justify-content-center">
Kim, Chaerin's avatar
Kim, Chaerin committed
60
61
                  <button
                    type="button"
우지원's avatar
우지원 committed
62
                    className="p-3"
Kim, Chaerin's avatar
Kim, Chaerin committed
63
64
65
66
67
68
69
                    data-bs-toggle="modal"
                    data-bs-target="#makeModal"
                    style={{
                      display: "flex",
                      flexDirection: "column",
                      borderStyle: "solid",
                      borderRadius: "5px",
우지원's avatar
우지원 committed
70
71
                      backgroundColor: "#f5cfe3",
                      borderColor: "#f5cfe3",
Kim, Chaerin's avatar
Kim, Chaerin committed
72
73
                    }}
                  >
우지원's avatar
우지원 committed
74
75
76
                    <div style={{ width: "6rem" }} >
                      방생성하기
                    </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
77
                  </button>
우지원's avatar
0628    
우지원 committed
78
                </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
79
              </div>
우지원's avatar
0628    
우지원 committed
80
            </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
81
82
83
          </div>
        </div>
      </div>
우지원's avatar
0628    
우지원 committed
84

Kim, Chaerin's avatar
Kim, Chaerin committed
85
86
87
88
89
90
91
92
93
94
95
96
      {/* 방참여하기 모달 */}
      <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
97
            </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
98
99
100
101
102
103
104
105
106
107
108
            <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">
우지원's avatar
우지원 committed
109
                <button type="submit" className="btn btn-primary">
Kim, Chaerin's avatar
Kim, Chaerin committed
110
111
112
113
114
115
116
                  확인
                </button>
              </div>
            </div>
          </div>
        </div>
      </div>
우지원's avatar
0628    
우지원 committed
117

Kim, Chaerin's avatar
Kim, Chaerin committed
118
119
120
121
122
123
124
125
126
127
128
129
130
131
      {/* 방생성하기 모달 */}
      <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">
우지원's avatar
우지원 committed
132
              <h6>방프로필사진</h6>
우지원's avatar
   
우지원 committed
133
134
              <div className="mb-4">
                <input type="file" className="upload-hidden" />
Kim, Chaerin's avatar
Kim, Chaerin committed
135
              </div>
우지원's avatar
우지원 committed
136
              <h6>방이름</h6>
Kim, Chaerin's avatar
Kim, Chaerin committed
137
138
139
140
141
142
143
144
145
146
              <div className="input-group">
                <input
                  type="text"
                  className="form-control"
                  placeholder="방이름을 입력해주세요"
                  aria-label="방이름 입력해주세요"
                  aria-describedby="basic-addon1"
                />
              </div>
              <div className="modal-footer">
우지원's avatar
우지원 committed
147
                <button type="submit" className="btn btn-primary">
Kim, Chaerin's avatar
Kim, Chaerin committed
148
149
150
                  생성
                </button>
              </div>
우지원's avatar
0628    
우지원 committed
151
            </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
152
153
154
          </div>
        </div>
      </div>
우지원's avatar
우지원 committed
155
    </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
156
157
  );
};
Kim, Chaerin's avatar
Kim, Chaerin committed
158
159

export default AddRoom;