Kill search

This commit is contained in:
Chris McCord 2024-06-05 16:09:01 -04:00
parent 07e7e279a9
commit 66699cdc68

View file

@ -82,39 +82,6 @@
<%= if @current_user do %>
<.sidebar_account_dropdown id="account-dropdown" current_user={@current_user} />
<% end %>
<!-- Sidebar Search -->
<div class="px-3 mt-5">
<label for="search" class="sr-only">Search</label>
<div class="mt-1 relative rounded-md shadow-sm">
<div
class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"
aria-hidden="true"
>
<svg
class="mr-3 h-4 w-4 text-gray-400"
x-description="Heroicon name: solid/search"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
aria-hidden="true"
>
<path
fill-rule="evenodd"
d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
clip-rule="evenodd"
>
</path>
</svg>
</div>
<input
type="text"
name="search"
id="search"
class="focus:ring-indigo-500 focus:border-indigo-500 block w-full pl-9 sm:text-sm border-gray-300 rounded-md"
placeholder="Search"
/>
</div>
</div>
<!-- Navigation -->
<nav class="px-3 mt-6">
<%= if @current_user do %>
@ -160,36 +127,6 @@
</svg>
</button>
<div class="flex-1 flex justify-between px-4 sm:px-6 lg:px-8">
<div class="flex-1 flex">
<form class="w-full flex md:ml-0" action="#" method="GET">
<label for="search-field" class="sr-only">Search</label>
<div class="relative w-full text-gray-400 focus-within:text-gray-600">
<div class="absolute inset-y-0 left-0 flex items-center pointer-events-none">
<svg
class="h-5 w-5"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
aria-hidden="true"
>
<path
fill-rule="evenodd"
d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
clip-rule="evenodd"
>
</path>
</svg>
</div>
<input
id="search-field"
name="search-field"
class="block w-full h-full pl-8 pr-3 py-2 border-transparent text-gray-900 placeholder-gray-500 focus:outline-none focus:ring-0 focus:border-transparent focus:placeholder-gray-400 sm:text-sm"
placeholder="Search"
type="search"
/>
</div>
</form>
</div>
<%= if @current_user do %>
<div class="flex items-center">
<!-- Profile dropdown TODO -->