add sub git and git-tools
This commit is contained in:
14
app/page.tsx
Normal file
14
app/page.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { getPosts } from '@/lib/getPosts';
|
||||
import Posts from './posts';
|
||||
|
||||
export const revalidate = 10;
|
||||
|
||||
export default async function Page() {
|
||||
const posts = await getPosts();
|
||||
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Posts posts={posts} />
|
||||
</div>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user