From 847b3846fa4d354c513a13458b21378cff4a479f Mon Sep 17 00:00:00 2001
From: Furkan Sahin <furkan-dev@proton.me>
Date: Fri, 3 Jun 2022 19:34:33 -0500
Subject: Reusable Card and Upload button, FileUpload page done for now

---
 src/components/Card.svelte | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 src/components/Card.svelte

(limited to 'src/components/Card.svelte')

diff --git a/src/components/Card.svelte b/src/components/Card.svelte
new file mode 100644
index 0000000..a063e96
--- /dev/null
+++ b/src/components/Card.svelte
@@ -0,0 +1,14 @@
+<script lang="ts">
+    export let title = "";
+    export let desc = "";
+</script>
+
+<div class="card w-96 bg-primary text-primary-content">
+    <div class="card-body">
+        <h2 class="card-title">{title}</h2>
+        <p>{desc}</p>
+        <div class="card-actions justify-end">
+            <slot/>
+        </div>
+    </div>
+</div>
-- 
cgit v1.2.3

