72 lines
2.5 KiB
Text
72 lines
2.5 KiB
Text
<div id="navbar">
|
|
<div class="columns">
|
|
<div class="logo-wrapper column is-narrow is-hidden-mobile">
|
|
<a id="logo-link" href="/">
|
|
<% if christmastime? %>
|
|
<img id="santa" src="/assets/images/pusheen.png">
|
|
<% end %>
|
|
<img id="logo" src="<%= zeus_logo_url color: @zeus_logo_color %>" alt="" />
|
|
</a>
|
|
</div>
|
|
<div class="actual-nav-bar column">
|
|
<nav class="nav">
|
|
<a class="is-hidden-tablet nav-item" href="/">
|
|
<img id="inline-logo" src="<%= zeus_logo_url color: @zeus_logo_color %>" alt="" />
|
|
</a>
|
|
<div class="nav-menu nav-left <%= 'nav-transparent' if defined? @transparent_nav %>">
|
|
<% navigables.each do |i| %>
|
|
<a class="nav-item is-tab <%= 'is-active' if child_of(i) %>" href="<%= i.path %>">
|
|
<%= i[:title] %>
|
|
</a>
|
|
<% end %>
|
|
</div>
|
|
|
|
|
|
<!-- Filler for when mobile -->
|
|
<div class="nav-left is-hidden-tablet"></div>
|
|
|
|
<div class="nav-right">
|
|
<form action="/search/?" method="get">
|
|
<div id="tipue_search_input" class="nav-item nav-search">
|
|
<input type="text" name="q" id="tipue_search_input_field" autocomplete="off">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<span class="nav-toggle">
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</span>
|
|
|
|
<div class="nav-right is-hidden-mobile">
|
|
<a class="nav-item social-icon" href="https://github.com/ZeusWPI" target="_blank">
|
|
<span class="icon">
|
|
<%= fa :github %>
|
|
</span>
|
|
</a>
|
|
<a class="nav-item social-icon" href="https://www.facebook.com/zeus.wpi/" target="_blank">
|
|
<span class="icon">
|
|
<%= fa :facebook %>
|
|
</span>
|
|
</a>
|
|
<a class="nav-item social-icon" href="/feed.xml" target="_blank">
|
|
<span class="icon">
|
|
<%= fa :rss %>
|
|
</span>
|
|
</a>
|
|
<a class="nav-item social-icon" href="/ical.ics">
|
|
<span class="icon">
|
|
<%= fa :calendar %>
|
|
</span>
|
|
</a>
|
|
<a class="nav-item social-icon" href="//zeus.ugent.be/wiki">
|
|
<span class="icon">
|
|
<%= fa :'wikipedia-w' %>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|