diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue
index f5609f4..bd64d72 100644
--- a/src/components/Navbar.vue
+++ b/src/components/Navbar.vue
@@ -308,6 +308,7 @@
{{$t('navbar.more.documentation')}}
{{$t('navbar.downloads')}}
{{$t('navbar.more.stats')}}
+ {{$t('navbar.more.blog')}}
@@ -317,28 +318,28 @@
{{$store.state.user.koins}}
-
-
-
- {{$t('navbar.register')}}
-
-
- {{$t('navbar.login')}}
-
-
-
-
- {{$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')}}
-
+
+
+
+ {{$t('navbar.register')}}
+
+
+ {{$t('navbar.login')}}
+
+
+
+
+ {{$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/views/Friends.vue b/src/views/Friends.vue
index 6128abe..62ec64c 100644
--- a/src/views/Friends.vue
+++ b/src/views/Friends.vue
@@ -1,6 +1,6 @@
- {{name}}
+ {{name}} ({{count}})
{{ $t('friends.pendingCanAccept') }}
@@ -32,6 +32,7 @@ export default {
friends: [],
name: 'Requests to you',
loading: true,
+ count: 0,
category: this.$route.params.category
}
},
@@ -182,6 +183,7 @@ export default {
.get(process.env.VUE_APP_APIENDPOINT + process.env.VUE_APP_APIVERSION + '/' + 'relationships/getAll/' + this.category)
.then(res => {
this.friends = res.data.rows
+ this.count = res.data.count
this.loading = false
})
.catch((e) => {
diff --git a/src/views/Home.vue b/src/views/Home.vue
index ce12ff9..c9e63fc 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -6,17 +6,54 @@
-
- Blog posts go here
-
-
-
-
{{$t('home.globalWall')}}
-
-
- test
+
Recent Blog Posts
+
+
+
{{blog.name}}
+
{{blog.plainText}}
+
+
+
+
+
+
{{$t('home.globalWall')}}
+
+
+
+
+
+
+
+
+ Created At: {{post.createdAt | formatDate()}}
+
+
+
+
+
+
+
+
+
{{$t('home.globalWall')}}
+
+
+
+
@@ -26,7 +63,48 @@