theme-heo

This commit is contained in:
tangly1024
2023-07-13 22:13:47 +08:00
parent 43287cbf74
commit 89634479b5
8 changed files with 142 additions and 97 deletions

View File

@@ -20,7 +20,7 @@ const BlogPostListPage = ({ page = 1, posts = [], postCount, siteInfo }) => {
return (
<div id="container" className='w-full'>
{/* 文章列表 */}
<div className="grid lg:grid-cols-2 grid-cols-1 gap-5">
<div className="2xl:grid 2xl:grid-cols-2 grid-cols-1 gap-5">
{posts?.map(post => (
<BlogPostCard index={posts.indexOf(post)} key={post.id} post={post} siteInfo={siteInfo}/>
))}