From 17bd3238c42dc7cdd355de14ee7ab5153c3e686f Mon Sep 17 00:00:00 2001 From: prkr-28 Date: Tue, 28 Oct 2025 17:44:15 +0530 Subject: [PATCH] contact us form corrected and navbar ui upgraded --- frontend/src/Components/Navbar/Navbar.jsx | 2 +- frontend/src/Components/contact.jsx | 6 +++--- frontend/src/Components/ui/floating-navbar.tsx | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/Components/Navbar/Navbar.jsx b/frontend/src/Components/Navbar/Navbar.jsx index 7e26003..7460ab6 100644 --- a/frontend/src/Components/Navbar/Navbar.jsx +++ b/frontend/src/Components/Navbar/Navbar.jsx @@ -167,7 +167,7 @@ const Navbar = () => { {item.icon} {item.name} diff --git a/frontend/src/Components/contact.jsx b/frontend/src/Components/contact.jsx index aa0046a..859e724 100644 --- a/frontend/src/Components/contact.jsx +++ b/frontend/src/Components/contact.jsx @@ -120,7 +120,7 @@ const Contact = () => { {...register("name")} className={`w-full pl-10 pr-4 py-2 border ${ errors.name ? "border-red-500" : "border-gray-300" - } rounded-lg focus:ring-blue-500 focus:border-blue-500 transition`} + } rounded-lg focus:ring-blue-500 focus:border-blue-500 placeholder-gray-500 transition`} placeholder="Your Name" /> {errors.name && ( @@ -138,7 +138,7 @@ const Contact = () => { {...register("email")} className={`w-full pl-10 pr-4 py-2 border ${ errors.email ? "border-red-500" : "border-gray-300" - } rounded-lg focus:ring-blue-500 focus:border-blue-500 transition`} + } rounded-lg focus:ring-blue-500 focus:border-blue-500 placeholder-gray-500 transition`} placeholder="you@example.com" /> {errors.email && ( @@ -156,7 +156,7 @@ const Contact = () => { rows="5" className={`w-full pl-10 pr-4 py-2 border ${ errors.message ? "border-red-500" : "border-gray-300" - } rounded-lg focus:ring-blue-500 focus:border-blue-500 transition`} + } rounded-lg focus:ring-blue-500 focus:border-blue-500 placeholder-gray-500 transition`} placeholder="Type your message..." > {errors.message && ( diff --git a/frontend/src/Components/ui/floating-navbar.tsx b/frontend/src/Components/ui/floating-navbar.tsx index c08583b..6be4f25 100644 --- a/frontend/src/Components/ui/floating-navbar.tsx +++ b/frontend/src/Components/ui/floating-navbar.tsx @@ -65,16 +65,16 @@ export const FloatingNav = ({ {navItem.icon} {navItem.name} + ))}