From 7864671f72e3b244c34cf1a860941fdd8e85524d Mon Sep 17 00:00:00 2001 From: John Doe Date: Mon, 11 Sep 2023 17:45:21 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Refactored=20signup=20page=20com?= =?UTF-8?q?ponent.=20=E2=9C=A8=20Added=20social=20login=20options.=20?= =?UTF-8?q?=F0=9F=9A=80=20Improved=20user=20interface.=20=F0=9F=94=A7=20Fi?= =?UTF-8?q?xed=20minor=20bugs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/signup/page.tsx | 97 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 src/app/signup/page.tsx diff --git a/src/app/signup/page.tsx b/src/app/signup/page.tsx new file mode 100644 index 0000000..f4606db --- /dev/null +++ b/src/app/signup/page.tsx @@ -0,0 +1,97 @@ +import React, { FC } from "react"; +import facebookSvg from "@/images/Facebook.svg"; +import twitterSvg from "@/images/Twitter.svg"; +import googleSvg from "@/images/Google.svg"; +import Input from "@/shared/Input"; +import ButtonPrimary from "@/shared/ButtonPrimary"; +import Image from "next/image"; +import Link from "next/link"; + +export interface PageSignUpProps {} + +const loginSocials = [ + { + name: "Continue with Facebook", + href: "#", + icon: facebookSvg, + }, + { + name: "Continue with Twitter", + href: "#", + icon: twitterSvg, + }, + { + name: "Continue with Google", + href: "#", + icon: googleSvg, + }, +]; + +const PageSignUp: FC = ({}) => { + return ( +
+
+

+ Signup +

+
+
+ {loginSocials.map((item, index) => ( + + {item.name} +

+ {item.name} +

+
+ ))} +
+ {/* OR */} +
+ + OR + +
+
+ {/* FORM */} +
+ + + Continue +
+ + {/* ==== */} + + Already have an account? {` `} + + Sign in + + +
+
+
+ ); +}; + +export default PageSignUp;