feat: Add search functionality to navbar

This commit is contained in:
Sean Morley
2024-06-04 21:18:30 +00:00
parent 18b4dfa922
commit eadf001b39
2 changed files with 23 additions and 13 deletions

View File

@@ -100,9 +100,12 @@
<li>
<label class="input input-bordered flex items-center gap-2">
<input type="text" class="grow" placeholder="Search" />
<!-- svelte-ignore a11y-click-events-have-key-events -->
<!-- svelte-ignore a11y-no-static-element-interactions -->
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16"
on:click={() => goToSearch()}
fill="currentColor"
class="w-4 h-4 opacity-70"
><path