diff --git a/site/src/components/SiteSearch.svelte b/site/src/components/SiteSearch.svelte
index 45d8a5744b..c2ccf3fcb9 100644
--- a/site/src/components/SiteSearch.svelte
+++ b/site/src/components/SiteSearch.svelte
@@ -1,12 +1,84 @@
+
+
{#if showing}
@@ -20,8 +92,15 @@
{/if}
- {#if query.length && !results.length}
-
Couldn't find any results for "{query}"
+ {#if loading} + + {:else if error} + +If the error persists, please drop by Discord chatroom and let us know, or raise an issue on GitHub. Thanks!
+ {:else if query.length && !results.length} + {/if} {/if} @@ -53,10 +132,17 @@ display: block; margin: calc(50vh - 160px) auto 0 auto; } - .no-results { + p { font-size: 14px; - font-weight: bold; text-align: center; padding: 0 16px; } + .message { + font-weight: bold; + } + .error { + color: white; + padding: 10px; + background: #da106e; + }