From f44517f4afb31fa38a6aee4dd758fc003874e5ba Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Apr 2021 23:52:45 +0900 Subject: [PATCH] Tweak UI --- locales/ja-JP.yml | 2 + src/client/pages/note.vue | 3 +- src/client/pages/page.vue | 124 +++++++++++++++++++++--------- src/client/pages/user/index.vue | 3 +- src/client/ui/_common_/header.vue | 6 +- 5 files changed, 98 insertions(+), 40 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 7b73c5f2ea..4c0dd2bc24 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -687,6 +687,7 @@ textColor: "文字" saveAs: "名前を付けて保存" advanced: "高度" value: "値" +createdAt: "作成日時" updatedAt: "更新日時" saveConfirm: "保存しますか?" deleteConfirm: "削除しますか?" @@ -712,6 +713,7 @@ showingPastTimeline: "過去のタイムラインを表示しています" clear: "クリア" markAllAsRead: "全て既読にする" goBack: "戻る" +unlikeConfirm: "いいね解除しますか?" _email: _follow: diff --git a/src/client/pages/note.vue b/src/client/pages/note.vue index 318e43c7f6..871bdd7200 100644 --- a/src/client/pages/note.vue +++ b/src/client/pages/note.vue @@ -45,7 +45,6 @@ import MkRemoteCaution from '@client/components/remote-caution.vue'; import MkButton from '@client/components/ui/button.vue'; import * as os from '@client/os'; import * as symbols from '@client/symbols'; -import { url } from '@client/config'; export default defineComponent({ components: { @@ -66,10 +65,10 @@ export default defineComponent({ [symbols.PAGE_INFO]: computed(() => this.note ? { title: this.$ts.note, avatar: this.note.user, + path: `/notes/${this.note.id}`, share: { title: this.$t('noteOf', { user: this.note.user.name }), text: this.note.text, - url: `${url}/notes/${this.note.id}` }, } : null), note: null, diff --git a/src/client/pages/page.vue b/src/client/pages/page.vue index 6dda65f50f..bae72c0539 100644 --- a/src/client/pages/page.vue +++ b/src/client/pages/page.vue @@ -1,25 +1,23 @@