diff --git a/src/components/SmallCard.astro b/src/components/SmallCard.astro index a147fef..c2d8db6 100644 --- a/src/components/SmallCard.astro +++ b/src/components/SmallCard.astro @@ -21,28 +21,30 @@ interface Props { const { post } = Astro.props; --- - -

- {post.data.icon && } - {post.data.title} -

-

- {post.data.description || markdownToText(post.body).slice(0, 200)} -

+
+ +

+ {post.data.icon && } + {post.data.title} +

+

+ {post.data.description || markdownToText(post.body).slice(0, 200)} +

+
{ post.data.tags && (
{post.data.tags.map((tag) => ( - + {tag} - + ))}
) } - +
diff --git a/src/components/Tag.astro b/src/components/Tag.astro new file mode 100644 index 0000000..e69de29