From e406d3de9e8019561f2f2f29919409ba2731b8bc Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 3 Sep 2025 11:04:30 -0700 Subject: change style of project page --- src/components/Card.astro | 224 ++++++++++++++++++++++++-------------- src/components/SocialNavbar.astro | 11 -- 2 files changed, 143 insertions(+), 92 deletions(-) (limited to 'src/components') diff --git a/src/components/Card.astro b/src/components/Card.astro index a5b3b6d..7f04eb0 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -8,6 +8,8 @@ interface Props { languageColor: string; contribution?: string; tags?: string[]; + image?: string; + imageAlt?: string; } const { @@ -19,152 +21,212 @@ const { contribution = "", year, tags, + image, + imageAlt, } = Astro.props; --- diff --git a/src/components/SocialNavbar.astro b/src/components/SocialNavbar.astro index 67aa68a..1ad096f 100644 --- a/src/components/SocialNavbar.astro +++ b/src/components/SocialNavbar.astro @@ -67,17 +67,6 @@ import "@fortawesome/fontawesome-free/css/all.min.css"; class="dark-social-icon" title="Twitter/X"> - -