Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

update PartnersUpgradeModal attributes

Steven Tey99152dd85012
diff --git a/apps/web/ui/partners/partners-upgrade-modal.tsx b/apps/web/ui/partners/partners-upgrade-modal.tsx
index 9890c07c9d..b9f31a165d 100644
--- a/apps/web/ui/partners/partners-upgrade-modal.tsx
+++ b/apps/web/ui/partners/partners-upgrade-modal.tsx
@@ -88,23 +88,23 @@ export function PartnersUpgradeModal({
},
},
{
- id: "users",
- text: `${plan.limits.groups} partner groups`,
+ id: "email",
+ text: "Email campaigns",
tooltip: {
title:
- "Learn how you can create partner groups to segment partners by rewards, discounts, performance, location, and more.",
+ "Send marketing and transactional emails to your partners to increase engagement and drive conversions.",
cta: "Learn more.",
- href: "https://dub.co/help/article/partner-groups",
+ href: "https://dub.co/help/article/email-campaigns",
},
},
{
- id: "api",
- text: "Partners API",
+ id: "partnergroups",
+ text: `${plan.limits.groups} partner groups`,
tooltip: {
title:
- "Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",
+ "Learn how you can create partner groups to segment partners by rewards, discounts, performance, location, and more.",
cta: "Learn more.",
- href: "https://dub.co/docs/api-reference/endpoint/create-a-partner",
+ href: "https://dub.co/help/article/partner-groups",
},
},
{
diff --git a/packages/ui/src/icons/plan-feature-icons.tsx b/packages/ui/src/icons/plan-feature-icons.tsx
index 8941931b98..f8f014397b 100644
--- a/packages/ui/src/icons/plan-feature-icons.tsx
+++ b/packages/ui/src/icons/plan-feature-icons.tsx
@@ -26,6 +26,7 @@ import {
UserCrown,
UserFocus,
Users2,
+ Users6,
UsersSettings,
Versions2,
Webhook,
@@ -67,5 +68,6 @@ export const PLAN_FEATURE_ICONS = {
ailandingpage: Sparkle3,
customerinsights: UserFocus,
partners: ConnectedDots4,
+ partnergroups: Users6,
embeddedreferrals: SquareLayoutGrid5,
};
diff --git a/packages/utils/src/constants/plan-compare.tsx b/packages/utils/src/constants/plan-compare.tsx
index 8294ac8572..e6574aec8a 100644
--- a/packages/utils/src/constants/plan-compare.tsx
+++ b/packages/utils/src/constants/plan-compare.tsx
@@ -323,7 +323,7 @@ export const PLAN_COMPARE_FEATURES: {
advanced: true,
enterprise: true,
},
- text: "Email campaigns (beta)",
+ text: "Email campaigns",
},
{
check: {