Skip to content

Commit

Permalink
chore: search logo in the right side.
Browse files Browse the repository at this point in the history
  • Loading branch information
puni9869 committed Nov 9, 2024
1 parent c77669f commit 113c12e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/widget/search.tmpl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{define "widget/search"}}
<div class="mx-auto h-auto w-fit flex justify-center items-stretch focus:border-2 focus:border-indigo-500 group">
<svg viewBox="0 0 17 17" stroke-width="3" class="pointer-events-none p-2 h-full bg-gray-200 text-indigo-500 group-hover:text-indigo-500">
<path d="M16.72 17.78a.75.75 0 1 0 1.06-1.06l-1.06 1.06ZM9 14.5A5.5 5.5 0 0 1 3.5 9H2a7 7 0 0 0 7 7v-1.5ZM3.5 9A5.5 5.5 0 0 1 9 3.5V2a7 7 0 0 0-7 7h1.5ZM9 3.5A5.5 5.5 0 0 1 14.5 9H16a7 7 0 0 0-7-7v1.5Zm3.89 10.45 3.83 3.83 1.06-1.06-3.83-3.83-1.06 1.06ZM14.5 9a5.48 5.48 0 0 1-1.61 3.89l1.06 1.06A6.98 6.98 0 0 0 16 9h-1.5Zm-1.61 3.89A5.48 5.48 0 0 1 9 14.5V16a6.98 6.98 0 0 0 4.95-2.05l-1.06-1.06Z"></path>
</svg>
<div class="text-gray-900 bg-gray-200 pl-1">
<input type="text" class="h-max mt-1 w-96 bg-gray-200 z-0 focus:outline-none" placeholder="Search anything..." />
</div>
<svg viewBox="0 0 17 17" stroke-width="3" class="pointer-events-none p-2 h-full bg-gray-200 text-indigo-500 group-hover:text-indigo-500">
<path d="M16.72 17.78a.75.75 0 1 0 1.06-1.06l-1.06 1.06ZM9 14.5A5.5 5.5 0 0 1 3.5 9H2a7 7 0 0 0 7 7v-1.5ZM3.5 9A5.5 5.5 0 0 1 9 3.5V2a7 7 0 0 0-7 7h1.5ZM9 3.5A5.5 5.5 0 0 1 14.5 9H16a7 7 0 0 0-7-7v1.5Zm3.89 10.45 3.83 3.83 1.06-1.06-3.83-3.83-1.06 1.06ZM14.5 9a5.48 5.48 0 0 1-1.61 3.89l1.06 1.06A6.98 6.98 0 0 0 16 9h-1.5Zm-1.61 3.89A5.48 5.48 0 0 1 9 14.5V16a6.98 6.98 0 0 0 4.95-2.05l-1.06-1.06Z"></path>
</svg>
</div>
{{end}}

0 comments on commit 113c12e

Please sign in to comment.