Beautiful Open-Source Form Builder
Update upgrade prompts across the application to use consistent language and improve clarity. Changed 'Try Pro plan' to 'Upgrade to Pro' in various components, and updated modal titles and descriptions to better reflect the upgrade process.
Julien Nahum912009f44ca6
diff --git a/api/app/Rules/ValidPhoneInputRule.php b/api/app/Rules/ValidPhoneInputRule.phpindex 95cb255b8..b9dbad971 100644--- a/api/app/Rules/ValidPhoneInputRule.php+++ b/api/app/Rules/ValidPhoneInputRule.php@@ -7,7 +7,7 @@ use Illuminate\Contracts\Validation\ValidationRule;class ValidPhoneInputRule implements ValidationRule{- public ?int $reason = 0;+ public \libphonenumber\ValidationResult|int|null $reason = 0;public function passes($attribute, $value){diff --git a/client/components/dashboard/UpgradeBanner.vue b/client/components/dashboard/UpgradeBanner.vueindex a19a98f9e..5281d37eb 100644--- a/client/components/dashboard/UpgradeBanner.vue+++ b/client/components/dashboard/UpgradeBanner.vue@@ -9,8 +9,8 @@description="Remove OpnForm branding, customize forms further, use your custom domain, integrate with your favorite tools, invite users, and more!":actions="[{- label: 'Try for free',- onClick: () => openSubscriptionModal({modal_title: 'Try our Pro plan for free today!'})+ label: 'Upgrade now',+ onClick: () => openSubscriptionModal({modal_title: 'Upgrade to Pro plan'})},{label: 'Close',diff --git a/client/components/layouts/AppSidebar.vue b/client/components/layouts/AppSidebar.vueindex 8aea41bdb..7ff9d8eec 100644--- a/client/components/layouts/AppSidebar.vue+++ b/client/components/layouts/AppSidebar.vue@@ -122,12 +122,12 @@ const navigationSections = computed(() => [}),// Show upgrade for non-pro users...(workspace.value && !workspace.value.is_pro && !isSelfHosted.value ? [createNavItem({- label: 'Try our Pro plan',+ label: 'Upgrade to Pro',icon: 'i-heroicons-sparkles-solid',onClick: () => {useAmplitude().logEvent('app_sidebar_upgrade_click')openSubscriptionModal({- modal_title: 'Try our Pro plan for free today!',+ modal_title: 'Upgrade to Pro plan',})},color: 'primary' // Override default colordiff --git a/client/components/workspaces/settings/Domains.vue b/client/components/workspaces/settings/Domains.vueindex ef73d5836..51982b54c 100644--- a/client/components/workspaces/settings/Domains.vue+++ b/client/components/workspaces/settings/Domains.vue@@ -28,12 +28,12 @@title="Pro plan required"description="Please upgrade your account to setup a custom domain.":actions="[{- label: 'Try Pro plan',+ label: 'Upgrade to Pro',color: 'warning',variant: 'solid',onClick: () => openSubscriptionModal({modal_title: 'Upgrade to use your own domain',- modal_description: 'Try our Pro plan for free today, and unlock custom domains and other features such as advanced customization, forms analytics, integrations, and more!'+ modal_description: 'Upgrade to our Pro plan to unlock custom domains and other premium features such as advanced customization, forms analytics, integrations, and more!'})}]"/>diff --git a/client/components/workspaces/settings/InviteUser.vue b/client/components/workspaces/settings/InviteUser.vueindex e43ca0b14..b4115e089 100644--- a/client/components/workspaces/settings/InviteUser.vue+++ b/client/components/workspaces/settings/InviteUser.vue@@ -60,12 +60,12 @@title="Pro plan required"description="Please upgrade your account to invite users to your workspace.":actions="[{- label: 'Try Pro plan',+ label: 'Upgrade to Pro',color: 'warning',variant: 'solid',onClick: () => openSubscriptionModal({modal_title: 'Upgrade to invite users to your workspace',- modal_description: 'Try our Pro plan for free today, and unlock team collaboration features along with customized branding, form analytics, custom domains, and more!'+ modal_description: 'Upgrade to our Pro plan to unlock team collaboration features along with customized branding, form analytics, custom domains, and more!'})}]"/>diff --git a/client/pages/pricing.vue b/client/pages/pricing.vueindex 87b484f02..9b37f1fe2 100644--- a/client/pages/pricing.vue+++ b/client/pages/pricing.vue@@ -369,11 +369,6 @@answer:'The OpnForm Pro Plan is designed to meet the advanced needs of teams and creators. It includes features like form confirmation emails, Slack and Discord notifications, editable submissions, custom domain, custom code integration, larger file uploads, removal of OpnForm branding, priority support, and more.',},- // {- // question: 'Can I try the Pro Plan before subscribing?',- // answer:- // 'Absolutely! We offer a free 3-day trial of the OpnForm Pro Plan. This allows you to explore all the empowering features and experience the value it brings to your form-building process. The trial is automatically applied.',- // },{question: 'Is there a discount for annual plans?',answer:diff --git a/docs/snippets/cloud-version.mdx b/docs/snippets/cloud-version.mdxindex 161e3a5c7..255253fb2 100644--- a/docs/snippets/cloud-version.mdx+++ b/docs/snippets/cloud-version.mdx@@ -1,3 +1,3 @@<Note>-The easiest way to get started with OpnForm is through our [official managed service in the Cloud](https://opnform.com/?utm_source=docs&utm_medium=introduction&utm_campaign=cloud_version). It takes just 1 minute to try out the builder for free, with high availability, backups, security, and maintenance all managed for you.+The easiest way to get started with OpnForm is through our [official managed service in the Cloud](https://opnform.com/?utm_source=docs&utm_medium=introduction&utm_campaign=cloud_version). It takes just 1 minute to start building forms with the free plan, with high availability, backups, security, and maintenance all managed for you.</Note>