diff --git a/components/app/Header.vue b/components/app/Header.vue
index 8be8e3f4f..927ba78e9 100644
--- a/components/app/Header.vue
+++ b/components/app/Header.vue
@@ -20,13 +20,13 @@
class="rounded"
@click.native="showInstallPrompt()"
/>
-
+ />
-
+
@@ -98,19 +98,19 @@ import { defineActionHandler } from "~/helpers/actions"
export default defineComponent({
setup() {
const showSupport = ref(false)
- // const showSearch = ref(false)
+ const showSearch = ref(false)
defineActionHandler("modals.support.toggle", () => {
showSupport.value = !showSupport.value
})
- // defineActionHandler("modals.search.toggle", () => {
- // showSearch.value = !showSearch.value
- // })
+ defineActionHandler("modals.search.toggle", () => {
+ showSearch.value = !showSearch.value
+ })
return {
currentUser: useReadonlyStream(currentUser$, null),
showSupport,
- // showSearch,
+ showSearch,
}
},
data() {
diff --git a/components/app/Lunr.vue b/components/app/Lunr.vue
new file mode 100644
index 000000000..3c9eee180
--- /dev/null
+++ b/components/app/Lunr.vue
@@ -0,0 +1,229 @@
+
+
+
+
+ {{ shortcut.icon }}
+
+
+ {{ $t(shortcut.label) }}
+
+
+ {{ key }}
+
+
+
+
+
+
+
+
diff --git a/components/app/Search.vue b/components/app/Search.vue
index 9f7d5a51b..dfe9425b7 100644
--- a/components/app/Search.vue
+++ b/components/app/Search.vue
@@ -18,7 +18,15 @@
pb-6
"
/>
+