refactor(web): move search component under root page dir

This commit is contained in:
Luke committed 2023-03-20 08:46:51 +01:00
1 parent fb0c05ad92
commit fbac1353c3
2 files changed
+2 -2

No files matched your search

@@ -0,0 +1,13 @@
<script lang="ts">
export let icon: ConstructorOfATypedSvelteComponent;
export let value: string;
</script>
<div
class="p-2 flex items-center outline-none border-[1px] border-transparent transition-all duration-100 focus-within:border-cyan-600 rounded-md bg-dark-600"
>
<div class="pr-2">
<svelte:component this={icon} />
</div>
<input type="text" bind:value class="bg-transparent outline-none w-full" placeholder="Search resources..." />
</div>