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

65 lines
2.3 KiB
Text
Raw Permalink Normal View History

2016-08-23 20:21:02 +02:00
<div id="navbar">
2018-04-14 23:33:56 +02:00
<div class="navbar <%= 'is-transparent' if defined? @transparent_nav %>">
<div class="navbar-brand">
<a class="navbar-item" id="logo-link" href="/">
2016-12-29 13:37:22 +01:00
<% if christmastime? %>
2017-12-11 19:02:49 +01:00
<img id="santa" src="/assets/images/pusheen.png">
2016-12-29 13:37:22 +01:00
<% end %>
2016-09-02 00:05:38 +02:00
<img id="logo" src="<%= zeus_logo_url color: @zeus_logo_color %>" alt="" />
2016-08-02 19:54:18 +02:00
</a>
2018-04-14 23:33:56 +02:00
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
2016-08-02 19:54:18 +02:00
</div>
2018-04-14 23:33:56 +02:00
<div class="navbar-menu">
<div class="navbar-start">
<% navigables.each do |i| %>
<a class="navbar-item <%= 'is-active' if child_of(i) %>" href="<%= i.path %>">
<%= i[:title] %>
</a>
<% end %>
<% if new_member_time? %>
<a class="navbar-item" id="ledenformulier" href="https://zeus.gent/ledenformulier">
Schrijf je in!
</a>
<%end%>
2018-04-14 23:33:56 +02:00
</div>
<!-- TODO: Remove this is-hidden-touch, it's just a convenience for now -->
<div class="navbar-end is-hidden-touch">
<form action="/search/?" method="get" class="navbar-item nav-search">
<div id="tipue_search_input">
<input type="text" name="q" id="tipue_search_input_field" autocomplete="off">
2016-10-08 21:24:55 +02:00
</div>
2018-04-14 23:33:56 +02:00
</form>
<a class="navbar-item social-icon" href="https://github.com/ZeusWPI" target="_blank">
<span class="icon">
<%= fa :github %>
2016-10-31 17:51:52 +01:00
</span>
2018-04-14 23:33:56 +02:00
</a>
<a class="navbar-item social-icon" href="https://www.facebook.com/zeus.wpi/" target="_blank">
<span class="icon">
<%= fa :facebook %>
</span>
</a>
<a class="navbar-item social-icon" href="/feed.xml" target="_blank">
<span class="icon">
<%= fa :rss %>
</span>
</a>
<a class="navbar-item social-icon" href="/ical.ics">
<span class="icon">
<%= fa :calendar %>
</span>
</a>
<a class="navbar-item social-icon" href="//zeus.ugent.be/wiki">
<span class="icon">
<%= fa :'wikipedia-w' %>
</span>
</a>
</div>
2016-08-02 19:54:18 +02:00
</div>
2016-08-23 20:21:02 +02:00
</div>
</div>