chore: re-add header menu to blog

This commit is contained in:
Iuri Matias 2020-01-19 16:25:50 -05:00 committed by Jakub Sokołowski
parent 4655964bb5
commit 1f1eceecb8
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 17 additions and 23 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,36 +1,33 @@
<header role="banner" class="c-header c-header--compact">
<div class="o-container">
<div class="c-header__top">
<a href="{{ url_for_lang('') }}" title="Embark" class="c-logo c-logo--negative">Embark</a>
<a href="https://embarklabs.io" title="Embark" class="c-logo c-logo--negative">Embark</a>
<nav role="navigation" class="c-navigation">
<div class="c-navigation__header">
<a href="{{ url_for_lang('') }}" title="Embark" class="c-logo">Embark</a>
<a href="https://embarklabs.io" title="Embark" class="c-logo">Embark</a>
<button class="c-navigation__close u-text-light" title="Close menu">
<svg class="c-icon c-icon--xs"><use xlink:href="{{url_for('../assets/icons/symbols.svg#icon-close')}}"></use></svg>
</button>
</div>
<div class="c-navigation__body" style="display: none">
<div class="c-navigation__body" style="">
<ul class="c-navigation__list">
<li class="c-navigation__item">
<a href="{{ url_for('docs/quick_start.html') }}" class="c-navigation__anchor {% if is_quickstart() %}is-active{% endif %}" title="{{__('navigation.quick_start')}}">{{__('navigation.quick_start')}}</a>
<a href="https://blog.embarklabs.io" class="c-navigation__anchor" title="{{__('navigation.blog')}}">{{__('navigation.blog')}}</a>
</li>
<li class="c-navigation__item">
<a href="/docs" class="c-navigation__anchor {% if is_current('/docs') && !is_quickstart() %}is-active{% endif %}" title="{{__('navigation.learn')}}">{{__('navigation.learn')}}</a>
<a href="https://embark.embarklabs.io" class="c-navigation__anchor" title="Embark Framework">Embark</a>
</li>
<li class="c-navigation__item">
<a href="/plugins" class="c-navigation__anchor {% if is_current('/plugins') %}is-active{% endif %}" title="{{__('navigation.plugins')}}">{{__('navigation.plugins')}}</a>
<a href="https://subspace.embarklabs.io" class="c-navigation__anchor" title="Subspace">Subspace</a>
</li>
<li class="c-navigation__item">
<a href="/community" class="c-navigation__anchor {% if is_current('/community') %}is-active{% endif %}" title="{{__('navigation.community')}}">{{__('navigation.community')}}</a>
</li>
<li class="c-navigation__item">
<a href="/news" class="c-navigation__anchor {% if is_current('/news') %}is-active{% endif %}" title="{{__('navigation.blog')}}">{{__('navigation.blog')}}</a>
<a href="https://embark.embarklabs.io/docs/cockpit_introduction.html" class="c-navigation__anchor" title="Cockpit">Cockpit</a>
</li>
</ul>
</div>
</nav>
<div class="o-flex o-flex-center">
<form action="" class="o-flex__item u-hidden-until-large" style="display: none">
<form action="" class="o-flex__item u-hidden-until-large" style="">
<input type="search" placeholder="Search" id="search-input">
</form>
<div class="o-flex__item">

View File

@ -2,36 +2,33 @@
<span class="c-header__background"></span>
<div class="o-container c-header__content">
<div class="c-header__top">
<a href="{{ url_for_lang('') }}" title="Embark" class="c-logo c-logo--negative">Embark</a>
<a href="https://embarklabs.io" title="Embark" class="c-logo c-logo--negative">Embark</a>
<nav role="navigation" class="c-navigation">
<div class="c-navigation__header">
<a href="{{ url_for_lang('') }}" title="Embark" class="c-logo">Embark</a>
<a href="https://embarklabs.io" title="Embark" class="c-logo">Embark</a>
<button class="c-navigation__close u-text-light" title="Close menu">
<svg class="c-icon c-icon--xs"><use xlink:href="{{url_for('../assets/icons/symbols.svg#icon-close')}}"></use></svg>
</button>
</div>
<div class="c-navigation__body" style="display: none">
<div class="c-navigation__body" style="">
<ul class="c-navigation__list">
<li class="c-navigation__item">
<a href="{{ url_for('docs/quick_start.html') }}" class="c-navigation__anchor {% if is_quickstart() %}is-active{% endif %}" title="{{__('navigation.quick_start')}}">{{__('navigation.quick_start')}}</a>
<a href="https://blog.embarklabs.io" class="c-navigation__anchor" title="{{__('navigation.blog')}}">{{__('navigation.blog')}}</a>
</li>
<li class="c-navigation__item">
<a href="/docs" class="c-navigation__anchor {% if is_current('/docs') && !is_quickstart() %}is-active{% endif %}" title="{{__('navigation.learn')}}">{{__('navigation.learn')}}</a>
<a href="https://embark.embarklabs.io" class="c-navigation__anchor" title="Embark Framework">Embark</a>
</li>
<li class="c-navigation__item">
<a href="/plugins" class="c-navigation__anchor {% if is_current('/plugins') %}is-active{% endif %}" title="{{__('navigation.plugins')}}">{{__('navigation.plugins')}}</a>
<a href="https://subspace.embarklabs.io" class="c-navigation__anchor" title="Subspace">Subspace</a>
</li>
<li class="c-navigation__item">
<a href="/community" class="c-navigation__anchor {% if is_current('/community') %}is-active{% endif %}" title="{{__('navigation.community')}}">{{__('navigation.community')}}</a>
</li>
<li class="c-navigation__item">
<a href="/news" class="c-navigation__anchor {% if is_current('/news') %}is-active{% endif %}" title="{{__('navigation.blog')}}">{{__('navigation.blog')}}</a>
<a href="https://embark.embarklabs.io/docs/cockpit_introduction.html" class="c-navigation__anchor" title="Cockpit">Cockpit</a>
</li>
</ul>
</div>
</nav>
<div class="o-flex o-flex-center">
<form action="" class="o-flex__item u-hidden-until-large" style="display: none">
<form action="" class="o-flex__item u-hidden-until-large" style="">
<input type="search" placeholder="{{__('navigation.search')}}" id="search-input">
</form>
<div class="o-flex__item">