diff --git a/frontend/src/components/hosted/PricingPage.tsx b/frontend/src/components/hosted/PricingPage.tsx index d5e10d5..a0b0edd 100644 --- a/frontend/src/components/hosted/PricingPage.tsx +++ b/frontend/src/components/hosted/PricingPage.tsx @@ -7,7 +7,7 @@ const PricingPage: React.FC = () => { return (

Screenshot to Code Pricing

- + {/* Spacer */}
diff --git a/frontend/src/components/hosted/payments/PricingPlans.tsx b/frontend/src/components/hosted/payments/PricingPlans.tsx index 2eb17dd..5ddfa8e 100644 --- a/frontend/src/components/hosted/payments/PricingPlans.tsx +++ b/frontend/src/components/hosted/payments/PricingPlans.tsx @@ -4,7 +4,11 @@ import React from "react"; import { Button } from "../../ui/button"; import useStripeCheckout from "./useStripeCheckout"; -function PricingPlans() { +interface PricingPlansProps { + shouldShowFAQLink?: boolean; +} + +function PricingPlans({ shouldShowFAQLink = true }: PricingPlansProps) { const { checkout, isLoadingCheckout } = useStripeCheckout(); const [paymentInterval, setPaymentInterval] = React.useState< "monthly" | "yearly" @@ -113,10 +117,18 @@ function PricingPlans() {

1 credit = 1 code generation. Cancel subscription at any time.
{" "} - - See FAQs if you have additional questions - {" "} - or contact support. + {shouldShowFAQLink && ( + <> + + See FAQs if you have additional questions + {" "} + or contact support. + + )}

);