diff --git a/src/components/card.astro b/src/components/card.astro index c60acfa6..fc6aa852 100644 --- a/src/components/card.astro +++ b/src/components/card.astro @@ -1,10 +1,21 @@ --- -import { Tick } from "@components/ui/icons"; import SquareRoundedCheck from "@components/ui/icons/square-rounded-check.astro"; -import Link from "@components/ui/link.astro"; +export type CardInfo = { + name: string; + popular: boolean; + features: string[]; + button: { + text: string; + link: string; + }; +}; +type Props = { + card: CardInfo; +} const { card } = Astro.props; + ---
- { - plan.price && typeof plan.price === "object" - ? plan.price.monthly - : plan.price - } -
- -