aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Card.astro
diff options
context:
space:
mode:
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