From b19c2eb0fb45aca4f4a59c4afacaffddf695987d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 20 Oct 2020 22:13:19 +0300 Subject: More stuff. Buttons in user card's corner now have MUCH bigger hitboxes --- src/components/side_drawer/side_drawer.js | 28 ++++++++++++++++++++++++++++ src/components/side_drawer/side_drawer.vue | 24 ++++++++++++------------ 2 files changed, 40 insertions(+), 12 deletions(-) (limited to 'src/components/side_drawer') diff --git a/src/components/side_drawer/side_drawer.js b/src/components/side_drawer/side_drawer.js index 281052e5..fe736168 100644 --- a/src/components/side_drawer/side_drawer.js +++ b/src/components/side_drawer/side_drawer.js @@ -2,6 +2,34 @@ import { mapState, mapGetters } from 'vuex' import UserCard from '../user_card/user_card.vue' import { unseenNotificationsFromStore } from '../../services/notification_utils/notification_utils' import GestureService from '../../services/gesture_service/gesture_service' +import { library } from '@fortawesome/fontawesome-svg-core' +import { + faSignInAlt, + faSignOutAlt, + faHome, + faComments, + faBell, + faUserPlus, + faBullhorn, + faSearch, + faTachometerAlt, + faCog, + faInfoCircle +} from '@fortawesome/free-solid-svg-icons' + +library.add( + faSignInAlt, + faSignOutAlt, + faHome, + faComments, + faBell, + faUserPlus, + faBullhorn, + faSearch, + faTachometerAlt, + faCog, + faInfoCircle +) const SideDrawer = { props: [ 'logout' ], diff --git a/src/components/side_drawer/side_drawer.vue b/src/components/side_drawer/side_drawer.vue index eda5a68c..fbdb2441 100644 --- a/src/components/side_drawer/side_drawer.vue +++ b/src/components/side_drawer/side_drawer.vue @@ -36,7 +36,7 @@ @click="toggleDrawer" > -
  • - {{ $t("nav.timelines") }} + {{ $t("nav.timelines") }}
  • - {{ $t("nav.chats") }} + {{ $t("nav.chats") }}
  • - {{ $t("nav.interactions") }} + {{ $t("nav.interactions") }}
  • - {{ $t("nav.friend_requests") }} + {{ $t("nav.friend_requests") }}
  • @@ -100,7 +100,7 @@ @click="toggleDrawer" > - {{ $t("nav.search") }} + {{ $t("nav.search") }}
  • - {{ $t("nav.who_to_follow") }} + {{ $t("nav.who_to_follow") }}
  • @@ -116,12 +116,12 @@ href="#" @click="openSettingsModal" > - {{ $t("settings.settings") }} + {{ $t("settings.settings") }}
  • - {{ $t("nav.about") }} + {{ $t("nav.about") }}
  • - {{ $t("nav.administration") }} + {{ $t("nav.administration") }}
  • - {{ $t("login.logout") }} + {{ $t("login.logout") }}
  • -- cgit v1.2.3-70-g09d2