diff --git a/src/lib/components/SearchLoader.svelte b/src/lib/components/SearchLoader.svelte new file mode 100644 index 0000000..c3a03b1 --- /dev/null +++ b/src/lib/components/SearchLoader.svelte @@ -0,0 +1,180 @@ + + +
+ +

{messages[msgIdx]}

+
+ + diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 651ccff..00665aa 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -5,6 +5,7 @@ import { profileStore } from '$lib/client/profile.svelte'; import ProfileSwitcher from '$lib/components/ProfileSwitcher.svelte'; import ConfirmDialog from '$lib/components/ConfirmDialog.svelte'; + import SearchLoader from '$lib/components/SearchLoader.svelte'; import type { SearchHit } from '$lib/server/recipes/search-local'; import type { WebHit } from '$lib/server/search/searxng'; @@ -135,7 +136,7 @@ {#if navOpen}