summaryrefslogtreecommitdiff
path: root/src/components/Card.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Card.astro')
-rw-r--r--src/components/Card.astro26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/components/Card.astro b/src/components/Card.astro
deleted file mode 100644
index da68297..0000000
--- a/src/components/Card.astro
+++ /dev/null
@@ -1,26 +0,0 @@
----
-interface Props {
- title?: string;
- text?: string;
- linkText?: string;
- href?: string;
-}
-
-const { title, text, linkText, href } = Astro.props;
----
-
-<div class="bg-white text-neutral-600 card">
- <div class="card-body">
- {title && <h3 class="text-neutral-900 card-title">{title}</h3>}
- {text && <p>{text}</p>}
- {
- linkText && href && (
- <div class="card-actions">
- <a href={href} class="link text-neutral-900">
- {linkText}
- </a>
- </div>
- )
- }
- </div>
-</div>