diff --git a/README.md b/README.md index c0ad457..9e4c784 100644 --- a/README.md +++ b/README.md @@ -260,17 +260,17 @@ We extend our heartfelt gratitude to all the amazing contributors who have made - - haseebzaki-07 + + jainaryan04
- Haseeb Zaki + Aryan Ramesh Jain
- - jainaryan04 + + haseebzaki-07
- Aryan Ramesh Jain + Haseeb Zaki
@@ -290,17 +290,17 @@ We extend our heartfelt gratitude to all the amazing contributors who have made - - tejasbenibagde + + itznayan
- Tejas Benibagde + Mahera Nayan
- - itznayan + + tejasbenibagde
- Mahera Nayan + Tejas Benibagde
@@ -362,19 +362,19 @@ We extend our heartfelt gratitude to all the amazing contributors who have made - - CoderFleet + + PavanTeja2005
- Rudransh Pratap Singh + PavanTeja2005
- - Jay-1409 + + sajalbatra
- Jay shah + Sajal Batra
@@ -385,6 +385,8 @@ We extend our heartfelt gratitude to all the amazing contributors who have made + + Jay-1409 Sourabh782
@@ -409,7 +411,7 @@ We extend our heartfelt gratitude to all the amazing contributors who have made
PavanTeja2005
- PavanTeja2005 + Jay shah
@@ -428,13 +430,6 @@ We extend our heartfelt gratitude to all the amazing contributors who have made Navneet Dadhich - - - AE-Hertz -
- Abhinandan -
- lade6501 @@ -442,13 +437,8 @@ We extend our heartfelt gratitude to all the amazing contributors who have made Vishal Lade - - - AnushkaChouhan25 -
- Anushka Chouhan -
- + + REHAN-18 @@ -492,6 +482,15 @@ We extend our heartfelt gratitude to all the amazing contributors who have made
Sushree Manaswini Biswal
+ + + + + + Sourabh782 +
+ Sourabh Singh Rawat +
@@ -537,6 +536,8 @@ We extend our heartfelt gratitude to all the amazing contributors who have made Ayush Yadav + + smog-root @@ -581,6 +582,8 @@ We extend our heartfelt gratitude to all the amazing contributors who have made Sapna Kul + + Nikhil0-3 @@ -611,13 +614,6 @@ We extend our heartfelt gratitude to all the amazing contributors who have made Jai Dhingra - - - IkkiOcean -
- Vivek Prakash -
- harjasae2001 diff --git a/frontend/src/assets/login-opt.png b/frontend/src/assets/login-opt.png new file mode 100644 index 0000000..544f899 Binary files /dev/null and b/frontend/src/assets/login-opt.png differ diff --git a/frontend/src/components/Pages/EmailVerify.jsx b/frontend/src/components/Pages/EmailVerify.jsx index 00a952a..8fe4525 100644 --- a/frontend/src/components/Pages/EmailVerify.jsx +++ b/frontend/src/components/Pages/EmailVerify.jsx @@ -1,5 +1,5 @@ import { Link, useNavigate } from 'react-router-dom'; -import photo from '../../assets/login.png'; +import photo from '../../assets/login-opt.png'; import React, { useState } from 'react'; import { message } from 'antd'; diff --git a/frontend/src/components/Pages/Login.jsx b/frontend/src/components/Pages/Login.jsx index 62c027c..be688f5 100644 --- a/frontend/src/components/Pages/Login.jsx +++ b/frontend/src/components/Pages/Login.jsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import photo from '../../assets/login.png'; +import photo from '../../assets/login-opt.png'; import { Link, useNavigate } from 'react-router-dom'; import { message } from 'antd'; import Cookies from 'js-cookie'; @@ -63,20 +63,21 @@ const Login = () => { }, []); return ( -
+
{/* Background Image */} login + {/* Login Form */}
-
+
Welcome, Log in to continue @@ -84,7 +85,7 @@ const Login = () => {
{
{ > @@ -152,7 +153,7 @@ const Login = () => { diff --git a/frontend/src/components/Pages/Signup.jsx b/frontend/src/components/Pages/Signup.jsx index 83b6cba..b599fe4 100644 --- a/frontend/src/components/Pages/Signup.jsx +++ b/frontend/src/components/Pages/Signup.jsx @@ -1,5 +1,5 @@ import { useState, useEffect } from 'react'; -import photo from '../../assets/login.png'; +import photo from '../../assets/login-opt.png'; import { useNavigate, Link } from 'react-router-dom'; import { FaEye } from 'react-icons/fa'; import { FaEyeSlash } from 'react-icons/fa6'; @@ -25,7 +25,7 @@ const Signup = () => { const handleSubmit = async (e) => { e.preventDefault(); setIsLoading(true); - + // Input validation if (!data.email || !data.password || !data.name) { setError('Please fill in all fields'); @@ -47,7 +47,7 @@ const Signup = () => { setIsLoading(false); return; } - + try { const response = await fetch(`${API_URL}/api/user/register`, { method: 'POST', @@ -55,16 +55,16 @@ const Signup = () => { body: JSON.stringify(data), }); const result = await response.json(); - + if (!response.ok) { setIsLoading(false); setError(result.error); return; } - + alert('OTP sent to your email. Verify to complete registration.'); - navigate('/otp-verify'); + navigate('/otp-verify'); } catch (error) { setError(error.message); @@ -73,7 +73,7 @@ const Signup = () => { setIsLoading(false); // Ensure loading state is reset after request } }; - + useEffect(() => { window.scrollTo(0, 0); @@ -90,15 +90,16 @@ const Signup = () => { }; return ( -
- login + login - -
+ + +
Play Cafe,
@@ -106,21 +107,21 @@ const Signup = () => {
{ />
-
-
-

+

Strength: {getPasswordStrengthText(passwordStrength)}

@@ -170,6 +170,7 @@ const Signup = () => { Login +