From c96e22492c913bd65443a129c88fe045278919af Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Sat, 8 Dec 2018 13:44:22 +0100 Subject: [PATCH] merged tags and categories in --- assets/styles/main.scss | 8 + components/PostCard.vue | 23 +- components/ShoutButton.vue | 5 +- graphql/UserProfileQuery.js | 13 +- pages/admin.vue | 4 + pages/admin/categories.vue | 43 +++- pages/admin/tags.vue | 47 ++++ pages/index.vue | 1 + pages/post/_slug/index.vue | 12 +- pages/post/_slug/more-info.vue | 9 +- pages/profile/_slug.vue | 5 +- pages/settings/index.vue | 202 +++++++++++++++++- .../components/data-input/shared/input.scss | 23 +- yarn.lock | 13 +- 14 files changed, 367 insertions(+), 41 deletions(-) create mode 100644 pages/admin/tags.vue diff --git a/assets/styles/main.scss b/assets/styles/main.scss index 7b8c5c2e4..e9254c4b9 100644 --- a/assets/styles/main.scss +++ b/assets/styles/main.scss @@ -118,3 +118,11 @@ blockquote { margin-top: 0; } } + +hr { + border: 0; + width: 100%; + color: $color-neutral-80; + background-color: $color-neutral-80; + height: 1px !important; +} diff --git a/components/PostCard.vue b/components/PostCard.vue index 235763a60..27f1977ae 100644 --- a/components/PostCard.vue +++ b/components/PostCard.vue @@ -31,13 +31,22 @@ diff --git a/components/ShoutButton.vue b/components/ShoutButton.vue index 9f00a6566..5cb9030d3 100644 --- a/components/ShoutButton.vue +++ b/components/ShoutButton.vue @@ -7,9 +7,8 @@ :disabled="disabled || loading" danger size="x-large" - icon="heart" - @click="shout" - /> + icon="bullhorn" + @click="shout" /> - - - Categories... - + + Themen / Kategorien + + + + + diff --git a/pages/admin/tags.vue b/pages/admin/tags.vue new file mode 100644 index 000000000..45ab9a2a3 --- /dev/null +++ b/pages/admin/tags.vue @@ -0,0 +1,47 @@ + + + diff --git a/pages/index.vue b/pages/index.vue index 77e69c780..ca4ebc03c 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -107,6 +107,7 @@ export default { categories { id name + icon } shoutedCount } diff --git a/pages/post/_slug/index.vue b/pages/post/_slug/index.vue index b230f1ae4..243858f68 100644 --- a/pages/post/_slug/index.vue +++ b/pages/post/_slug/index.vue @@ -23,7 +23,14 @@ :post-id="post.id" /> -
+   + +