-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Separated Login & Registed into two separate files - Initail Vercel Deployment starts from here
- Loading branch information
1 parent
cecb002
commit 1fc0295
Showing
6 changed files
with
62 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import Link from "next/link"; | ||
import { Icons } from "../Icons"; | ||
import UserAuthentication from "../UserAuthentication"; | ||
|
||
export default function SignIn() { | ||
return ( | ||
<div className="container mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[400px]"> | ||
<div className="flex flex-col space-y-2 text-center"> | ||
<Icons.logo className="mx-auto h-24 w-24" /> | ||
<h1 className="text-2xl font-semibold tracking-tight">Welcome back</h1> | ||
<p className="text-sm max-w-xs mx-auto"> | ||
By continuing, you are setting up a Crypt anonyumous account and agree | ||
to our User Agreement and Privacy Policy. | ||
</p> | ||
</div> | ||
<UserAuthentication /> | ||
<p className="px-8 text-center text-sm text-muted-foreground"> | ||
New to Crypt?{" "} | ||
<Link | ||
href="/register" | ||
className="hover:text-brand text-sm underline underline-offset-4" | ||
> | ||
Sign Up | ||
</Link> | ||
</p> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import Link from "next/link"; | ||
import { Icons } from "../Icons"; | ||
import UserAuthentication from "../UserAuthentication"; | ||
|
||
export default function SignUp() { | ||
return ( | ||
<div className="container mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[400px]"> | ||
<div className="flex flex-col space-y-2 text-center"> | ||
<Icons.logo className="mx-auto h-24 w-24" /> | ||
<h1 className="text-2xl font-semibold tracking-tight"> | ||
Create your Account | ||
</h1> | ||
<p className="text-sm max-w-xs mx-auto"> | ||
By continuing, you are setting up a Crypt anonymous account and agree | ||
to our User Agreement and Privacy Policy. | ||
</p> | ||
</div> | ||
<UserAuthentication /> | ||
<p className="px-8 text-center text-sm text-muted-foreground"> | ||
Already a Crypt User?{" "} | ||
<Link | ||
href="/login" | ||
className="hover:text-brand text-sm underline underline-offset-4" | ||
> | ||
Login | ||
</Link> | ||
</p> | ||
</div> | ||
); | ||
} |