diff --git a/components/PostItem.vue b/components/PostItem.vue index 97cbede..e5a6385 100644 --- a/components/PostItem.vue +++ b/components/PostItem.vue @@ -3,10 +3,12 @@
- +
- {{ post.publisher?.nick }} @{{ post.publisher?.name }} + {{ post.publisher?.nick }} @{{ post.publisher?.name }} {{ post.body?.title }} {{ post.body?.description }} @@ -41,24 +43,19 @@
- - - {{ post.metric.reply_count }} {{ post.metric.reply_count > 1 ? "replies" : "reply" }}, - - - {{ post.metric.reaction_count }} {{ post.metric.reaction_count > 1 ? "reactions" : "reaction" }} - - + + {{ post.metric.reply_count }} {{ post.metric.reply_count > 1 ? "replies" : "reply" }}, + + {{ post.metric.reaction_count }} {{ post.metric.reaction_count > 1 ? "reactions" : "reaction" }} + + - {{ post.type.startsWith("a") ? "An" : "A" }} {{ post.type }} posted on - {{ new Date(post.published_at).toLocaleString() }} - + {{ post.type.startsWith("a") ? "An" : "A" }} {{ post.type }} posted on + {{ new Date(post.published_at).toLocaleString() }} +
-
+
diff --git a/layouts/default.vue b/layouts/default.vue index 8b38bf6..934622c 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,22 +1,22 @@