The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Page layout fixes
Tim Wilson5235c095cfe2
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/marketplace/page.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/marketplace/page.tsxindex 1b0a9b3486..02f4534131 100644--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/marketplace/page.tsx+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/marketplace/page.tsx@@ -1,12 +1,12 @@import { PageContent } from "@/ui/layout/page-content";+import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";import { AnimatedEmptyState } from "@/ui/shared/animated-empty-state";-import { MaxWidthWrapper } from "@dub/ui";import { Folder, Globe } from "@dub/ui/icons";export default function MarketplacePage() {return (<PageContent title="Marketplace">- <MaxWidthWrapper>+ <PageWidthWrapper className="pb-10"><AnimatedEmptyStatetitle="Marketplace"description="Explore and discover other partnerships with companies and products."@@ -21,7 +21,7 @@ export default function MarketplacePage() {}pillContent="Coming soon"/>- </MaxWidthWrapper>+ </PageWidthWrapper></PageContent>);}diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/page-client.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/page-client.tsxindex 08eb0802d0..154fdb8068 100644--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/page-client.tsx+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/page-client.tsx@@ -1,10 +1,10 @@"use client";import useProgramEnrollments from "@/lib/swr/use-program-enrollments";+import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";import { ProgramCard, ProgramCardSkeleton } from "@/ui/partners/program-card";import { ProgramInviteCard } from "@/ui/partners/program-invite-card";import { AnimatedEmptyState } from "@/ui/shared/animated-empty-state";-import { MaxWidthWrapper } from "@dub/ui";import { CircleDollar, GridIcon } from "@dub/ui/icons";export function PartnersDashboardPageClient() {@@ -21,7 +21,7 @@ export function PartnersDashboardPageClient() {);return (- <MaxWidthWrapper>+ <PageWidthWrapper className="pb-10">{programEnrollments?.length == 0 ? (<AnimatedEmptyStatetitle="No programs found"@@ -59,6 +59,6 @@ export function PartnersDashboardPageClient() {)}</div>)}- </MaxWidthWrapper>+ </PageWidthWrapper>);}diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/settings/page-client.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/settings/page-client.tsxindex 4d8de20cfa..578c2a0ca9 100644--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/settings/page-client.tsx+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/settings/page-client.tsx@@ -4,6 +4,7 @@ import { updatePartnerProfileAction } from "@/lib/actions/partners/update-partneimport usePartnerPayoutsCount from "@/lib/swr/use-partner-payouts-count";import usePartnerProfile from "@/lib/swr/use-partner-profile";import { PartnerProps, PayoutsCount } from "@/lib/types";+import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";import { CountryCombobox } from "@/ui/partners/country-combobox";import { OnlinePresenceForm } from "@/ui/partners/online-presence-form";import {@@ -11,7 +12,6 @@ import {buttonVariants,FileUpload,LoadingSpinner,- MaxWidthWrapper,ToggleGroup,useEnterSubmit,} from "@dub/ui";@@ -28,7 +28,7 @@ export function ProfileSettingsPageClient() {const { partner, error } = usePartnerProfile();return (- <MaxWidthWrapper className="mb-20 flex flex-col gap-8">+ <PageWidthWrapper className="mb-20 flex flex-col gap-8"><div className="max-w-screen-md rounded-lg border border-neutral-200 bg-white"><div className="border-b border-neutral-200 p-6"><div className="flex items-center gap-2">@@ -83,7 +83,7 @@ export function ProfileSettingsPageClient() {</div>)}</div>- </MaxWidthWrapper>+ </PageWidthWrapper>);}