Fix about somewhat less dirty
This commit is contained in:
parent
ae87ca491e
commit
bed151caa4
3 changed files with 10 additions and 16 deletions
|
@ -3,14 +3,7 @@ navigable: true
|
|||
title: About
|
||||
order: 0
|
||||
---
|
||||
<div class="subnav tabs">
|
||||
<ul>
|
||||
<li class="is-active"><a href="/about">Over</a></li>
|
||||
<li><a href="/about/statuten">Statuten</a></li>
|
||||
<li class="is-disabled"><a>Historiek (coming soon)</a></li>
|
||||
<li class="is-disabled"><a>Verslagen (coming soon)</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<%= render '/partials/_about_sub_navbar.*', :selected => 'about' %>
|
||||
<div class="content">
|
||||
<h1>Over Zeus WPI</h1>
|
||||
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
<div class="subnav tabs">
|
||||
<ul>
|
||||
<li><a href="/about">Over</a></li>
|
||||
<li class="is-active"><a href="/about/statuten">Statuten</a></li>
|
||||
<li class="is-disabled"><a>Historiek (coming soon)</a></li>
|
||||
<li class="is-disabled"><a>Verslagen (coming soon)</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<%= 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