diff --git a/src/components/Pricing.jsx b/src/components/Pricing.jsx new file mode 100644 index 0000000..efb23ff --- /dev/null +++ b/src/components/Pricing.jsx @@ -0,0 +1,141 @@ +import clsx from 'clsx' + +import { ButtonLink } from '@/components/Button' +import { Container } from '@/components/Container' + +function SwirlyDoodle({ className }) { + return ( + + + + ) +} + +function CheckIcon({ className }) { + return ( + + + + + ) +} + +function Plan({ name, price, description, href, features, featured = false }) { + return ( + + {name} + + {description} + + + {price} + + + {features.map((feature) => ( + + + {feature} + + ))} + + + Get started + + + ) +} + +export function Pricing({ data }) { + if (!data) return null + const { titleDecorated, titleUndecorated, description, plans } = data + return ( + + + + + + + {titleDecorated} + {' '} + {titleUndecorated} + + {description} + + + {plans.map( + ({ name, price, description, href, features, isFeatured }) => { + return ( + + ) + } + )} + + + + ) +}
+ {description} +
+ {price} +
{description}