From 9046f5cc95289eb6e5a9e93e2da8a4eda74cb5ff Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 10 Feb 2024 13:15:02 -0800 Subject: refactored some components - added DiscordStatus to about - Updated projects - Added tags to each project - Fixed some text styling --- src/components/Card.astro | 43 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) (limited to 'src/components/Card.astro') diff --git a/src/components/Card.astro b/src/components/Card.astro index 7bad586..a5b3b6d 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -3,25 +3,42 @@ interface Props { title: string; body: string; href: string; + year?: string; language: string; languageColor: string; - logoSrc?: string; - logoWidth?: string; contribution?: string; + tags?: string[]; } -const { href, title, body, language, languageColor, logoSrc, logoWidth = '60%', contribution="" } = Astro.props; +const { + href, + title, + body, + language, + languageColor, + contribution = "", + year, + tags, +} = Astro.props; ---