1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-14 05:57:33 +00:00
Yuika/partials/site-header.hbs
Damillora a91bb8a901 Yuika v1
- Upgrade Tailwind to 1.4, integrating CSS grid and transition utilities
- Upgrade other dependencies
- Change design
2020-06-17 03:35:15 +07:00

26 lines
934 B
Handlebars

<div class="w-full flex flex-row justify-begin items-center fixed index-navbar">
<header class="flex flex-row w-full relative py-0">
<div class="site-head">
{{#if @site.logo}}
<div class="w-12 h-12">
<img src="{{img_url @site.logo size="l"}}" alt="{{@site.title}}" class="w-full h-full object-contain">
</div>
{{/if}}
<a href="{{@site.url}}" class="block flex flex-col pl-4 flex-grow">
<div class="">
<h1 class="text-lg text-white">{{@site.title}}</h1>
</div>
<div class="">
<p class="text-sm text-white">{{@site.description}}</p>
</div>
</a>
</div>
<div class="nav-group">
<div id="menushow" class="">
<span class="h-12 w-12 px-3 py-3 text-white md:hidden material-icons" alt="menu">menu</span>
</div>
{{navigation}}
</div>
</header>
</div>