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