From d21d428d64209d13bb2dafe3582f923a11609c9b Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 18:12:01 +0100 Subject: [PATCH] replaced ti-music --- packages/frontend/src/components/MkMediaAudio.vue | 2 +- packages/frontend/src/pages/drop-and-fusion.vue | 2 +- packages/frontend/src/pages/reversi/index.vue | 2 +- packages/frontend/src/pages/settings/index.vue | 2 +- packages/frontend/src/pages/settings/sounds.vue | 2 +- packages/frontend/vite.config.ts | 1 + 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/frontend/src/components/MkMediaAudio.vue b/packages/frontend/src/components/MkMediaAudio.vue index 05b81fc136..7107b47ef1 100644 --- a/packages/frontend/src/components/MkMediaAudio.vue +++ b/packages/frontend/src/components/MkMediaAudio.vue @@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/pages/drop-and-fusion.vue b/packages/frontend/src/pages/drop-and-fusion.vue index 3ece281468..e8c0c556fa 100644 --- a/packages/frontend/src/pages/drop-and-fusion.vue +++ b/packages/frontend/src/pages/drop-and-fusion.vue @@ -35,7 +35,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
{{ i18n.ts.soundWillBePlayed }}
+
{{ i18n.ts.soundWillBePlayed }}
diff --git a/packages/frontend/src/pages/reversi/index.vue b/packages/frontend/src/pages/reversi/index.vue index 1f4bc5fb8e..5de8fd5f79 100644 --- a/packages/frontend/src/pages/reversi/index.vue +++ b/packages/frontend/src/pages/reversi/index.vue @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts._reversi.freeMatch }} {{ i18n.ts.invite }}
-
{{ i18n.ts.soundWillBePlayed }}
+
{{ i18n.ts.soundWillBePlayed }}
diff --git a/packages/frontend/src/pages/settings/index.vue b/packages/frontend/src/pages/settings/index.vue index 6d3d7a1bc4..437e9af806 100644 --- a/packages/frontend/src/pages/settings/index.vue +++ b/packages/frontend/src/pages/settings/index.vue @@ -120,7 +120,7 @@ const menuDef = computed(() => [{ to: '/settings/statusbar', active: currentPage.value?.route.name === 'statusbar', }, { - icon: 'ph-music-notes ph-bold ph-lg', + icon: 'ti ti-music', text: i18n.ts.sounds, to: '/settings/sounds', active: currentPage.value?.route.name === 'sounds', diff --git a/packages/frontend/src/pages/settings/sounds.vue b/packages/frontend/src/pages/settings/sounds.vue index 7f8cda3d6c..090f0cf14c 100644 --- a/packages/frontend/src/pages/settings/sounds.vue +++ b/packages/frontend/src/pages/settings/sounds.vue @@ -96,6 +96,6 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts.sounds, - icon: 'ph-music-notes ph-bold ph-lg', + icon: 'ti ti-music', })); diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 45ed2baa80..845cecac3b 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -213,6 +213,7 @@ export function getConfig(): UserConfig { 'ti ti-hourglass-empty': 'ph-hourglass ph-bold ph-lg', 'ti ti-search': 'ph-magnifying-glass ph-bold ph-lg', 'ti ti-external-link': 'ph-arrow-square-out ph-bold ph-lg', + 'ti ti-music': 'ph-music-notes ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production'