Skip to content

Commit f4f83b1

Browse files
committed
fix/Use inline svg for search icon
1 parent 98a1a11 commit f4f83b1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

app/views/home/connect.html.erb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44
>
55
<div class="mb-4 relative">
66
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
7-
<!-- Heroicon name: solid/mail -->
8-
<%= image_tag '/icons/grey/search.svg', class: 'text-gray-400 h-5 w-5' %>
9-
<%# <svg class="h-5 w-5 text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
10-
<path d="M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z" />
11-
<path d="M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z" />
12-
</svg> %>
7+
<%= render partial: 'shared/icons/search', locals: { width: 5, height: 5, color: 'text-gray-400' } %>
138
</div>
149
<input
1510
type="text"

0 commit comments

Comments
 (0)