Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging #8

Merged
merged 2 commits into from
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 43 additions & 6 deletions client/app/auth/page.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,48 @@
import React from 'react'
import React from 'react';

const Auth = () => {
return (
<div>
<h4>This is the signin/signup page</h4>
<div className="flex justify-center w-full h-screen items-center">
<div className="w-[30rem] h-[35rem] border-2 border-blue-900 relative rounded-md">
<div className="w-[5rem] h-[5rem] bg-blue-900 rounded-br-full">
<div className="w-[10rem] h-[10rem] bg-yellow-300 absolute bottom-0 right-0 rounded-tl-full" />
</div>
)
}
<div className="text-center">
<p className="text-lg font-bold text-blue-900">
Sign up or sign in <br />to use chattie
</p>
</div>
<div className="flex flex-col items-center pt-8">
<button className="bg-red-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Sign Up With Google
</button>
<button className="bg-slate-300 hover:bg-blue-700 text-black font-bold py-2 px-4 rounded mt-2">
Sign Up with Facebook
</button>
</div>
<hr className="border-blue-900 w-3/5 ml-28 my-3" />
<div className="text-center mt-4">
<form>
<label htmlFor="email" className="block text-blue-900 font-bold">Email Address</label>
<input type="email" id="email" name="email" className="border-2 border-blue-900 rounded-md py-2 px-4 mt-1 w-72 focus:outline-none" required />
<label htmlFor="passkey" className="block text-blue-900 font-bold mt-4">Passkey</label>
<input type="password" id="passkey" name="passkey" className="border-2 border-blue-900 rounded-md py-2 px-4 mt-1 w-72 focus:outline-none" required />
<br />
<button type="submit" className="bg-blue-900 hover:bg-blue-500 text-white font-bold py-2 px-4 mt-4 rounded w-64">
Sign Up
</button>
</form>
<div className="text-center">
<p className="text-sm mt-3">
By signing up, you agree to with <br />
our <span className="text-blue-500">terms and conditions</span>
</p>
</div>
</div>
</div>
</div>

);
};

export default Auth
export default Auth;
Loading