feat: flatten lib/preview -> lib folder

This commit is contained in:
2026-09-10 20:15:21 +05:00
parent f8a1da6ff7
commit 1e5e096d5d
13 changed files with 10 additions and 14 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
<script lang="ts">
import { PREVIEW_GROUPS, PREVIEW_TOTAL } from "$lib/catalog";
import CatalogGroup from "$lib/components/CatalogGroup.svelte";
import CatalogHeader from "$lib/components/CatalogHeader.svelte";
import CatalogToolbar from "$lib/components/CatalogToolbar.svelte";
import ToolCard from "$lib/components/ToolCard.svelte";
import { PREVIEW_GROUPS, PREVIEW_TOTAL } from "$lib/preview/catalog";
import { TOOL_ICONS } from "$lib/preview/tool-icons";
import { TOOL_ICONS } from "$lib/tool-icons";
let query = $state("");
let category = $state<string>("all");
+1 -1
View File
@@ -23,8 +23,8 @@
import Toggle from "$lib/components/ui/Toggle.svelte";
import { Download, ImageOff, Plus, Trash2 } from "@lucide/svelte";
import { TOOL_ICONS } from "$lib/preview/tool-icons";
import { TOOLS } from "$lib/registry-new";
import { TOOL_ICONS } from "$lib/tool-icons";
let mode = $state("preview");
let radius = $state(8);
+2 -2
View File
@@ -1,10 +1,10 @@
<script lang="ts">
import { PREVIEW_GROUPS, PREVIEW_TOTAL } from "$lib/catalog";
import CatalogGroup from "$lib/components/CatalogGroup.svelte";
import CatalogHeader from "$lib/components/CatalogHeader.svelte";
import CatalogToolbar from "$lib/components/CatalogToolbar.svelte";
import ToolCard from "$lib/components/ToolCard.svelte";
import { PREVIEW_GROUPS, PREVIEW_TOTAL } from "$lib/preview/catalog";
import { TOOL_ICONS } from "$lib/preview/tool-icons";
import { TOOL_ICONS } from "$lib/tool-icons";
let query = $state("");
let category = $state<string>("all");