add prev & next article buttons (#3)

solution inspired by https://github.com/markhorn-dev/astro-sphere
This commit is contained in:
Troy 2024-12-26 15:02:43 +00:00 committed by GitHub
parent 93d8c4f67d
commit 3aa7ca486b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 212 additions and 753 deletions

View file

@ -15,12 +15,13 @@ const skills = await Promise.all(
<ul class="flex max-w-full list-none flex-wrap gap-4 px-0">
{
skills.map((entry) => (
<li>
<li class="flex items-center gap-2 rounded border border-tertiary p-2">
<Icon
name={entry.data.icon}
title={entry.data.title}
class="h-12 w-auto text-secondary"
class="h-6 w-auto text-secondary"
/>
<p class="m-0">{entry.data.title}</p>
</li>
))
}