From 4b1b36f49cd828857a490297cbac750853c2524b Mon Sep 17 00:00:00 2001 From: KENZY004 Date: Tue, 16 Dec 2025 15:05:20 +0530 Subject: [PATCH] sign up page and login page has been modified, removed the right-handside features and added new ones --- client/src/index.css | 17 +++++- client/src/pages/Dashboard.jsx | 22 ------- client/src/pages/Login.jsx | 104 ++++++++++++++++++++++----------- client/src/pages/Signup.jsx | 94 ++++++++++++++++------------- 4 files changed, 138 insertions(+), 99 deletions(-) diff --git a/client/src/index.css b/client/src/index.css index 8392cf42..f30e5a1a 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -22,11 +22,26 @@ body, font-family: var(--font-inter); background-color: var(--bg-depth); color: var(--text-primary); - overflow-x: hidden; + overflow: hidden; letter-spacing: -0.015em; /* Tighter tracking for "engineered" look */ } +/* Hide scrollbar for Chrome, Safari and Opera */ +html::-webkit-scrollbar, +body::-webkit-scrollbar, +#root::-webkit-scrollbar { + display: none; +} + +/* Hide scrollbar for IE, Edge and Firefox */ +html, +body, +#root { + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ +} + /* Aurora Background */ body { background-color: var(--bg-depth); diff --git a/client/src/pages/Dashboard.jsx b/client/src/pages/Dashboard.jsx index 16419956..579a5663 100644 --- a/client/src/pages/Dashboard.jsx +++ b/client/src/pages/Dashboard.jsx @@ -105,28 +105,6 @@ const Dashboard = () => { - {/* Decor / Info Tile (Small) */} -
-
-
-
- - v2.0.0 -
-

Pro Features Active

-
- -
-
- - Global -
-
- - Real-time -
-
-
diff --git a/client/src/pages/Login.jsx b/client/src/pages/Login.jsx index 47148f8a..ac0b8ee2 100644 --- a/client/src/pages/Login.jsx +++ b/client/src/pages/Login.jsx @@ -2,8 +2,9 @@ import React, { useState } from 'react'; import { Link, useNavigate } from 'react-router-dom'; import axios from 'axios'; import { motion } from 'framer-motion'; -import { FaArrowRight, FaLock, FaEnvelope } from 'react-icons/fa'; -import { BsLightningChargeFill, BsStars } from 'react-icons/bs'; +import { FaArrowRight, FaLock, FaEnvelope, FaPencilAlt, FaUsers, FaInfinity } from 'react-icons/fa'; +import { BsLightningChargeFill } from 'react-icons/bs'; +import { HiOutlineSparkles } from 'react-icons/hi'; const Login = () => { const [formData, setFormData] = useState({ email: '', password: '' }); @@ -27,14 +28,14 @@ const Login = () => { }; return ( -
+
{/* Left: Form */}
{ type="submit" className="w-full bg-gradient-to-r from-indigo-600 to-purple-600 hover:from-indigo-500 hover:to-purple-500 text-white font-bold py-4 rounded-xl shadow-lg shadow-indigo-500/25 flex items-center justify-center gap-2 group transition-all mt-4" > - Sign In Details + Sign In @@ -117,43 +118,78 @@ const Login = () => {

- {/* Right: Abstract Composition */} -
- {/* Expanding Rings */} -
-
-
-
-
+ {/* Right: Education Theme */} +
+ {/* Subtle Grid Background */} +
+ + {/* Gradient Orbs */} +
+
-
+
- {/* Glass Card */} -
-
-
- -
-

Unleash Creativity

-

- Join thousands of educators and students transforming the way they learn with our infinite canvas. -

+ {/* Stats Row */} +
+ +
+
Canvas
+
+ +
24/7
+
Access
+
+ +
RT
+
Sync
+
- {/* Floating Badge */} + {/* Education-themed highlights */} + +
+
+ 📚 +
+

For Learning

+
+

Visual thinking space for students and educators

+
+ -
-
- System Online +
+
+ ✏️ +
+

Interactive Canvas

+

Draw, annotate, and collaborate in real-time

diff --git a/client/src/pages/Signup.jsx b/client/src/pages/Signup.jsx index c77eb90b..16308bd3 100644 --- a/client/src/pages/Signup.jsx +++ b/client/src/pages/Signup.jsx @@ -27,14 +27,14 @@ const Signup = () => { }; return ( -
+
{/* Left: Form */}
{ transition={{ delay: 0.2 }} className="flex items-center gap-2 mb-12" > -
+
EduBoard @@ -51,7 +51,7 @@ const Signup = () => {

Start your
- Journey. + Journey.

Join the platform redefining digital collaboration.

@@ -71,7 +71,7 @@ const Signup = () => {
- + {
- + {
- + { whileHover={{ scale: 1.02 }} whileTap={{ scale: 0.98 }} type="submit" - className="w-full bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500 text-white font-bold py-4 rounded-xl shadow-lg shadow-cyan-500/25 flex items-center justify-center gap-2 group transition-all mt-4" + className="w-full bg-gradient-to-r from-indigo-600 to-purple-600 hover:from-indigo-500 hover:to-purple-500 text-white font-bold py-4 rounded-xl shadow-lg shadow-indigo-500/25 flex items-center justify-center gap-2 group transition-all mt-4" > Create Account @@ -126,49 +126,59 @@ const Signup = () => {

Already have an account?{' '} - + Sign In

- {/* Right: Abstract Composition */} -
-
+ {/* Right: Minimal Visual */} +
+ {/* Grid Background */} +
-
+ {/* Gradient Orbs */} +
+
+ + {/* Subject Icons */} +
- {/* Card */} -
-
-
- -
-
-

Pro Plan

-

Unlocked

-
-
- -
-
- -
-

Setting up your limitless workspace...

-
-
+
📐
+
Math
+
+ + +
🔬
+
Science
+
- {/* Decoration */} -
+ +
📚
+
History
+
+ + +
🎨
+
Art