From 5be6657d678246e76c32cb9553cf181420a5b626 Mon Sep 17 00:00:00 2001
From: Furkan Sahin <furkan-dev@proton.me>
Date: Sat, 23 Jul 2022 23:41:39 -0500
Subject: Restructure file organization

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

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

diff --git a/src/components/helpers/Card.svelte b/src/components/helpers/Card.svelte
new file mode 100644
index 0000000..4d1c8bb
--- /dev/null
+++ b/src/components/helpers/Card.svelte
@@ -0,0 +1,14 @@
+<script lang="ts">
+    export let title = "";
+    export let desc = "";
+</script>
+
+<div class="card card-compact w-100 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

