From 120efff6c156a204c3ef46a02ae8173b8369fa00 Mon Sep 17 00:00:00 2001 From: mattyatea Date: Fri, 13 Oct 2023 07:26:27 +0900 Subject: [PATCH] difk --- .../frontend/src/components/MkClickerGame.vue | 48 +++++++++++++------ packages/frontend/src/pages/clicker.vue | 4 +- packages/frontend/src/store.ts | 5 ++ packages/frontend/src/ui/_common_/common.ts | 4 +- .../frontend/src/widgets/WidgetClicker.vue | 19 +++++++- 5 files changed, 59 insertions(+), 21 deletions(-) diff --git a/packages/frontend/src/components/MkClickerGame.vue b/packages/frontend/src/components/MkClickerGame.vue index 1c3920962e..e126054296 100644 --- a/packages/frontend/src/components/MkClickerGame.vue +++ b/packages/frontend/src/components/MkClickerGame.vue @@ -4,29 +4,35 @@ SPDX-License-Identifier: AGPL-3.0-only --> diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index 8f5b72cc6a..27b8ae6fc9 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -272,6 +272,10 @@ export const defaultStore = markRaw(new Storage('base', { where: 'device', default: true, }, + gamingType: { + where: 'device', + default: 'dark', + }, bannerUrl:{ where: 'device', default: bannerDark @@ -442,6 +446,7 @@ export const defaultStore = markRaw(new Storage('base', { } })); + // TODO: ไป–ใฎใ‚ฟใƒ–ใจๆฐธ็ถšๅŒ–ใ•ใ‚ŒใŸstateใ‚’ๅŒๆœŸ const PREFIX = 'miux:' as const; diff --git a/packages/frontend/src/ui/_common_/common.ts b/packages/frontend/src/ui/_common_/common.ts index e075e05db3..2d2888e132 100644 --- a/packages/frontend/src/ui/_common_/common.ts +++ b/packages/frontend/src/ui/_common_/common.ts @@ -60,8 +60,8 @@ export function openInstanceMenu(ev: MouseEvent) { }, { type: 'link', to: '/clicker', - text: '๐Ÿช๐Ÿ‘ˆ', - icon: 'ti ti-cookie', + text: 'โ—๐Ÿ‘ˆ', + icon: 'ti ti-circle', }, ($i && ($i.isAdmin || $i.policies.canManageCustomEmojis)) ? { type: 'link', to: '/custom-emojis-manager', diff --git a/packages/frontend/src/widgets/WidgetClicker.vue b/packages/frontend/src/widgets/WidgetClicker.vue index 5e7464f3a4..8ab62d416e 100644 --- a/packages/frontend/src/widgets/WidgetClicker.vue +++ b/packages/frontend/src/widgets/WidgetClicker.vue @@ -5,7 +5,8 @@ SPDX-License-Identifier: AGPL-3.0-only