wip
This commit is contained in:
parent
a7dab14c22
commit
1e14e69d91
|
@ -1,17 +1,19 @@
|
||||||
<div class="navbar border-bottom border-b border-grey-lighter mb-6">
|
<div class="navbar border-bottom border-b border-grey-lighter mb-6">
|
||||||
<header class="container mx-auto px-4 flex items-center">
|
<header class="container mx-auto md:px-4">
|
||||||
<div class="w-1/4">
|
<div class="md:flex md:items-center">
|
||||||
<a href="/" class="" title="Home">
|
<div class="md:w-1/4">
|
||||||
{{ site.title }}
|
<a href="/" class="" title="Home">
|
||||||
</a>
|
{{ site.title }}
|
||||||
</div>
|
|
||||||
|
|
||||||
<nav class="w-3/4 flex flex-wrap justify-end">
|
|
||||||
{% for link in site.nav_links %}
|
|
||||||
<a href="{{ link.href }}" class="pt-4 pb-3 ml-4 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-3 border-blue' }}">
|
|
||||||
{{- link.title -}}
|
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
</div>
|
||||||
</nav>
|
|
||||||
|
<nav class="md:w-3/4 md:flex md:flex-wrap md:justify-end">
|
||||||
|
{% for link in site.nav_links %}
|
||||||
|
<a href="{{ link.href }}" class="block pt-4 pb-3 md:ml-4 pl-4 md:pl-0 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-3 border-blue' }}">
|
||||||
|
{{- link.title -}}
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue