gitbook-collapse

This commit is contained in:
tangly1024.com
2023-06-29 15:55:23 +08:00
parent bb8d0a5fa7
commit bcddec5748
13 changed files with 107 additions and 65 deletions

View File

@@ -1,6 +1,6 @@
import BlogPostCard from './BlogPostCard'
import BLOG from '@/blog.config'
import BlogPostListEmpty from './BlogPostListEmpty'
import NavPostListEmpty from './NavPostListEmpty'
import PaginationSimple from './PaginationSimple'
/**
@@ -15,7 +15,7 @@ const BlogPostListPage = ({ page = 1, posts = [], postCount }) => {
const totalPage = Math.ceil(postCount / BLOG.POSTS_PER_PAGE)
if (!posts || posts.length === 0) {
return <BlogPostListEmpty />
return <NavPostListEmpty />
}
return (