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

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

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

      <div
        className="d-flex mx-4 my-2 p-2"
seoyeon's avatar
seoyeon committed
58
        style={{ backgroundColor: '#C4C4C4' }}
59
      >
seoyeon's avatar
seoyeon committed
60
        <div style={{ width: '37px', height: '37px' }}>
61
62
63
          <img
            src="BORA.png"
            className="rounded-circle"
seoyeon's avatar
seoyeon committed
64
            style={{ width: '37px', height: '37px' }}
65
66
          />
        </div>
seoyeon's avatar
seoyeon committed
67
68
69
70
71
72
        <div
          className="mx-3 mt-2"
          style={{ width: '250px', overflow: 'scroll', whiteSpace: 'nowrap' }}
        >
          데계 재미있는 수학과 데계데계데계 재미있는 수학과
        </div>
우지원's avatar
우지원 committed
73
        <div className="ms-auto mt-2"> 15/34 </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
74
      </div>
seoyeon's avatar
seoyeon committed
75
76
77
    </Link>
  )
}
Kim, Chaerin's avatar
Kim, Chaerin committed
78

seoyeon's avatar
seoyeon committed
79
export default RoomSingle