display article description after title (#4)

inspired by https://p.atrick.org
This commit is contained in:
Troy 2024-12-26 22:45:38 +00:00 committed by GitHub
parent 3aa7ca486b
commit a886bfaa5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 149 additions and 133 deletions

View file

@ -33,7 +33,7 @@ const next = items[(index + 1) % items.length];
/>
</a>
<a href={`/${prev.collection}/${prev.slug}`}>
<p class="animate-reveal break-words text-2xl font-medium opacity-0">
<p class="animate-reveal break-words text-xl font-medium opacity-0">
{prev.data.title}
</p>
</a>
@ -42,7 +42,7 @@ const next = items[(index + 1) % items.length];
class="group flex w-fit flex-row items-center justify-between gap-6 self-end"
>
<a href={`/${next.collection}/${next.slug}`}>
<p class="animate-reveal break-words text-2xl font-medium opacity-0">
<p class="animate-reveal break-words text-xl font-medium opacity-0">
{next.data.title}
</p>
</a>