Adds back home/local/federated tabs

I don't think this is how I want the UI to work in the long run,
but for now it's better than not having it.
Fixes #210
This commit is contained in:
Mouse Reeve
2020-10-05 13:34:43 -07:00
parent 9c83d68a80
commit 8d9474275e
3 changed files with 23 additions and 1 deletions

View File

@ -33,6 +33,20 @@
</div>
<div class="column is-two-thirds" id="feed">
<div class="tabs">
<ul>
<li class="{% if tab == 'home' %}is-active{% endif %}">
<a href="/#feed">Home</a>
</li>
<li class="{% if tab == 'local' %}is-active{% endif %}">
<a href="/local#feed">Local</a>
</li>
<li class="{% if tab == 'federated' %}is-active{% endif %}">
<a href="/federated#feed">Federated</a>
</li>
</ul>
</div>
{% if not activities %}
<p>There aren't any activities right now! Try following a user to get started</p>
{% endif %}