Skip to content

Commit 5c2f090

Browse files
committed
feat: add more header buttons
1 parent acc6c8f commit 5c2f090

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

src/components/AboutButton.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
import LucideInfo from "~icons/lucide/info";
3+
---
4+
5+
<a href="/about" class="btn-sm-outline">
6+
<LucideInfo class="size-4" />
7+
<span>About</span>
8+
</a>

src/components/DonateButton.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
import LucideHeart from "~icons/lucide/heart";
3+
---
4+
5+
<a href="/donate" class="btn-sm-outline">
6+
<LucideHeart class="size-4" />
7+
<span>Donate</span>
8+
</a>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
import LucidePackageSearch from "~icons/lucide/package-search";
3+
---
4+
5+
<a href="/" class="flex items-center gap-2">
6+
<LucidePackageSearch class="size-6" />
7+
<span class="font-bold">jsDocs.io</span>
8+
</a>

0 commit comments

Comments
 (0)