Skip to content

Commit 0b77595

Browse files
committed
update partners.dub.co metatags
1 parent 209c5a4 commit 0b77595

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

apps/web/app/(ee)/partners.dub.co/(auth-login-register)/(generic)/layout.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ export async function generateMetadata(props: {
3636
}
3737

3838
return constructMetadata({
39-
fullTitle: "Dub Partners | Earn by partnering with world-class companies",
40-
description:
41-
"Join thousands of partners who have earned over $10,000,000 on Dub partnering with world-class companies.",
39+
description: "Earn commissions by partnering with world-class companies.",
4240
});
4341
}
4442

apps/web/app/(ee)/partners.dub.co/(auth-login-register)/(generic)/login/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ import { AuthAlternativeBanner } from "@/ui/auth/auth-alternative-banner";
33
import { FramerButton } from "@/ui/auth/login/framer-button";
44
import LoginForm from "@/ui/auth/login/login-form";
55
import { AuthLayout } from "@/ui/layout/auth-layout";
6-
import { cn } from "@dub/utils";
6+
import { cn, constructMetadata } from "@dub/utils";
77
import Link from "next/link";
88
import { redirect } from "next/navigation";
99

10+
export const metadata = constructMetadata({
11+
fullTitle: "Login to partners.dub.co",
12+
});
13+
1014
export default async function LoginPage(props: {
1115
params: Promise<{ programSlug?: string }>;
1216
}) {

apps/web/app/(ee)/partners.dub.co/(auth-login-register)/(generic)/register/page.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
import { getProgram } from "@/lib/fetchers/get-program";
22
import { prisma } from "@dub/prisma";
3+
import { constructMetadata } from "@dub/utils";
34
import { cookies } from "next/headers";
45
import { redirect } from "next/navigation";
56
import RegisterPageClient from "./page-client";
67

8+
export const metadata = constructMetadata({
9+
fullTitle: "Create your partners.dub.co account",
10+
});
11+
712
export default async function RegisterPage(props: {
813
params: Promise<{ programSlug?: string }>;
914
}) {

0 commit comments

Comments
 (0)