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.

add partner groups to pricing

Steven Teyaffe10f999e1
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 80ccc87f4e..5b2e5692ff 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -1,7 +1,7 @@
{
"name": "@dub/ui",
"description": "UI components for Dub",
- "version": "0.2.63",
+ "version": "0.2.64",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
diff --git a/packages/utils/src/constants/plan-compare.tsx b/packages/utils/src/constants/plan-compare.tsx
index efa7040a8d..fabfc56b92 100644
--- a/packages/utils/src/constants/plan-compare.tsx
+++ b/packages/utils/src/constants/plan-compare.tsx
@@ -270,6 +270,27 @@ export const PLAN_COMPARE_FEATURES: {
text: "AI landing page generator",
href: "https://dub.co/help/article/program-landing-page",
},
+ {
+ check: {
+ default: false,
+ business: true,
+ advanced: true,
+ enterprise: true,
+ },
+ text: ({ plan }) => (
+ <>
+ <strong>
+ {plan.limits.groups === 0
+ ? "No"
+ : plan.limits.groups === INFINITY_NUMBER
+ ? "Unlimited"
+ : nFormatter(plan.limits.groups)}
+ </strong>{" "}
+ partner groups
+ </>
+ ),
+ href: "https://dub.co/help/article/partner-groups",
+ },
{
check: {
default: false,