bulma/docs/_includes/global/header.html

125 lines
3.2 KiB
HTML
Raw Normal View History

2024-03-21 16:11:54 +00:00
<header class="bd-header">
<a class="bulma-logo" href="{{ site.url }}/">
{% include svg/bulma-logo.html %}
</a>
<nav id="js-nav" class="bd-nav">
2024-03-21 16:39:38 +00:00
{% for link_id in site.data.links.navbar %} {% include global/nav-item.html
link_id=link_id %} {% endfor %}
2024-03-21 16:11:54 +00:00
<div class="bd-nav-icons">
2024-03-21 16:39:38 +00:00
{% for link_id in site.data.links.navbar_icons %} {% include
global/nav-item.html link_id=link_id %} {% endfor %}
2024-03-21 16:11:54 +00:00
<button class="bd-nav-item is-search is-icon">
<span class="icon">
2024-03-23 19:25:04 +00:00
<i class="fas fa-search fa-lg"></i>
2024-03-21 16:11:54 +00:00
</span>
</button>
2024-03-21 16:39:38 +00:00
<button
class="bd-nav-item is-icon is-ellipsis js-burger"
data-target="js-more"
>
2024-03-21 16:11:54 +00:00
<span class="icon">
2024-03-23 19:25:04 +00:00
<i class="fas fa-ellipsis-h fa-lg"></i>
2024-03-21 16:11:54 +00:00
</span>
</button>
<div id="js-more" class="bd-nav-menu is-more js-menu">
2024-03-21 16:39:38 +00:00
{% for link_id in site.data.links.navbar_more %} {% include
global/nav-item.html link_id=link_id %} {% endfor %}
2024-03-21 16:11:54 +00:00
</div>
</div>
2024-03-21 16:39:38 +00:00
<a
class="button is-primary bd-nav-mobile-download"
href="{{ site.data.meta.download }}"
>
Download
</a>
2024-03-21 16:11:54 +00:00
</nav>
<div class="bd-nav-themes">
<button id="js-cycle" class="bd-cycle js-burger" data-target="js-themes">
<div class="bd-cycles">
<div class="bd-cycle-sun">
<span class="icon">
<i class="fas fa-lg fa-sun" aria-hidden="true"></i>
</span>
</div>
<div class="bd-cycle-moon">
<span class="icon">
<i class="fas fa-lg fa-moon" aria-hidden="true"></i>
</span>
</div>
</div>
</button>
<div id="js-themes" class="bd-nav-menu is-cycles js-menu js-themes">
2024-03-21 16:39:38 +00:00
<button
data-scheme="light"
class="bd-nav-item is-sun"
aria-label="Light mode"
>
2024-03-21 16:11:54 +00:00
<span class="icon">
<i class="fas fa-sun" aria-hidden="true"></i>
</span>
<span>Light</span>
</button>
2024-03-21 16:39:38 +00:00
<button
data-scheme="dark"
class="bd-nav-item is-moon"
aria-label="Dark mode"
>
2024-03-21 16:11:54 +00:00
<span class="icon">
<i class="fas fa-moon" aria-hidden="true"></i>
</span>
<span>Dark</span>
</button>
2024-03-21 16:39:38 +00:00
<button
data-scheme="system"
class="bd-nav-item is-system"
aria-label="System mode"
>
2024-03-21 16:11:54 +00:00
<span class="icon">
2024-03-23 19:25:04 +00:00
<i class="fas fa-desktop" aria-hidden="true"></i>
2024-03-21 16:11:54 +00:00
</span>
<span>System</span>
</button>
</div>
</div>
2024-03-23 19:25:04 +00:00
<div class="bd-nav-search">
2024-03-21 16:39:38 +00:00
<button
class="bd-nav-item is-search-desktop is-icon js-burger"
data-target="js-search"
>
2024-03-21 16:11:54 +00:00
<span class="icon">
2024-03-23 19:25:04 +00:00
<i class="fas fa-search fa-lg"></i>
2024-03-21 16:11:54 +00:00
</span>
</button>
<div id="js-search" class="bd-nav-menu is-search js-menu">
2024-03-23 19:25:04 +00:00
<input id="algoliaSearch" class="input" type="text" placeholder="Search" />
2024-03-21 16:11:54 +00:00
</div>
</div>
2024-03-21 16:39:38 +00:00
<a
class="button is-primary bd-nav-desktop-download"
href="{{ site.data.meta.download }}"
>
Download
</a>
2024-03-21 16:11:54 +00:00
<button class="navbar-burger bd-nav-burger js-burger" data-target="js-nav">
<span></span>
<span></span>
<span></span>
<span></span>
</button>
</header>