fix: ambiguous wording in PostNavigation

This commit is contained in:
jason 2024-10-20 12:39:38 -07:00
parent 98adfca816
commit 3c0ee024cb
3 changed files with 6 additions and 6 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "astro-erudite",
"version": "1.1.8",
"version": "1.1.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "astro-erudite",
"version": "1.1.8",
"version": "1.1.9",
"dependencies": {
"@astrojs/check": "^0.7.0",
"@astrojs/markdown-remark": "^5.2.0",

View file

@ -1,7 +1,7 @@
{
"name": "astro-erudite",
"type": "module",
"version": "1.1.8",
"version": "1.1.9",
"private": true,
"scripts": {
"dev": "astro dev",

View file

@ -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>
@ -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">