From dd83d4607c417588ceb7903fef12134409fddd3e Mon Sep 17 00:00:00 2001 From: Doug Andrade Date: Sun, 11 Jun 2023 12:26:47 -0400 Subject: [PATCH] fix: dark mode on signup and signin pages --- .../src/app/(unauthenticated)/signin/page.tsx | 12 +++++++--- .../src/app/(unauthenticated)/signup/page.tsx | 10 +++++--- apps/web/src/components/forms/signin.tsx | 19 +++++++++------ apps/web/src/components/forms/signup.tsx | 23 +++++++++++-------- 4 files changed, 42 insertions(+), 22 deletions(-) diff --git a/apps/web/src/app/(unauthenticated)/signin/page.tsx b/apps/web/src/app/(unauthenticated)/signin/page.tsx index a3275d0b5..800ff9b9a 100644 --- a/apps/web/src/app/(unauthenticated)/signin/page.tsx +++ b/apps/web/src/app/(unauthenticated)/signin/page.tsx @@ -10,17 +10,23 @@ export default function SignInPage() {
- background pattern + background pattern

Sign in to your account

-

Welcome back, we are lucky to have you.

+

+ Welcome back, we are lucky to have you. +

-

+

Don't have an account?{' '} Sign up diff --git a/apps/web/src/app/(unauthenticated)/signup/page.tsx b/apps/web/src/app/(unauthenticated)/signup/page.tsx index 58bddea1a..b398e6990 100644 --- a/apps/web/src/app/(unauthenticated)/signup/page.tsx +++ b/apps/web/src/app/(unauthenticated)/signup/page.tsx @@ -10,20 +10,24 @@ export default function SignUpPage() {

- background pattern + background pattern

Create a shiny, new Documenso Account ✨

-

+

Create your account and start using state-of-the-art document signing. Open and beautiful signing is within your grasp.

-

+

Already have an account?{' '} Sign in instead diff --git a/apps/web/src/components/forms/signin.tsx b/apps/web/src/components/forms/signin.tsx index 57600d143..be1991e95 100644 --- a/apps/web/src/components/forms/signin.tsx +++ b/apps/web/src/components/forms/signin.tsx @@ -86,7 +86,7 @@ export const SignInForm = ({ className }: SignInFormProps) => { Email - + {errors.email && {errors.email.message}}

@@ -96,29 +96,34 @@ export const SignInForm = ({ className }: SignInFormProps) => { Password - + {errors.password && ( {errors.password.message} )}
-
-
- Or continue with -
+
+ Or continue with +