diff --git a/components/FollowButton.vue b/components/FollowButton.vue
new file mode 100644
index 000000000..012def236
--- /dev/null
+++ b/components/FollowButton.vue
@@ -0,0 +1,52 @@
+
+ Folgen
+
+
+
diff --git a/components/PostCard.vue b/components/PostCard.vue
new file mode 100644
index 000000000..4d2c10b9d
--- /dev/null
+++ b/components/PostCard.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+ {{ post.author.User.name }}
+
+
+
+ {{ post.commentsCount }}
+
+
+
+ {{ post.shoutedCount }}
+
+
+
+
+
+
+
diff --git a/graphql/UserProfileQuery.js b/graphql/UserProfileQuery.js
new file mode 100644
index 000000000..d2c37844e
--- /dev/null
+++ b/graphql/UserProfileQuery.js
@@ -0,0 +1,39 @@
+import gql from 'graphql-tag'
+
+export default gql(`
+ query User($slug: String!) {
+ User(slug: $slug) {
+ id
+ name
+ avatar
+ friendsCount
+ friends {
+ id
+ name
+ slug
+ avatar
+ }
+ badgesCount
+ followingCount
+ followedByCount
+ contributionsCount
+ contributions {
+ Post {
+ id
+ slug
+ title
+ contentExcerpt
+ shoutedCount
+ commentsCount
+ image
+ author {
+ User {
+ avatar
+ name
+ }
+ }
+ }
+ }
+ }
+ }
+`)
diff --git a/pages/index.vue b/pages/index.vue
index 87236ce16..97acc7d8c 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -8,30 +8,7 @@
v-for="post in Post"
:width="{ base: '100%', xs: '100%', md: '50%', xl: '33%' }"
:key="post.id">
-
-
- {{ post.author.User.name }}
-
-
-
-
- {{ post.commentsCount }}
-
-
-
- {{ post.shoutedCount }}
-
-
-
-
+
@@ -40,8 +17,12 @@