From 2e8c3d8d844f169c0f01eae90ed613881aa744b8 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 22 Oct 2023 12:21:23 -0700 Subject: Add hidden contributions page --- src/components/Card.astro | 35 ++++++++++-------- src/pages/contributions.astro | 82 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+), 15 deletions(-) create mode 100644 src/pages/contributions.astro (limited to 'src') diff --git a/src/components/Card.astro b/src/components/Card.astro index efcfaeb..d2d428e 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -5,20 +5,22 @@ interface Props { href: string; language: string; languageColor: string; + logoSrc?: string; + logoWidth?: string; } -const { href, title, body, language, languageColor } = Astro.props; +const { href, title, body, language, languageColor, logoSrc, logoWidth = '60%' } = Astro.props; ---