add main
This commit is contained in:
parent
14900bcdfa
commit
d096d10aba
@ -70,9 +70,11 @@ interface Props {
|
|||||||
const DocPage: NextPage<Props> = ({ frontmatter, content }) => {
|
const DocPage: NextPage<Props> = ({ frontmatter, content }) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
<main>
|
||||||
<Heading as='h1'>{frontmatter.title}</Heading>
|
<Heading as='h1'>{frontmatter.title}</Heading>
|
||||||
|
|
||||||
<ReactMarkdown components={MDXComponents}>{content}</ReactMarkdown>
|
<ReactMarkdown components={MDXComponents}>{content}</ReactMarkdown>
|
||||||
|
</main>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user