Add post card in blog page

* add component and page tests
This commit is contained in:
Defectink
2022-03-23 11:48:00 +08:00
parent 8f3493c23a
commit 5b55b84818
9 changed files with 116 additions and 11 deletions

View File

@ -25,5 +25,7 @@ export const postLists = async (): Promise<Post[]> => {
})
.sort(sortByDate);
console.log(posts);
return posts;
};