From bf3747cd7b05d9dc8f598b942df070820ed5de71 Mon Sep 17 00:00:00 2001
From: Mythie
Date: Thu, 26 Oct 2023 16:40:25 +1100
Subject: [PATCH] fix: change sign in links
---
apps/marketing/src/app/(marketing)/claimed/page.tsx | 2 +-
apps/marketing/src/components/(marketing)/header.tsx | 2 +-
apps/marketing/src/components/(marketing)/mobile-navigation.tsx | 2 +-
apps/marketing/src/pages/api/claim-plan/index.ts | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/apps/marketing/src/app/(marketing)/claimed/page.tsx b/apps/marketing/src/app/(marketing)/claimed/page.tsx
index f709e46e7..931045bd2 100644
--- a/apps/marketing/src/app/(marketing)/claimed/page.tsx
+++ b/apps/marketing/src/app/(marketing)/claimed/page.tsx
@@ -176,7 +176,7 @@ export default async function ClaimedPlanPage({ searchParams = {} }: ClaimedPlan
diff --git a/apps/marketing/src/components/(marketing)/header.tsx b/apps/marketing/src/components/(marketing)/header.tsx
index e73e3af83..194c67c0f 100644
--- a/apps/marketing/src/components/(marketing)/header.tsx
+++ b/apps/marketing/src/components/(marketing)/header.tsx
@@ -66,7 +66,7 @@ export const Header = ({ className, ...props }: HeaderProps) => {
diff --git a/apps/marketing/src/components/(marketing)/mobile-navigation.tsx b/apps/marketing/src/components/(marketing)/mobile-navigation.tsx
index 6096556a6..1b7ac56de 100644
--- a/apps/marketing/src/components/(marketing)/mobile-navigation.tsx
+++ b/apps/marketing/src/components/(marketing)/mobile-navigation.tsx
@@ -46,7 +46,7 @@ export const MENU_NAVIGATION_LINKS = [
text: 'Privacy',
},
{
- href: 'https://app.documenso.com/login',
+ href: 'https://app.documenso.com/signin',
text: 'Sign in',
},
];
diff --git a/apps/marketing/src/pages/api/claim-plan/index.ts b/apps/marketing/src/pages/api/claim-plan/index.ts
index b2fd41727..57597001e 100644
--- a/apps/marketing/src/pages/api/claim-plan/index.ts
+++ b/apps/marketing/src/pages/api/claim-plan/index.ts
@@ -40,7 +40,7 @@ export default async function handler(
if (user) {
return res.status(200).json({
- redirectUrl: `${process.env.NEXT_PUBLIC_WEBAPP_URL}/login`,
+ redirectUrl: `${process.env.NEXT_PUBLIC_WEBAPP_URL}/signin`,
});
}