diff --git a/src/lib/components/search/LibraryResult.svelte b/src/lib/components/search/LibraryResult.svelte new file mode 100644 index 0000000..febebf8 --- /dev/null +++ b/src/lib/components/search/LibraryResult.svelte @@ -0,0 +1,33 @@ + + + diff --git a/src/lib/components/search/SearchInput.svelte b/src/lib/components/search/SearchInput.svelte new file mode 100644 index 0000000..df70a71 --- /dev/null +++ b/src/lib/components/search/SearchInput.svelte @@ -0,0 +1,56 @@ + + +
{breadcrumb}
+ {/if} + +{content}
+ {:else}
+ + Find libraries and query their indexed documentation. +
++ Enter a library name to find matching indexed repositories. +
+ +{libraryError}
+Ask a question about this library.
+ +{snippetError}
++ {snippets.length} snippet{snippets.length === 1 ? '' : 's'} · + {totalTokens.toLocaleString()} tokens +
+ +No snippets found for that query.
+Try a different question or select another library.
+