diff --git a/src/components/extension.svelte b/src/components/extension.svelte index ec329fb..fba351b 100644 --- a/src/components/extension.svelte +++ b/src/components/extension.svelte @@ -26,7 +26,6 @@ @@ -85,7 +84,6 @@ src={getSvgImgUrl({ url: svgInfo.wordmark, isDark: false })} alt={svgInfo.title} title={svgInfo.title} - loading="lazy" width="140" height="40" /> @@ -95,7 +93,6 @@ src={getSvgImgUrl({ url: svgInfo.route, isDark: true })} alt={svgInfo.title} title={svgInfo.title} - loading="lazy" width="140" height="40" /> @@ -104,7 +101,6 @@ src={getSvgImgUrl({ url: svgInfo.route, isDark: false })} alt={svgInfo.title} title={svgInfo.title} - loading="lazy" width="140" height="40" /> diff --git a/src/components/svgs/svgNotFound.svelte b/src/components/svgs/svgNotFound.svelte index 81d3764..6a86d9d 100644 --- a/src/components/svgs/svgNotFound.svelte +++ b/src/components/svgs/svgNotFound.svelte @@ -9,12 +9,13 @@ interface Props { svgTitle: string; category?: string; + searchGlobally?: boolean; } - let { svgTitle, category }: Props = $props(); + let { svgTitle, category, searchGlobally }: Props = $props(); - + SVG not found {#if category} @@ -27,7 +28,7 @@ {/if} - {#if category} + {#if category || searchGlobally}