From a3e1faa79d89c364c399a6d0728a8398aaab8a24 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 20 Feb 2018 08:14:44 +0900 Subject: [PATCH] wip --- .../app/desktop/-tags/big-follow-button.tag | 153 ------------------ .../views/components/follow-button.vue | 116 +++++++------ 2 files changed, 65 insertions(+), 204 deletions(-) delete mode 100644 src/web/app/desktop/-tags/big-follow-button.tag diff --git a/src/web/app/desktop/-tags/big-follow-button.tag b/src/web/app/desktop/-tags/big-follow-button.tag deleted file mode 100644 index d8222f92c..000000000 --- a/src/web/app/desktop/-tags/big-follow-button.tag +++ /dev/null @@ -1,153 +0,0 @@ - - -
%fa:spinner .pulse .fw%
- - -
diff --git a/src/web/app/desktop/views/components/follow-button.vue b/src/web/app/desktop/views/components/follow-button.vue index 4697fb05e..9056307bb 100644 --- a/src/web/app/desktop/views/components/follow-button.vue +++ b/src/web/app/desktop/views/components/follow-button.vue @@ -1,12 +1,18 @@ @@ -18,6 +24,10 @@ export default Vue.extend({ user: { type: Object, required: true + }, + size: { + type: String, + default: 'compact' } }, data() { @@ -84,65 +94,69 @@ export default Vue.extend({