feat: hide desc

This commit is contained in:
KazooTTT
2024-10-09 17:48:23 +08:00
parent 410c5371e8
commit fbb9ed80ec
3 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ const paginationProps = {
<section aria-label='Blog posts list'>
<ul class='flex flex-col gap-y-4 text-start'>
{page.data.map((p) => (
<PostPreview post={p} withDesc />
<PostPreview post={p} />
))}
</ul>
<Pagination {...paginationProps} />

View File

@ -77,7 +77,7 @@ const paginationProps = {
</h1>
<section aria-label='Blog post list'>
<ul class='flex flex-col gap-y-3 text-start'>
{page.data.map((p) => <PostPreview as='h2' post={p} withDesc />)}
{page.data.map((p) => <PostPreview as='h2' post={p} />)}
</ul>
<Pagination {...paginationProps} />
</section>

View File

@ -75,7 +75,7 @@ const paginationProps = {
</h1>
<section aria-label='Blog post list'>
<ul class='flex flex-col gap-y-3 text-start'>
{page.data.map((p) => <PostPreview as='h2' post={p} withDesc />)}
{page.data.map((p) => <PostPreview as='h2' post={p} />)}
</ul>
<Pagination {...paginationProps} />
</section>