1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-11 23:55:16 +01:00
blog/_src/_includes/header.html

57 lines
2.3 KiB
HTML
Raw Normal View History

2013-11-23 21:53:52 +01:00
2015-08-18 20:55:30 +02:00
<header role="banner" class="site__header">
2015-08-10 00:48:31 +02:00
<div class="header__content">
<div class="container">
<div class="grid grid--half">
<div class="grid__col">
<h1 class="header__title">
<a class="header__logo" href="/">kremalicious</a>
</h1>
</div>
<nav role="navigation" class="nav-main grid__col">
2015-12-02 00:19:46 +01:00
<button type="button" class="menu-btn" data-toggle="tooltip" title="Menu">
2015-08-10 00:48:31 +02:00
<svg class="icon icon-entypo icon-entypo-menu" role="img" aria-labelledby="title">
<title id="title">Menu</title>
<use xlink:href="/assets/img/sprite.svg#entypo-menu"></use>
</svg>
</button>
</nav>
<section class="site-search">
2015-12-02 00:19:46 +01:00
<button type="button" class="search-btn" data-toggle="tooltip" title="Search">
2015-08-10 00:48:31 +02:00
<svg class="icon icon-entypo icon-entypo-search" role="img" aria-labelledby="title">
<title id="title">Search</title>
<use xlink:href="/assets/img/sprite.svg#entypo-magnifying-glass"></use>
</svg>
</button>
<div class="search-area">
<input type="search" id="search-input" class="form-control input-search search-field" placeholder="Search everything">
<button class="close search-close">&times;</button>
</div>
</section>
2013-12-01 00:47:47 +01:00
</div>
2014-07-12 21:22:47 +02:00
<ul class="nav-popover grid grid--half grid-medium--third">
2015-08-10 00:48:31 +02:00
{% for category in site.categories %}
2015-08-18 20:55:30 +02:00
<li class="grid__col">
2015-08-10 00:48:31 +02:00
<a class="nav-link" href="/{{ category | first }}/">
{{ category | first }}
</a>
</li>
{% endfor %}
</ul>
</div>
2013-12-01 00:47:47 +01:00
</div>
2015-08-10 00:48:31 +02:00
</header>
2015-08-18 20:55:30 +02:00
<div id="search-popover" class="search-popover hide">
<div class="container">
2015-08-19 23:39:45 +02:00
<ul id="search-results" class="search-results grid grid--gutters grid--full grid-medium--half"></ul>
2015-08-18 20:55:30 +02:00
</div>
</div>