Skip to content

Commit

Permalink
fix: ambiguous wording in PostNavigation
Browse files Browse the repository at this point in the history
  • Loading branch information
jktrn committed Oct 20, 2024
1 parent 98adfca commit 3c0ee02
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "astro-erudite",
"type": "module",
"version": "1.1.8",
"version": "1.1.9",
"private": true,
"scripts": {
"dev": "astro dev",
Expand Down
6 changes: 3 additions & 3 deletions src/components/PostNavigation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ const { prevPost, nextPost } = Astro.props
/>
</div>
<div class="flex flex-col items-start overflow-hidden">
<span class="text-left text-xs text-muted-foreground">Latest Post</span>
<span class="text-left text-xs text-muted-foreground">Next Post</span>
<span class="w-full truncate text-left text-sm"
>{nextPost?.data.title || 'Last post!'}</span
>{nextPost?.data.title || 'Latest post!'}</span
>
</div>
</Link>
Expand All @@ -43,7 +43,7 @@ const { prevPost, nextPost } = Astro.props
<span class="text-right text-xs text-muted-foreground">Previous Post</span
>
<span class="w-full truncate text-right text-sm"
>{prevPost?.data.title || 'Latest post!'}</span
>{prevPost?.data.title || 'Last post!'}</span
>
</div>
<div class="ml-2 flex-shrink-0">
Expand Down

0 comments on commit 3c0ee02

Please sign in to comment.