RoomHeader.js 1.53 KB
Newer Older
seoyeon's avatar
0705    
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 RoomHeader = () => {
Kim, Chaerin's avatar
Kim, Chaerin committed
4
5
6
7
8
  return (
    <div className="container">
      <div className="row">
        <div
          className=" col d-flex justify-content-space-between"
seoyeon's avatar
0705    
seoyeon committed
9
          style={{ backgroundColor: '#C4C4C4' }}
Kim, Chaerin's avatar
Kim, Chaerin committed
10
11
12
13
14
15
16
17
18
19
        >
          <img
            className="m-2 rounded-circle"
            src="/cherry.jpg"
            width="40"
            height="40"
          />
          <p
            className="m-2"
            style={{
seoyeon's avatar
0705    
seoyeon committed
20
21
              fontWeight: 'bold',
              fontSize: '15px',
Kim, Chaerin's avatar
Kim, Chaerin committed
22
23
            }}
          >
seoyeon's avatar
0705    
seoyeon committed
24
25
26
27
28
29
30
31
32
33
34
            <p
              style={{
                overflow: 'hidden',
                textOverflow: 'ellipsis',
                whiteSpace: 'nowrap',
                width: '110px',
              }}
            >
              데계 재밌는 수학과
            </p>{' '}
            #ASV2AE985
Kim, Chaerin's avatar
Kim, Chaerin committed
35
          </p>
seoyeon's avatar
0705    
seoyeon committed
36
37
38
39
40
          <p
            className='mt-3'
            style={{ fontWeight: 'bold', fontSize: '20px', color: '#571e80' }}
          >
            Ch.회의
Kim, Chaerin's avatar
Kim, Chaerin committed
41
          </p>
Kim, Chaerin's avatar
Kim, Chaerin committed
42
43
44
          <Link to="/user">
            <button
              type="button"
seoyeon's avatar
0705    
seoyeon committed
45
              className="mt-3 ms-3 rounded"
Kim, Chaerin's avatar
Kim, Chaerin committed
46
              style={{
seoyeon's avatar
0705    
seoyeon committed
47
48
49
50
51
                height: '30px',
                fontWeight: 'bold',
                backgroundColor: '#E8B7FF',
                color: 'black',
                border: '1px #f4c1f2',
Kim, Chaerin's avatar
Kim, Chaerin committed
52
53
54
55
56
              }}
            >
              돌아가기
            </button>
          </Link>
Kim, Chaerin's avatar
Kim, Chaerin committed
57
        </div>
Kim, Chaerin's avatar
Kim, Chaerin committed
58
59
      </div>
    </div>
seoyeon's avatar
0705    
seoyeon committed
60
61
  )
}
Kim, Chaerin's avatar
Kim, Chaerin committed
62

seoyeon's avatar
0705    
seoyeon committed
63
export default RoomHeader