Skip to content

Commit

Permalink
Added routing to browse page
Browse files Browse the repository at this point in the history
  • Loading branch information
Julzso23 committed Jan 2, 2019
1 parent 7bbdd96 commit c20b5bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
<i class="fa fa-history v-mid mr2" aria-hidden="true"></i>
<span class="fw6">History</span>
</router-link>
<router-link to="/browse" class="dark-gray no-underline">
<i class="fa fa-search v-mid mr2" aria-hidden="true"></i>
<span class="fw6">Browse</span>
</router-link>
<!-- <router-link to="/future-of-umi" class="dark-gray no-underline relative">
<i class="fa fa-paper-plane-o v-mid mr2" aria-hidden="true"></i>
<span class="fw6">The Future of Umi</span>
Expand Down
7 changes: 7 additions & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import Migrate from 'pages/Migrate'
import Queue from 'pages/Queue'
import Settings from 'pages/Settings'
import History from 'pages/History'
import Browse from 'pages/Browse'
import Search from 'pages/Search'
import Login from 'pages/Login'
import Series from 'pages/Series'
Expand Down Expand Up @@ -61,6 +62,12 @@ const router = new Router({
component: History,
beforeEnter: authGuard
},
{
path: '/browse',
name: 'browse',
component: Browse,
beforeEnter: authGuard
},
{
path: '/login',
name: 'login',
Expand Down

0 comments on commit c20b5bd

Please sign in to comment.