From 478e01bbdc211c8087c849f1364835e50f8aafa4 Mon Sep 17 00:00:00 2001 From: pouliens Date: Wed, 10 Jul 2024 16:25:23 +0100 Subject: [PATCH] updated feature tag --- src/components/CaseStudiesPreview.astro | 2 +- src/components/LatestCaseStudies.astro | 2 +- src/components/LatestTools.astro | 5 +++++ src/components/ToolkitPreview.astro | 7 +++++++ src/content/toolkit/prototyping.md | 2 +- 5 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/components/CaseStudiesPreview.astro b/src/components/CaseStudiesPreview.astro index acebcc9..6ae192d 100644 --- a/src/components/CaseStudiesPreview.astro +++ b/src/components/CaseStudiesPreview.astro @@ -19,7 +19,7 @@ const { data, slug } = Astro.props.project; { data.featured && ( - featured + Featured ) } diff --git a/src/components/LatestCaseStudies.astro b/src/components/LatestCaseStudies.astro index 7d499e6..e34e37d 100644 --- a/src/components/LatestCaseStudies.astro +++ b/src/components/LatestCaseStudies.astro @@ -36,7 +36,7 @@ const latestCaseStudies = (await getCollection("case-studies")) /> {caseStudy.data.featured && ( - featured + Featured )} diff --git a/src/components/LatestTools.astro b/src/components/LatestTools.astro index 69bb656..8e5905f 100644 --- a/src/components/LatestTools.astro +++ b/src/components/LatestTools.astro @@ -34,6 +34,11 @@ const latestTools = (await getCollection("toolkit")) src={latestTool.data.img} alt="Image Description" /> + {latestTool.data.featured && ( + + Featured + + )}
diff --git a/src/components/ToolkitPreview.astro b/src/components/ToolkitPreview.astro index 98bc6c2..899bf17 100644 --- a/src/components/ToolkitPreview.astro +++ b/src/components/ToolkitPreview.astro @@ -19,6 +19,13 @@ const { data, slug } = Astro.props.project; src={data.img} alt="Image Description" /> + { + data.featured && ( + + Featured + + ) + }
diff --git a/src/content/toolkit/prototyping.md b/src/content/toolkit/prototyping.md index 36f65d0..14aa20a 100644 --- a/src/content/toolkit/prototyping.md +++ b/src/content/toolkit/prototyping.md @@ -9,7 +9,7 @@ description: | tags: - Prototyping - User Testing -featured: true +featured: false category: Design and Prototyping ---