From 9ace6894f2cd4150a38c96f1ce5d35266f3523d6 Mon Sep 17 00:00:00 2001 From: Elijah Date: Mon, 23 Dec 2019 15:26:26 -0600 Subject: [PATCH] Create a search bar --- site/src/components/SearchBar.svelte | 71 +++++++++++++++++++++++++++ site/src/components/SiteSearch.svelte | 6 ++- 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 site/src/components/SearchBar.svelte diff --git a/site/src/components/SearchBar.svelte b/site/src/components/SearchBar.svelte new file mode 100644 index 0000000000..6f3f80253a --- /dev/null +++ b/site/src/components/SearchBar.svelte @@ -0,0 +1,71 @@ + + +
+ + +
+ + diff --git a/site/src/components/SiteSearch.svelte b/site/src/components/SiteSearch.svelte index 1db8fcf607..819ed1ddba 100644 --- a/site/src/components/SiteSearch.svelte +++ b/site/src/components/SiteSearch.svelte @@ -1,13 +1,17 @@ {#if showing}
showing = false} transition:fade>
- + {/if}