✨ create new signup page
This commit is contained in:
42
features/auth/ui/Signup.tsx
Normal file
42
features/auth/ui/Signup.tsx
Normal file
@ -0,0 +1,42 @@
|
||||
"use client";
|
||||
|
||||
import React from "react";
|
||||
import EmailInput from "./EmailInput";
|
||||
import { Divider, Link } from "@heroui/react";
|
||||
import { routes } from "@/shared/config/routes";
|
||||
import OAuthProviders from "./OAuthProviders";
|
||||
|
||||
const Signup = () => {
|
||||
return (
|
||||
<div className="pt-12 max-w-[480px] mx-auto">
|
||||
<div className="text-3xl text-center">Create an account</div>
|
||||
|
||||
{/* Email form */}
|
||||
<div className="mt-6 px-3">
|
||||
<EmailInput />
|
||||
</div>
|
||||
|
||||
{/* Sign up link */}
|
||||
<p className="text-center text-neutral-300 text-sm font-light mt-5">
|
||||
Already have an account?{" "}
|
||||
<Link className="text-sm font-medium" href={routes.login}>
|
||||
Log in
|
||||
</Link>
|
||||
</p>
|
||||
|
||||
{/* Divider between email form and third-party login options */}
|
||||
<div className="flex w-full items-center mt-6 px-10">
|
||||
<Divider className="flex-1" />
|
||||
<span className="px-2 text-neutral-500 text-sm">or</span>
|
||||
<Divider className="flex-1" />
|
||||
</div>
|
||||
|
||||
{/* Buttons for third-party login options */}
|
||||
<div className="mt-6 px-4">
|
||||
<OAuthProviders />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Signup;
|
||||
Reference in New Issue
Block a user