Override the whole navbar.

We want a different behaviour for the home link, as we
want it to redirect to gstreamer.freedesktop.org (for now).
This commit is contained in:
Mathieu Duponchelle 2016-10-20 02:12:01 +02:00
parent 12bf1337d3
commit 78282e9b8b
2 changed files with 22 additions and 3 deletions

View file

@ -1,3 +0,0 @@
@require(assets_path)
<img src="@assets_path/images/gstreamer-logo.svg" alt="Home">

View file

@ -0,0 +1,22 @@
@require(assets_path)
<nav class="navbar navbar-fixed-top navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-wrapper" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="https://gstreamer.freedesktop.org/" class="hotdoc-navbar-brand">
<img src="@assets_path/images/gstreamer-logo.svg" alt="Home">
</a>
</div>
<div class="navbar-collapse collapse" id="navbar-wrapper">
<ul class="nav navbar-nav" id="menu">
@include("navbar_links.html")
</ul>
</div>
</div>
</nav>