1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/docs/_includes/nav-home.html

79 lines
3.6 KiB
HTML
Raw Normal View History

2017-05-27 20:30:28 -04:00
<header class="navbar navbar-light navbar-sticky-top navbar-expand-md bd-navbar">
2016-02-03 22:29:15 -05:00
{% comment %}
<nav class="nav navbar-nav float-right">
2016-02-03 22:29:15 -05:00
<div class="nav-item dropdown">
<a class="nav-item nav-link dropdown-toggle" href="#" id="bd-versions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
v{{ site.current_version }}
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="bd-versions">
<a class="dropdown-item" href="#">v4.0.0-alpha.2</a>
<a class="dropdown-item" href="#">v3.3.5</a>
<a class="dropdown-item" href="#">v3.3.4</a>
<a class="dropdown-item" href="#">v3.3.2</a>
<a class="dropdown-item" href="#">v3.3.1</a>
<a class="dropdown-item" href="#">v3.3.0</a>
<a class="dropdown-item" href="#">v3.2.0</a>
<a class="dropdown-item" href="#">v3.1.1</a>
<a class="dropdown-item" href="#">v3.1.0</a>
<a class="dropdown-item" href="#">v3.0.3</a>
<a class="dropdown-item" href="#">v3.0.2</a>
<a class="dropdown-item" href="#">v3.0.1</a>
<a class="dropdown-item" href="#">v3.0.0</a>
</div>
2015-08-18 00:08:30 -04:00
</div>
2016-02-03 22:29:15 -05:00
</nav>
{% endcomment %}
<div class="d-flex justify-content-between d-lg-none">
2016-12-22 12:12:43 -05:00
<a class="navbar-brand" href="{{ site.baseurl }}/">
Bootstrap
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#bd-main-nav" aria-controls="bd-main-nav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
2016-09-06 01:40:44 -04:00
2016-12-22 12:12:43 -05:00
<div class="collapse navbar-collapse" id="bd-main-nav">
<ul class="navbar-nav">
2016-12-22 12:12:43 -05:00
<li class="nav-item active">
<a class="nav-link {% if page.layout == "home" %}active{% endif %}" href="{{ site.baseurl }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Bootstrap</a>
2016-12-22 12:12:43 -05:00
</li>
<li class="nav-item">
<a class="nav-link {% if page.layout == "docs" %}active{% endif %}" href="{{ site.baseurl }}/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a>
2016-12-22 12:12:43 -05:00
</li>
<li class="nav-item">
<a class="nav-link {% if page.title == "Examples" %}active{% endif %}" href="{{ site.baseurl }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a>
2016-12-22 12:12:43 -05:00
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.themes }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes');">Themes</a>
2016-12-22 12:12:43 -05:00
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a>
2016-12-22 12:12:43 -05:00
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a>
2016-12-22 12:12:43 -05:00
</li>
</ul>
<ul class="navbar-nav ml-md-auto">
<li class="nav-item">
<a class="nav-link" href="{{ site.repo }}">
{% include icons/github.svg %}
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://twitter.com/{{ site.twitter }}">
{% include icons/twitter.svg %}
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.slack }}">
{% include icons/slack.svg %}
</a>
</li>
</ul>
<a class="btn btn-primary ml-md-3" href="{{ site.download.source }}">Download</a>
2016-12-22 12:12:43 -05:00
</div>
2014-07-12 05:25:07 -04:00
</header>