Migrate privacy policy to Nextjs

This commit is contained in:
Ben Grant 2023-05-24 22:17:08 +10:00
parent b23c538408
commit 877c4b3479
12 changed files with 101 additions and 82 deletions

View file

@ -1,10 +0,0 @@
import styles from './Paragraph.module.scss'
interface ParagraphProps {
children: React.ReactNode
}
const Paragraph = (props: ParagraphProps) =>
<p className={styles.p} {...props} />
export default Paragraph

View file

@ -1,4 +1,4 @@
.p {
.text {
font-weight: 500;
line-height: 1.6em;
}

View file

@ -0,0 +1,11 @@
import styles from './Text.module.scss'
interface TextProps {
children: React.ReactNode
}
export const P = (props: TextProps) =>
<p className={styles.text} {...props} />
export const Ul = (props: TextProps) =>
<ul className={styles.text} {...props} />