From fcd8435e1efb84ebf8ab636a3a345d870ec6102a Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 29 Jul 2024 06:45:55 +0100 Subject: [PATCH] Fix: adjust buttons and input fields heights and set max-width of form container --- src/app/(auth-routes)/register/page.tsx | 308 ++++++++++++------------ src/components/ui/input.tsx | 2 +- 2 files changed, 159 insertions(+), 151 deletions(-) diff --git a/src/app/(auth-routes)/register/page.tsx b/src/app/(auth-routes)/register/page.tsx index 2f00c4e36..60b6fdee8 100644 --- a/src/app/(auth-routes)/register/page.tsx +++ b/src/app/(auth-routes)/register/page.tsx @@ -58,161 +58,169 @@ const SignUp = () => { }; return ( -
-
-

Sign Up

-

- Create an account to get started with us. -

-
-
- - -
-
-
- { - event.preventDefault(); - handleSubmit(); - }} - > - ( - -
- Fullname - - - - -
-
- )} +
+
+
+

Sign Up

+

+ Create an account to get started with us. +

+
+
+ + - - +
+
+ + { + event.preventDefault(); + handleSubmit(); + }} + > + ( + +
+ Fullname + + + + +
+
+ )} + /> + ( + +
+ Email + + + + +
+
+ )} + /> + ( + +
+ Password + + + + +
+
+ )} + /> + -
-

- Would you rather use email and password? + Create Account + + + + + Sign Up + +

+

+ Choose your sign-up method: +

+
    +
  • + Use the temporary sign-in code sent to your mail or +
  • +
  • Continue with email and password
  • +
+
+

+ Please paste (or type) your 6-digit code:{" "}

-

- Continue with email and password + + {...[0, 1, 2, 3, 4, 5].map((number_) => ( + + + + ))} + + +

+

+ Would you rather use email and password? +

+

+ Continue with email and password +

+
+

+ We would process your data as set forth in our Terms of Use, + Privacy Policy and Data Processing Agreement

-
-

- We would process your data as set forth in our Terms of Use, - Privacy Policy and Data Processing Agreement -

- - -
-

Already Have An Account?

- - Login - -
- - + + +
+

Already Have An Account?

+ + Login + +
+ + +
); diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx index f9ee190a6..4c9e1e675 100644 --- a/src/components/ui/input.tsx +++ b/src/components/ui/input.tsx @@ -11,7 +11,7 @@ const Input = React.forwardRef(