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

const ChannelList = () => {
우지원's avatar
0802    
우지원 committed
7
8
  const id = localStorage.getItem('user');

Kim, Chaerin's avatar
Kim, Chaerin committed
9
10
  return (
    <div>
우지원's avatar
우지원 committed
11
      <nav className="navbar navbar-light d-flex justify-content-between">
우지원's avatar
e    
우지원 committed
12
        <LeftHamburger />
우지원's avatar
우지원 committed
13
        <div>
우지원's avatar
0802    
우지원 committed
14
          <Link to={`/user/${id}`}>
seoyeon's avatar
seoyeon committed
15
            <img src="/BORA.png" style={{ width: '160px' }} />
우지원's avatar
우지원 committed
16
17
          </Link>
        </div>
우지원's avatar
e    
우지원 committed
18
        <RightHamburger />
우지원's avatar
우지원 committed
19
      </nav>
seoyeon's avatar
seoyeon committed
20
21
22
    </div>
  )
}
우지원's avatar
우지원 committed
23

seoyeon's avatar
seoyeon committed
24
export default ChannelList