ChannelList.js 536 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
import RightHamburger from './RightHamburger';
Kim, Chaerin's avatar
Kim, Chaerin committed
4
5

const ChannelList = () => {
Kim, Chaerin's avatar
Kim, Chaerin committed
6
7
  const id = localStorage.getItem('user');

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

seoyeon's avatar
seoyeon committed
23
export default ChannelList