Skip to content

Commit

Permalink
Merge branch 'main' into improve-server-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Nov 20, 2024
2 parents 637d74e + 0953c30 commit 8574030
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { MaxWidthWrapper } from "@dub/ui";

export default function PartnerSettingsLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<MaxWidthWrapper className="grid gap-5 py-8">{children}</MaxWidthWrapper>
);
}
5 changes: 2 additions & 3 deletions apps/web/app/partners.dub.co/(dashboard)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import { MainNav } from "@/ui/layout/main-nav";
import { HelpButtonRSC } from "@/ui/layout/sidebar/help-button-rsc";
import { PartnersSidebarNav } from "@/ui/layout/sidebar/partners-sidebar-nav";
import { MaxWidthWrapper } from "@dub/ui";

export default function DashboardLayout({
export default function PartnerDashboardLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<MainNav toolContent={<HelpButtonRSC />} sidebar={PartnersSidebarNav}>
<MaxWidthWrapper className="grid gap-5 py-8">{children}</MaxWidthWrapper>
{children}
</MainNav>
);
}

0 comments on commit 8574030

Please sign in to comment.