bulma/docs/_includes/global/navbar.html

109 lines
4.1 KiB
HTML
Raw Normal View History

2018-04-09 09:35:44 +00:00
<nav id="navbar" class="navbar">
2018-04-09 20:16:50 +00:00
<div class="container">
2017-07-02 15:52:20 +00:00
<div class="navbar-brand">
<a class="navbar-item" href="{{ site.url }}">
2018-03-26 13:46:39 +00:00
<img src="{{ site.url }}/images/bulma-logo.png" alt="{{ site.data.meta.title }}" width="112" height="28">
2017-07-02 15:52:20 +00:00
</a>
2017-06-30 21:34:13 +00:00
2018-04-09 19:19:29 +00:00
<a class="navbar-item is-hidden-desktop" href="{{ site.data.meta.github }}" target="_blank">
2017-07-02 15:52:20 +00:00
<span class="icon" style="color: #333;">
2018-04-10 10:45:48 +00:00
<i class="fab fa-lg fa-github-alt"></i>
2017-07-02 15:52:20 +00:00
</span>
</a>
2017-06-30 21:34:13 +00:00
2018-03-26 13:46:39 +00:00
<a class="navbar-item is-hidden-desktop" href="{{ site.data.meta.twitter }}" target="_blank">
2017-07-02 15:52:20 +00:00
<span class="icon" style="color: #55acee;">
2018-01-10 16:30:23 +00:00
<i class="fab fa-lg fa-twitter"></i>
2017-07-02 15:52:20 +00:00
</span>
2018-04-09 19:19:29 +00:00
</a>
2017-06-30 21:34:13 +00:00
2017-10-26 18:47:48 +00:00
<div id="navbarBurger" class="navbar-burger burger" data-target="navMenu{{ include.id }}">
2017-07-02 15:52:20 +00:00
<span></span>
<span></span>
<span></span>
2017-06-30 21:34:13 +00:00
</div>
2017-07-02 15:52:20 +00:00
</div>
2017-06-30 21:34:13 +00:00
2018-04-09 09:35:44 +00:00
<div id="navMenu{{ include.id }}" class="navbar-menu">
2017-07-02 15:52:20 +00:00
<div class="navbar-start">
2018-04-09 09:35:44 +00:00
<a class="navbar-item bd-navbar-item-documentation {% if page.route == 'documentation' %}is-active{% endif %} {% if page.layout == 'documentation' %}is-active{% endif %}" href="{{ site.data.meta.documentation }}">
2018-04-09 00:12:55 +00:00
<span class="icon has-text-primary">
<i class="fas fa-book"></i>
</span>
<span>Documentation</span>
</a>
2018-04-09 09:35:44 +00:00
{% for item in site.data.global.navbar_items %}
<a class="navbar-item bd-navbar-item-{{ item.id }} {% if page.route == item.id %}is-active{% endif %}" href="{{ site.url }}/{{ item.id }}/">
<span class="icon {{ item.color }}">
<i class="{{ item.fa_type }} {{ item.fa_icon }}"></i>
</span>
<span>{{ item.title }}</span>
</a>
{% endfor %}
2017-07-19 21:52:22 +00:00
<div class="navbar-item has-dropdown is-hoverable">
<div class="navbar-link">
More
</div>
<div id="moreDropdown" class="navbar-dropdown {% if include.boxed %}is-boxed{% endif %}">
2018-04-09 00:12:55 +00:00
{% for item in site.data.global.more_items %}
<a class="navbar-item {% if page.route == item.id %}is-active{% endif %}" href="{{ site.url }}/{{ item.id }}/">
<div class="media">
<div class="media-left">
<span class="icon is-large has-text-{{ item.color }}">
<i class="{{ item.fa_type }} {{ item.fa_icon }} fa-2x"></i>
</span>
</div>
<div class="media-content">
<p>
<strong>{{ item.title }}</strong>
<br>
<small>{{ item.description }}</small>
</p>
</div>
2018-01-18 15:43:10 +00:00
</div>
2018-04-09 00:12:55 +00:00
</a>
{% endfor %}
2017-07-19 21:52:22 +00:00
</div>
</div>
2017-07-02 15:52:20 +00:00
</div>
2017-06-30 21:34:13 +00:00
2017-07-02 15:52:20 +00:00
<div class="navbar-end">
2018-03-26 13:46:39 +00:00
<a class="navbar-item is-hidden-desktop-only" href="{{ site.data.meta.github }}" target="_blank">
2017-08-14 10:26:48 +00:00
<span class="icon" style="color: #333;">
2018-04-10 10:45:48 +00:00
<i class="fab fa-lg fa-github-alt"></i>
2017-08-14 10:26:48 +00:00
</span>
2017-07-02 15:52:20 +00:00
</a>
2018-03-26 13:46:39 +00:00
<a class="navbar-item is-hidden-desktop-only" href="{{ site.data.meta.twitter }}" target="_blank">
2017-08-14 10:26:48 +00:00
<span class="icon" style="color: #55acee;">
2018-01-10 16:30:23 +00:00
<i class="fab fa-lg fa-twitter"></i>
2017-08-14 10:26:48 +00:00
</span>
2017-07-02 15:52:20 +00:00
</a>
<div class="navbar-item">
2018-01-16 10:36:17 +00:00
<div class="field is-grouped is-grouped-multiline">
2018-01-10 11:48:03 +00:00
<p class="control">
<a href="https://www.patreon.com/jgthms" target="_blank" style="display: block;">
<img
2018-04-09 00:12:55 +00:00
style="border-radius: 3px; display: block; max-height: 36px;"
2018-01-10 11:48:03 +00:00
src="/images/become_a_patron_button.png"
width="153"
height="36"
srcset="/images/become_a_patron_button@3x.png 3x,
/images/become_a_patron_button@2x.png 2x,
/images/become_a_patron_button.png 1x"
alt="Become a patron">
</a>
</p>
2017-07-02 15:52:20 +00:00
<p class="control">
2018-03-26 13:46:39 +00:00
<a class="button is-primary" href="{{ site.data.meta.download }}">
2018-04-09 00:12:55 +00:00
<strong>Download</strong>
2017-07-02 15:52:20 +00:00
</a>
</p>
2017-06-30 21:34:13 +00:00
</div>
</div>
</div>
2017-07-02 15:52:20 +00:00
</div>
2018-04-09 20:16:50 +00:00
</div>
2017-07-02 15:52:20 +00:00
</nav>