Migrate privacy policy to Nextjs
This commit is contained in:
parent
b23c538408
commit
877c4b3479
12 changed files with 101 additions and 82 deletions
|
|
@ -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
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.p {
|
||||
.text {
|
||||
font-weight: 500;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
11
frontend/src/components/Paragraph/Text.tsx
Normal file
11
frontend/src/components/Paragraph/Text.tsx
Normal 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} />
|
||||
Loading…
Add table
Add a link
Reference in a new issue