From 3eafb413a48cde60dea8a7355ee621c6acca952f Mon Sep 17 00:00:00 2001
From: Doog <157747121+doogongithub@users.noreply.github.com>
Date: Wed, 21 Feb 2024 22:07:27 -0500
Subject: first commit

---
 fe/src/lib/Card.svelte | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 fe/src/lib/Card.svelte

(limited to 'fe/src/lib/Card.svelte')

diff --git a/fe/src/lib/Card.svelte b/fe/src/lib/Card.svelte
new file mode 100644
index 0000000..feb5bcc
--- /dev/null
+++ b/fe/src/lib/Card.svelte
@@ -0,0 +1,22 @@
+<script lang="ts">
+export let title;
+</script>
+
+<div class="card">
+    {#if title}
+        <h2>{title}</h2>
+    {/if}
+    <slot />   
+</div>
+
+<style>
+.card {
+    background: #fff;
+    width: 16rem;
+    display: flex;
+    flex-direction: column;
+    align-items: left;
+    border: solid 2px #00000066;
+    border-radius: 0.25em;
+}
+</style>
-- 
cgit v1.1

