diff --git a/src/components/Card.astro b/src/components/Card.astro index a87ab72..a623797 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -1,76 +1,54 @@ --- export interface Props { - title: string; - body: string; - href: string; + title: string; + body: string; + href: string; + secHeading?: boolean; } -const { href, title, body } = Astro.props; +const { href, title, body, secHeading = true } = Astro.props; --- -
- {body} -
- ++ {body} +