Hash :
6fcf8de8
Author :
Thomas de Grivel
Date :
2022-04-01T12:20:18
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<div class="kmxgit-logo">
<span><i class="fas fa-square"></i></span> kmx git
</div>
</a>
<%= if ! @conn.assigns[:no_navbar_links] do %>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<%= if @current_user do %>
<%= render("nav_connected.html", assigns) %>
<% else %>
<%= render("nav_disconnected.html", assigns) %>
<% end %>
</ul>
</div>
<% end %>
</div>
</nav>