stacker.news/components/layout-center.js

15 lines
376 B
JavaScript

import Layout from './layout'
import styles from './layout-center.module.css'
export default function LayoutCenter ({ children, footerLinks, ...props }) {
return (
<div className={styles.page}>
<Layout noContain noFooterLinks={!footerLinks} {...props}>
<div className={styles.content}>
{children}
</div>
</Layout>
</div>
)
}