0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/_includes/docs-navbar.html

66 lines
3.6 KiB
HTML
Raw Normal View History

<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
<a class="navbar-brand mr-0 mr-md-2" href="{{ site.baseurl }}/" aria-label="Bootstrap">
2017-11-03 12:33:58 +01:00
{%- include icons/bootstrap.svg width="36" height="36" class="d-block" -%}
2017-05-28 06:43:52 +02:00
</a>
2016-09-06 07:40:44 +02:00
2017-05-29 02:49:46 +02:00
<div class="navbar-nav-scroll">
<ul class="navbar-nav bd-navbar-nav flex-row">
<li class="nav-item">
2017-05-28 06:43:52 +02:00
<a class="nav-link {% if page.layout == "home" %}active{% endif %}" href="{{ site.baseurl }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Home</a>
2017-05-28 03:12:45 +02:00
</li>
<li class="nav-item">
<a class="nav-link {% if page.layout == "docs" %}active{% endif %}" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a>
2017-05-28 03:12:45 +02:00
</li>
<li class="nav-item">
<a class="nav-link {% if page.title == "Examples" %}active{% endif %}" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a>
2017-05-28 03:12:45 +02:00
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.themes }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes');" target="_blank" rel="noopener">Themes</a>
2017-05-28 03:12:45 +02:00
</li>
2017-05-29 04:36:03 +02:00
<li class="nav-item">
<a class="nav-link" href="{{ site.jobs }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Jobs');" target="_blank" rel="noopener">Jobs</a>
2017-05-29 04:36:03 +02:00
</li>
2017-05-28 03:12:45 +02:00
<li class="nav-item">
<a class="nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');" target="_blank" rel="noopener">Expo</a>
2017-05-28 03:12:45 +02:00
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');" target="_blank" rel="noopener">Blog</a>
2017-05-28 03:12:45 +02:00
</li>
</ul>
2017-05-29 02:49:46 +02:00
</div>
2017-05-29 03:01:14 +02:00
<ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
2017-05-29 02:49:46 +02:00
<li class="nav-item dropdown">
<a class="nav-item nav-link dropdown-toggle mr-md-2" href="#" id="bd-versions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
v{{ site.docs_version }}
2017-05-29 02:49:46 +02:00
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="bd-versions">
<a class="dropdown-item active" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/">Latest (4.1.x)</a>
<a class="dropdown-item" href="https://getbootstrap.com/docs/4.0/">v4.0.0</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://v4-alpha.getbootstrap.com/">v4 Alpha 6</a>
<a class="dropdown-item" href="https://getbootstrap.com/docs/3.3/">v3.3.7</a>
2017-05-30 22:59:08 +02:00
<a class="dropdown-item" href="https://getbootstrap.com/2.3.2/">v2.3.2</a>
2017-05-29 02:49:46 +02:00
</div>
</li>
2017-05-29 02:49:46 +02:00
<li class="nav-item">
<a class="nav-link p-2" href="{{ site.repo }}" target="_blank" rel="noopener" aria-label="GitHub">
2017-11-03 12:33:58 +01:00
{%- include icons/github.svg class="navbar-nav-svg" -%}
2017-05-29 02:49:46 +02:00
</a>
</li>
<li class="nav-item">
<a class="nav-link p-2" href="https://twitter.com/{{ site.twitter }}" target="_blank" rel="noopener" aria-label="Twitter">
2017-11-03 12:33:58 +01:00
{%- include icons/twitter.svg class="navbar-nav-svg" -%}
2017-05-29 02:49:46 +02:00
</a>
</li>
<li class="nav-item">
<a class="nav-link p-2" href="{{ site.slack }}" target="_blank" rel="noopener" aria-label="Slack">
2017-11-03 12:33:58 +01:00
{%- include icons/slack.svg class="navbar-nav-svg" -%}
2017-05-29 02:49:46 +02:00
</a>
</li>
</ul>
<a class="btn btn-bd-download d-none d-lg-inline-block mb-3 mb-md-0 ml-md-3" href="{{ site.download.source }}">Download</a>
2014-07-12 11:25:07 +02:00
</header>