aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/+layout.svelte5
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 />