icones outline

This commit is contained in:
Jérémy Lecour 2021-03-14 09:10:43 +01:00 committed by Jérémy Lecour
parent ff29cb331a
commit 4a137af629

View file

@ -1,23 +1,23 @@
<% if controller_name == "emails" %>
<%= link_to emails_path, class: "bg-gray-900 text-white group flex items-center px-2 py-2 text-sm font-medium rounded-md" do %>
<%= heroicon "home", options: { class: "text-gray-300 mr-3 h-6 w-6" } %>
<%= heroicon "home", variant: :outline, options: { class: "text-gray-300 mr-3 h-6 w-6" } %>
Emails
<% end %>
<% else %>
<%= link_to emails_path, class: "text-gray-300 hover:bg-gray-700 hover:text-white group flex items-center px-2 py-2 text-sm font-medium rounded-md" do %>
<%= heroicon "home", options: { class: "text-gray-400 group-hover:text-gray-300 mr-3 h-6 w-6" } %>
<%= heroicon "home", variant: :outline, options: { class: "text-gray-400 group-hover:text-gray-300 mr-3 h-6 w-6" } %>
Emails
<% end %>
<% end %>
<% if controller_name == "filters" %>
<%= link_to filters_path, class: "bg-gray-900 text-white group flex items-center px-2 py-2 text-sm font-medium rounded-md" do %>
<%= heroicon "filter", options: { class: "text-gray-300 mr-3 h-6 w-6" } %>
<%= heroicon "filter", variant: :outline, options: { class: "text-gray-300 mr-3 h-6 w-6" } %>
Filters
<% end %>
<% else %>
<%= link_to filters_path, class: "text-gray-300 hover:bg-gray-700 hover:text-white group flex items-center px-2 py-2 text-sm font-medium rounded-md" do %>
<%= heroicon "filter", options: { class: "text-gray-400 group-hover:text-gray-300 mr-3 h-6 w-6" } %>
<%= heroicon "filter", variant: :outline, options: { class: "text-gray-400 group-hover:text-gray-300 mr-3 h-6 w-6" } %>
Filters
<% end %>
<% end %>