fix: github stars with constant

This commit is contained in:
Torsten Dittmann
2024-02-05 11:57:16 +01:00
parent 2d241fbcd6
commit 394a1cba86
6 changed files with 11 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
<script lang="ts">
import { afterNavigate } from '$app/navigation';
import { GITHUB_STARS } from '$lib/constants';
import type { NavLink } from '$lib/layouts/Main.svelte';
export let open = false;
@@ -43,7 +44,7 @@
>
<span class="aw-icon-star" aria-hidden="true" />
<span class="text">Star on GitHub</span>
<span class="aw-inline-tag aw-sub-body-400">38.4K</span>
<span class="aw-inline-tag aw-sub-body-400">{GITHUB_STARS}</span>
</a>
</div>
</div>