congo/layouts/partials/header/hybrid.html

19 lines
741 B
HTML

<header class="py-6 font-semibold text-neutral-900 dark:text-neutral print:hidden sm:py-10">
<nav class="flex items-start justify-between sm:items-center">
{{/* Site logo/title */}}
<div class="z-40 flex flex-row items-center">
{{ partial "logo.html" . }}
</div>
{{ if or .Site.Menus.main (.Site.Params.enableSearch | default false) }}
<label id="menu-button" for="menu-controller" class="block sm:hidden">
{{/* Hamburger menu */}}
{{ partial "header/hamburger/hamburger-content.html" }}
</label>
{{/* Basic menu */}}
<ul class="flex-row hidden list-none text-end sm:flex">
{{ partial "header/basic/basic-content.html" . }}
</ul>
{{ end }}
</nav>
</header>