From 8457823d8ee63829a41f0232d6fba3f19b7dd321 Mon Sep 17 00:00:00 2001 From: Mythie Date: Fri, 21 Apr 2023 22:18:29 +1000 Subject: [PATCH] fix: improve sign in and sign up pages --- apps/web/components/login.tsx | 6 +++--- apps/web/components/signup.tsx | 2 +- packages/ui/components/button/Button.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/web/components/login.tsx b/apps/web/components/login.tsx index 4bbb784a1..bd968ddc6 100644 --- a/apps/web/components/login.tsx +++ b/apps/web/components/login.tsx @@ -111,7 +111,7 @@ export default function Login(props: any) {
- + Forgot your password?
@@ -123,7 +123,7 @@ export default function Login(props: any) { className="group relative flex w-full"> @@ -141,7 +141,7 @@ export default function Login(props: any) { {props.allowSignup ? (

Are you new here?{" "} - + Create a new Account

diff --git a/apps/web/components/signup.tsx b/apps/web/components/signup.tsx index d7b27ba7b..8092c0198 100644 --- a/apps/web/components/signup.tsx +++ b/apps/web/components/signup.tsx @@ -187,7 +187,7 @@ export default function Signup(props: { source: string }) {

Already have an account?{" "} - + Sign In

diff --git a/packages/ui/components/button/Button.tsx b/packages/ui/components/button/Button.tsx index 29bcf9183..2d2502833 100644 --- a/packages/ui/components/button/Button.tsx +++ b/packages/ui/components/button/Button.tsx @@ -6,7 +6,7 @@ export function Button(props: any) { const isLink = typeof props.href !== "undefined" && !props.disabled; const { color = "primary", icon, disabled, onClick } = props; const baseStyles = - "inline-flex gap-x-2 items-center justify-center min-w-[80px] rounded-md border border-transparent px-4 py-2 text-sm font-medium shadow-sm disabled:bg-gray-300"; + "inline-flex gap-x-2 items-center justify-center min-w-[80px] rounded-md border border-transparent px-4 py-2 text-sm font-medium shadow-sm disabled:bg-gray-300 duration-200"; const primaryStyles = "text-gray-900 bg-neon hover:bg-neon-dark"; const secondaryStyles = "border-gray-300 bg-white text-gray-700 hover:bg-gray-50";