From e053db85ef06acdec605c21873199131ca620410 Mon Sep 17 00:00:00 2001 From: Stephanie Smith Date: Fri, 2 Aug 2024 10:49:12 -0700 Subject: [PATCH 1/3] Adding readTime to EDU News, EDU explainer articles, and WWW news --- .../DetailHeadline/DetailHeadline.stories.js | 1 + .../components/DetailHeadline/DetailHeadline.vue | 14 ++++++++++++-- .../PageNewsDetail/PageNewsDetail.stories.js | 1 + .../templates/PageNewsDetail/PageNewsDetail.vue | 1 + .../PageEduNewsDetail/PageEduNewsDetail.stories.js | 1 + .../edu/PageEduNewsDetail/PageEduNewsDetail.vue | 2 ++ .../PageEduResourceArticle.stories.js | 1 + .../PageEduResourceArticle.vue | 1 + 8 files changed, 20 insertions(+), 2 deletions(-) diff --git a/packages/vue/src/components/DetailHeadline/DetailHeadline.stories.js b/packages/vue/src/components/DetailHeadline/DetailHeadline.stories.js index 8e15a8e9..d3ef763c 100644 --- a/packages/vue/src/components/DetailHeadline/DetailHeadline.stories.js +++ b/packages/vue/src/components/DetailHeadline/DetailHeadline.stories.js @@ -9,6 +9,7 @@ export default { export const DetailHeadlineData = { title: "NASA's Ingenuity Mars Helicopter Recharges Its Batteries in Flight", publicationDate: '2020-08-13', + readTime: '3 min read', author: { name: 'Jane Platt', organization: 'JPL' diff --git a/packages/vue/src/components/DetailHeadline/DetailHeadline.vue b/packages/vue/src/components/DetailHeadline/DetailHeadline.vue index 767c8ce6..0f8efd7c 100644 --- a/packages/vue/src/components/DetailHeadline/DetailHeadline.vue +++ b/packages/vue/src/components/DetailHeadline/DetailHeadline.vue @@ -1,7 +1,7 @@