The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Remove branding from sidebar
Tim Wilsonec1119242475
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/branding/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/branding/page-client.tsxdeleted file mode 100644index eef9d44388..0000000000--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/branding/page-client.tsx+++ /dev/null@@ -1,25 +0,0 @@-"use client";--import { AnimatedEmptyState } from "@/ui/shared/animated-empty-state";-import { Palette2, Photo, Post } from "@dub/ui/icons";--const emptyStateIcons = [Post, Palette2, Photo];--export function ProgramBrandingPageClient() {- return (- <AnimatedEmptyState- title="Branding"- description="Customize graphics, colors, and more to fit your brand"- cardContent={(idx) => {- const Icon = emptyStateIcons[idx % emptyStateIcons.length];- return (- <>- <Icon className="size-4 text-neutral-700" />- <div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />- </>- );- }}- pillContent="Coming soon"- />- );-}diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/branding/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/branding/page.tsxdeleted file mode 100644index acc7670555..0000000000--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/branding/page.tsx+++ /dev/null@@ -1,13 +0,0 @@-import { PageContent } from "@/ui/layout/page-content";-import { MaxWidthWrapper } from "@dub/ui";-import { ProgramBrandingPageClient } from "./page-client";--export default function ProgramBranding() {- return (- <PageContent title="Branding">- <MaxWidthWrapper>- <ProgramBrandingPageClient />- </MaxWidthWrapper>- </PageContent>- );-}diff --git a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsxindex 702ce521ee..e0fd5d8a04 100644--- a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx+++ b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx@@ -95,10 +95,6 @@ const NAV_AREAS: SidebarNavAreas<{name: "Payouts",href: `/${slug}/programs/${programs[0].id}/payouts`,},- {- name: "Branding",- href: `/${slug}/programs/${programs[0].id}/branding`,- },{name: "Resources",href: `/${slug}/programs/${programs[0].id}/resources`,