Basic header bar with RWD.
npm install @pcgbros/header-barbash
npm install --save-dev header-bar
`
$3
#### Javascript
`js
import React from 'react';
import HeaderBar from 'header-bar';class App extends React.Component {
return
hamburger={{ src:'/img/hamburger.svg', title:'Menu' }}
>

nav-link-1
nav-link-2

sub-nav-link

設定
紀錄
VIP會員
;
}
`
#### LESS
`less
@import (inline) '../node_modules/header-bar/lib/css/index.css';
`$3
`bash
cd node_module/header-bar/demo
npm install
npm start
`
Open demo page on http://localhost:3000$3
* Use privacyagree and token_id in cookie to determine whether to show privacy panel.
* If token_id is not found in cookie, the panel will always be showed when refresh the page.
This panel will not be showed, when url is /privacy` (ex: www.pbplus.me/privacy, tw.pbplus.me/privacy)