refactor: migrate to rsc and app dir

This commit is contained in:
Timothy Lin
2023-07-07 11:17:22 +08:00
parent a03d358ef9
commit 09ba0550ca
121 changed files with 13431 additions and 12945 deletions

7
app/about/page.tsx Normal file
View File

@@ -0,0 +1,7 @@
import { allAuthors } from 'contentlayer/generated'
import About from './About'
export default function Page() {
const author = allAuthors.find((p) => p.slug === 'default')
return <About author={author} />
}