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 side nav

Tim Wilsonf1fa3d47fa91
diff --git a/apps/web/app/partners.dub.co/(dashboard)/[partnerId]/[programId]/customers/page.tsx b/apps/web/app/partners.dub.co/(dashboard)/[partnerId]/[programId]/customers/page.tsx
deleted file mode 100644
index 3d27799fff..0000000000
--- a/apps/web/app/partners.dub.co/(dashboard)/[partnerId]/[programId]/customers/page.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import { PageContent } from "@/ui/layout/page-content";
-import { AnimatedEmptyState } from "@/ui/shared/animated-empty-state";
-import { MaxWidthWrapper } from "@dub/ui";
-import { CircleDollar, User } from "@dub/ui/src/icons";
-
-export default function CustomersPage() {
- return (
- <PageContent title="Customers">
- <MaxWidthWrapper>
- <AnimatedEmptyState
- title="Customers"
- description="View your customers and their referral activity"
- cardContent={
- <>
- <User className="size-4 text-neutral-700" />
- <div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />
- <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-gray-500">
- <CircleDollar className="size-3.5" />
- </div>
- </>
- }
- pillContent="Coming soon"
- />
- </MaxWidthWrapper>
- </PageContent>
- );
-}
diff --git a/apps/web/ui/layout/sidebar/partners-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/partners-sidebar-nav.tsx
index 54c8f95f61..c535d5fed7 100644
--- a/apps/web/ui/layout/sidebar/partners-sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/partners-sidebar-nav.tsx
@@ -70,9 +70,9 @@ const NAV_AREAS: SidebarNavAreas<{
exact: true,
},
{
- name: "Customers",
- icon: Users,
- href: `/${partnerId}/${programId}/customers`,
+ name: "Payouts",
+ icon: MoneyBills2,
+ href: `/${partnerId}/${programId}/payouts`,
},
{
name: "Events",
@@ -84,11 +84,6 @@ const NAV_AREAS: SidebarNavAreas<{
icon: Hyperlink,
href: `/${partnerId}/${programId}/links`,
},
- {
- name: "Payouts",
- icon: MoneyBills2,
- href: `/${partnerId}/${programId}/payouts`,
- },
{
name: "Resources",
icon: ColorPalette2,