The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
separate layouts for onboarding and auth
Steven Teyf44df9095818
diff --git a/apps/web/app/partners.dub.co/(onboarding)/(auth)/auth/reset-password/[token]/page.tsx b/apps/web/app/partners.dub.co/(auth)/auth/reset-password/[token]/page.tsxsimilarity index 100%rename from apps/web/app/partners.dub.co/(onboarding)/(auth)/auth/reset-password/[token]/page.tsxrename to apps/web/app/partners.dub.co/(auth)/auth/reset-password/[token]/page.tsxdiff --git a/apps/web/app/partners.dub.co/(onboarding)/(auth)/forgot-password/page.tsx b/apps/web/app/partners.dub.co/(auth)/forgot-password/page.tsxsimilarity index 100%rename from apps/web/app/partners.dub.co/(onboarding)/(auth)/forgot-password/page.tsxrename to apps/web/app/partners.dub.co/(auth)/forgot-password/page.tsxdiff --git a/apps/web/app/partners.dub.co/(auth)/layout.tsx b/apps/web/app/partners.dub.co/(auth)/layout.tsxnew file mode 100644index 0000000000..04ae4865af--- /dev/null+++ b/apps/web/app/partners.dub.co/(auth)/layout.tsx@@ -0,0 +1,53 @@+import { Grid, Wordmark } from "@dub/ui";++export default function PartnerAuthLayout({+ children,+}: {+ children: React.ReactNode;+}) {+ return (+ <div className="flex min-h-screen flex-col">+ <div className="fixed inset-0 [mask-image:radial-gradient(60%_60%_at_50%_0%,black,transparent)]">+ <Grid className="text-neutral-200" />+ <div className="absolute inset-0 -translate-y-1/2 -scale-x-100 bg-[conic-gradient(from_-32deg,#f00_0deg,#EAB308_99deg,#5CFF80_162deg,#00FFF9_216deg,#3A8BFD_288deg,#855AFC_360deg)] opacity-25 blur-[200px]" />+ </div>+ <div className="relative z-10 mt-10 flex w-full flex-col items-center justify-center px-3 text-center md:px-8">+ <div className="animate-slide-up-fade relative flex w-auto flex-col items-center [--offset:10px] [animation-duration:1.3s] [animation-fill-mode:both]">+ <Wordmark className="relative h-10" />+ <span className="text-sm font-medium text-neutral-700">Partner</span>+ </div>+ {children}+ </div>+ <div className="flex grow flex-col justify-end">+ <div className="relative flex w-full flex-col items-center justify-center gap-2 py-10 pb-6">+ <p className="text-xs text-gray-600">+ © {new Date().getFullYear()} Dub Technologies, Inc.+ </p>+ <div className="flex gap-3 text-center text-xs text-gray-500 underline underline-offset-2">+ <a+ href="https://dub.co/legal/privacy"+ target="_blank"+ className="hover:text-gray-800"+ >+ Privacy Policy+ </a>+ <a+ href="https://dub.co/legal/terms"+ target="_blank"+ className="hover:text-gray-800"+ >+ Terms of Service+ </a>+ <a+ href="https://app.dub.co"+ target="_blank"+ className="hover:text-gray-800"+ >+ app.dub.co+ </a>+ </div>+ </div>+ </div>+ </div>+ );+}diff --git a/apps/web/app/partners.dub.co/(onboarding)/(auth)/login/page.tsx b/apps/web/app/partners.dub.co/(auth)/login/page.tsxsimilarity index 100%rename from apps/web/app/partners.dub.co/(onboarding)/(auth)/login/page.tsxrename to apps/web/app/partners.dub.co/(auth)/login/page.tsxdiff --git a/apps/web/app/partners.dub.co/(onboarding)/(auth)/register/page-client.tsx b/apps/web/app/partners.dub.co/(auth)/register/page-client.tsxsimilarity index 100%rename from apps/web/app/partners.dub.co/(onboarding)/(auth)/register/page-client.tsxrename to apps/web/app/partners.dub.co/(auth)/register/page-client.tsxdiff --git a/apps/web/app/partners.dub.co/(onboarding)/(auth)/register/page.tsx b/apps/web/app/partners.dub.co/(auth)/register/page.tsxsimilarity index 100%rename from apps/web/app/partners.dub.co/(onboarding)/(auth)/register/page.tsxrename to apps/web/app/partners.dub.co/(auth)/register/page.tsxdiff --git a/apps/web/app/partners.dub.co/(onboarding)/layout.tsx b/apps/web/app/partners.dub.co/(onboarding)/layout.tsxindex 7be5c9f56d..86ea77e84f 100644--- a/apps/web/app/partners.dub.co/(onboarding)/layout.tsx+++ b/apps/web/app/partners.dub.co/(onboarding)/layout.tsx@@ -1,6 +1,6 @@import { Grid, Wordmark } from "@dub/ui";-export default function AdminAuthLayout({+export default function PartnerOnboardingLayout({children,}: {children: React.ReactNode;@@ -18,36 +18,6 @@ export default function AdminAuthLayout({</div>{children}</div>- <div className="flex grow flex-col justify-end">- <div className="relative flex w-full flex-col items-center justify-center gap-2 py-10 pb-6">- <p className="text-xs text-gray-600">- © {new Date().getFullYear()} Dub Technologies, Inc.- </p>- <div className="flex gap-3 text-center text-xs text-gray-500 underline underline-offset-2">- <a- href="https://dub.co/legal/privacy"- target="_blank"- className="hover:text-gray-800"- >- Privacy Policy- </a>- <a- href="https://dub.co/legal/terms"- target="_blank"- className="hover:text-gray-800"- >- Terms of Service- </a>- <a- href="https://app.dub.co"- target="_blank"- className="hover:text-gray-800"- >- app.dub.co- </a>- </div>- </div>- </div></div>);}