remove search from topbar

This commit is contained in:
2023-02-07 00:06:14 -05:00
committed by oliviasculley
parent ebe09bcf84
commit 8ef3bd65a3
7 changed files with 8 additions and 25 deletions

View File

@ -36,23 +36,6 @@ defmodule LokalWeb.Components.Topbar do
<ul class="flex flex-row flex-wrap justify-center items-center
text-lg text-white text-ellipsis">
<%= if @current_user do %>
<form phx-change="suggest" phx-submit="search">
<input
type="text"
name="q"
class="input input-primary"
placeholder="Search"
list="results"
autocomplete="off"
/>
<datalist id="results">
<%= for {app, _vsn} <- @results do %>
<option value={app}>
"> <%= app %>
</option>
<% end %>
</datalist>
</form>
<li :if={@current_user.role == :admin} class="mx-2 my-1">
<.link
navigate={Routes.invite_index_path(Endpoint, :index)}