hippofish/src/client/app/common/views/components/nav.vue

35 lines
746 B
Vue
Raw Normal View History

2018-02-11 04:42:02 +01:00
<template>
2018-02-19 06:29:42 +01:00
<span class="mk-nav">
<a :href="aboutUrl">{{ $t('about') }}</a>
2018-02-11 04:42:02 +01:00
<i></i>
<a :href="repositoryUrl">{{ $t('repository') }}</a>
2018-02-11 04:42:02 +01:00
<i></i>
<a :href="feedbackUrl" target="_blank">{{ $t('feedback') }}</a>
2018-04-17 12:40:02 +02:00
<i></i>
<a href="/dev">{{ $t('develop') }}</a>
2018-02-11 04:42:02 +01:00
</span>
</template>
<script lang="ts">
import Vue from 'vue';
import i18n from '../../../i18n';
2018-08-22 02:31:35 +02:00
import { lang } from '../../../config';
2018-02-11 04:42:02 +01:00
export default Vue.extend({
i18n: i18n('common/views/components/nav.vue'),
2018-02-11 04:42:02 +01:00
data() {
return {
2018-08-22 02:31:35 +02:00
aboutUrl: `/docs/${lang}/about`,
repositoryUrl: 'https://github.com/syuilo/misskey',
feedbackUrl: 'https://github.com/syuilo/misskey/issues/new'
2018-02-11 04:42:02 +01:00
}
}
});
</script>
2018-02-19 06:29:42 +01:00
<style lang="stylus" scoped>
.mk-nav
a
color inherit
</style>