sync with pliny dev

This commit is contained in:
Timothy Lin
2023-07-16 18:52:51 +08:00
parent d61487efa4
commit 20704c9f75
18 changed files with 356 additions and 684 deletions

View File

@ -1,5 +1,5 @@
import { Authors, allAuthors } from 'contentlayer/generated'
import { Mdx } from '@/components/MDXComponents'
import { MDXLayoutRenderer } from 'pliny/mdx-components'
import AuthorLayout from '@/layouts/AuthorLayout'
import { coreContent } from 'pliny/utils/contentlayer'
import { genPageMetadata } from 'app/seo'
@ -13,7 +13,7 @@ export default function Page() {
return (
<>
<AuthorLayout content={mainContent}>
<Mdx code={author.body.code} />
<MDXLayoutRenderer code={author.body.code} />
</AuthorLayout>
</>
)