mirror of https://github.com/embarklabs/embark.git
Remove toggler
This commit is contained in:
parent
f9dd202713
commit
cf460da277
|
@ -15,7 +15,6 @@ import {
|
||||||
AppSidebarHeader,
|
AppSidebarHeader,
|
||||||
AppSidebarMinimizer,
|
AppSidebarMinimizer,
|
||||||
AppSidebarNav,
|
AppSidebarNav,
|
||||||
AppSidebarToggler,
|
|
||||||
AppNavbarBrand,
|
AppNavbarBrand,
|
||||||
AppHeaderDropdown
|
AppHeaderDropdown
|
||||||
} from '@coreui/react';
|
} from '@coreui/react';
|
||||||
|
@ -71,12 +70,10 @@ const Layout = ({children, logout, location, toggleTheme, currentTheme}) => {
|
||||||
return (
|
return (
|
||||||
<div className="app animated fadeIn">
|
<div className="app animated fadeIn">
|
||||||
<AppHeader fixed>
|
<AppHeader fixed>
|
||||||
<AppSidebarToggler className="d-lg-none" display="md" mobile />
|
<AppNavbarBrand className="mx-3"
|
||||||
<AppNavbarBrand
|
|
||||||
full={{ src: logo, width: 50, height: 50, alt: 'Embark Logo' }}
|
full={{ src: logo, width: 50, height: 50, alt: 'Embark Logo' }}
|
||||||
minimized={{ src: logo, width: 30, height: 30, alt: 'Embark Logo' }}
|
minimized={{ src: logo, width: 30, height: 30, alt: 'Embark Logo' }}
|
||||||
/>
|
/>
|
||||||
{sidebar && <AppSidebarToggler className="d-md-down-none" display="lg" />}
|
|
||||||
<Nav className="d-md-down-none" navbar>
|
<Nav className="d-md-down-none" navbar>
|
||||||
{HEADER_NAV_ITEMS.map((item) => {
|
{HEADER_NAV_ITEMS.map((item) => {
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue