stacker.news/components/layout-center.js

15 lines
376 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'
2022-12-08 00:04:02 +00:00
export default function LayoutCenter ({ children, footerLinks, ...props }) {
2021-05-06 21:15:22 +00:00
return (
<div className={styles.page}>
2022-12-08 00:04:02 +00:00
<Layout noContain noFooterLinks={!footerLinks} {...props}>
2021-05-06 21:15:22 +00:00
<div className={styles.content}>
{children}
</div>
</Layout>
</div>
)
}