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.

small tweaks

Steven Teyd2e0fef9bcbe
diff --git a/apps/web/app/(ee)/partners.dub.co/(auth)/(default)/layout.tsx b/apps/web/app/(ee)/partners.dub.co/(auth)/(default)/layout.tsx
index 8b68102898..7823f85594 100644
--- a/apps/web/app/(ee)/partners.dub.co/(auth)/(default)/layout.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(auth)/(default)/layout.tsx
@@ -1,6 +1,5 @@
import { Grid, Wordmark } from "@dub/ui";
import { cn } from "@dub/utils";
-import Link from "next/link";
export default function PartnerAuthLayout({
children,
@@ -46,13 +45,14 @@ export default function PartnerAuthLayout({
))}
</div>
<div className="relative flex min-h-screen w-full justify-center">
- <Link
+ <a
href="https://dub.co/partners"
+ target="_blank"
className="absolute left-1/2 top-4 z-10 flex -translate-x-1/2 flex-col items-center"
>
<Wordmark className="h-8" />
<span className="text-sm font-medium text-neutral-700">Partners</span>
- </Link>
+ </a>
{children}
</div>
</>
diff --git a/apps/web/app/(ee)/partners.dub.co/(auth)/(default)/register/page-client.tsx b/apps/web/app/(ee)/partners.dub.co/(auth)/(default)/register/page-client.tsx
index 3269afe142..06e04bbfec 100644
--- a/apps/web/app/(ee)/partners.dub.co/(auth)/(default)/register/page-client.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(auth)/(default)/register/page-client.tsx
@@ -54,7 +54,7 @@ function SignUp({ program }: { program?: PartialProgram }) {
<div className="mt-12 w-full">
<AuthAlternativeBanner
- text="Looking for a Dub workspace account?"
+ text="Looking for your Dub workspace account?"
cta="Sign up at app.dub.co"
href="https://app.dub.co/register"
/>
diff --git a/apps/web/app/app.dub.co/(auth)/layout.tsx b/apps/web/app/app.dub.co/(auth)/layout.tsx
index 3bd5f468a2..96fe6df87b 100644
--- a/apps/web/app/app.dub.co/(auth)/layout.tsx
+++ b/apps/web/app/app.dub.co/(auth)/layout.tsx
@@ -1,7 +1,6 @@
import Toolbar from "@/ui/layout/toolbar/toolbar";
import { Grid, Wordmark } from "@dub/ui";
import { cn } from "@dub/utils";
-import Link from "next/link";
import { ReactNode } from "react";
export default function AuthLayout({ children }: { children: ReactNode }) {
@@ -47,12 +46,13 @@ export default function AuthLayout({ children }: { children: ReactNode }) {
</div>
<div className="relative flex min-h-screen w-full justify-center">
- <Link
- href="/"
+ <a
+ href="https://dub.co"
+ target="_blank"
className="absolute left-1/2 top-4 z-10 -translate-x-1/2"
>
<Wordmark className="h-8" />
- </Link>
+ </a>
{children}
</div>
</>
diff --git a/apps/web/app/app.dub.co/(auth)/login/page.tsx b/apps/web/app/app.dub.co/(auth)/login/page.tsx
index 9ada9fe834..8b8c92ae3a 100644
--- a/apps/web/app/app.dub.co/(auth)/login/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/login/page.tsx
@@ -31,7 +31,7 @@ export default function LoginPage() {
<div className="mt-12 w-full">
<AuthAlternativeBanner
- text="Looking for your Dub Partner account?"
+ text="Looking for your Dub partner account?"
cta="Log in at partners.dub.co"
href="https://partners.dub.co/login"
/>
diff --git a/apps/web/app/app.dub.co/(auth)/register/page-client.tsx b/apps/web/app/app.dub.co/(auth)/register/page-client.tsx
index 55d66040b3..28d3b4c0ff 100644
--- a/apps/web/app/app.dub.co/(auth)/register/page-client.tsx
+++ b/apps/web/app/app.dub.co/(auth)/register/page-client.tsx
@@ -40,7 +40,7 @@ function SignUp() {
<div className="mt-12 w-full">
<AuthAlternativeBanner
- text="Looking for a Dub Partner account?"
+ text="Looking for your Dub partner account?"
cta="Sign up at partners.dub.co"
href="https://partners.dub.co/register"
/>
diff --git a/apps/web/ui/auth/auth-alternative-banner.tsx b/apps/web/ui/auth/auth-alternative-banner.tsx
index 86ae8fbb23..f6029324b7 100644
--- a/apps/web/ui/auth/auth-alternative-banner.tsx
+++ b/apps/web/ui/auth/auth-alternative-banner.tsx
@@ -1,19 +1,6 @@
import { DotsPattern } from "@dub/ui";
import Link from "next/link";
-const variants = {
- login: {
- text: "Looking for your Dub Partner account?",
- cta: "Log in at partners.dub.co",
- href: "https://partners.dub.co/login",
- },
- register: {
- text: "Looking for a Dub Partner account?",
- cta: "Sign up at partners.dub.co",
- href: "https://partners.dub.co/register",
- },
-};
-
export function AuthAlternativeBanner({
text,
cta,