stacker.news/components/layout-center.js

15 lines
334 B
JavaScript
Raw Normal View History

2021-05-06 21:15:22 +00:00
import Layout from './layout'
import styles from './layout-center.module.css'
2021-06-03 20:36:02 +00:00
export default function LayoutCenter ({ children, ...props }) {
2021-05-06 21:15:22 +00:00
return (
<div className={styles.page}>
2021-06-03 20:36:02 +00:00
<Layout noContain {...props}>
2021-05-06 21:15:22 +00:00
<div className={styles.content}>
{children}
</div>
</Layout>
</div>
)
}