From f44517f4afb31fa38a6aee4dd758fc003874e5ba Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Apr 2021 23:52:45 +0900 Subject: Tweak UI --- 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 +- 4 files changed, 96 insertions(+), 40 deletions(-) (limited to 'src') 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 @@