diff --git a/frontend/src/Pages/LoginPage.jsx b/frontend/src/Pages/LoginPage.jsx index ff711ab..3e4bd21 100644 --- a/frontend/src/Pages/LoginPage.jsx +++ b/frontend/src/Pages/LoginPage.jsx @@ -46,40 +46,40 @@ const Login = () => { }; return ( -
+
{/* Logo, Title, and Tagline */}
- Station Saarthi Logo {/* Adjust width/height as needed */} -

Station Saarthi

-

Your Trusted Platform Guide

+ Station Saarthi Logo {/* Larger logo */} +

Station Saarthi

+

Your Trusted Platform Guide

{/* Login Form */} -
- {/* Email Input */} -
- + + {/* Username Input */} +
+ setEmail(e.target.value)} - placeholder="Enter your email" - className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:border-blue-500" + id="username" + value={username} + onChange={(e) => setUsername(e.target.value)} + placeholder="Enter your username" + className="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 transition duration-300" required />
{/* Password Input */}
- + setPassword(e.target.value)} placeholder="Enter your password" - className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:border-blue-500" + className="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 transition duration-300" required />
@@ -87,16 +87,21 @@ const Login = () => { {/* Login Button */} - {/* Don't have an account link */} -

- Don't have an account? - + {/* Divider */} +

+
+
+ + {/* Register Link */} +

+ Don't have an account?{' '} + Register

diff --git a/frontend/src/Pages/Register.jsx b/frontend/src/Pages/Register.jsx index c34fca5..eabe7bb 100644 --- a/frontend/src/Pages/Register.jsx +++ b/frontend/src/Pages/Register.jsx @@ -1,5 +1,6 @@ import React, { useState } from 'react'; import { useNavigate } from 'react-router-dom'; +import logo from '../assets/stationsaarthi.svg'; // Import your logo const Register = () => { const [name, setName] = useState(''); @@ -50,62 +51,68 @@ const Register = () => { }; return ( -
-

Register New User

-
+
+ {/* Logo and Title */} +
+ Station Saarthi Logo +

Station Saarthi

+

Register New User

+
+ {/* Registration Form */} + {/* Name Input */} -
- +
+ setName(e.target.value)} placeholder="Enter your name" - className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:border-blue-500" + className="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 transition duration-300" required />
{/* Phone Number Input */} -
- +
+ setPhoneNumber(e.target.value)} placeholder="Enter your phone number" - className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:border-blue-500" + className="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 transition duration-300" required />
{/* Email Input */} -
- +
+ setEmail(e.target.value)} placeholder="Enter your email" - className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:border-blue-500" + className="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 transition duration-300" required />
{/* Password Input */}
- + setPassword(e.target.value)} placeholder="Create a password" - className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:border-blue-500" + className="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 transition duration-300" required />
@@ -113,15 +120,16 @@ const Register = () => { {/* Register Button */} + {/* Already have an account link */} -

- Already have an account? - +

+ Already have an account?{' '} + Log in