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.

714 B
Raw Blame
import { PageContent } from "@/ui/layout/page-content";
import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";
import { ReactNode } from "react";
import { DomainsHeader } from "./header";

export default function DomainsLayout({ children }: { children: ReactNode }) {
  return (
    <PageContent
      title="Domains"
      titleInfo={{
        title:
          "Learn more about how to add, configure, and verify custom domains on Dub.",
        href: "https://dub.co/help/article/how-to-add-custom-domain",
      }}
    >
      <PageWidthWrapper>
        <div className="grid gap-4">
          <DomainsHeader />
          {children}
        </div>
      </PageWidthWrapper>
    </PageContent>
  );
}