2020-09-25 18:35:24 +02:00
|
|
|
<header class="navbar navbar-expand-md navbar-dark bd-navbar">
|
2020-06-15 23:03:59 +02:00
|
|
|
<nav class="container-xxl flex-wrap flex-md-nowrap" aria-label="Main navigation">
|
2020-06-16 08:26:32 +02:00
|
|
|
<a class="navbar-brand p-0 mr-2" href="/" aria-label="Bootstrap">
|
2020-09-29 18:23:55 +02:00
|
|
|
{{ partial "icons/bootstrap-white-fill.svg" (dict "class" "d-block my-1" "width" "40" "height" "32") }}
|
2019-07-18 10:33:48 +02:00
|
|
|
</a>
|
2019-01-08 17:33:28 +01:00
|
|
|
|
2020-07-22 21:33:11 +02:00
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#bdNavbar" aria-controls="bdNavbar" aria-expanded="false" aria-label="Toggle navigation">
|
2020-09-25 18:35:24 +02:00
|
|
|
<svg class="bi" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<path fill-rule="evenodd" d="M2.5 11.5A.5.5 0 0 1 3 11h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 3h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="bdNavbar">
|
|
|
|
<ul class="navbar-nav flex-row flex-wrap bd-navbar-nav pt-2 py-md-0">
|
|
|
|
<li class="nav-item col-6 col-md-auto">
|
|
|
|
<a class="nav-link p-2{{ if .IsHome }} active" aria-current="page{{ end }}" href="/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Home</a>
|
2019-07-18 10:33:48 +02:00
|
|
|
</li>
|
2020-09-25 18:35:24 +02:00
|
|
|
<li class="nav-item col-6 col-md-auto">
|
|
|
|
<a class="nav-link p-2{{ if eq .Page.Layout "docs" }} active" aria-current="true{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Docs</a>
|
2019-07-18 10:33:48 +02:00
|
|
|
</li>
|
2020-09-25 18:35:24 +02:00
|
|
|
<li class="nav-item col-6 col-md-auto">
|
|
|
|
<a class="nav-link p-2{{ if eq .Page.Title "Examples" }} active" aria-current="true{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a>
|
2019-10-18 09:28:17 +02:00
|
|
|
</li>
|
2020-09-25 18:35:24 +02:00
|
|
|
<li class="nav-item col-6 col-md-auto">
|
|
|
|
<a class="nav-link p-2" href="{{ .Site.Params.icons }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Icons');" target="_blank" rel="noopener">Icons</a>
|
2019-07-18 10:33:48 +02:00
|
|
|
</li>
|
2020-09-25 18:35:24 +02:00
|
|
|
<li class="nav-item col-6 col-md-auto">
|
|
|
|
<a class="nav-link p-2" href="{{ .Site.Params.themes }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes');" target="_blank" rel="noopener">Themes</a>
|
2019-07-18 10:33:48 +02:00
|
|
|
</li>
|
2020-09-25 18:35:24 +02:00
|
|
|
<li class="nav-item col-6 col-md-auto">
|
|
|
|
<a class="nav-link p-2" href="{{ .Site.Params.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');" target="_blank" rel="noopener">Blog</a>
|
2019-07-18 10:33:48 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2020-09-25 18:35:24 +02:00
|
|
|
<hr class="d-md-none text-white-50">
|
|
|
|
|
|
|
|
<ul class="navbar-nav flex-row flex-wrap ml-md-auto">
|
|
|
|
<li class="nav-item col-6 col-md-auto">
|
|
|
|
<a class="nav-link p-2" href="{{ .Site.Params.github_org }}" target="_blank" rel="noopener">
|
|
|
|
{{ partial "icons/github.svg" (dict "class" "navbar-nav-svg d-inline-block align-text-top" "width" "36" "height" "36") }}
|
|
|
|
<small class="d-md-none ml-2">GitHub</small>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item col-6 col-md-auto">
|
|
|
|
<a class="nav-link p-2" href="https://twitter.com/{{ .Site.Params.twitter }}" target="_blank" rel="noopener">
|
|
|
|
{{ partial "icons/twitter.svg" (dict "class" "navbar-nav-svg d-inline-block align-text-top" "width" "36" "height" "36") }}
|
|
|
|
<small class="d-md-none ml-2">Twitter</small>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item col-6 col-md-auto">
|
|
|
|
<a class="nav-link p-2" href="{{ .Site.Params.slack }}" target="_blank" rel="noopener">
|
|
|
|
{{ partial "icons/slack.svg" (dict "class" "navbar-nav-svg d-inline-block align-text-top" "width" "36" "height" "36") }}
|
|
|
|
<small class="d-md-none ml-2">Slack</small>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item col-6 col-md-auto">
|
|
|
|
<a class="nav-link p-2" href="{{ .Site.Params.opencollective }}" target="_blank" rel="noopener">
|
|
|
|
{{ partial "icons/opencollective.svg" (dict "class" "navbar-nav-svg d-inline-block align-text-top" "width" "36" "height" "36") }}
|
|
|
|
<small class="d-md-none ml-2">Open Collective</small>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2019-01-08 17:33:28 +01:00
|
|
|
|
2020-09-25 18:35:24 +02:00
|
|
|
<a class="btn btn-bd-download d-lg-inline-block my-2 my-md-0 ml-md-3" href="/docs/{{ .Site.Params.docs_version }}/getting-started/download/">Download</a>
|
|
|
|
</div>
|
2020-03-23 15:23:37 +01:00
|
|
|
</nav>
|
2019-01-08 17:33:28 +01:00
|
|
|
</header>
|