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

65 lines
2.3 KiB
Plaintext
Raw Normal View History

2016-08-23 18:21:02 +00:00
<div id="navbar">
2018-04-14 21:33:56 +00: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 12:37:22 +00:00
<% if christmastime? %>
2017-12-11 18:02:49 +00:00
<img id="santa" src="/assets/images/pusheen.png">
2016-12-29 12:37:22 +00:00
<% end %>
2016-09-01 22:05:38 +00:00
<img id="logo" src="<%= zeus_logo_url color: @zeus_logo_color %>" alt="" />
2016-08-02 17:54:18 +00:00
</a>
2018-04-14 21:33:56 +00: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 17:54:18 +00:00
</div>
2018-04-14 21:33:56 +00: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 21:33:56 +00: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 19:24:55 +00:00
</div>
2018-04-14 21:33:56 +00:00
</form>
<a class="navbar-item social-icon" href="https://github.com/ZeusWPI" target="_blank">
<span class="icon">
<%= fa :github %>
2016-10-31 16:51:52 +00:00
</span>
2018-04-14 21:33:56 +00: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 17:54:18 +00:00
</div>
2016-08-23 18:21:02 +00:00
</div>
</div>