L
Size: a a a
L
L
L
V
import React, {useState} from 'react';
import Header from './header/header'
import Logo from '../logo.png'
import Main from './body/main';
export default function () {
const getWidth = screen.width
const [leftNav, setLeftNav] = useState(getWidth >= 900 ? 0 : -600)
const boolNavbar = () => {
if(!leftNav) {
setLeftNav(-600)
} else {
setLeftNav(0)
}
}
return (
<React.Fragment>
<Header nameNav={boolNavbar}/>
<Main leftNav={leftNav} />
</React.Fragment>
)
}
V
V
DE
V
DE
V
V
DE
DE
DE
T
V
V
V
DE
V