2020-01-29 20:37:25 +01:00
|
|
|
<template>
|
|
|
|
<div class="mmnnbwxb">
|
|
|
|
<portal to="icon"><fa :icon="faInfoCircle"/></portal>
|
|
|
|
<portal to="title">{{ $t('about') }}</portal>
|
|
|
|
|
2020-01-30 03:10:42 +01:00
|
|
|
<section class="_card info" v-if="meta">
|
2020-01-29 20:37:25 +01:00
|
|
|
<div class="_title"><fa :icon="faInfoCircle"/> {{ $t('instanceInfo') }}</div>
|
|
|
|
<div class="_content" v-if="meta.description">
|
|
|
|
<div>{{ meta.description }}</div>
|
|
|
|
</div>
|
|
|
|
<div class="_content table">
|
|
|
|
<div><b>{{ $t('administrator') }}</b><span>{{ meta.maintainerName }}</span></div>
|
|
|
|
<div><b></b><span>{{ meta.maintainerEmail }}</span></div>
|
|
|
|
</div>
|
|
|
|
<div class="_content table" v-if="stats">
|
|
|
|
<div><b>{{ $t('users') }}</b><span>{{ stats.originalUsersCount | number }}</span></div>
|
|
|
|
<div><b>{{ $t('notes') }}</b><span>{{ stats.originalNotesCount | number }}</span></div>
|
|
|
|
</div>
|
|
|
|
<div class="_content table">
|
|
|
|
<div><b>Misskey</b><span>v{{ version }}</span></div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2020-01-30 03:10:42 +01:00
|
|
|
<section class="_card aboutMisskey">
|
2020-01-29 20:37:25 +01:00
|
|
|
<div class="_title"><fa :icon="faInfoCircle"/> {{ $t('aboutMisskey') }}</div>
|
|
|
|
<div class="_content">
|
|
|
|
<div style="margin-bottom: 1em;">{{ $t('aboutMisskeyText') }}</div>
|
|
|
|
<div>{{ $t('misskeyMembers') }}</div>
|
|
|
|
<span class="members">
|
2020-02-08 07:47:16 +01:00
|
|
|
<a href="https://github.com/syuilo" target="_blank" class="_link">@syuilo</a>
|
|
|
|
<a href="https://github.com/AyaMorisawa" target="_blank" class="_link">@AyaMorisawa</a>
|
|
|
|
<a href="https://github.com/mei23" target="_blank" class="_link">@mei23</a>
|
|
|
|
<a href="https://github.com/acid-chicken" target="_blank" class="_link">@acid-chicken</a>
|
|
|
|
<a href="https://github.com/tamaina" target="_blank" class="_link">@tamaina</a>
|
|
|
|
<a href="https://github.com/rinsuki" target="_blank" class="_link">@rinsuki</a>
|
2020-01-29 20:37:25 +01:00
|
|
|
</span>
|
|
|
|
<div style="margin-top: 1em;">{{ $t('misskeySource') }}</div>
|
2020-02-08 07:47:16 +01:00
|
|
|
<mk-url url="https://github.com/syuilo/misskey"/>
|
2020-01-30 23:05:03 +01:00
|
|
|
<div style="margin-top: 1em;">{{ $t('misskeyDonate') }}</div>
|
2020-02-08 07:47:16 +01:00
|
|
|
<mk-url url="https://www.patreon.com/syuilo"/>
|
2020-01-29 20:37:25 +01:00
|
|
|
</div>
|
2020-01-31 08:33:36 +01:00
|
|
|
<div class="_content">
|
|
|
|
<span><mfm text="<motion>❤</motion>"/> {{ $t('patrons') }}</span>
|
|
|
|
<ul>
|
|
|
|
<li>Gargron</li>
|
|
|
|
<li>Satsuki Yanagi</li>
|
|
|
|
<li>noellabo</li>
|
|
|
|
<li>naga_rus</li>
|
|
|
|
<li>Melilot</li>
|
|
|
|
<li>AureoleArk</li>
|
|
|
|
<li>Peter G.</li>
|
|
|
|
<li>motcha</li>
|
|
|
|
<li>Atsuko Tominaga</li>
|
|
|
|
<li>dansup</li>
|
|
|
|
<li>Nokotaro Takeda</li>
|
|
|
|
<li>YUKIMOCHI</li>
|
|
|
|
<li>nanami kan</li>
|
|
|
|
<li>Hekovic</li>
|
|
|
|
<li>wara</li>
|
|
|
|
<li>Takashi Shibuya</li>
|
|
|
|
<li>Noizeman</li>
|
|
|
|
</ul>
|
2020-01-31 23:20:17 +01:00
|
|
|
<span>{{ $t('morePatrons') }}</span>
|
2020-01-31 08:33:36 +01:00
|
|
|
</div>
|
2020-01-29 20:37:25 +01:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
|
|
|
import { faInfoCircle } from '@fortawesome/free-solid-svg-icons';
|
|
|
|
import { version } from '../config';
|
|
|
|
import i18n from '../i18n';
|
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
i18n,
|
|
|
|
|
|
|
|
metaInfo() {
|
|
|
|
return {
|
|
|
|
title: this.$t('instance') as string
|
|
|
|
};
|
|
|
|
},
|
|
|
|
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
version,
|
|
|
|
stats: null,
|
|
|
|
serverInfo: null,
|
|
|
|
faInfoCircle
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2020-02-10 15:17:42 +01:00
|
|
|
computed: {
|
|
|
|
meta() {
|
|
|
|
return this.$store.state.instance.meta;
|
|
|
|
},
|
|
|
|
},
|
2020-01-29 20:37:25 +01:00
|
|
|
|
2020-02-10 15:17:42 +01:00
|
|
|
created() {
|
2020-01-29 20:37:25 +01:00
|
|
|
this.$root.api('stats').then(res => {
|
|
|
|
this.stats = res;
|
|
|
|
});
|
|
|
|
},
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.mmnnbwxb {
|
|
|
|
> .info {
|
|
|
|
> .table {
|
|
|
|
> div {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .aboutMisskey {
|
|
|
|
> ._content {
|
|
|
|
> .members {
|
|
|
|
> a {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|