First iteration of blog
GitHub Pages / deploy (push) Has been cancelled
GitHub Pages / build (push) Has been cancelled

This commit is contained in:
Jonathan Branan committed 2024-10-14 00:18:50 -05:00
1 parent 336b7b579a
commit 081f5b1f67
112 files changed
+18927 -124

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import { Authors, allAuthors } from 'contentlayer/generated'
import { MDXLayoutRenderer } from 'pliny/mdx-components'
import AuthorLayout from '@/layouts/AuthorLayout'
import { coreContent } from 'pliny/utils/contentlayer'
import { genPageMetadata } from 'app/seo'
export const metadata = genPageMetadata({ title: 'About' })
export default function Page() {
const author = allAuthors.find((p) => p.slug === 'default') as Authors
const mainContent = coreContent(author)
return (
<>
<AuthorLayout content={mainContent}>
<MDXLayoutRenderer code={author.body.code} />
</AuthorLayout>
</>
)
}