From 8b3a7ae8c0fec5f79971745f64aeb3c5ac470894 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 19 Oct 2020 22:35:46 +0300 Subject: more FA5 stuff with small related refactoring --- src/components/extra_buttons/extra_buttons.js | 20 ++++++++++++++-- src/components/extra_buttons/extra_buttons.vue | 32 ++++++++++++++------------ 2 files changed, 35 insertions(+), 17 deletions(-) (limited to 'src/components/extra_buttons') diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js index 6892dabc..f325b2b4 100644 --- a/src/components/extra_buttons/extra_buttons.js +++ b/src/components/extra_buttons/extra_buttons.js @@ -1,8 +1,24 @@ import Popover from '../popover/popover.vue' import { library } from '@fortawesome/fontawesome-svg-core' -import { faEllipsisH } from '@fortawesome/free-solid-svg-icons' +import { + faEllipsisH, + faBookmark, + faEyeSlash, + faThumbtack, + faShareAlt +} from '@fortawesome/free-solid-svg-icons' +import { + faBookmark as faBookmarkReg, +} from '@fortawesome/free-regular-svg-icons' -library.add(faEllipsisH) +library.add( + faEllipsisH, + faBookmark, + faBookmarkReg, + faEyeSlash, + faThumbtack, + faShareAlt +) const ExtraButtons = { props: [ 'status' ], diff --git a/src/components/extra_buttons/extra_buttons.vue b/src/components/extra_buttons/extra_buttons.vue index 0af264a5..1889eaed 100644 --- a/src/components/extra_buttons/extra_buttons.vue +++ b/src/components/extra_buttons/extra_buttons.vue @@ -15,14 +15,14 @@ class="dropdown-item dropdown-item-icon" @click.prevent="muteConversation" > - {{ $t("status.mute_conversation") }} + {{ $t("status.mute_conversation") }} - + + + @@ -87,8 +88,9 @@