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