From 95470a40a7c2377d8cc8a2b923d9214ebc6f7f82 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 19 May 2023 16:20:53 +0900 Subject: [PATCH] refactor --- packages/frontend/src/pages/_error_.vue | 54 ++++++-------- packages/frontend/src/pages/about-misskey.vue | 6 +- packages/frontend/src/pages/about.emojis.vue | 52 ++++---------- .../frontend/src/pages/about.federation.vue | 25 +++---- packages/frontend/src/pages/about.vue | 8 +-- packages/frontend/src/pages/achievements.vue | 2 +- packages/frontend/src/pages/admin-file.vue | 4 +- packages/frontend/src/pages/ads.vue | 2 +- packages/frontend/src/pages/announcements.vue | 2 +- packages/frontend/src/pages/api-console.vue | 4 +- packages/frontend/src/pages/auth.vue | 2 +- .../frontend/src/pages/channel-editor.vue | 6 +- packages/frontend/src/pages/channel.vue | 8 +-- packages/frontend/src/pages/channels.vue | 4 +- packages/frontend/src/pages/clicker.vue | 2 +- packages/frontend/src/pages/clip.vue | 6 +- packages/frontend/src/pages/emojis.emoji.vue | 54 +++++++------- .../frontend/src/pages/explore.featured.vue | 2 +- packages/frontend/src/pages/explore.roles.vue | 4 +- packages/frontend/src/pages/explore.users.vue | 10 +-- packages/frontend/src/pages/favorites.vue | 4 +- .../frontend/src/pages/follow-requests.vue | 2 +- packages/frontend/src/pages/follow.vue | 2 +- packages/frontend/src/pages/instance-info.vue | 6 +- packages/frontend/src/pages/list.vue | 8 +-- packages/frontend/src/pages/miauth.vue | 2 +- packages/frontend/src/pages/not-found.vue | 2 +- packages/frontend/src/pages/note.vue | 72 ++++++++----------- packages/frontend/src/pages/notifications.vue | 4 +- packages/frontend/src/pages/page.vue | 6 +- packages/frontend/src/pages/pages.vue | 2 +- packages/frontend/src/pages/registry.keys.vue | 2 +- .../frontend/src/pages/registry.value.vue | 2 +- packages/frontend/src/pages/registry.vue | 2 +- .../frontend/src/pages/reset-password.vue | 2 +- packages/frontend/src/pages/role.vue | 8 ++- packages/frontend/src/pages/scratchpad.vue | 4 +- packages/frontend/src/pages/search.user.vue | 2 +- packages/frontend/src/pages/search.vue | 4 +- packages/frontend/src/pages/share.vue | 12 ++-- packages/frontend/src/pages/tag.vue | 2 +- packages/frontend/src/pages/theme-editor.vue | 12 ++-- packages/frontend/src/pages/timeline.vue | 4 +- packages/frontend/src/pages/user-info.vue | 10 +-- packages/frontend/src/pages/user-tag.vue | 2 +- .../frontend/src/pages/welcome.entrance.a.vue | 10 +-- .../frontend/src/pages/welcome.timeline.vue | 4 +- .../src/widgets/WidgetActivity.calendar.vue | 18 +++-- .../frontend/src/widgets/WidgetActivity.vue | 11 ++- .../frontend/src/widgets/WidgetAichan.vue | 11 ++- .../frontend/src/widgets/WidgetAiscript.vue | 11 ++- .../src/widgets/WidgetAiscriptApp.vue | 13 ++-- .../frontend/src/widgets/WidgetButton.vue | 9 +-- .../frontend/src/widgets/WidgetCalendar.vue | 9 +-- .../frontend/src/widgets/WidgetClicker.vue | 13 ++-- packages/frontend/src/widgets/WidgetClock.vue | 17 ++--- .../src/widgets/WidgetDigitalClock.vue | 11 ++- .../frontend/src/widgets/WidgetFederation.vue | 11 ++- .../src/widgets/WidgetInstanceCloud.vue | 11 ++- .../src/widgets/WidgetInstanceInfo.vue | 9 +-- .../frontend/src/widgets/WidgetJobQueue.vue | 9 +-- packages/frontend/src/widgets/WidgetMemo.vue | 11 ++- .../src/widgets/WidgetNotifications.vue | 15 ++-- .../src/widgets/WidgetOnlineUsers.vue | 9 +-- .../frontend/src/widgets/WidgetPhotos.vue | 11 ++- .../frontend/src/widgets/WidgetPostForm.vue | 9 +-- .../frontend/src/widgets/WidgetProfile.vue | 9 +-- packages/frontend/src/widgets/WidgetRss.vue | 11 ++- .../frontend/src/widgets/WidgetRssTicker.vue | 11 ++- .../frontend/src/widgets/WidgetSlideshow.vue | 9 +-- .../frontend/src/widgets/WidgetTimeline.vue | 11 ++- .../frontend/src/widgets/WidgetTrends.vue | 11 ++- .../frontend/src/widgets/WidgetUnixClock.vue | 9 +-- .../frontend/src/widgets/WidgetUserList.vue | 11 ++- 74 files changed, 310 insertions(+), 439 deletions(-) diff --git a/packages/frontend/src/pages/_error_.vue b/packages/frontend/src/pages/_error_.vue index f53fec7d94..f27d2df336 100644 --- a/packages/frontend/src/pages/_error_.vue +++ b/packages/frontend/src/pages/_error_.vue @@ -1,18 +1,20 @@ @@ -64,28 +66,16 @@ definePageMetadata({ }); - diff --git a/packages/frontend/src/pages/about-misskey.vue b/packages/frontend/src/pages/about-misskey.vue index b487916ff6..d86a5e1126 100644 --- a/packages/frontend/src/pages/about-misskey.vue +++ b/packages/frontend/src/pages/about-misskey.vue @@ -2,7 +2,7 @@
- +
@@ -10,8 +10,8 @@
Misskey
v{{ version }}
- - + +
diff --git a/packages/frontend/src/pages/about.emojis.vue b/packages/frontend/src/pages/about.emojis.vue index 2d82fcf277..3744bed10f 100644 --- a/packages/frontend/src/pages/about.emojis.vue +++ b/packages/frontend/src/pages/about.emojis.vue @@ -1,5 +1,5 @@