Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: add checkout faqs

Abdullah Attae157ae8bc8e6
diff --git a/apps/web/src/dialogs/buy-dialog/plan-list.tsx b/apps/web/src/dialogs/buy-dialog/plan-list.tsx
index 14803cca6..e61cc5bec 100644
--- a/apps/web/src/dialogs/buy-dialog/plan-list.tsx
+++ b/apps/web/src/dialogs/buy-dialog/plan-list.tsx
@@ -46,6 +46,7 @@ import {
planToAvailability
} from "@notesnook/common";
import { FeatureCaption } from "./feature-caption";
+import Accordion from "../../components/accordion";
type PlansListProps = {
selectedPlan: SubscriptionPlan;
@@ -335,6 +336,20 @@ export function PlansList(props: PlansListProps) {
export function Footer() {
return (
<>
+ <Text
+ variant="title"
+ sx={{ alignSelf: "center", fontSize: "heading", mb: 25, mt: 100 }}
+ id="compare-plans"
+ >
+ FAQs
+ </Text>
+ <Flex sx={{ flexDirection: "column", gap: 2 }}>
+ {strings.checkoutFaqs.map((faq) => (
+ <Accordion key={faq.question()} title={faq.question()} isClosed>
+ <Text>{faq.answer()}</Text>
+ </Accordion>
+ ))}
+ </Flex>
<Text
variant="heading"
sx={{ fontSize: "subheading", textAlign: "center", mt: 100 }}
@@ -367,14 +382,14 @@ export function Footer() {
</Flex>
<Button
variant="accent"
- sx={{ alignSelf: "center", mt: 2 }}
+ sx={{ alignSelf: "center", mt: 2, mb: 25 }}
onClick={() =>
document
- .getElementById("compare-plans")
+ .getElementById("select-plan")
?.scrollIntoView({ behavior: "smooth" })
}
>
- Subscribe to Pro
+ Upgrade now
</Button>
</>
);
diff --git a/apps/web/src/views/plans.tsx b/apps/web/src/views/plans.tsx
index 9ebd0618c..470a13148 100644
--- a/apps/web/src/views/plans.tsx
+++ b/apps/web/src/views/plans.tsx
@@ -81,6 +81,7 @@ function Plans() {
>
<Flex sx={{ flexDirection: "column", alignSelf: "center" }}>
<Text
+ id="select-plan"
variant="heading"
sx={{ fontSize: 32, textAlign: "center" }}
>
diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.po
index f9a56d6bf..040a027fb 100644
--- a/packages/intl/locale/en.po
+++ b/packages/intl/locale/en.po
@@ -1229,6 +1229,10 @@ msgstr "By signing up, you agree to our "
msgid "Callout"
msgstr "Callout"
+#: src/strings.ts:2506
+msgid "Can I cancel my free trial anytime?"
+msgstr "Can I cancel my free trial anytime?"
+
#: src/strings.ts:548
msgid "Cancel"
msgstr "Cancel"
@@ -2798,6 +2802,10 @@ msgstr "Font ligatures"
msgid "Font size"
msgstr "Font size"
+#: src/strings.ts:2513
+msgid "For a monthly subscription, you can get a refund within 7 days of purchase. For a yearly subscription, we offer a full refund within 14 days of purchase. For a 5 year subscription, you can request a refund within 30 days of purchase."
+msgstr "For a monthly subscription, you can get a refund within 7 days of purchase. For a yearly subscription, we offer a full refund within 14 days of purchase. For a 5 year subscription, you can request a refund within 30 days of purchase."
+
#: src/strings.ts:1685
msgid "For a more integrated user experience, try out Notesnook for {platform}"
msgstr "For a more integrated user experience, try out Notesnook for {platform}"
@@ -6818,6 +6826,10 @@ msgstr "We are sorry, it seems that the app crashed due to an error. You can sub
msgid "We have sent you an email confirmation link. Please check your email inbox. If you cannot find the email, check your spam folder."
msgstr "We have sent you an email confirmation link. Please check your email inbox. If you cannot find the email, check your spam folder."
+#: src/strings.ts:2503
+msgid "We require credit card details to fight abuse and to make it seamless for you to upgrade. Your credit card is NOT charged until your free trial ends and your subscription starts. You will be notified via email of the upcoming charge before your trial ends."
+msgstr "We require credit card details to fight abuse and to make it seamless for you to upgrade. Your credit card is NOT charged until your free trial ends and your subscription starts. You will be notified via email of the upcoming charge before your trial ends."
+
#: src/strings.ts:2166
msgid "We send you occasional promotional offers & product updates on your email (once every month)."
msgstr "We send you occasional promotional offers & product updates on your email (once every month)."
@@ -6871,10 +6883,22 @@ msgstr "Welcome to Notesnook Pro"
msgid "What do I do if I am not getting the email?"
msgstr "What do I do if I am not getting the email?"
+#: src/strings.ts:2495
+msgid "What happens to my data if I switch plans?"
+msgstr "What happens to my data if I switch plans?"
+
+#: src/strings.ts:2511
+msgid "What is your refund policy?"
+msgstr "What is your refund policy?"
+
#: src/strings.ts:1666
msgid "What went wrong?"
msgstr "What went wrong?"
+#: src/strings.ts:2501
+msgid "Why do you need my credit card details for a free trial?"
+msgstr "Why do you need my credit card details for a free trial?"
+
#: src/strings.ts:2383
msgid "Width"
msgstr "Width"
@@ -6916,6 +6940,10 @@ msgstr "Yearly"
msgid "Yes"
msgstr "Yes"
+#: src/strings.ts:2508
+msgid "Yes, you can cancel your trial anytime. No questions asked."
+msgstr "Yes, you can cancel your trial anytime. No questions asked."
+
#: src/strings.ts:106
msgid "You also agree to recieve marketing emails from us which you can opt-out of from app settings."
msgstr "You also agree to recieve marketing emails from us which you can opt-out of from app settings."
@@ -7139,6 +7167,10 @@ msgstr "Your data recovery key is basically a hashed version of your password (p
msgid "Your data recovery key will be used to decrypt your data"
msgstr "Your data recovery key will be used to decrypt your data"
+#: src/strings.ts:2497
+msgid "Your data remains 100% accessible regardless of what plan you are on. That includes your notes, notebooks, attachments, and anything else you might have created."
+msgstr "Your data remains 100% accessible regardless of what plan you are on. That includes your notes, notebooks, attachments, and anything else you might have created."
+
#: src/strings.ts:1783
msgid "Your email has been confirmed."
msgstr "Your email has been confirmed."
diff --git a/packages/intl/locale/pseudo-LOCALE.po b/packages/intl/locale/pseudo-LOCALE.po
index 2a902ddda..d566276bb 100644
--- a/packages/intl/locale/pseudo-LOCALE.po
+++ b/packages/intl/locale/pseudo-LOCALE.po
@@ -1229,6 +1229,10 @@ msgstr ""
msgid "Callout"
msgstr ""
+#: src/strings.ts:2506
+msgid "Can I cancel my free trial anytime?"
+msgstr ""
+
#: src/strings.ts:548
msgid "Cancel"
msgstr ""
@@ -2787,6 +2791,10 @@ msgstr ""
msgid "Font size"
msgstr ""
+#: src/strings.ts:2513
+msgid "For a monthly subscription, you can get a refund within 7 days of purchase. For a yearly subscription, we offer a full refund within 14 days of purchase. For a 5 year subscription, you can request a refund within 30 days of purchase."
+msgstr ""
+
#: src/strings.ts:1685
msgid "For a more integrated user experience, try out Notesnook for {platform}"
msgstr ""
@@ -6769,6 +6777,10 @@ msgstr ""
msgid "We have sent you an email confirmation link. Please check your email inbox. If you cannot find the email, check your spam folder."
msgstr ""
+#: src/strings.ts:2503
+msgid "We require credit card details to fight abuse and to make it seamless for you to upgrade. Your credit card is NOT charged until your free trial ends and your subscription starts. You will be notified via email of the upcoming charge before your trial ends."
+msgstr ""
+
#: src/strings.ts:2166
msgid "We send you occasional promotional offers & product updates on your email (once every month)."
msgstr ""
@@ -6822,10 +6834,22 @@ msgstr ""
msgid "What do I do if I am not getting the email?"
msgstr ""
+#: src/strings.ts:2495
+msgid "What happens to my data if I switch plans?"
+msgstr ""
+
+#: src/strings.ts:2511
+msgid "What is your refund policy?"
+msgstr ""
+
#: src/strings.ts:1666
msgid "What went wrong?"
msgstr ""
+#: src/strings.ts:2501
+msgid "Why do you need my credit card details for a free trial?"
+msgstr ""
+
#: src/strings.ts:2383
msgid "Width"
msgstr ""
@@ -6867,6 +6891,10 @@ msgstr ""
msgid "Yes"
msgstr ""
+#: src/strings.ts:2508
+msgid "Yes, you can cancel your trial anytime. No questions asked."
+msgstr ""
+
#: src/strings.ts:106
msgid "You also agree to recieve marketing emails from us which you can opt-out of from app settings."
msgstr ""
@@ -7085,6 +7113,10 @@ msgstr ""
msgid "Your data recovery key will be used to decrypt your data"
msgstr ""
+#: src/strings.ts:2497
+msgid "Your data remains 100% accessible regardless of what plan you are on. That includes your notes, notebooks, attachments, and anything else you might have created."
+msgstr ""
+
#: src/strings.ts:1783
msgid "Your email has been confirmed."
msgstr ""
diff --git a/packages/intl/src/strings.ts b/packages/intl/src/strings.ts
index abd989260..436b9401c 100644
--- a/packages/intl/src/strings.ts
+++ b/packages/intl/src/strings.ts
@@ -2496,5 +2496,29 @@ Use this if changes from other devices are not appearing on this device. This wi
charactersCount: (count: number) => t`${count} characters`,
iAlreadyHaveAnAccount: () => t`I already have an account`,
upgradePlan: () => t`Upgrade plan`,
- upgrade: () => t`Upgrade`
+ upgrade: () => t`Upgrade`,
+
+ checkoutFaqs: [
+ {
+ question: () => t`What happens to my data if I switch plans?`,
+ answer: () =>
+ t`Your data remains 100% accessible regardless of what plan you are on. That includes your notes, notebooks, attachments, and anything else you might have created.`
+ },
+ {
+ question: () =>
+ t`Why do you need my credit card details for a free trial?`,
+ answer: () =>
+ t`We require credit card details to fight abuse and to make it seamless for you to upgrade. Your credit card is NOT charged until your free trial ends and your subscription starts. You will be notified via email of the upcoming charge before your trial ends.`
+ },
+ {
+ question: () => t`Can I cancel my free trial anytime?`,
+ answer: () =>
+ t`Yes, you can cancel your trial anytime. No questions asked.`
+ },
+ {
+ question: () => t`What is your refund policy?`,
+ answer: () =>
+ t`For a monthly subscription, you can get a refund within 7 days of purchase. For a yearly subscription, we offer a full refund within 14 days of purchase. For a 5 year subscription, you can request a refund within 30 days of purchase.`
+ }
+ ]
};