From e802e3723c3758c7ee9bb922b8ad3a860d9c36e4 Mon Sep 17 00:00:00 2001 From: eggy Date: Mon, 8 Aug 2022 18:41:29 -0400 Subject: [PATCH] feat: add story stat box --- components/BlogStatBox.vue | 8 ++++- components/HomeStatBox.vue | 4 ++- components/StoryStatBox.vue | 58 +++++++++++++++++++++++++++++++++++-- components/Tag.vue | 16 ++++++---- content/stories/test.md | 1 - 5 files changed, 77 insertions(+), 10 deletions(-) delete mode 100644 content/stories/test.md diff --git a/components/BlogStatBox.vue b/components/BlogStatBox.vue index f81ac8b..5fc8215 100644 --- a/components/BlogStatBox.vue +++ b/components/BlogStatBox.vue @@ -30,7 +30,13 @@ const prettyDate = latestDate.format("DD MMM YYYY"); {{ prettyDate }} · {{ latest.readingTime.text }}

- {{ tag }} + + {{ tag }} +
+

+ {{ latest.description }} … +

+ + + + diff --git a/components/Tag.vue b/components/Tag.vue index af6ffcf..ab54322 100644 --- a/components/Tag.vue +++ b/components/Tag.vue @@ -1,7 +1,13 @@ + + diff --git a/content/stories/test.md b/content/stories/test.md deleted file mode 100644 index 7abf662..0000000 --- a/content/stories/test.md +++ /dev/null @@ -1 +0,0 @@ -oy \ No newline at end of file