blob: 474dcd34e391812eb7a03dab8e5a9c4757d11407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<header class="text-gray-700 body-font sticky top-0 bg-white z-10">
<div
class="container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center"
>
<a
class="flex title-font font-medium items-center text-gray-900 mb-4 md:mb-0"
href="{{ .Site.BaseURL }}"
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
class="w-10 h-10 text-white p-2 bg-blue-500 rounded-full"
viewBox="0 0 24 24"
>
<path
d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"
></path>
</svg>
<span class="ml-3 text-xl">{{ .Site.Params.Author }}</span>
</a>
<nav
class="md:ml-auto flex flex-wrap items-center text-base justify-center"
>
{{ if eq .Site.Params.hideAutoMenu false }}
<a
class="mr-2 px-2 rounded cursor-pointer select-none hover:text-gray-900 show-all"
>All</a
>
{{ range .Site.Sections }}
<a
class="mr-2 px-2 rounded cursor-pointer select-none hover:text-gray-900 filter-{{lower .Title}}"
>{{.Title}}</a
>
{{ end }}{{ end }}
{{ range .Site.Menus.main }}
<a
href="{{ .URL }}"
class="mr-2 px-2 rounded cursor-pointer select-none hover:text-gray-900"
>{{ .Name }}</a>
{{ end }}
</nav>
</div>
</header>
|