diff --git a/src/components/svgs/svgNotFound.svelte b/src/components/svgs/svgNotFound.svelte
index 9f28895..81d3764 100644
--- a/src/components/svgs/svgNotFound.svelte
+++ b/src/components/svgs/svgNotFound.svelte
@@ -2,20 +2,40 @@
import { globals } from "@/globals";
import { buttonVariants } from "@/components/ui/button";
+ import SearchIcon from "@lucide/svelte/icons/search";
import ArrowUpRight from "@lucide/svelte/icons/arrow-up-right";
import BoxesIcon from "@/components/ui/moving-icons/boxes-icon.svelte";
interface Props {
svgTitle: string;
+ category?: string;
}
- let { svgTitle }: Props = $props();
+ let { svgTitle, category }: Props = $props();
-
"{svgTitle}" not found
+
SVG not found
+ {#if category}
+
+ "{svgTitle}" not found in "{category}" category
+
+ {:else}
+
+ "{svgTitle}" not found
+
+ {/if}
-
{
- sorted = value;
- searchSvgs();
- }}
- />
+
+ {
+ sorted = value;
+ searchSvgs();
+ }}
+ />
+ {#if showAll && filteredSvgs.length > maxDisplay}
+
+ {/if}
+
@@ -120,11 +133,16 @@
{/each}
- {#if showAll === false && filteredSvgs.length > maxDisplay}
+ {#if !showAll && filteredSvgs.length > maxDisplay}
-