mirror of
https://github.com/kennethreitz-archive/www.gittip.com.git
synced 2026-06-17 22:00:57 +00:00
e4692a690d
The box that's front and center in the visual design has three levels for nav. Rather than classing all of these levels as "buttons" and distinguishing them as "tips," "nav," and the one-off "rip," now we class them all as "nav," and then use "level-1," etc. for the three levels.
18 lines
587 B
HTML
18 lines
587 B
HTML
{% extends base.html %}
|
|
{% block box %}
|
|
{% set current_page = path.raw.split('/')[2] %}
|
|
{% set nav_base = "/about" %}
|
|
<div class="nav">
|
|
{% set pages = [('/', 'About'), ('/faq.html', 'FAQ')] %}
|
|
{% include nav.html %}
|
|
</div>
|
|
<div class="nav level-1">
|
|
{% set pages = [('/stats.html', 'Stats'), ('/charts.html', 'Charts')] %}
|
|
{% include nav.html %}
|
|
</div>
|
|
<div class="nav level-2">
|
|
{% set pages = [('/terms/', 'Terms'), ('/privacy/', 'Privacy'), ('/fraud/', 'Fraud')] %}
|
|
{% include nav.html %}
|
|
</div>
|
|
{% end %}
|