summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/views/components
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-15 06:31:03 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-15 06:31:03 +0900
commit95b157ac3e40408ab0298f3e247ef36feb6123be (patch)
tree47d0a199d3354cf5ec466e494aa116d139304a78 /src/client/app/desktop/views/components
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadmisskey-95b157ac3e40408ab0298f3e247ef36feb6123be.tar.gz
misskey-95b157ac3e40408ab0298f3e247ef36feb6123be.tar.bz2
misskey-95b157ac3e40408ab0298f3e247ef36feb6123be.zip
Add featured page
Diffstat (limited to 'src/client/app/desktop/views/components')
-rw-r--r--src/client/app/desktop/views/components/ui.header.nav.vue21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/client/app/desktop/views/components/ui.header.nav.vue b/src/client/app/desktop/views/components/ui.header.nav.vue
index 44659eb0d8..23fa67d1f1 100644
--- a/src/client/app/desktop/views/components/ui.header.nav.vue
+++ b/src/client/app/desktop/views/components/ui.header.nav.vue
@@ -25,14 +25,17 @@
<template v-if="hasUnreadMessagingMessage"><fa icon="circle"/></template>
</a>
</li>
- <li class="game">
- <a @click="game">
- <fa icon="gamepad"/>
- <p>{{ $t('game') }}</p>
- <template v-if="hasGameInvitations"><fa icon="circle"/></template>
- </a>
- </li>
</template>
+ <li class="featured">
+ <router-link to="/featured"><fa :icon="faNewspaper"/><p>{{ $t('@.featured-notes') }}</p></router-link>
+ </li>
+ <li class="game">
+ <a @click="game">
+ <fa icon="gamepad"/>
+ <p>{{ $t('game') }}</p>
+ <template v-if="hasGameInvitations"><fa icon="circle"/></template>
+ </a>
+ </li>
</ul>
</div>
</template>
@@ -42,13 +45,15 @@ import Vue from 'vue';
import i18n from '../../../i18n';
import MkMessagingWindow from './messaging-window.vue';
import MkGameWindow from './game-window.vue';
+import { faNewspaper } from '@fortawesome/free-solid-svg-icons';
export default Vue.extend({
i18n: i18n('desktop/views/components/ui.header.nav.vue'),
data() {
return {
hasGameInvitations: false,
- connection: null
+ connection: null,
+ faNewspaper
};
},
computed: {