Skip to content

Commit 598a444

Browse files
fix(site): make version badge an button linking to latest gh release page
1 parent 3e16763 commit 598a444

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

apps/site/src/pages/downloads.astro

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ const download_count_server = get_total_downloads(gh_releases_metadata);
3939
>
4040
<p class="text-xs text-[var(--color-base-content)]/60">Version</p>
4141

42-
<div
43-
class="flex items-center h-max py-1 px-4 badge badge-outline bg-primary/30 badge-primary badge-xl gap-3 mt-0"
42+
<a
43+
href="https://github.com/keshav-writes-code/cherit/releases/latest/"
44+
target="_blank"
45+
class="flex items-center h-max py-1 px-4 badge badge-outline bg-primary/30 badge-primary badge-xl gap-3 mt-0 hover:scale-102 duration-300"
4446
>
4547
<Image
4648
width={25}
@@ -58,7 +60,7 @@ const download_count_server = get_total_downloads(gh_releases_metadata);
5860
)
5961
}</span
6062
>
61-
</div>
63+
</a>
6264
</div>
6365
<div class="p-5 gap-4 flex flex-col">
6466
<p class="text-xs text-[var(--color-base-content)]/60">

0 commit comments

Comments
 (0)