From b79d1fbcd7edb184bf1b793fcd56ce5149f82753 Mon Sep 17 00:00:00 2001 From: bluwy Date: Thu, 24 Oct 2024 16:18:00 +0800 Subject: [PATCH] Fix repo parsing fix #109 --- site/src/assets/git.svg | 1 + site/src/pages/Package.svelte | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 site/src/assets/git.svg diff --git a/site/src/assets/git.svg b/site/src/assets/git.svg new file mode 100644 index 0000000..201f4c6 --- /dev/null +++ b/site/src/assets/git.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/src/pages/Package.svelte b/site/src/pages/Package.svelte index ca26bd2..94382a7 100644 --- a/site/src/pages/Package.svelte +++ b/site/src/pages/Package.svelte @@ -1,6 +1,7 @@ @@ -153,11 +162,13 @@ {/if} -

+

{#if repo} repo logo + {:else} + {/if} npm logo