feat: add new registry for preview design

This commit is contained in:
2026-09-04 17:37:55 +05:00
parent 58e75f2334
commit a19d3db929
10 changed files with 130 additions and 26 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
import SettingsFooter from "$lib/components/kit/SettingsFooter.svelte";
import ToolCard from "$lib/components/kit/ToolCard.svelte";
import Button from "$lib/components/kit/ui/Button.svelte";
import { TOOLS } from "$lib/registry";
import { TOOLS } from "$lib/registry-new";
import { Search } from "@lucide/svelte";
let query = $state("");
@@ -1,6 +1,5 @@
<script lang="ts">
import { getTool } from "$lib/registry";
import ToolView from "$lib/components/kit/ToolView.svelte";
import { getTool } from "$lib/registry-new";
import SchemaToolView from "$lib/components/kit/SchemaToolView.svelte";
import EmptyState from "$lib/components/kit/EmptyState.svelte";
import { SlidersHorizontal as ToolIcon } from "@lucide/svelte";
@@ -26,10 +25,8 @@
icon={ToolIcon}
/>
</div>
{:else if tool.schema}
<SchemaToolView {tool} />
{:else}
<ToolView {tool} />
<SchemaToolView {tool} />
{/if}
<style>
+1 -1
View File
@@ -1,4 +1,4 @@
import { TOOLS } from "$lib/registry";
import { TOOLS } from "$lib/registry-new";
export const prerender = true;