diff options
| author | TomasBankauskas <tbdizainas@gmail.com> | 2025-03-20 15:16:16 +0200 |
|---|---|---|
| committer | TomasBankauskas <tbdizainas@gmail.com> | 2025-03-20 15:16:16 +0200 |
| commit | 8c543b6bb7ba29cfed559c3693b4149d1204ef78 (patch) | |
| tree | 78283952c019d5c0ede508c57640a31467b65bd2 /src/components/Card.astro | |
| parent | f8b333c690e13a594ff97043856a16f6c3f6fd48 (diff) | |
removed daisyui
Diffstat (limited to 'src/components/Card.astro')
| -rw-r--r-- | src/components/Card.astro | 26 |
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> |
