Make activity view linkable, fix landing page link

Fixes: #168
This commit is contained in:
Teemu Patja 2017-11-10 11:07:14 +02:00
parent 1f9f919d1d
commit fe5ce481c9
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
3 changed files with 6 additions and 2 deletions

View File

@ -77,7 +77,7 @@
</div>
<div class="header-section header-section--right">
<div class="nav">
<a class="nav__item nav__item-features" href="/app">Activity</a>
<a class="nav__item nav__item-features" href="/app#/activity">Activity</a>
<a class="nav__item nav__item-features" href="/app">Open Bounties</a>
<a href="{{authorize-url}}" id="button-login" class="button">Log in →</a>
</div>

View File

@ -223,6 +223,10 @@
(secretary/defroute "/" []
(rf/dispatch [:set-active-page :bounties]))
(secretary/defroute "/activity" []
(rf/dispatch [:set-active-page :activity]))
(secretary/defroute "/repos" []
(if js/user
(rf/dispatch [:set-active-page :repos])

View File

@ -77,7 +77,7 @@
</div>
<div class="header-section header-section--right">
<div class="nav">
<a class="nav__item nav__item-features" href="/app">Activity</a>
<a class="nav__item nav__item-features" href="/app#/activity">Activity</a>
<a class="nav__item nav__item-features" href="/app">Open Bounties</a>
<a href="{{authorize-url}}" id="button-login" class="button">Log in →</a>
</div>