refactor: migrate to rsc and app dir
This commit is contained in:
7
app/about/page.tsx
Normal file
7
app/about/page.tsx
Normal 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} />
|
||||
}
|
||||
Reference in New Issue
Block a user