From bc0fbca65e73c675395d3887ab31db44a90627f8 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 14:48:54 +0100 Subject: [PATCH] replaced ti-link --- packages/frontend/src/components/MkDrive.vue | 2 +- .../frontend/src/components/MkPageWindow.vue | 2 +- .../frontend/src/components/global/MkA.vue | 2 +- .../src/pages/admin/bot-protection.vue | 2 +- .../frontend/src/pages/admin/branding.vue | 20 +++++++++---------- .../frontend/src/pages/admin/moderation.vue | 6 +++--- .../frontend/src/pages/admin/settings.vue | 2 +- packages/frontend/src/pages/flash/flash.vue | 2 +- packages/frontend/src/pages/page.vue | 2 +- .../src/scripts/get-drive-file-menu.ts | 2 +- .../frontend/src/scripts/get-note-menu.ts | 2 +- packages/frontend/src/scripts/select-file.ts | 2 +- packages/frontend/vite.config.ts | 1 + 13 files changed, 24 insertions(+), 23 deletions(-) diff --git a/packages/frontend/src/components/MkDrive.vue b/packages/frontend/src/components/MkDrive.vue index 101b0247be..8e516452e9 100644 --- a/packages/frontend/src/components/MkDrive.vue +++ b/packages/frontend/src/components/MkDrive.vue @@ -627,7 +627,7 @@ function getMenu() { action: () => { selectLocalFile(); }, }, { text: i18n.ts.fromUrl, - icon: 'ph-link ph-bold ph-lg', + icon: 'ti ti-link', action: () => { urlUpload(); }, }, { type: 'divider' }, { text: folder.value ? folder.value.name : i18n.ts.drive, diff --git a/packages/frontend/src/components/MkPageWindow.vue b/packages/frontend/src/components/MkPageWindow.vue index 9e71f8d6be..1e293b6488 100644 --- a/packages/frontend/src/components/MkPageWindow.vue +++ b/packages/frontend/src/components/MkPageWindow.vue @@ -128,7 +128,7 @@ const contextmenu = computed(() => ([{ windowEl.value?.close(); }, }, { - icon: 'ph-link ph-bold ph-lg', + icon: 'ti ti-link', text: i18n.ts.copyLink, action: () => { copyToClipboard(url + windowRouter.getCurrentPath()); diff --git a/packages/frontend/src/components/global/MkA.vue b/packages/frontend/src/components/global/MkA.vue index 5b67c3f7bd..2c4490dd1d 100644 --- a/packages/frontend/src/components/global/MkA.vue +++ b/packages/frontend/src/components/global/MkA.vue @@ -73,7 +73,7 @@ function onContextmenu(ev) { window.open(props.to, '_blank', 'noopener'); }, }, { - icon: 'ph-link ph-bold ph-lg', + icon: 'ti ti-link', text: i18n.ts.copyLink, action: () => { copyToClipboard(`${url}${props.to}`); diff --git a/packages/frontend/src/pages/admin/bot-protection.vue b/packages/frontend/src/pages/admin/bot-protection.vue index 1da9c5b8a2..d4b1180c14 100644 --- a/packages/frontend/src/pages/admin/bot-protection.vue +++ b/packages/frontend/src/pages/admin/bot-protection.vue @@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + diff --git a/packages/frontend/src/pages/admin/branding.vue b/packages/frontend/src/pages/admin/branding.vue index 4199ca347b..e8b34fa41a 100644 --- a/packages/frontend/src/pages/admin/branding.vue +++ b/packages/frontend/src/pages/admin/branding.vue @@ -11,12 +11,12 @@ SPDX-License-Identifier: AGPL-3.0-only
- + - +