2021-02-25 15:27:31 -05:00
|
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
|
|
|
<div class="container">
|
|
|
|
|
2021-02-26 09:57:43 -05:00
|
|
|
<%= link to: Routes.page_path(@conn, :index), class: "navbar-brand py-0 fs-4" do %>
|
2021-02-25 22:34:46 -05:00
|
|
|
<%= icon_div @conn, "mdi-skull-crossbones", [class: "icon baseline fs-3"] %>
|
2021-02-26 09:57:43 -05:00
|
|
|
<span class="fw-light">Bones73k</span>
|
2021-02-25 17:20:50 -05:00
|
|
|
<% end %>
|
2021-02-25 15:27:31 -05:00
|
|
|
|
2021-02-26 09:57:43 -05:00
|
|
|
<button class="hamburger hamburger--squeeze collapsed navbar-toggler" id="navbarSupportedContentToggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="hamburger-box d-flex">
|
|
|
|
<span class="hamburger-inner"></span>
|
|
|
|
</span>
|
2021-02-25 15:27:31 -05:00
|
|
|
</button>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent" phx-update="ignore">
|
|
|
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
2021-02-25 18:21:43 -05:00
|
|
|
|
2021-02-25 15:27:31 -05:00
|
|
|
<li class="nav-item">
|
2021-02-25 18:21:43 -05:00
|
|
|
<%= link "Properties", nav_link_opts(@conn, to: Routes.property_index_path(@conn, :index), class: "nav-link") %>
|
2021-02-25 15:27:31 -05:00
|
|
|
</li>
|
2021-02-25 18:21:43 -05:00
|
|
|
|
|
|
|
<%# ACTIVE page link example %>
|
|
|
|
<%# <li class="nav-item">
|
|
|
|
<a class="nav-link active" aria-current="page" href="#">Home</a>
|
|
|
|
</li> %>
|
|
|
|
|
|
|
|
<%# DISABLED page link example %>
|
|
|
|
<%# <li class="nav-item">
|
|
|
|
<a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
|
|
|
|
</li> %>
|
|
|
|
|
|
|
|
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
|
|
|
|
<li class="nav-item">
|
|
|
|
<%= link "LiveDashboard", nav_link_opts(@conn, to: Routes.live_dashboard_path(@conn, :home), class: "nav-link") %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
|
2021-02-25 15:27:31 -05:00
|
|
|
<li class="nav-item dropdown" phx-update="ignore">
|
2021-02-25 18:21:43 -05:00
|
|
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownExample" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</a>
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="navbarDropdownExample">
|
2021-02-25 15:27:31 -05:00
|
|
|
<li><a class="dropdown-item" href="#">Action</a></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Another action</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" href="#">Something else here</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2021-02-25 18:21:43 -05:00
|
|
|
|
2021-02-25 15:27:31 -05:00
|
|
|
</ul>
|
2021-02-25 18:21:43 -05:00
|
|
|
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
|
|
|
|
<%= render "navbar/_user_menu.html", assigns %>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
2021-02-25 15:27:31 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|