feat: rename old -> v1 folder

This commit is contained in:
2026-09-10 20:23:45 +05:00
parent 1e5e096d5d
commit 33e3f3c4f0
60 changed files with 60 additions and 69 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
<script lang="ts">
import { getTool } from "$lib/old/registry";
import { t } from "$lib/i18n/t";
import { toolTitle } from "$lib/i18n/tool-strings";
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";
import ToolPage from "$lib/v1/components/ToolPage.svelte";
import ToolSearch from "$lib/v1/components/search/ToolSearch.svelte";
import Button from "$lib/v1/components/ui/Button.svelte";
import { getTool } from "$lib/v1/registry";
const LAST_TOOL_KEY = "last-tool-id";
+2 -2
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import ToolPage from "$lib/old/components/ToolPage.svelte";
import { getTool } from "$lib/old/registry";
import ToolPage from "$lib/v1/components/ToolPage.svelte";
import { getTool } from "$lib/v1/registry";
const base = getTool("linear-gradient-png")!;
</script>
+3 -3
View File
@@ -1,10 +1,10 @@
<script lang="ts">
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/old/components/search/ToolCard.svelte";
import { TOOLS } from "$lib/old/registry";
import { CATEGORIES } from "$lib/v1/categories";
import ToolCard from "$lib/v1/components/search/ToolCard.svelte";
import { TOOLS } from "$lib/v1/registry";
</script>
<svelte:head>
+2 -2
View File
@@ -1,8 +1,8 @@
<script lang="ts">
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";
import ToolPage from "$lib/v1/components/ToolPage.svelte";
import { getTool } from "$lib/v1/registry";
let { data } = $props();
+2 -2
View File
@@ -1,6 +1,6 @@
import { error } from "@sveltejs/kit";
import { getTool, TOOLS } from "$lib/old/registry";
import { t } from "$lib/i18n/t";
import { getTool, TOOLS } from "$lib/v1/registry";
import { error } from "@sveltejs/kit";
import type { EntryGenerator, PageLoad } from "./$types";
export const entries: EntryGenerator = () =>