diff options
| author | Fuwn <[email protected]> | 2025-05-06 06:04:52 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-05-06 06:04:52 -0700 |
| commit | 7771e2618d3bffbcaebc23a21d2e34fe4012d89a (patch) | |
| tree | 376e4ceec4e50bc8dfb2b0990e0e619366c87b36 /src/routes/+layout.svelte | |
| parent | fix(anime): Exclude AiOmoDarkElf from subtitle matching (diff) | |
| download | due.moe-7771e2618d3bffbcaebc23a21d2e34fe4012d89a.tar.xz due.moe-7771e2618d3bffbcaebc23a21d2e34fe4012d89a.zip | |
feat: Add command palette
Diffstat (limited to 'src/routes/+layout.svelte')
| -rw-r--r-- | src/routes/+layout.svelte | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 12bae07f..f5adcb68 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -30,6 +30,9 @@ import Message from '$lib/Loading/Message.svelte'; import { requestNotifications } from '$lib/Utility/notifications'; import { database as userDatabase } from '$lib/Database/IDB/user'; + import CommandPalette from '$lib/CommandPalette/CommandPalette.svelte'; + import { defaultActions } from '$lib/CommandPalette/actions'; + import { toolsAsCommandPaletteItemSet } from '$lib/Tools/tools'; injectSpeedInsights(); @@ -154,6 +157,8 @@ <HeadTitle /> +<CommandPalette items={defaultActions.concat(toolsAsCommandPaletteItemSet())} /> + {#if !$locales.includes('en') || !$locale().navigation} <Message /> |