LeftHamberger.js 3.66 KB
Newer Older
우지원's avatar
0712    
우지원 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import backward from '../../backward.png'
import ChannelSingle from './ChannelSingle'

const LeftHamberger = () => {
    return (
        <div>
            <div>
                <button
                    className="navbar-toggler"
                    type="button"
                    data-bs-toggle="offcanvas"
                    data-bs-target="#left-hamburger"
                    aria-controls="left-hamburger"
                    aria-expanded="false"
                    aria-label="Toggle navigation"
                    style={{ border: '#f4c1f2' }}
                >
                    <img src={backward} width="25" height="25" />
                </button>
            </div>

            <div
                className="offcanvas offcanvas-start"
                style={{ width: '330px' }}
                tabIndex="-1"
                id="left-hamburger"
                aria-labelledby="hamburgerLabel"
            >
우지원's avatar
a    
우지원 committed
29
                <div className="d-flex justify-content-between offcanvas-header">
우지원's avatar
0712    
우지원 committed
30
31
32
33
34
35
                    <p
                        className="col-6 offcanvas-title"
                        id="offcanvasExampleLabel"
                        style={{
                            fontWeight: 'bold',
                            fontSize: '20px',
우지원's avatar
a    
우지원 committed
36
                            width: '200px'
우지원's avatar
0712    
우지원 committed
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
                        }}
                    >
                        /오프라인 사용자
                    </p>
                    <button
                        type="button"
                        className="btn-close text-reset"
                        data-bs-dismiss="offcanvas"
                        aria-label="Close"
                    ></button>
                </div>
                <div className="overflow-auto" style={{ height: '610px' }}>
                    <div className="mb-3">
                        <div className="m-3 p-1 row" style={{ backgroundColor: "#E0CEE8" }}>
                            <h5 className="col mt-2">온라인 사용자</h5>
                        </div>
                        <ul className="mx-5" style={{marker: "#2e873a"}}>
                            <li className="marker: #2e873a" style={{markerColor: "2px #2e873a"}}>
                                CHERRY
                            </li>
                            <li>
                                JAEYEON
                            </li>
                            <li>
                                SEOYEON
                            </li>
                            <li>
                                JIWEON
                            </li>
                            <li>
                                BYOUNGYUN
                            </li>
                        </ul>
                    </div>

                    <div className="mb-3">
                        <div className="m-3 p-1 row" style={{ backgroundColor: "#E0CEE8" }}>
                            <h5 className="col mt-2">오프라인 사용자</h5>
                        </div>
                        <ul className="mx-5">
                            <li>
                                CHERRY
                            </li>
                            <li>
                                JAEYEON
                            </li>
                            <li>
                                SEOYEON
                            </li>
                            <li>
                                JIWEON
                            </li>
                            <li>
                                BYOUNGYUN
                            </li>
                        </ul>
                    </div>
                </div>

            </div>
        </div >
    )
}

export default LeftHamberger