From b981cbdafeadbdfc5b373067906ee83b0f54324c Mon Sep 17 00:00:00 2001 From: Troplo Date: Fri, 22 Jan 2021 00:20:07 +1100 Subject: [PATCH] stuff --- src/components/Navbar.vue | 29 ++---- src/router/index.js | 11 ++ src/views/Friends.vue | 210 ++++++++++++++++++++++++++++++++++++++ src/views/Marketplace.vue | 5 +- src/views/User.vue | 13 ++- src/views/UserFriends.vue | 17 ++- 6 files changed, 257 insertions(+), 28 deletions(-) create mode 100644 src/views/Friends.vue diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index eb2b699..f5609f4 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -327,24 +327,17 @@ - - - + + {{$t('navbar.user.profile')}} + {{$t('navbar.user.settings')}} + {{$t('navbar.user.transactions')}} + {{$t('navbar.user.avatar')}} + {{$t('navbar.user.creations')}} + {{$t('navbar.user.downloads')}} + {{$t('navbar.user.admin')}} + 1  {{$t('navbar.user.friends')}} + {{$t('navbar.user.logout')}} +
diff --git a/src/router/index.js b/src/router/index.js index 781b083..f91ba74 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -93,6 +93,17 @@ const routes = [ name: 'MarketplaceItem', component: route('MarketplaceItem') }, + { + path: '/friends', + redirect: '/friends/accepted', + name: 'Friends', + component: route('Friends') + }, + { + path: '/friends/:category', + name: 'Friends', + component: route('Friends') + }, { path: '/stats', name: 'Stats', diff --git a/src/views/Friends.vue b/src/views/Friends.vue new file mode 100644 index 0000000..6128abe --- /dev/null +++ b/src/views/Friends.vue @@ -0,0 +1,210 @@ + + \ No newline at end of file diff --git a/src/views/Marketplace.vue b/src/views/Marketplace.vue index f06f565..6ec1f8e 100644 --- a/src/views/Marketplace.vue +++ b/src/views/Marketplace.vue @@ -1,6 +1,6 @@