From f2286dac3d1a138c2b1ad10c4d88d4cb575b6e78 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 9 Nov 2024 23:49:04 +0200 Subject: Initial commit --- src/components/Card.astro | 61 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 src/components/Card.astro (limited to 'src/components/Card.astro') diff --git a/src/components/Card.astro b/src/components/Card.astro new file mode 100644 index 0000000..bd6d597 --- /dev/null +++ b/src/components/Card.astro @@ -0,0 +1,61 @@ +--- +interface Props { + title: string; + body: string; + href: string; +} + +const { href, title, body } = Astro.props; +--- + + + -- cgit v1.3.1