Added new command palette

This commit is contained in:
Mawoka
2023-06-22 18:54:27 +02:00
parent e0db6427af
commit a71c168eb2
8 changed files with 585 additions and 3 deletions
+10
View File
@@ -6,6 +6,8 @@
<script lang="ts">
import { getLocalization } from '$lib/i18n';
import { navbarVisible } from '$lib/stores';
import { onMount } from 'svelte';
import { page } from '$app/stores';
navbarVisible.set(true);
@@ -74,6 +76,14 @@
};
$: console.log(file_input);
onMount(() => {
let url_from_path = $page.url.searchParams.get('url');
if (url_from_path === '') {
url_from_path = null;
}
url_input = url_from_path ?? '';
});
</script>
<svelte:head>