ChannelList.js 785 Bytes
Newer Older
seoyeon's avatar
seoyeon committed
1
import { Link } from 'react-router-dom'
우지원's avatar
0712    
우지원 committed
2
3
4
import React, { useState } from 'react';
import LeftHamberger from './LeftHamberger';
import RightHamberger from './RightHamberger';
Kim, Chaerin's avatar
Kim, Chaerin committed
5
6

const ChannelList = () => {
우지원's avatar
0712    
우지원 committed
7
8
  const [admin, setAdmin] = useState('true')

seoyeon's avatar
0707 ui    
seoyeon committed
9
10
11
12
13
  // function copytoClipboard() {
  //   const [code, setCode] = useState()
  //   const roomcode = document.getElementById("textarea")
  //   alert("코드를 복사하였습니다.")
  // }
Kim, Chaerin's avatar
Kim, Chaerin committed
14
15
  return (
    <div>
우지원's avatar
우지원 committed
16
      <nav className="navbar navbar-light d-flex justify-content-between">
우지원's avatar
0712    
우지원 committed
17
        <LeftHamberger />
우지원's avatar
우지원 committed
18
        <div>
우지원's avatar
우지원 committed
19
          <Link to="/user">
seoyeon's avatar
seoyeon committed
20
            <img src="/BORA.png" style={{ width: '160px' }} />
우지원's avatar
우지원 committed
21
22
          </Link>
        </div>
우지원's avatar
0712    
우지원 committed
23
        <RightHamberger />
우지원's avatar
우지원 committed
24
      </nav>
seoyeon's avatar
seoyeon committed
25
26
27
    </div>
  )
}
우지원's avatar
우지원 committed
28

seoyeon's avatar
seoyeon committed
29
export default ChannelList