From 2a1271cbd47b3cccb188721d70def8db0df360c8 Mon Sep 17 00:00:00 2001 From: Web Spinner Bot Date: Sun, 17 Dec 2023 23:04:09 +0000 Subject: [PATCH] Create page: Sign Up --- src/app/auth/login/page.tsx | 18 ++++++++++++++++++ src/components/CreateAccountLink.tsx | 14 ++++++++++++++ src/components/GoogleSignInButton.tsx | 15 +++++++++++++++ src/components/SignInForm.tsx | 24 ++++++++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 src/app/auth/login/page.tsx create mode 100644 src/components/CreateAccountLink.tsx create mode 100644 src/components/GoogleSignInButton.tsx create mode 100644 src/components/SignInForm.tsx diff --git a/src/app/auth/login/page.tsx b/src/app/auth/login/page.tsx new file mode 100644 index 0000000..59eee2e --- /dev/null +++ b/src/app/auth/login/page.tsx @@ -0,0 +1,18 @@ +import { FunctionComponent } from 'react'; +import SignInForm from '@/components/SignInForm'; +import GoogleSignInButton from '@/components/GoogleSignInButton'; +import CreateAccountLink from '@/components/CreateAccountLink'; + +const LoginPage: FunctionComponent = () => { + return ( +
+
+ + + +
+
+ ); +}; + +export default LoginPage; diff --git a/src/components/CreateAccountLink.tsx b/src/components/CreateAccountLink.tsx new file mode 100644 index 0000000..5d4a394 --- /dev/null +++ b/src/components/CreateAccountLink.tsx @@ -0,0 +1,14 @@ +import { FunctionComponent } from 'react'; +import Link from 'next/link'; + +const CreateAccountLink: FunctionComponent = () => { + return ( + + + Create an account + + + ); +}; + +export default CreateAccountLink; diff --git a/src/components/GoogleSignInButton.tsx b/src/components/GoogleSignInButton.tsx new file mode 100644 index 0000000..f827cd7 --- /dev/null +++ b/src/components/GoogleSignInButton.tsx @@ -0,0 +1,15 @@ +import { FunctionComponent } from 'react'; +import '@/styles/GoogleSignInButton.css'; + +const GoogleSignInButton: FunctionComponent = () => { + return ( + + ); +}; + +export default GoogleSignInButton; diff --git a/src/components/SignInForm.tsx b/src/components/SignInForm.tsx new file mode 100644 index 0000000..2623577 --- /dev/null +++ b/src/components/SignInForm.tsx @@ -0,0 +1,24 @@ +import { FunctionComponent } from 'react'; +import Label from '@/components/ui/label'; +import Input from '@/components/ui/input'; +import Button from '@/components/ui/button'; + +const SignInForm: FunctionComponent = () => { + return ( +
+
+
+
+
+
+
+
+ ); +}; + +export default SignInForm;