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 %>
<li>
<%= link "LiveDashboard", class: "hover:underline",
to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) %>
<%= link to: Routes.live_dashboard_path(CanneryWeb.Endpoint, :home) do %>
<i class="fas fa-tachometer-alt"></i>
<% end %>
</li>
<% end %>
<% else %>

View File

@ -17,13 +17,6 @@
<i class="fas fa-sign-out-alt"></i>
<% end %>
</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 %>
<li>
<%= link "Register", class: "hover:underline",