commit
147fc28b07
3 changed files with 10 additions and 6 deletions
|
@ -3,12 +3,7 @@ navigable: true
|
|||
title: About
|
||||
order: 0
|
||||
---
|
||||
<div class="subnav tabs">
|
||||
<ul>
|
||||
<li><a href="/about/statuten">Statuten</a></li>
|
||||
<li class="is-disabled"><a>Historiek</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<%= render '/partials/_about_sub_navbar.*', :selected => 'about' %>
|
||||
<div class="content">
|
||||
<h1>Over Zeus WPI</h1>
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<%= render '/partials/_about_sub_navbar.*', :selected => 'statuten'%>
|
||||
<div class="columns">
|
||||
<div class="column is-1"></div>
|
||||
<div class="column">
|
||||
|
|
8
layouts/partials/_about_sub_navbar.erb
Normal file
8
layouts/partials/_about_sub_navbar.erb
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="subnav tabs">
|
||||
<ul>
|
||||
<li class="<%= "is-active" if @selected == 'about'%>"><a href="/about">Over</a></li>
|
||||
<li class="<%= "is-active" if @selected == 'statuten'%>"><a href="/about/statuten">Statuten</a></li>
|
||||
<li class="is-disabled"><a>Historiek (soon)</a></li>
|
||||
<li class="is-disabled"><a>Verslagen (soon)</a></li>
|
||||
</ul>
|
||||
</div>
|
Loading…
Reference in a new issue