zeus.ugent.be/layouts/partials/_navbar.erb

37 lines
1.1 KiB
Text
Raw Normal View History

2016-07-27 20:27:28 +02:00
<nav id="navbar" class="nav">
2016-08-02 19:54:18 +02:00
<div class="nav-left">
<a class="nav-item" href="/">
<img id="logo" src="https://zeus.ugent.be/wp-content/uploads/2009/05/logo-new.png" alt="" />
</a>
2016-07-27 20:27:28 +02:00
2016-08-02 19:54:18 +02:00
<% nav_items do |item, active| %>
2016-07-31 19:28:23 +02:00
<a class="nav-item is-tab <%= 'is-active' if active %>" href="<%= relative_path_to(item) %>">
<%= item[:title] %>
</a>
2016-08-02 19:54:18 +02:00
<% end %>
</div>
2016-07-27 20:27:28 +02:00
2016-08-02 19:54:18 +02:00
<div class="nav-right">
<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>
2016-07-18 16:34:29 +02:00
</nav>