Star count

This commit is contained in:
2024-09-28 00:53:37 +03:00
parent 19c29b6fb2
commit 041262d09b
6 changed files with 73 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ import Telegram from "$lib/icons/Telegram.svelte";
import Linkedin from "$lib/icons/Linkedin.svelte";
import MaterialSymbolsStarRounded from '~icons/material-symbols/star-rounded';
export let starCount: number;
let logo: HTMLElement;
onMount(async () => {
@@ -73,7 +74,7 @@ const goTop = () => {
>
<Github></Github>
<div class="rounded-lg text-sm border border-slate-200 border-opacity-50 px-2 bg-slate-500 bg-opacity-25 absolute bottom-0 w-max translate-y-full mb-1 flex gap-1 items-center">
123
{starCount}
<MaterialSymbolsStarRounded class="max-h-4 max-w-4" />
</div>
</a>