2018-02-11 05:42:02 +02:00
|
|
|
<template>
|
2018-02-19 07:29:42 +02:00
|
|
|
<span class="mk-nav">
|
2018-04-14 19:04:40 +03:00
|
|
|
<a :href="aboutUrl">%i18n:@about%</a>
|
2018-02-11 05:42:02 +02:00
|
|
|
<i>・</i>
|
2018-07-07 15:08:22 +03:00
|
|
|
<a :href="repositoryUrl">%i18n:@repository%</a>
|
2018-02-11 05:42:02 +02:00
|
|
|
<i>・</i>
|
2018-07-07 15:08:22 +03:00
|
|
|
<a :href="feedbackUrl" target="_blank">%i18n:@feedback%</a>
|
2018-04-17 13:40:02 +03:00
|
|
|
<i>・</i>
|
2018-08-22 03:31:35 +03:00
|
|
|
<a href="/dev">%i18n:@develop%</a>
|
2018-02-11 05:42:02 +02: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';
|
2018-08-22 03:31:35 +03:00
|
|
|
import { lang } from '../../../config';
|
2018-02-11 05:42:02 +02:00
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
data() {
|
|
|
|
return {
|
2018-08-22 03:31:35 +03:00
|
|
|
aboutUrl: `/docs/${lang}/about`,
|
|
|
|
repositoryUrl: 'https://github.com/syuilo/misskey',
|
|
|
|
feedbackUrl: 'https://github.com/syuilo/misskey/issues/new'
|
2018-02-11 05:42:02 +02:00
|
|
|
}
|
2018-08-22 03:31:35 +03:00
|
|
|
},
|
|
|
|
created() {
|
|
|
|
(this as any).os.getMeta().then(meta => {
|
|
|
|
if (meta.repositoryUrl) this.repositoryUrl = meta.repositoryUrl;
|
|
|
|
if (meta.feedbackUrl) this.feedbackUrl = meta.feedbackUrl;
|
|
|
|
});
|
2018-02-11 05:42:02 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
2018-02-19 07:29:42 +02:00
|
|
|
|
|
|
|
<style lang="stylus" scoped>
|
|
|
|
.mk-nav
|
|
|
|
a
|
|
|
|
color inherit
|
|
|
|
</style>
|