RoomSingle.js 1.52 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>
우지원's avatar
우지원 committed
19
20
21
        <div className="text-truncate mx-3 mt-2" style={{ width: "250px" }} title="데계 재미있는 수학과 데계데계데계 재미있는 수학과">
          데계 재미있는 수학과 데계데계데계 재미있는 수학과</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>
우지원's avatar
우지원 committed
35
36
37
        <marquee className="text-overflow-auto white-space-nowrap mx-3 mt-2" style={{ width: "250px" }} title="데계 재미있는 수학과 데계데계데계 재미있는 수학과">
          데계 재미있는 수학과 데계데계데계 재미있는 수학과</marquee>
        <div className="ms-auto mt-2"> 15/34 </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
38
      </div>
우지원's avatar
우지원 committed
39
    </Link >
Kim, Chaerin's avatar
Kim, Chaerin committed
40
  );
Kim, Chaerin's avatar
Kim, Chaerin committed
41
42
43
};

export default RoomSingle;