Refine navigation and post UI
This commit is contained in:
@@ -114,7 +114,7 @@ export default function BlogPostPage({ params }: Props) {
|
||||
</div>
|
||||
<div className="grid gap-4 md:grid-cols-2 lg:grid-cols-3">
|
||||
{relatedPosts.map((related) => (
|
||||
<PostCard key={related._id} post={related} />
|
||||
<PostCard key={related._id} post={related} showTags={false} />
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -10,9 +10,14 @@ export default function BlogIndexPage() {
|
||||
|
||||
return (
|
||||
<section className="space-y-4">
|
||||
<h1 className="text-lg font-semibold text-slate-900 dark:text-slate-50">
|
||||
所有文章
|
||||
</h1>
|
||||
<header className="space-y-1">
|
||||
<h1 className="text-lg font-semibold text-slate-900 dark:text-slate-50">
|
||||
所有文章
|
||||
</h1>
|
||||
<p className="text-xs text-slate-500 dark:text-slate-400">
|
||||
繼續往下滑,慢慢逛逛。
|
||||
</p>
|
||||
</header>
|
||||
<PostListWithControls posts={posts} />
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user