aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Card.astro
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2023-10-23 16:14:38 -0700
committerPinapelz <yukais@pinapelz.com>2023-10-23 16:14:38 -0700
commitba0a00ef17d3a75f0a9079a378fcd040bf69e0d9 (patch)
tree9a6092d9a5ded7cbd43f84ddc41a75875e26a09b /src/components/Card.astro
parent2e8c3d8d844f169c0f01eae90ed613881aa744b8 (diff)
update osc
Diffstat (limited to 'src/components/Card.astro')
-rw-r--r--src/components/Card.astro4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/Card.astro b/src/components/Card.astro
index d2d428e..4de0a1b 100644
--- a/src/components/Card.astro
+++ b/src/components/Card.astro
@@ -7,9 +7,10 @@ interface Props {
languageColor: string;
logoSrc?: string;
logoWidth?: string;
+ contribution?: string;
}
-const { href, title, body, language, languageColor, logoSrc, logoWidth = '60%' } = Astro.props;
+const { href, title, body, language, languageColor, logoSrc, logoWidth = '60%', contribution="Contributor" } = Astro.props;
---
<li class="link-card">
@@ -22,6 +23,7 @@ const { href, title, body, language, languageColor, logoSrc, logoWidth = '60%' }
<span class="language">{language}</span>
</div>
<p>{body}</p>
+ <p>{contribution}</p>
</div>
</a>
</li>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage