From 1a557fbe7d40cc708c74b372810ee5b8a074db43 Mon Sep 17 00:00:00 2001 From: jakebogan01 Date: Thu, 18 Apr 2024 13:40:48 -0400 Subject: [PATCH] updates github star design --- src/lib/components/molecules/StarCount.svelte | 22 ++++++++++++------- src/lib/components/organisms/Header.svelte | 2 +- src/lib/icons/socials/github.svelte | 22 +------------------ 3 files changed, 16 insertions(+), 30 deletions(-) diff --git a/src/lib/components/molecules/StarCount.svelte b/src/lib/components/molecules/StarCount.svelte index f2a059f..c09270e 100644 --- a/src/lib/components/molecules/StarCount.svelte +++ b/src/lib/components/molecules/StarCount.svelte @@ -22,10 +22,10 @@ href="https://github.com/langx/langx/stargazers" > + {#if starCount > 0} + {starCount.toLocaleString('en-US')} + {/if} - {#if starCount > 0} - {starCount} - {/if} diff --git a/src/lib/components/organisms/Header.svelte b/src/lib/components/organisms/Header.svelte index 90a08f0..9ef3aeb 100644 --- a/src/lib/components/organisms/Header.svelte +++ b/src/lib/components/organisms/Header.svelte @@ -13,7 +13,7 @@ diff --git a/src/lib/icons/socials/github.svelte b/src/lib/icons/socials/github.svelte index f49f238..13971b3 100644 --- a/src/lib/icons/socials/github.svelte +++ b/src/lib/icons/socials/github.svelte @@ -1,21 +1 @@ - - - - + \ No newline at end of file