Skip to content

Commit

Permalink
Improve the navigation bar
Browse files Browse the repository at this point in the history
  • Loading branch information
hlship committed Oct 19, 2023
1 parent 40c03a8 commit fff1b19
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions ui-overrides/partials/header-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
<nav class="navbar">
<div class="navbar-brand">
<a class="navbar-item" href="{{{or site.url siteRootPath}}}/index.html">{{site.title}}</a>
{{#if env.SITE_SEARCH_PROVIDER}}
<div class="navbar-item search hide-for-print">
<div id="search-field" class="field">
<input id="search-input" type="text" placeholder="Search the docs"{{#if page.home}} autofocus{{/if}}>
</div>
</div>
{{/if}}
<button class="navbar-burger" data-target="topbar-nav">
<span></span>
<span></span>
Expand All @@ -18,16 +11,16 @@
<div id="topbar-nav" class="navbar-menu">
<div class="navbar-end">
<a class="navbar-item" href="{{{ or site.url siteRootPath}}}/index.html">Home</a>
<!--
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Products</a>
<a class="navbar-link" href="#">Links</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="#">Product A</a>
<a class="navbar-item" href="http://github.com/pedestal/pedestal">GitHub Repo</a>
<!--
<a class="navbar-item" href="#">Product B</a>
<a class="navbar-item" href="#">Product C</a>
-->
</div>
</div>
-->
<!--
<div class="navbar-item">
<span class="control">
Expand All @@ -36,6 +29,13 @@
</div>
-->
</div>
{{#if env.SITE_SEARCH_PROVIDER}}
<div class="navbar-item search hide-for-print">
<div id="search-field" class="field">
<input id="search-input" type="text" placeholder="Search the docs"{{#if page.home}} autofocus{{/if}}>
</div>
</div>
{{/if}}
</div>
</nav>
</header>

0 comments on commit fff1b19

Please sign in to comment.