2020-01-30 04:37:25 +09:00
|
|
|
<template>
|
|
|
|
<div class="mmnnbwxb">
|
|
|
|
<portal to="icon"><fa :icon="faInfoCircle"/></portal>
|
2020-07-25 01:56:52 +09:00
|
|
|
<portal to="title">{{ $t('about') }}</portal>
|
2020-01-30 04:37:25 +09:00
|
|
|
|
2020-01-30 11:10:42 +09:00
|
|
|
<section class="_card info" v-if="meta">
|
2020-01-30 04:37:25 +09:00
|
|
|
<div class="_title"><fa :icon="faInfoCircle"/> {{ $t('instanceInfo') }}</div>
|
|
|
|
<div class="_content" v-if="meta.description">
|
2020-02-12 06:19:31 +09:00
|
|
|
<div v-html="meta.description"></div>
|
2020-01-30 04:37:25 +09:00
|
|
|
</div>
|
|
|
|
<div class="_content table">
|
2020-07-25 01:56:52 +09:00
|
|
|
<div><b>{{ $t('administrator') }}</b><span>{{ meta.maintainerName }}</span></div>
|
2020-01-30 04:37:25 +09:00
|
|
|
<div><b></b><span>{{ meta.maintainerEmail }}</span></div>
|
|
|
|
</div>
|
|
|
|
<div class="_content table">
|
|
|
|
<div><b>Misskey</b><span>v{{ version }}</span></div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2020-02-17 02:21:27 +09:00
|
|
|
|
|
|
|
<mk-instance-stats style="margin-top: var(--margin);"/>
|
2020-01-30 04:37:25 +09:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
|
|
|
import { faInfoCircle } from '@fortawesome/free-solid-svg-icons';
|
|
|
|
import { version } from '../config';
|
2020-02-17 02:21:27 +09:00
|
|
|
import MkInstanceStats from '../components/instance-stats.vue';
|
2020-01-30 04:37:25 +09:00
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
metaInfo() {
|
|
|
|
return {
|
|
|
|
title: this.$t('instance') as string
|
|
|
|
};
|
|
|
|
},
|
|
|
|
|
2020-02-17 02:21:27 +09:00
|
|
|
components: {
|
|
|
|
MkInstanceStats
|
|
|
|
},
|
|
|
|
|
2020-01-30 04:37:25 +09:00
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
version,
|
|
|
|
serverInfo: null,
|
|
|
|
faInfoCircle
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-02-10 23:17:42 +09:00
|
|
|
computed: {
|
|
|
|
meta() {
|
|
|
|
return this.$store.state.instance.meta;
|
|
|
|
},
|
|
|
|
},
|
2020-01-30 04:37:25 +09:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.mmnnbwxb {
|
|
|
|
> .info {
|
|
|
|
> .table {
|
|
|
|
> div {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|