From 4f446215bd8943ef942b0d6ddcb8e4b125528772 Mon Sep 17 00:00:00 2001 From: Vasily Inkovskiy <76574837+xxArchitect@users.noreply.github.com> Date: Thu, 30 Jun 2022 18:26:55 -0400 Subject: [PATCH] Add Card component (#11) * Add Card component * Change em to rem and uitlize padding and margins to position elements --- src/components/Card.astro | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/components/Card.astro diff --git a/src/components/Card.astro b/src/components/Card.astro new file mode 100644 index 0000000..b13e335 --- /dev/null +++ b/src/components/Card.astro @@ -0,0 +1,46 @@ +--- +const { colour, title, description } = Astro.props; +--- + + + +
{description}
+ +