1
0
forked from mirror/misskey
This commit is contained in:
syuilo 2019-02-18 00:41:05 +09:00
parent f9389802d7
commit 021f74da54
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
3 changed files with 6 additions and 8 deletions

View File

@ -144,8 +144,8 @@ init(async (launch, os) => {
{ path: '/notes/:note', name: 'note', component: () => import('./views/deck/deck.note-column.vue').then(m => m.default) }, { path: '/notes/:note', name: 'note', component: () => import('./views/deck/deck.note-column.vue').then(m => m.default) },
{ path: '/search', component: () => import('./views/deck/deck.search-column.vue').then(m => m.default) }, { path: '/search', component: () => import('./views/deck/deck.search-column.vue').then(m => m.default) },
{ path: '/tags/:tag', name: 'tag', component: () => import('./views/deck/deck.hashtag-column.vue').then(m => m.default) }, { path: '/tags/:tag', name: 'tag', component: () => import('./views/deck/deck.hashtag-column.vue').then(m => m.default) },
{ path: '/featured', component: () => import('./views/deck/deck.featured-column.vue').then(m => m.default) }, { path: '/featured', name: 'featured', component: () => import('./views/deck/deck.featured-column.vue').then(m => m.default) },
{ path: '/explore', component: () => import('./views/deck/deck.explore-column.vue').then(m => m.default) }, { path: '/explore', name: 'explore', component: () => import('./views/deck/deck.explore-column.vue').then(m => m.default) },
{ path: '/explore/tags/:tag', props: true, component: () => import('./views/deck/deck.explore-column.vue').then(m => m.default) }, { path: '/explore/tags/:tag', props: true, component: () => import('./views/deck/deck.explore-column.vue').then(m => m.default) },
{ path: '/i/favorites', component: () => import('./views/deck/deck.favorites-column.vue').then(m => m.default) } { path: '/i/favorites', component: () => import('./views/deck/deck.favorites-column.vue').then(m => m.default) }
]} ]}

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="nav"> <div class="nav">
<ul> <ul>
<li v-if="!$store.state.device.inDeckMode" class="timeline" :class="{ active: $route.name == 'index' }" @click="goToTop"> <li class="timeline" :class="{ active: $route.name == 'index' }" @click="goToTop">
<router-link to="/"><fa icon="home"/><p>{{ $t('@.timeline') }}</p></router-link> <router-link to="/"><fa icon="home"/><p>{{ $t('@.timeline') }}</p></router-link>
</li> </li>
<li class="featured" :class="{ active: $route.name == 'featured' }"> <li class="featured" :class="{ active: $route.name == 'featured' }">

View File

@ -6,11 +6,9 @@
</div> </div>
<div class="nav" v-if="$store.getters.isSignedIn"> <div class="nav" v-if="$store.getters.isSignedIn">
<template v-if="!$store.state.device.inDeckMode"> <div class="home" :class="{ active: $route.name == 'index' }" @click="goToTop">
<div class="home" :class="{ active: $route.name == 'index' }" @click="goToTop"> <router-link to="/"><fa icon="home"/></router-link>
<router-link to="/"><fa icon="home"/></router-link> </div>
</div>
</template>
<div class="featured" :class="{ active: $route.name == 'featured' }"> <div class="featured" :class="{ active: $route.name == 'featured' }">
<router-link to="/featured"><fa :icon="faNewspaper"/></router-link> <router-link to="/featured"><fa :icon="faNewspaper"/></router-link>
</div> </div>