2021-12-07 22:38:31 -05:00
|
|
|
import Title from './title';
|
2024-02-13 18:01:07 -05:00
|
|
|
import Container, { ChildrenType } from './container';
|
2022-04-27 21:55:18 -04:00
|
|
|
|
|
|
|
type LayoutProps = {
|
|
|
|
children?: ChildrenType,
|
2022-10-04 23:41:59 -04:00
|
|
|
removeContainer?: boolean,
|
2021-12-07 22:38:31 -05:00
|
|
|
};
|
|
|
|
|
2024-02-13 18:01:07 -05:00
|
|
|
function Layout(props: LayoutProps) {
|
2021-12-07 22:38:31 -05:00
|
|
|
return (
|
|
|
|
<>
|
2023-10-30 00:18:38 -04:00
|
|
|
<Title />
|
2024-02-13 18:01:07 -05:00
|
|
|
<Container ignore={props.removeContainer}>
|
|
|
|
{props.children}
|
|
|
|
</Container>
|
2021-12-07 22:38:31 -05:00
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2023-10-30 00:18:38 -04:00
|
|
|
export default Layout;
|