Skip to content

Commit

Permalink
bring menu to heaer
Browse files Browse the repository at this point in the history
Partial-Issue: #8
  • Loading branch information
ntk148v committed Aug 30, 2024
1 parent 52ad90c commit 869b3a8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
28 changes: 17 additions & 11 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,23 @@
class="flex flex-row w-full max-w-content justify-between lowercase italic gap-3"
>
<nav>
<ul class="flex text-md space-x-3 sm:space-x-6">
{{ range $.Site.Menus.nav }}
<li class="text-text">
<a
href="{{ .URL | relURL }}"
class="tracking-wide hover:underline"
>{{ .Name }}</a
>
</li>
{{ end }}
</ul>
<a href="{{ .Site.BaseURL }}/index.xml"
><svg
width="18px"
height="18px"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M12.75 19.5v-.75a7.5 7.5 0 00-7.5-7.5H4.5m0-6.75h.75c7.87 0 14.25 6.38 14.25 14.25v.75M6 18.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"
/>
</svg>
</a>
</nav>
<span class="text-muted hidden md:block">
&copy;
Expand Down
28 changes: 11 additions & 17 deletions layouts/partials/nav-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,17 @@
</ol>
</nav>
<nav>
<a href="{{ .Site.BaseURL }}/index.xml"
><svg
width="18px"
height="18px"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M12.75 19.5v-.75a7.5 7.5 0 00-7.5-7.5H4.5m0-6.75h.75c7.87 0 14.25 6.38 14.25 14.25v.75M6 18.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"
/>
</svg>
</a>
<ul class="flex text-md space-x-3 sm:space-x-6">
{{ range $.Site.Menus.nav }}
<li class="text-text">
<a
href="{{ .URL | relURL }}"
class="tracking-wide hover:underline"
>{{ .Name }}</a
>
</li>
{{ end }}
</ul>
</nav>
</div>

Expand Down

0 comments on commit 869b3a8

Please sign in to comment.