diff --git a/src/components/templates/Page/Page.tsx b/src/components/templates/Page/Page.tsx index c861831..ec0baf9 100644 --- a/src/components/templates/Page/Page.tsx +++ b/src/components/templates/Page/Page.tsx @@ -1,5 +1,5 @@ import React from 'react' -import { Box, BoxProps, Container, Typography } from '@mui/material' +import { Box, BoxProps, Container, Divider, Typography } from '@mui/material' import { Footer, Toobar } from 'components/molecules' @@ -17,6 +17,32 @@ const Page: React.FC = ({ title, children, ...props }) => { return ( + {title && ( + <> + + {title} + + + + )} = ({ title, children, ...props }) => { ...props.sx, }}> {/* Children is included in props */} - {title && ( - <> - - {title} - - - )} + {children}