diff --git a/frontend/src/components/hosted/FAQs.tsx b/frontend/src/components/hosted/FAQs.tsx new file mode 100644 index 0000000..c0c43b2 --- /dev/null +++ b/frontend/src/components/hosted/FAQs.tsx @@ -0,0 +1,45 @@ +function FAQs() { + const faqs = [ + { + question: "How do credits work?", + answer: + "Each creation, whether from a screenshot or text, consumes 1 credit. Every additional edit also consumes 1 credit. If you run out of credits, you can easily upgrade your plan to obtain more.", + }, + { + question: "When do credits reset? Do unused credits roll over?", + answer: + "Your credits reset at the beginning of each month and do not roll over. Every 1st of the month, you will receive a fresh batch of credits.", + }, + { + question: "Can I cancel my plan?", + answer: + "Yes, you can cancel your plan at any time. Your plan will remain active until the end of the billing cycle.", + }, + { + question: "Can I upgrade or downgrade my plan?", + answer: + "Yes, you can change your plan at any time. The changes will take effect immediately.", + }, + { + question: "What payment methods do you accept?", + answer: + "We accept all major credit cards, Alipay, Amazon Pay and Cash App Pay. Certain payment methods may not be available in your country.", + }, + ]; + + return ( +
+

Frequently Asked Questions

+
+ {faqs.map((faq, index) => ( +
+

{faq.question}

+

{faq.answer}

+
+ ))} +
+
+ ); +} + +export default FAQs; diff --git a/frontend/src/components/hosted/PricingPage.tsx b/frontend/src/components/hosted/PricingPage.tsx index 29d1ee8..d5e10d5 100644 --- a/frontend/src/components/hosted/PricingPage.tsx +++ b/frontend/src/components/hosted/PricingPage.tsx @@ -1,17 +1,16 @@ import React from "react"; import Footer from "./LandingPage/Footer"; import PricingPlans from "./payments/PricingPlans"; +import FAQs from "./FAQs"; const PricingPage: React.FC = () => { return (

Screenshot to Code Pricing

- - {/* Spacer */}
- +
);