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.

embedded referral dashboard

Steven Tey21e93110fd37
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/groups/[groupSlug]/settings/group-settings.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/groups/[groupSlug]/settings/group-settings.tsx
index 833e1dca6f..67fc97ba94 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/groups/[groupSlug]/settings/group-settings.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/groups/[groupSlug]/settings/group-settings.tsx
@@ -180,10 +180,10 @@ function GroupSettingsForm({ group }: { group: GroupProps }) {
</div>
<p className="mt-2 text-xs text-neutral-500">
- For embedding the Dub white-labeled referral dashboard within
- your app.{" "}
+ For setting up the Dub embedded referral dashboard within your
+ app.{" "}
<Link
- href="https://dub.co/docs/partners/white-labeling"
+ href="https://dub.co/docs/partners/embedded-referrals"
target="_blank"
className="underline"
>
diff --git a/apps/web/ui/partners/partners-upgrade-modal.tsx b/apps/web/ui/partners/partners-upgrade-modal.tsx
index 79411baded..018056595b 100644
--- a/apps/web/ui/partners/partners-upgrade-modal.tsx
+++ b/apps/web/ui/partners/partners-upgrade-modal.tsx
@@ -15,7 +15,7 @@ import { Dispatch, ReactNode, SetStateAction, useMemo, useState } from "react";
const defaultDescriptions = {
Advanced:
- "When you upgrade to Advanced, you'll get access to higher payout limits, advanced reward structures, white-labeling support, and more.",
+ "When you upgrade to Advanced, you'll get access to higher payout limits, advanced reward structures, embedded referral dashboard, and more.",
Enterprise:
"When you upgrade to Enterprise, you'll get access to unlimited payouts, unlimited partner groups, and more.",
};
@@ -65,13 +65,13 @@ export function PartnersUpgradeModal({
},
},
{
- id: "whitelabel",
- text: "White-labeling support",
+ id: "embeddedreferrals",
+ text: "Embedded referral dashboard",
tooltip: {
title:
- "Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",
+ "Create an embedded referral dashboard directly in your app in just a few lines of code.",
cta: "Learn more.",
- href: "https://dub.co/docs/partners/white-labeling",
+ href: "https://dub.co/docs/partners/embedded-referrals",
},
},
{
diff --git a/apps/web/ui/partners/rewards/add-edit-reward-sheet.tsx b/apps/web/ui/partners/rewards/add-edit-reward-sheet.tsx
index ea021ffa9c..f25e1d1acd 100644
--- a/apps/web/ui/partners/rewards/add-edit-reward-sheet.tsx
+++ b/apps/web/ui/partners/rewards/add-edit-reward-sheet.tsx
@@ -281,7 +281,7 @@ function RewardSheetContent({
usePartnersUpgradeModal({
plan: "Advanced",
description:
- "When you upgrade to Advanced, you'll get access to higher payout limits, advanced reward structures, white-labeling support, and more.",
+ "When you upgrade to Advanced, you'll get access to higher payout limits, advanced reward structures, embedded referral dashboard, and more.",
});
return (
diff --git a/packages/email/src/templates/program-welcome.tsx b/packages/email/src/templates/program-welcome.tsx
index 17a9439d98..4132e47264 100644
--- a/packages/email/src/templates/program-welcome.tsx
+++ b/packages/email/src/templates/program-welcome.tsx
@@ -146,7 +146,7 @@ export default function ProgramWelcome({
</Link>{" "}
to your program, or{" "}
<Link
- href="https://dub.co/docs/partners/white-labeling"
+ href="https://dub.co/docs/partners/embedded-referrals"
className="font-semibold text-neutral-800 underline underline-offset-2"
>
enroll them automatically.
diff --git a/packages/ui/package.json b/packages/ui/package.json
index c8146c5682..6d8f7d459b 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.61",
+ "version": "0.2.62",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
diff --git a/packages/ui/src/icons/plan-feature-icons.tsx b/packages/ui/src/icons/plan-feature-icons.tsx
index 240b3cf7e4..c5ab06d9ed 100644
--- a/packages/ui/src/icons/plan-feature-icons.tsx
+++ b/packages/ui/src/icons/plan-feature-icons.tsx
@@ -64,5 +64,5 @@ export const PLAN_FEATURE_ICONS = {
ailandingpage: Sparkle3,
customerinsights: UserFocus,
partners: Users2,
- whitelabel: SquareLayoutGrid5,
+ embeddedreferrals: SquareLayoutGrid5,
};
diff --git a/packages/utils/package.json b/packages/utils/package.json
index 3e1f79a9f8..eddaa08255 100644
--- a/packages/utils/package.json
+++ b/packages/utils/package.json
@@ -1,7 +1,7 @@
{
"name": "@dub/utils",
"description": "Utility functions and constants for Dub",
- "version": "0.1.41",
+ "version": "0.1.42",
"sideEffects": false,
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
diff --git a/packages/utils/src/constants/plan-compare.tsx b/packages/utils/src/constants/plan-compare.tsx
index 7442968709..efa7040a8d 100644
--- a/packages/utils/src/constants/plan-compare.tsx
+++ b/packages/utils/src/constants/plan-compare.tsx
@@ -276,8 +276,8 @@ export const PLAN_COMPARE_FEATURES: {
advanced: true,
enterprise: true,
},
- text: "White-labeling support",
- href: "https://dub.co/docs/partners/white-labeling",
+ text: "Embedded referral dashboard",
+ href: "https://dub.co/docs/partners/embedded-referrals",
},
{
check: {
diff --git a/packages/utils/src/constants/pricing.tsx b/packages/utils/src/constants/pricing.tsx
index d2d6b66d9a..3e5553323b 100644
--- a/packages/utils/src/constants/pricing.tsx
+++ b/packages/utils/src/constants/pricing.tsx
@@ -291,13 +291,13 @@ export const PLANS = [
text: "20 users",
},
{
- id: "whitelabel",
- text: "White-labeling support",
+ id: "embeddedreferrals",
+ text: "Embedded referral dashboard",
tooltip: {
title:
- "Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",
+ "Create an embedded referral dashboard directly in your app in just a few lines of code.",
cta: "Learn more.",
- href: "https://dub.co/docs/partners/white-labeling",
+ href: "https://dub.co/docs/partners/embedded-referrals",
},
},
{