PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / 3.1.5
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites v3.1.5
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
blockspare / admin / components / Header.js

Header.js in BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites 3.1.5, at admin/components/Header.js

37 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import React from 'react'
2 import icons from '../../src/assets/icons'
3 import Container from './Container'
4 import MobileMenu from './MobileMenu'
5 import Navs from './Navs'
6
7 const { __ } = wp.i18n
8
9 const Header = ({current, activeNavHandler}) => {
10 return (
11 <header>
12 <Container>
13 <div className="navigation-wrapper">
14 <div className="plugin-logo" onClick={() => activeNavHandler(0)}>
15 {/* <img src={blockspare_dashboard.logo} alt="Blockdpare Logo" /> */}
16 </div>
17 <Navs activeNavHandler={activeNavHandler} current={current} />
18 {/* <div className="bs-dashboare-menu-desktop">
19 <Navs activeNavHandler={activeNavHandler} current={current} />
20 </div> */}
21 <div className="bs-dashboard-upgrade-button links-panel">
22 <a className="bs-dashboard__button bs-upgrade-button" href='https://www.blockspare.com/pricing/' target='_blank'>
23 {icons.diamond}
24 {__('Unlock All Templates', 'blockspare')}
25 </a>
26 </div>
27 {/* <div className="bs-dashboare-menu-mobile">
28 <MobileMenu activeNavHandler={activeNavHandler} current={current} />
29 </div> */}
30 </div>
31 </Container>
32 </header>
33 )
34 }
35
36 export default Header
37