enhance(welcome): entrance page selected by kawaii mode
This commit is contained in:
parent
9b7d0cb4e1
commit
3bb82171d2
11 changed files with 24 additions and 17 deletions
|
@ -1301,7 +1301,7 @@ lockdown: "Lockdown"
|
||||||
pleaseSelectAccount: "Select an account"
|
pleaseSelectAccount: "Select an account"
|
||||||
here: "here"
|
here: "here"
|
||||||
credits: "Closing Credits"
|
credits: "Closing Credits"
|
||||||
timeWillCome: "Will this have your name on it someday?"
|
timeWillCome: "Wondering your name on here someday."
|
||||||
thankYou: "Thank you for joining us!"
|
thankYou: "Thank you for joining us!"
|
||||||
privateMode: "Private Mode"
|
privateMode: "Private Mode"
|
||||||
hideSensitiveInformation: "Hide sensitive information"
|
hideSensitiveInformation: "Hide sensitive information"
|
||||||
|
|
4
locales/index.d.ts
vendored
4
locales/index.d.ts
vendored
|
@ -5305,11 +5305,11 @@ export interface Locale extends ILocale {
|
||||||
*/
|
*/
|
||||||
"credits": string;
|
"credits": string;
|
||||||
/**
|
/**
|
||||||
* いつかこの欄にあなたの名前が書かれる日が来るのでしょうか?
|
* あなたの名前を刻む日が来ますように。
|
||||||
*/
|
*/
|
||||||
"timeWillCome": string;
|
"timeWillCome": string;
|
||||||
/**
|
/**
|
||||||
* オスカーはあなたと一緒にサーフィンします。 いつまでも。
|
* ご参加いただきありがとうございます!
|
||||||
*/
|
*/
|
||||||
"thankYou": string;
|
"thankYou": string;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1320,8 +1320,8 @@ blockThisUser: "このユーザーをブロックする"
|
||||||
muteThisUser: "このユーザーをミュートする"
|
muteThisUser: "このユーザーをミュートする"
|
||||||
here: "こちら"
|
here: "こちら"
|
||||||
credits: "スタッフロール"
|
credits: "スタッフロール"
|
||||||
timeWillCome: "いつかこの欄にあなたの名前が書かれる日が来るのでしょうか?"
|
timeWillCome: "あなたの名前を刻む日が来ますように。"
|
||||||
thankYou: "オスカーはあなたと一緒にサーフィンします。 いつまでも。"
|
thankYou: "ご参加いただきありがとうございます!"
|
||||||
privateMode: "プライベートモード"
|
privateMode: "プライベートモード"
|
||||||
hideSensitiveInformation: "個人情報の非表示"
|
hideSensitiveInformation: "個人情報の非表示"
|
||||||
youAreHidingSensitiveInformation: "「プライベートモード」で非表示になっています。"
|
youAreHidingSensitiveInformation: "「プライベートモード」で非表示になっています。"
|
||||||
|
|
|
@ -1303,8 +1303,8 @@ lockdown: "잠금"
|
||||||
here: "여기"
|
here: "여기"
|
||||||
alwaysConfirmFollow: "팔로우할 때 항상 확인하기"
|
alwaysConfirmFollow: "팔로우할 때 항상 확인하기"
|
||||||
credits: "엔딩 크레딧"
|
credits: "엔딩 크레딧"
|
||||||
timeWillCome: "언젠가 당신의 이름이 쓰여지는 날이 올까요?"
|
timeWillCome: "당신의 이름을 새기는 날이 오길."
|
||||||
thankYou: "함께 서핑해주셔서 감사합니다!"
|
thankYou: "함께해주셔서 감사합니다!"
|
||||||
privateMode: "프라이빗 모드"
|
privateMode: "프라이빗 모드"
|
||||||
hideSensitiveInformation: "민감한 정보 숨기기"
|
hideSensitiveInformation: "민감한 정보 숨기기"
|
||||||
youAreHidingSensitiveInformation: "'프라이빗 모드'에 의해 숨겨졌습니다."
|
youAreHidingSensitiveInformation: "'프라이빗 모드'에 의해 숨겨졌습니다."
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "misskey",
|
"name": "misskey",
|
||||||
"version": "2024.5.0-oscar.19c",
|
"version": "2024.5.0-oscar.20",
|
||||||
"codename": "nasubi",
|
"codename": "nasubi",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -56,7 +56,6 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<FormLink v-if="instance.repositoryUrl" :to="instance.repositoryUrl" external>
|
<FormLink v-if="instance.repositoryUrl" :to="instance.repositoryUrl" external>
|
||||||
<template #icon><i class="ti ti-code"></i></template>
|
<template #icon><i class="ti ti-code"></i></template>
|
||||||
{{ i18n.ts.sourceCode }}
|
{{ i18n.ts.sourceCode }}
|
||||||
<template #suffix>GitHub</template>
|
|
||||||
</FormLink>
|
</FormLink>
|
||||||
<MkInfo v-else warn>
|
<MkInfo v-else warn>
|
||||||
{{ i18n.ts.sourceCodeIsNotYetProvided }}
|
{{ i18n.ts.sourceCodeIsNotYetProvided }}
|
||||||
|
@ -149,7 +148,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</span>
|
</span>
|
||||||
</MkA>
|
</MkA>
|
||||||
<MkA v-else to="/about" :class="$style.contributor">
|
<MkA v-else to="/about" :class="$style.contributor">
|
||||||
<img src="/static-assets/avatar.png" :class="$style.contributorAvatar" alt="Misskey default profile image">
|
<img src="/static-assets/avatar.png" :class="$style.contributorAvatarOrigin" alt="Misskey default profile image">
|
||||||
<span :class="$style.contributorUsername">Explorer
|
<span :class="$style.contributorUsername">Explorer
|
||||||
<span :class="$style.contributorClient">
|
<span :class="$style.contributorClient">
|
||||||
<span :class="$style.visitor">{{ i18n.ts.timeWillCome }}</span>
|
<span :class="$style.visitor">{{ i18n.ts.timeWillCome }}</span>
|
||||||
|
@ -362,6 +361,11 @@ $bodyInfoHieght: 16px;
|
||||||
height: ($bodyTitleHieght + $bodyInfoHieght);
|
height: ($bodyTitleHieght + $bodyInfoHieght);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contributorAvatarOrigin {
|
||||||
|
width: 30px;
|
||||||
|
border-radius: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.contributorUsername {
|
.contributorUsername {
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div v-if="meta" class="rsqzvsbo">
|
<div v-if="meta" class="rsqzvsbo">
|
||||||
<MkFeaturedPhotos class="bg"/>
|
<MkFeaturedPhotos class="bg" :special="false"/>
|
||||||
<XTimeline class="tl"/>
|
<XTimeline v-if="!meta.disableRegistration" class="tl"/>
|
||||||
<div class="shape1"></div>
|
<div class="shape1"></div>
|
||||||
<div class="shape2"></div>
|
<div class="shape2"></div>
|
||||||
<div class="logo-wrapper">
|
<div class="logo-wrapper">
|
||||||
|
|
|
@ -5,9 +5,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div v-if="meta" class="rsqzvsbo">
|
<div v-if="meta" class="rsqzvsbo">
|
||||||
<MkFeaturedPhotos class="bg" special/>
|
<MkFeaturedPhotos class="bg" :special="true"/>
|
||||||
<img :src="entranceTide" class="extra-1" alt="OSCAR Node #4 Branding Asset"/>
|
<img :src="entranceTide" class="extra-1" alt="OSCAR Node #4 Branding Asset"/>
|
||||||
<XTimeline class="tl"/>
|
<XTimeline v-if="!meta.disableRegistration" class="tl"/>
|
||||||
<div class="shape1"></div>
|
<div class="shape1"></div>
|
||||||
<div class="shape2"></div>
|
<div class="shape2"></div>
|
||||||
<img :src="entranceBackground" class="extra-2" alt="OSCAR Node #4 Branding Asset"/>
|
<img :src="entranceBackground" class="extra-2" alt="OSCAR Node #4 Branding Asset"/>
|
||||||
|
|
|
@ -6,6 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template>
|
<template>
|
||||||
<div v-if="instance">
|
<div v-if="instance">
|
||||||
<XSetup v-if="instance.requireSetup"/>
|
<XSetup v-if="instance.requireSetup"/>
|
||||||
|
<XSpecialEntrance v-else-if="miLocalStorage.getItem('kawaii')"/>
|
||||||
<XEntrance v-else/>
|
<XEntrance v-else/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -14,10 +15,12 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
import { computed, ref } from 'vue';
|
import { computed, ref } from 'vue';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
import XSetup from './welcome.setup.vue';
|
import XSetup from './welcome.setup.vue';
|
||||||
import XEntrance from './welcome.entrance.special.vue';
|
import XSpecialEntrance from './welcome.entrance.special.vue';
|
||||||
|
import XEntrance from './welcome.entrance.a.vue';
|
||||||
import { instanceName } from '@/config.js';
|
import { instanceName } from '@/config.js';
|
||||||
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
||||||
import { fetchInstance } from '@/instance.js';
|
import { fetchInstance } from '@/instance.js';
|
||||||
|
import { miLocalStorage } from '@/local-storage.js';
|
||||||
|
|
||||||
const instance = ref<Misskey.entities.MetaDetailed | null>(null);
|
const instance = ref<Misskey.entities.MetaDetailed | null>(null);
|
||||||
|
|
||||||
|
|
|
@ -473,7 +473,7 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||||
},
|
},
|
||||||
enableSeasonalScreenEffect: {
|
enableSeasonalScreenEffect: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
default: true,
|
default: false,
|
||||||
},
|
},
|
||||||
dropAndFusion: {
|
dropAndFusion: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"name": "misskey-js",
|
"name": "misskey-js",
|
||||||
"version": "2024.5.0-oscar.19c",
|
"version": "2024.5.0-oscar.20",
|
||||||
"description": "Misskey SDK for JavaScript",
|
"description": "Misskey SDK for JavaScript",
|
||||||
"types": "./built/dts/index.d.ts",
|
"types": "./built/dts/index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue