RoomSingle.js 1.96 KB
Newer Older
Kim, Chaerin's avatar
Kim, Chaerin committed
1
2
import { Link } from "react-router-dom";

Kim, Chaerin's avatar
Kim, Chaerin committed
3
const RoomSingle = () => {
Kim, Chaerin's avatar
Kim, Chaerin committed
4
5
6
7
8
  const id = 1;
  const channelId = 1;
  return (
    <Link to={`/room/${id}/${channelId}`} className="text-decoration-none text-dark">
      <div
우지원's avatar
우지원 committed
9
        className="d-flex mx-4 my-2 p-2"
Kim, Chaerin's avatar
Kim, Chaerin committed
10
11
        style={{ backgroundColor: "#C4C4C4" }}
      >
우지원's avatar
우지원 committed
12
        <div style={{ width: "37px", height: "37px" }}>
Kim, Chaerin's avatar
Kim, Chaerin committed
13
14
15
16
17
18
          <img
            src="BORA.png"
            className="rounded-circle"
            style={{ width: "37px", height: "37px" }}
          />
        </div>
19
        <div className="mx-3 mt-2" style={{ width: "250px", overflow:'scroll', whiteSpace:'nowrap' }}>
우지원's avatar
우지원 committed
20
21
          데계 재미있는 수학과 데계데계데계 재미있는 수학과</div>
        <div className="ms-auto mt-2"> 15/34 </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
22
      </div>
우지원's avatar
우지원 committed
23

Kim, Chaerin's avatar
Kim, Chaerin committed
24
      <div
우지원's avatar
우지원 committed
25
        className="d-flex mx-4 my-2 p-2"
Kim, Chaerin's avatar
Kim, Chaerin committed
26
27
        style={{ backgroundColor: "#C4C4C4" }}
      >
우지원's avatar
우지원 committed
28
        <div style={{ width: "37px", height: "37px" }}>
Kim, Chaerin's avatar
Kim, Chaerin committed
29
30
31
32
33
34
          <img
            src="BORA.png"
            className="rounded-circle"
            style={{ width: "37px", height: "37px" }}
          />
        </div>
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
        <div className="mx-3 mt-2" style={{ width: "250px", overflow:'scroll', whiteSpace:'nowrap' }}>
          데계 재미있는 수학과 데계데계데계 재미있는 수학과</div>
        <div className="ms-auto mt-2"> 15/34 </div>
      </div>

      <div
        className="d-flex mx-4 my-2 p-2"
        style={{ backgroundColor: "#C4C4C4" }}
      >
        <div style={{ width: "37px", height: "37px" }}>
          <img
            src="BORA.png"
            className="rounded-circle"
            style={{ width: "37px", height: "37px" }}
          />
        </div>
        <div className="mx-3 mt-2" style={{ width: "250px", overflow:'scroll', whiteSpace:'nowrap' }}>
          데계 재미있는 수학과 데계데계데계 재미있는 수학과</div>
우지원's avatar
우지원 committed
53
        <div className="ms-auto mt-2"> 15/34 </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
54
      </div>
우지원's avatar
우지원 committed
55
    </Link >
Kim, Chaerin's avatar
Kim, Chaerin committed
56
  );
Kim, Chaerin's avatar
Kim, Chaerin committed
57
58
59
};

export default RoomSingle;