2021-10-26 11:58:49 -07:00
|
|
|
export const PageBodyWrapper = ({ children, ...props }) => (
|
|
|
|
<div style={{ minHeight: 'calc(100vh - 105px)' }} {...props}>
|
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
)
|
2021-09-19 17:36:02 -07:00
|
|
|
|
2021-10-26 11:58:49 -07:00
|
|
|
// export const PageBodyWrapper = styled.div`
|
|
|
|
// min-height: calc(100vh - 105px);
|
|
|
|
// @media screen and (min-width: 768px) {
|
|
|
|
// min-height: 100vh;
|
|
|
|
// }
|
|
|
|
// `
|
2021-09-19 17:36:02 -07:00
|
|
|
|
2021-04-24 19:10:28 -07:00
|
|
|
export const ElementTitle = ({
|
|
|
|
children,
|
|
|
|
noMarignBottom = false,
|
|
|
|
className = '',
|
|
|
|
}) => (
|
2021-04-18 03:34:37 -07:00
|
|
|
<div
|
|
|
|
className={`flex justify-center ${
|
2021-04-19 09:15:49 -07:00
|
|
|
noMarignBottom ? 'mb-0' : 'mb-2.5'
|
2021-04-24 19:10:28 -07:00
|
|
|
} text-lg font-semibold items-center text-th-fgd-1 ${className}`}
|
2021-04-18 03:34:37 -07:00
|
|
|
>
|
2021-04-12 09:49:02 -07:00
|
|
|
{children}
|
|
|
|
</div>
|
2021-04-09 07:27:49 -07:00
|
|
|
)
|