From ba0a00ef17d3a75f0a9079a378fcd040bf69e0d9 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 23 Oct 2023 16:14:38 -0700 Subject: update osc --- src/components/Card.astro | 4 ++- src/components/MiniCard.astro | 62 ++++++++++++++++++++++++++++++++++++ src/pages/about.astro | 1 + src/pages/contributions.astro | 74 ++++++++++++++++++++++++++++--------------- src/pages/projects.astro | 11 +++---- 5 files changed, 118 insertions(+), 34 deletions(-) create mode 100644 src/components/MiniCard.astro 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; --- diff --git a/src/components/MiniCard.astro b/src/components/MiniCard.astro new file mode 100644 index 0000000..b34bcef --- /dev/null +++ b/src/components/MiniCard.astro @@ -0,0 +1,62 @@ +--- +interface Props { + title: string; + body: string; + href: string; + language: string; + languageColor: string; + logoSrc?: string; + logoWidth?: string; + contribution?: string; +} + +const { href, title, body, language, languageColor, logoSrc, logoWidth = '60%', contribution = 'Minor Contributions' } = Astro.props; +--- + + + + \ No newline at end of file diff --git a/src/pages/about.astro b/src/pages/about.astro index 59ffdbc..69ed3c4 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -22,6 +22,7 @@ import RSSFeed from "../components/RSSFeed.astro"; +

Yes. Its a live status of my Discord status

Live data courtesy of Lanyard diff --git a/src/pages/contributions.astro b/src/pages/contributions.astro index f6dd454..0f4c6ad 100644 --- a/src/pages/contributions.astro +++ b/src/pages/contributions.astro @@ -2,50 +2,62 @@ import Layout from "../layouts/Layout.astro"; import SocialNavbar from "../components/SocialNavbar.astro"; import Card from "../components/Card.astro"; +import MiniCard from "../components/MiniCard.astro"; ---

Open Source Contributions

- - - + + +

Contributions

    - + /> - +
    + + +
- +