diff --git a/apps/desktop/src/lib/cmds/builtin.ts b/apps/desktop/src/lib/cmds/builtin.ts index 09d7673..13a1666 100644 --- a/apps/desktop/src/lib/cmds/builtin.ts +++ b/apps/desktop/src/lib/cmds/builtin.ts @@ -72,6 +72,23 @@ export const rawBuiltinCmds: BuiltinCmd[] = [ }, 2_000) } }, + { + name: "Splashscreen (Dev)", + icon: { + type: IconEnum.Iconify, + value: "material-symbols:skeleton" + }, + description: "", + flags: { + dev: true + }, + function: async () => { + new WebviewWindow(`splashscreen`, { + url: "/splashscreen" + }) + appState.clearSearchTerm() + } + }, { name: "File Transfer", icon: { diff --git a/apps/desktop/src/lib/components/dance/dance.svelte b/apps/desktop/src/lib/components/dance/dance.svelte index ddb2f8f..e05a1b6 100644 --- a/apps/desktop/src/lib/components/dance/dance.svelte +++ b/apps/desktop/src/lib/components/dance/dance.svelte @@ -1,4 +1,5 @@ - import { Skeleton } from "@kksh/svelte5" + import Dance from "@/components/dance/dance.svelte" + import { cn } from "@/utils" + import { Command, Skeleton } from "@kksh/svelte5" + import { CustomCommandInput } from "@kksh/ui/main" import { getCurrentWindow } from "@tauri-apps/api/window" import { onMount } from "svelte" @@ -9,12 +12,6 @@ }) -
-
- -
- - -
-
+
+