From 7eed0aec697c8188465e4a070f1a86555dade2ac Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 14:59:21 +0100 Subject: [PATCH] replaced ti-code --- packages/frontend/src/components/MkCode.vue | 2 +- packages/frontend/src/pages/about-sharkey.vue | 4 ++-- packages/frontend/src/pages/about.vue | 2 +- packages/frontend/src/pages/admin-file.vue | 2 +- packages/frontend/src/pages/admin-user.vue | 2 +- packages/frontend/src/pages/flash/flash.vue | 2 +- packages/frontend/src/pages/install-extensions.vue | 2 +- packages/frontend/src/pages/instance-info.vue | 2 +- packages/frontend/src/pages/settings/custom-css.vue | 2 +- packages/frontend/src/pages/settings/general.vue | 2 +- packages/frontend/src/pages/settings/other.vue | 2 +- packages/frontend/src/pages/settings/plugin.vue | 2 +- packages/frontend/src/pages/theme-editor.vue | 2 +- packages/frontend/src/pages/user/index.vue | 2 +- packages/frontend/vite.config.ts | 1 + 15 files changed, 16 insertions(+), 15 deletions(-) diff --git a/packages/frontend/src/components/MkCode.vue b/packages/frontend/src/components/MkCode.vue index e5589813e1..a940117909 100644 --- a/packages/frontend/src/components/MkCode.vue +++ b/packages/frontend/src/components/MkCode.vue @@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ code }}
diff --git a/packages/frontend/src/pages/about-sharkey.vue b/packages/frontend/src/pages/about-sharkey.vue index e06d11bd0f..38ef475743 100644 --- a/packages/frontend/src/pages/about-sharkey.vue +++ b/packages/frontend/src/pages/about-sharkey.vue @@ -33,7 +33,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.tsx._aboutMisskey.thisIsModifiedVersion({ name: instance.name }) }} - + {{ i18n.ts._aboutMisskey.source }} @@ -63,7 +63,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- + {{ i18n.ts._aboutMisskey.source }} ({{ i18n.ts._aboutMisskey.original }}) diff --git a/packages/frontend/src/pages/about.vue b/packages/frontend/src/pages/about.vue index 796fd0653d..1e7b391aed 100644 --- a/packages/frontend/src/pages/about.vue +++ b/packages/frontend/src/pages/about.vue @@ -36,7 +36,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.aboutMisskey }} - + {{ i18n.ts.sourceCode }} diff --git a/packages/frontend/src/pages/admin-file.vue b/packages/frontend/src/pages/admin-file.vue index b8f7e2c163..3702c01cb7 100644 --- a/packages/frontend/src/pages/admin-file.vue +++ b/packages/frontend/src/pages/admin-file.vue @@ -137,7 +137,7 @@ const headerTabs = computed(() => [{ } : null, { key: 'raw', title: 'Raw data', - icon: 'ph-code ph-bold ph-lg', + icon: 'ti ti-code', }]); definePageMetadata(() => ({ diff --git a/packages/frontend/src/pages/admin-user.vue b/packages/frontend/src/pages/admin-user.vue index 59ead3c7b7..f3fe830401 100644 --- a/packages/frontend/src/pages/admin-user.vue +++ b/packages/frontend/src/pages/admin-user.vue @@ -533,7 +533,7 @@ const headerTabs = computed(() => [{ }, { key: 'raw', title: 'Raw', - icon: 'ph-code ph-bold ph-lg', + icon: 'ti ti-code', }]); definePageMetadata(() => ({ diff --git a/packages/frontend/src/pages/flash/flash.vue b/packages/frontend/src/pages/flash/flash.vue index 185e6eaebc..c1a6e0c04e 100644 --- a/packages/frontend/src/pages/flash/flash.vue +++ b/packages/frontend/src/pages/flash/flash.vue @@ -38,7 +38,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- + diff --git a/packages/frontend/src/pages/install-extensions.vue b/packages/frontend/src/pages/install-extensions.vue index 68f30b8a65..5141708083 100644 --- a/packages/frontend/src/pages/install-extensions.vue +++ b/packages/frontend/src/pages/install-extensions.vue @@ -51,7 +51,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + diff --git a/packages/frontend/src/pages/instance-info.vue b/packages/frontend/src/pages/instance-info.vue index 0cc4c1a48a..913d704056 100644 --- a/packages/frontend/src/pages/instance-info.vue +++ b/packages/frontend/src/pages/instance-info.vue @@ -282,7 +282,7 @@ const headerTabs = computed(() => [{ }, { key: 'raw', title: 'Raw', - icon: 'ph-code ph-bold ph-lg', + icon: 'ti ti-code', }]); definePageMetadata(() => ({ diff --git a/packages/frontend/src/pages/settings/custom-css.vue b/packages/frontend/src/pages/settings/custom-css.vue index 59733e896f..cf05e75acc 100644 --- a/packages/frontend/src/pages/settings/custom-css.vue +++ b/packages/frontend/src/pages/settings/custom-css.vue @@ -47,6 +47,6 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts.customCss, - icon: 'ph-code ph-bold ph-lg', + icon: 'ti ti-code', })); diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index fadc7cf59d..d47c9c484a 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -309,7 +309,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.deck }} - {{ i18n.ts.customCss }} + {{ i18n.ts.customCss }}
diff --git a/packages/frontend/src/pages/settings/other.vue b/packages/frontend/src/pages/settings/other.vue index 424e71c1ed..e2a71d3d80 100644 --- a/packages/frontend/src/pages/settings/other.vue +++ b/packages/frontend/src/pages/settings/other.vue @@ -69,7 +69,7 @@ SPDX-License-Identifier: AGPL-3.0-only - +
diff --git a/packages/frontend/src/pages/settings/plugin.vue b/packages/frontend/src/pages/settings/plugin.vue index 2ae54e145c..706e275a44 100644 --- a/packages/frontend/src/pages/settings/plugin.vue +++ b/packages/frontend/src/pages/settings/plugin.vue @@ -55,7 +55,7 @@ SPDX-License-Identifier: AGPL-3.0-only - +
diff --git a/packages/frontend/src/pages/theme-editor.vue b/packages/frontend/src/pages/theme-editor.vue index 997d0bc1d3..aec30c9581 100644 --- a/packages/frontend/src/pages/theme-editor.vue +++ b/packages/frontend/src/pages/theme-editor.vue @@ -47,7 +47,7 @@ SPDX-License-Identifier: AGPL-3.0-only - +
diff --git a/packages/frontend/src/pages/user/index.vue b/packages/frontend/src/pages/user/index.vue index c52b13bbd8..91e1df8c22 100644 --- a/packages/frontend/src/pages/user/index.vue +++ b/packages/frontend/src/pages/user/index.vue @@ -123,7 +123,7 @@ const headerTabs = computed(() => user.value ? [{ }, { key: 'raw', title: 'Raw', - icon: 'ph-code ph-bold ph-lg', + icon: 'ti ti-code', }] : []); definePageMetadata(() => ({ diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 5dbed127f7..37b335e263 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -105,6 +105,7 @@ export function getConfig(): UserConfig { 'ti ti-settings': 'ph-gear ph-bold ph-lg', 'ti ti-link': 'ph-link ph-bold ph-lg', 'ti ti-key': 'ph-key ph-bold ph-lg', + 'ti ti-code': 'ph-code ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production'