From be4de751ad432f8230d83e1d6cbb3e56d608cd58 Mon Sep 17 00:00:00 2001 From: TomasBankauskas Date: Tue, 9 Apr 2024 13:44:24 +0300 Subject: updates --- src/components/Card.astro | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) (limited to 'src/components/Card.astro') diff --git a/src/components/Card.astro b/src/components/Card.astro index cbe0b0a..da68297 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -1,29 +1,26 @@ --- interface Props { - title?: string; - text?: string; - linkText?: string; - href?: string; + title?: string; + text?: string; + linkText?: string; + href?: string; } const { title, text, linkText, href } = Astro.props; ---
-
- {title &&

{title}

} - {text &&

{text}

} - { - linkText && href && ( - - ) - } -
+
+ {title &&

{title}

} + {text &&

{text}

} + { + linkText && href && ( + + ) + } +
-- cgit v1.2.3