You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
423 B
19 lines
423 B
import Header from "../header/header";
|
|
import Footer from "../footer/footer";
|
|
|
|
import styles from './layout.module.scss';
|
|
|
|
export function Layout({menuHeader = [], menuFooter = [], children}) {
|
|
return (
|
|
<>
|
|
<Header items={menuHeader}/>
|
|
<div className={styles['app-container'] + ' max-w-lg mx-auto'}>
|
|
{children}
|
|
</div>
|
|
<Footer items={menuFooter}/>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default Layout;
|