From b030a8c832c60d0ab1ea864dba9045b1943f86b4 Mon Sep 17 00:00:00 2001 From: eggy Date: Wed, 10 Aug 2022 13:14:48 -0400 Subject: [PATCH] feat: copy orig story layout --- components/BlogStatBox.vue | 2 -- components/StoryStatBox.vue | 2 -- pages/stories.vue | 50 ++++++++++++++++++++++++++++++++++++- shared/types.d.ts | 3 ++- 4 files changed, 51 insertions(+), 6 deletions(-) diff --git a/components/BlogStatBox.vue b/components/BlogStatBox.vue index f894e01..3753b0a 100644 --- a/components/BlogStatBox.vue +++ b/components/BlogStatBox.vue @@ -1,11 +1,9 @@ + + diff --git a/shared/types.d.ts b/shared/types.d.ts index fd6c151..8ac7d27 100644 --- a/shared/types.d.ts +++ b/shared/types.d.ts @@ -11,7 +11,7 @@ interface BlogParsedContent extends ParsedContent { date: Date; title: string; tags: string[]; - description?: Record; + description?: string; readingTime: ReadingTime; } @@ -19,5 +19,6 @@ interface StoryParsedContent extends ParsedContent { date: Date; title: string; tags: string[]; + description?: string; readingTime: ReadingTime; }