mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-03 15:56:22 +00:00
✨ feat: 修复创建帖子时参数验证失败的处理逻辑,并更新博客卡片链接路径
This commit is contained in:
@ -234,7 +234,7 @@ export function BlogCardGrid({
|
||||
return (
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
||||
{filteredPosts.map((post) => (
|
||||
<Link key={post.id} href={`/posts/${post.id}`} className="block h-full">
|
||||
<Link key={post.id} href={`/p/${post.id}`} className="block h-full">
|
||||
<BlogCard post={post} />
|
||||
</Link>
|
||||
))}
|
||||
|
Reference in New Issue
Block a user