feat: sign in page

This commit is contained in:
Dex404 2024-04-19 12:07:24 +00:00
parent bb8bf01e33
commit 66b99099b3
10 changed files with 379 additions and 100 deletions

32
app/auth/SignUp/page.tsx Normal file
View file

@ -0,0 +1,32 @@
import React, { useState } from "react"
const SignUpPage: React.FC = () => {
const [email, setEmail] = useState("")
const [password, setPassword] = useState("")
const handleSignUp = () => {
// Implement your sign-up logic here
console.log("Sign up button clicked")
console.log("Email:", email)
console.log("Password:", password)
}
return (
<div>
<h1>Sign Up</h1>
<form>
<label>Email:</label>
<input type="email" value={email} onChange={(e) => setEmail(e.target.value)} />
<br />
<label>Password:</label>
<input type="password" value={password} onChange={(e) => setPassword(e.target.value)} />
<br />
<button type="button" onClick={handleSignUp}>
Sign Up
</button>
</form>
</div>
)
}
export default SignUpPage