add live dashboard icon

This commit is contained in:
shibao 2021-09-03 19:54:05 -04:00 committed by oliviasculley
parent a6c4f80a91
commit eefde769dd
2 changed files with 3 additions and 9 deletions

View File

@ -56,8 +56,9 @@
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %> <%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
<li> <li>
<%= link "LiveDashboard", class: "hover:underline", <%= link to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) do %>
to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) %> <i class="fas fa-tachometer-alt"></i>
<% end %>
</li> </li>
<% end %> <% end %>
<% else %> <% else %>

View File

@ -17,13 +17,6 @@
<i class="fas fa-sign-out-alt"></i> <i class="fas fa-sign-out-alt"></i>
<% end %> <% end %>
</li> </li>
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
<li>
<%= link "LiveDashboard", class: "hover:underline",
to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) %>
</li>
<% end %>
<% else %> <% else %>
<li> <li>
<%= link "Register", class: "hover:underline", <%= link "Register", class: "hover:underline",