From 7e8c57bcf66ec1650ffeaa21555756a1abdd1b52 Mon Sep 17 00:00:00 2001 From: Xevion Date: Fri, 24 Nov 2023 17:36:49 -0600 Subject: [PATCH] Summary card component --- src/components/Summary.astro | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/components/Summary.astro diff --git a/src/components/Summary.astro b/src/components/Summary.astro new file mode 100644 index 0000000..517d02a --- /dev/null +++ b/src/components/Summary.astro @@ -0,0 +1,38 @@ +--- +interface Props { + url: string; + date: Date; + title: string; + tags: string[]; + description: string; +} + +const { url, date, title, tags, description } = Astro.props; +--- +
+ +
+

+ { title } +

+ + { tags.join(" ")} + +
+{ description } +
\ No newline at end of file