LeftHamberger.js 3.77 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
29
30
31
32
33
34
35
36
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
102
103
104
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"
            >
                <div className="offcanvas-header">
                    <p
                        className="col-6 offcanvas-title"
                        id="offcanvasExampleLabel"
                        style={{
                            fontWeight: 'bold',
                            fontSize: '20px',
                            overflow: 'scroll',
                            whiteSpace: 'nowrap',
                            width: '150px',
                            color: '#000000',
                        }}
                    >
                        /오프라인 사용자
                    </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