Improve nav debugging

This commit is contained in:
2023-03-16 23:05:29 +02:00
parent 731339f47d
commit 6b2ef4ff53

View File

@@ -14,10 +14,11 @@
<section class="container"> <section class="container">
<nav> <nav>
<ul> <ul>
<li><a href="https://hexdocs.pm/phoenix/overview.html">Get Started</a></li> <li><%= link "Ilmoittaudu", to: Routes.order_registration_path(@conn, :index) %></li>
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %> <li><%= link "Tilaukset", to: Routes.order_index_path(@conn, :index) %></li>
<li><%= link "LiveDashboard", to: Routes.live_dashboard_path(@conn, :home) %></li> <%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
<% end %> <li><%= link "LiveDashboard", to: Routes.live_dashboard_path(@conn, :home) %></li>
<% end %>
</ul> </ul>
</nav> </nav>
<img src={Routes.static_path(@conn, "/images/logo.jpg")} alt="Osuuspuutarha Logo"/> <img src={Routes.static_path(@conn, "/images/logo.jpg")} alt="Osuuspuutarha Logo"/>