zeus.ugent.be/layouts/partials/_navbar.erb
Lorin Werthen dda4155be4 fix #48
2016-08-30 23:20:15 +02:00

43 lines
1.5 KiB
Text

<div id="navbar">
<div class="columns">
<div class="column is-narrow is-hidden-mobile">
<a id="logo-link" href="/">
<img id="logo" src="/assets/images/zeuslogo<%= '_white' if @white %>.svg" alt="" />
</a>
</div>
<div class="column">
<nav class="nav">
<div class="nav-left">
<% nav_items do |item, active| %>
<a class="nav-item is-tab <%= 'is-active' if active %>" href="<%= relative_path_to(item) %>">
<%= item[:title] %>
</a>
<% end %>
</div>
<div class="nav-right is-hidden-mobile">
<a class="nav-item" href="https://github.com/ZeusWPI" target="_blank">
<span class="icon">
<i class="fa fa-github"></i>
</span>
</a>
<a class="nav-item" href="https://www.facebook.com/zeus.wpi/" target="_blank">
<span class="icon">
<i class="fa fa-facebook"></i>
</span>
</a>
<a class="nav-item" href="/feed.xml" target="_blank">
<span class="icon">
<i class="fa fa-rss"></i>
</span>
</a>
<a class="nav-item" href="/ical.ics">
<span class="icon">
<i class="fa fa-calendar"></i>
</span>
</a>
</div>
</nav>
</div>
</div>
</div>