refactor: move old libs and components to old folder

This commit is contained in:
2026-09-10 12:01:54 +05:00
parent bf2f8e57c8
commit 3834dadd03
64 changed files with 111 additions and 110 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
<script lang="ts">
import { getTool } from "$lib/registry";
import { getTool } from "$lib/old/registry";
import { t } from "$lib/i18n/t";
import { toolTitle } from "$lib/i18n/tool-strings";
import ToolPage from "$lib/components/ToolPage.svelte";
import ToolSearch from "$lib/components/search/ToolSearch.svelte";
import Button from "$lib/components/ui/Button.svelte";
import ToolPage from "$lib/old/components/ToolPage.svelte";
import ToolSearch from "$lib/old/components/search/ToolSearch.svelte";
import Button from "$lib/old/components/ui/Button.svelte";
const LAST_TOOL_KEY = "last-tool-id";
+2 -2
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import ToolPage from "$lib/components/ToolPage.svelte";
import { getTool } from "$lib/registry";
import ToolPage from "$lib/old/components/ToolPage.svelte";
import { getTool } from "$lib/old/registry";
const base = getTool("linear-gradient-png")!;
</script>
+3 -3
View File
@@ -1,10 +1,10 @@
<script lang="ts">
import { CATEGORIES } from "$lib/categories";
import { CATEGORIES } from "$lib/old/categories";
import { resolve } from "$app/paths";
import { t } from "$lib/i18n/t";
import { toolDescription, toolTitle } from "$lib/i18n/tool-strings";
import ToolCard from "$lib/components/search/ToolCard.svelte";
import { TOOLS } from "$lib/registry";
import ToolCard from "$lib/old/components/search/ToolCard.svelte";
import { TOOLS } from "$lib/old/registry";
</script>
<svelte:head>
+2 -2
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import ToolPage from "$lib/components/ToolPage.svelte";
import { getTool } from "$lib/registry";
import ToolPage from "$lib/old/components/ToolPage.svelte";
import { getTool } from "$lib/old/registry";
import { t } from "$lib/i18n/t";
import { toolDescription, toolTitle } from "$lib/i18n/tool-strings";
+1 -1
View File
@@ -1,5 +1,5 @@
import { error } from "@sveltejs/kit";
import { getTool, TOOLS } from "$lib/registry";
import { getTool, TOOLS } from "$lib/old/registry";
import { t } from "$lib/i18n/t";
import type { EntryGenerator, PageLoad } from "./$types";