LeftHamberger.js 2.64 KB
Newer Older
이재연's avatar
aa    
이재연 committed
1
2
import backward from "../../backward.png";
import ChannelSingle from "./ChannelSingle";
우지원's avatar
0712    
우지원 committed
3
4

const LeftHamberger = () => {
이재연's avatar
aa    
이재연 committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  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" }}
        >
          <span className="navbar-toggler-icon"></span>
        </button>
      </div>
우지원's avatar
0712    
우지원 committed
21

이재연's avatar
aa    
이재연 committed
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
      <div
        className="offcanvas offcanvas-start"
        style={{ width: "330px" }}
        tabIndex="-1"
        id="left-hamburger"
        aria-labelledby="hamburgerLabel"
      >
        <div className="d-flex justify-content-between offcanvas-header">
          <p
            className="col-6 offcanvas-title"
            id="offcanvasExampleLabel"
            style={{
              fontWeight: "bold",
              fontSize: "20px",
              width: "200px",
            }}
          >
            /오프라인 사용자
          </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>
우지원's avatar
0712    
우지원 committed
53

이재연's avatar
aa    
이재연 committed
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
              <ul className="mx-5" style={{ color: "#76D079" }}>
                <li>
                  <p style={{ color: "black" }}>CHERRY</p>
                </li>
                <li>
                  <p style={{ color: "black" }}>JAEYEON</p>
                </li>
                <li>
                  <p style={{ color: "black" }}>SEOYEON</p>
                </li>
                <li>
                  <p style={{ color: "black" }}>JIWEON</p>
                </li>
                <li>
                  <p style={{ color: "black" }}>BYOUNGYUN</p>
                </li>
              </ul>
          </div>
우지원's avatar
0712    
우지원 committed
72

이재연's avatar
aa    
이재연 committed
73
74
75
          <div className="mb-3">
            <div className="m-3 p-1 row" style={{ backgroundColor: "#E0CEE8" }}>
              <h5 className="col mt-2">오프라인 사용자</h5>
우지원's avatar
0712    
우지원 committed
76
            </div>
이재연's avatar
aa    
이재연 committed
77
78
79
80
81
82
83
84
85
86
87
88
89
            <ul className="mx-5">
              <li>CHERRY</li>
              <li>JAEYEON</li>
              <li>SEOYEON</li>
              <li>JIWEON</li>
              <li>BYOUNGYUN</li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  );
};
우지원's avatar
0712    
우지원 committed
90

이재연's avatar
aa    
이재연 committed
91
export default LeftHamberger;