From 22a9df07f6a81eb0092a7c28c6fb2e6b6677cbc9 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 28 Jun 2026 21:16:54 -0700 Subject: add live demo and source code buttons to project cards --- public/kheardle.png | Bin 0 -> 17100 bytes public/typemixx.png | Bin 0 -> 226438 bytes src/components/Card.astro | 469 +++++++++++++++++++--------------------------- src/pages/projects.astro | 43 ++++- 4 files changed, 237 insertions(+), 275 deletions(-) create mode 100644 public/kheardle.png create mode 100644 public/typemixx.png diff --git a/public/kheardle.png b/public/kheardle.png new file mode 100644 index 0000000..2dffae8 Binary files /dev/null and b/public/kheardle.png differ diff --git a/public/typemixx.png b/public/typemixx.png new file mode 100644 index 0000000..85ab581 Binary files /dev/null and b/public/typemixx.png differ diff --git a/src/components/Card.astro b/src/components/Card.astro index 6ffef91..326bd1d 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -3,6 +3,7 @@ interface Props { title: string; body: string; href: string; + project?: string; year?: string; language: string; languageColor: string; @@ -14,6 +15,7 @@ interface Props { const { href, + project, title, body, language, @@ -27,55 +29,90 @@ const { --- diff --git a/src/pages/projects.astro b/src/pages/projects.astro index 1cb84ba..8c2bb48 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -24,7 +24,37 @@ import Card from "../components/Card.astro";