2021-04-03 23:22:35 -04:00
|
|
|
<nav class="navbar <%= if navbar_fixed?(@conn), do: "fixed-top" %> navbar-expand-lg navbar-dark bg-dark px-1 px-sm-2 px-lg-3 px-xl-4 px-xxl-5 py-3">
|
2021-03-29 19:50:47 -04:00
|
|
|
<div class="container-fluid">
|
|
|
|
|
|
|
|
<h1 class="my-0 py-0 lh-base">
|
|
|
|
<%= link to: Routes.home_path(@conn, :index), class: "navbar-brand fs-1 text-secondary" do %>
|
|
|
|
<%= icon_div @conn, "mdi-desktop-classic", [class: "icon baseline"] %>
|
2021-04-03 23:22:35 -04:00
|
|
|
<span class="fw-light font-brand">\\73k</span>
|
2021-03-29 19:50:47 -04:00
|
|
|
<% end %>
|
2021-03-29 11:27:44 -04:00
|
|
|
</h1>
|
|
|
|
|
2021-03-29 19:50:47 -04:00
|
|
|
<button class="hamburger hamburger--vortex 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">
|
2021-03-29 11:27:44 -04:00
|
|
|
<span class="hamburger-box d-flex">
|
|
|
|
<span class="hamburger-inner"></span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
|
|
|
|
|
|
<%# nav LEFT items %>
|
2021-03-29 19:50:47 -04:00
|
|
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0"></ul>
|
2021-03-29 11:27:44 -04:00
|
|
|
|
2021-03-29 19:50:47 -04:00
|
|
|
<%# nav RIGHT items %>
|
|
|
|
<ul class="navbar-nav">
|
2021-03-29 11:27:44 -04:00
|
|
|
|
|
|
|
<li class="nav-item">
|
2021-03-29 19:50:47 -04:00
|
|
|
<%= link nav_link_opts(@conn, to: Routes.home_path(@conn, :index), class: "nav-link font-monospace fs-6") do %>
|
|
|
|
<%= icon_div @conn, "mdi-home", [class: "icon baseline"] %><span>\~</span>
|
|
|
|
<% end %>
|
2021-03-29 11:27:44 -04:00
|
|
|
</li>
|
|
|
|
|
2021-03-29 19:50:47 -04:00
|
|
|
<li class="nav-item">
|
|
|
|
<%= link nav_link_opts(@conn, to: Routes.home_path(@conn, :resume), class: "nav-link font-monospace fs-6") do %>
|
|
|
|
<%= icon_div @conn, "mdi-briefcase-account", [class: "icon baseline"] %><span>\Résumé</span>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
2021-03-29 11:27:44 -04:00
|
|
|
|
|
|
|
<li class="nav-item">
|
2021-03-29 19:50:47 -04:00
|
|
|
<%= link nav_link_opts(@conn, to: Routes.home_path(@conn, :folio), class: "nav-link font-monospace fs-6") do %>
|
|
|
|
<%= icon_div @conn, "mdi-zip-disk", [class: "icon baseline"] %><span>\Portfolio</span>
|
|
|
|
<% end %>
|
2021-03-29 11:27:44 -04:00
|
|
|
</li>
|
|
|
|
|
2021-03-29 19:50:47 -04:00
|
|
|
<li class="nav-item">
|
2021-04-03 23:22:35 -04:00
|
|
|
<%= link nav_link_opts(@conn, to: Routes.home_path(@conn, :about), class: "nav-link font-monospace fs-6") do %>
|
|
|
|
<%= icon_div @conn, "mdi-information", [class: "icon baseline"] %><span>\About</span>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<%= link nav_link_opts(@conn, to: Routes.blog_path(@conn, :index), class: "nav-link font-monospace fs-6") do %>
|
2021-03-29 19:50:47 -04:00
|
|
|
<%= icon_div @conn, "mdi-typewriter", [class: "icon baseline"] %><span>\Blog</span>
|
2021-03-29 11:27:44 -04:00
|
|
|
<% end %>
|
2021-03-29 19:50:47 -04:00
|
|
|
</li>
|
2021-03-29 11:27:44 -04:00
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|