hugo-theme-zirakzigil/layouts/partials/header.html

30 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2023-11-01 19:37:20 -04:00
<header class="navbar dark:bg-neutral mb-10 shadow-xl rounded-box">
2023-02-20 22:37:42 -05:00
{{ with .Site.Menus.main }}
2023-11-01 19:37:20 -04:00
<div class="navbar">
<div class="navbar-start">
<div class="dropdown">
<label tabindex="0" class="btn btn-ghost lg:hidden">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h8m-8 6h16" /></svg>
</label>
<ul tabindex="0" class="menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-base-100 rounded-box w-52">
{{ range . }}
<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
{{ end }}
</ul>
</div>
<a class="btn btn-ghost normal-case text-xl" href="https://alfrescocavern.com">alfrescocavern</a>
</div>
<div class="navbar-center hidden lg:flex">
<ul class="menu menu-horizontal px-1">
{{ range . }}
<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
{{ end }}
</ul>
</div>
<div class="navbar-end">
<a class="p-2" type="application/rss+xml" href="https://alfrescocavern.com/index.xml"><i class="fa fa-rss" aria-hidden="true"></i></a>
<a class="p-2" href="https://mastodon.sdf.org/@zongor"><i class="fa-brands fa-mastodon"></i></a>
</div>
</div>
2023-02-20 22:37:42 -05:00
{{ end }}
2023-11-01 19:37:20 -04:00
</header>