Migrate privacy policy to Nextjs
This commit is contained in:
parent
b23c538408
commit
877c4b3479
12 changed files with 101 additions and 82 deletions
|
|
@ -3,3 +3,9 @@
|
|||
margin: 20px auto;
|
||||
max-width: calc(100% - 60px);
|
||||
}
|
||||
|
||||
.centered {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
import { makeClass } from '/src/utils'
|
||||
|
||||
import styles from './Content.module.scss'
|
||||
|
||||
interface ContentProps {
|
||||
children: React.ReactNode
|
||||
isCentered?: boolean
|
||||
}
|
||||
|
||||
const Content = (props: ContentProps) =>
|
||||
<div className={styles.content} {...props} />
|
||||
const Content = ({ isCentered, ...props }: ContentProps) =>
|
||||
<div className={makeClass(styles.content, isCentered && styles.centered)} {...props} />
|
||||
|
||||
export default Content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue