aboutsummaryrefslogtreecommitdiff
path: root/_includes/nav.html
blob: 440c079f0c21e910f2bc9570d942f5a2d1321300 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<nav>
  <div class="flex flex-wrap md:flex-nowrap justify-between md:justify-start max-w-5xl px-6 py-3 mx-auto">
    <a class="nav-link font-bold ml-0" href="/">{{ site.author }}</a>

    <input id="hamburger" class="hidden" type="checkbox" />
    <label for="hamburger" class="nav-link md:hidden" aria-controls="nav-links">Menu</label>

    <div id="nav-links" class="flex flex-col md:flex-row justify-between w-full">
      <div id="nav-left" class="hidden flex-col md:flex md:flex-row">
        <a class="nav-link" href="/accounts/">Accounts and Keys</a>
        <a class="nav-link" href="/hardware/">Hardware</a>
        <a class="nav-link" href="/about/">About</a>
      </div>
      <div id="nav-right" class="hidden flex-col md:flex md:flex-row -mr-2">
        <a class="nav-link" href="https://github.com/dawidpotocki/dawidpotocki.com/">Source</a>
      </div>
    </div>
  </div>
</nav>