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

38 lines
895 B
Vue
Raw Normal View History

2018-02-10 19:42:02 -08:00
<template>
2018-02-18 21:29:42 -08:00
<span class="mk-nav">
2018-04-14 09:04:40 -07:00
<a :href="aboutUrl">%i18n:@about%</a>
2018-02-10 19:42:02 -08:00
<i></i>
<a :href="repositoryUrl">%i18n:@repository%</a>
2018-02-10 19:42:02 -08:00
<i></i>
<a :href="feedbackUrl" target="_blank">%i18n:@feedback%</a>
2018-04-17 03:40:02 -07:00
<i></i>
2018-04-14 09:04:40 -07:00
<a :href="devUrl">%i18n:@develop%</a>
2018-02-10 19:42:02 -08:00
<i></i>
<a href="https://twitter.com/misskey_xyz" target="_blank">Follow us on %fa:B twitter%</a>
</span>
</template>
<script lang="ts">
import Vue from 'vue';
import { docsUrl, statsUrl, statusUrl, devUrl, repositoryUrl, feedbackUrl, lang } from '../../../config';
2018-02-10 19:42:02 -08:00
export default Vue.extend({
data() {
return {
aboutUrl: `${docsUrl}/${lang}/about`,
statsUrl,
statusUrl,
devUrl,
repositoryUrl: repositoryUrl || `https://github.com/syuilo/misskey`,
feedbackUrl: feedbackUrl || `https://github.com/syuilo/misskey/issues/new`
2018-02-10 19:42:02 -08:00
}
}
});
</script>
2018-02-18 21:29:42 -08:00
<style lang="stylus" scoped>
.mk-nav
a
color inherit
</style>