summaryrefslogtreecommitdiff
path: root/packages/frontend/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-02-28 16:05:05 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-02-28 16:05:05 +0900
commitab7a8a2daeb156a84aba3b240025370ae3ee0daf (patch)
treeec3426e71fa1e91d4d084e402eb094d21b52af36 /packages/frontend/src
parentfix(server): メールアドレス更新時にバリデーションが正し... (diff)
downloadmisskey-ab7a8a2daeb156a84aba3b240025370ae3ee0daf.tar.gz
misskey-ab7a8a2daeb156a84aba3b240025370ae3ee0daf.tar.bz2
misskey-ab7a8a2daeb156a84aba3b240025370ae3ee0daf.zip
enhance(client): 招待コードが必要なことが分かりやすいように
Diffstat (limited to 'packages/frontend/src')
-rw-r--r--packages/frontend/src/pages/welcome.entrance.a.vue8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/frontend/src/pages/welcome.entrance.a.vue b/packages/frontend/src/pages/welcome.entrance.a.vue
index f62a6461c5..b6f9b3eb23 100644
--- a/packages/frontend/src/pages/welcome.entrance.a.vue
+++ b/packages/frontend/src/pages/welcome.entrance.a.vue
@@ -26,6 +26,9 @@
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="desc" v-html="meta.description || i18n.ts.headlineMisskey"></div>
</div>
+ <div v-if="instance.disableRegistration" class="warn">
+ <MkInfo warn>{{ i18n.ts.invitationRequiredToRegister }}</MkInfo>
+ </div>
<div class="action _gaps_s">
<MkButton full rounded gradate data-cy-signup style="margin-right: 12px;" @click="signup()">{{ i18n.ts.joinThisServer }}</MkButton>
<MkButton full rounded @click="exploreOtherServers()">{{ i18n.ts.exploreOtherServers }}</MkButton>
@@ -62,6 +65,7 @@ import XSignupDialog from '@/components/MkSignupDialog.vue';
import MkButton from '@/components/MkButton.vue';
import MkFeaturedPhotos from '@/components/MkFeaturedPhotos.vue';
import MkTimeline from '@/components/MkTimeline.vue';
+import MkInfo from '@/components/MkInfo.vue';
import { instanceName } from '@/config';
import * as os from '@/os';
import { i18n } from '@/i18n';
@@ -249,6 +253,10 @@ function exploreOtherServers() {
padding: 0 32px;
}
+ > .warn {
+ padding: 32px 32px 0 32px;
+ }
+
> .action {
padding: 32px;